A QQ(Tencent) robot created by go-cqhttp & nonebot2

Overview

绘梨花(胶布)Bot|ErikaBot

基于NoneBot2的绘梨花多功能 Bot ,自用

快速开始

  1. 参考go-cqhttp项目文档,配置好机器人的相关设置,以及反向ws客户端
  2. 参考nonebot2项目文档,添加必要的.env相关设置
  3. 安装本项目相关的依赖库(依赖清单
  4. git clone本项目,在项目目录下nb run运行机器人即可

功能清单

0.绘梨花特性

嘲讽

命令(注意是中文逗号):

嘲讽 [语句A],[语句B]

返回:

仅凭借[语句A],古户绘梨花便能[语句B]到这种程度,如何呀,诸位~

互动

尝试@本bot或者戳一戳本bot即可

如何添加/删除@之后的回复
add Erika嘴臭 '[需要添加的语录]'
del Erika嘴臭 '[需要添加的语录]'

1.语录放送

基于sqlite3轻量数据库的自定义语录放送功能

发送语录

[语录名称]语录

通过上述命令直接触发随机语录。其中,[语录名称]是用于检索的关键词,如:

发送命令:战人语录,如果数据库中已有该语录,则可以在存入的语录中随机发送一条

添加语录

add [语录名称]语录 '[需要加入该语录的内容,可以是图片/表情等]'

删除语录

del [语录名称]语录 '[需要加入该语录的内容,可以是图片/表情等]'

设置对指定群不可见

只对SUPERUSERS的命令进行响应

lock to [语录名称]语录
unlock to [语录名称]语录

设置宏观触发

只对SUPERUSERS的命令进行响应

update rule [语录名称]语录

开启该功能后可以不用加上后缀语录,并且只要一句话中含有[语录名称]即可触发,如:

发送一句话我真的好喜欢战人呀~,机器人检索到战人二字后,会随机发送一句隶属于战人迫害语录中的一句话。

由此可见,对于宏观触发的语录,需要在创建时使用[语录名称]迫害语录进行追加

2.推特更新推送

基于phantomjs进行爬虫实现

原项目地址:nonebot-twitter

本功能可实现对关注列表中的对象进行实时监控,一旦发送推文立刻到指定群里进行转发提醒(每个群可独立设置关注名单)

只对SUPERUSERSADMIN的命令进行响应

@[bot] 关注列表
@[bot] 给爷关注 [推特ID]
@[bot] 取关 [推特ID]

3.倒计时

每天8点自动提醒相关考试或日程的剩余天数

也可以通过倒计时考试等命令触发

4.奥利奥

原项目地址:Oreoooo

通过命令触发:

来点/来一份/order ['奥'和'利'的组合词(超过一个字)] 

效果展示:

注:输入奥利给或者字串超过50字有彩蛋

5.美图分享

a Disqus alternative

Isso – a commenting server similar to Disqus Isso – Ich schrei sonst – is a lightweight commenting server written in Python and JavaScript. It aims to

Martin Zimmermann 4.7k Jan 02, 2023
Useful tools for building interactions in Python

discord-interactions-python Types and helper functions for Discord Interactions webhooks. Installation Available via pypi: pip install discord-interac

Discord 77 Dec 07, 2022
Advanced telegram link in a message attach bot

Attach-Bot-V2 An advanced telegram attach bot Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License - https://github.com

Fayas Noushad 8 Oct 21, 2022
A mood based crypto tracking application.

Crypto Bud - API A mood based crypto tracking application. The main repository is private. I am creating the API before I connect everything to the ma

Krishnasis Mandal 1 Oct 23, 2021
Troposphere and shellscript based AWS infrastructure automation creates an awsapigateway lambda with a go backend

Automated-cloudformation-infra Troposphere and shellscript based AWS infrastructure automation. Feel free to clone and edit for personal usage. The en

1 Jan 03, 2022
A simple Discord Bot created for basic functionality and fun chat commands for use in a private server.

LoveAndChaos-Bot v0.1.0 LoveAndChaos-Bot is a Discord Bot specifically designed for a private server; this bot is merely a test and a method to expose

Morgan Rose 1 Dec 12, 2021
Red-mail - Advanced email sending library for Python

Red Mail Next generation email sender What is it? Red Mail is an advanced email

Mikael Koli 313 Jan 08, 2023
Biblioteca Python que extrai dados de mercado do Bacen (Séries Temporais)

Pybacen This library was developed for economic analysis in the Brazilian scenario (Investments, micro and macroeconomic indicators) Installation Inst

42 Jan 05, 2023
Source code from thenewboston Discord Bot with Python tutorial series.

Project Setup Follow the steps below to set up the project on your environment. Local Development Create a virtual environment with Python 3.7 or high

Bucky Roberts 24 Aug 19, 2022
A Python AWS Lambda Webhook listener that generates a permanent URL when an asset is created in Contentstack.

Webhook Listener A Python Lambda Webhook Listener - Generates a permanent URL on created assets. See doc on Generating a Permanent URL: https://www.co

Contentstack Solutions 1 Nov 04, 2021
Announces when a web3 wallet receives a token

excitare_cito v2.0 by Bogdan Vaida ([email protected]) Announces wh

1 Nov 30, 2021
Python API for Photoshop.

Python API for Photoshop. The example above was created with Photoshop Python API.

Hal 372 Jan 02, 2023
✨ Music&Video Userbot

🎶 Fizi - UserBot 🎶 🤖 Telegram UserBot Untuk Memutar Lagu Dan Video Di Obrolan Suara Telegram. ✨ Didukung Oleh PyTgCalls Pyrogram 📝 Persyaratan Pyt

F I Z I • Ɱeƙípres 4 Mar 29, 2022
Multi-purpose bot made with discord.py

PizzaHat Discord Bot A multi-purpose bot for your server! ℹ️ • Info PizzaHat is a multi-purpose bot, made to satisfy your needs, as well as your serve

DTS 28 Dec 16, 2022
Presentation and code files for the talk at PyCon Indonesia

pycon-indonesia Presentation and code files for the talk at PyCon Indonesia. Files used for the PyCon Indonesia presentation. [Directory Includes:] Be

Neeraj Pandey 2 Dec 04, 2021
A simple chat api that can also work with ipb4 and chatbox+

SimpleChatApi API for chatting that can work on its own or work with Invision Community and Chatbox+. You are also welcome to create frontend for this

Anubhav K. 1 Feb 01, 2022
This is a tutorial on how to make a Discord Bot using the discord.py library

HowToMakeADiscordBot This Github repository is here to help you code a Discord Bot using the discord.py library! 1 - Setup: Download the code inside t

Baz 1 Oct 31, 2021
Bifrost C2. Open-source post-exploitation using Discord API

Bifrost Command and Control What's Bifrost? Bifrost is an open-source Discord BOT that works as Command and Control (C2). This C2 uses Discord API for

38 Dec 05, 2022
PR Changes Matrix Builder

Pr-changes-matrix-builder - A Github Action that will output a variable to be used in a matrix strategy job based on a PR&'s changes

Kyle James Walker (he/him) 21 Oct 04, 2022
Me and @nathanmargni did a small analysis on what are the best strategies to win more games of League of Legends.

Me and @nathanmargni did a small analysis on what are the best strategies to win more games of League of Legends.

Christian Berchtold 2 Jan 19, 2022