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.美图分享

Powerful and Async API for AnimeWorld.tv 🚀

Powerful and Async API for AnimeWorld.tv 🚀

1 Nov 13, 2021
Accurately dump Commodore 64 tapes

TrueTape64 A cheap, easy to build adapter to interface a Commodore 1530 (C2N) Datasette to your PC to dump and preserve your aging Commodore 64 softwa

francesco 38 Dec 03, 2022
Unofficial Meteor Client wiki

Welcome to the Unofficial Meteor Client wiki! Meteor FAQs | A rewritten and better FAQ page. Installation Guide | A guide on how to install Meteor Cli

Anti Cope 0 Feb 21, 2022
A Python Script to automate searching of available vaccination centers in the city and hence booking

Cowin Vaccine Availability Notifier Cowin Vaccine Availability Notifier takes your City or PIN code as an input and automatically notifies you via ema

Jayesh Padhiar 7 Sep 05, 2021
PerrOS - The operating system for your discord server.

PerrOS PerrOS is a Opensource Discord Bot to do it all! Installation Use the package manager pip to install the python3 requirements. pip3 install -r

Webshort 2 Jun 20, 2022
An open source, multipurpose, configurable discord bot that does it all

Spacebot - Discord Bot Music, Moderation, Fun, Utilities, Games and Fully Configurable. Overview • Contributing • Self hosting • Documentation (not re

Dhravya Shah 41 Dec 10, 2022
This is a Telegram Bot that tracks packages from the Brazilian Mail Service.

RastreioBot About Setup Run Contribute Contact About This is a Telegram Bot that tracks packages from the Brazilian Mail Service. It runs on Python 3

Gabriel R F 320 Dec 22, 2022
Music bot for Discord

Treble Music bot for Discord Youtube is after music bots on Discord. So we are here to fill the void. Introducing Treble, the next generation of Disco

Aja Khanal 0 Sep 16, 2022
A program that generates discord.py code

discord-py-generator A program that generates discord.py code Setup in cmds.txt file add your user id, client id and bot token you can change the bot

3 Dec 15, 2022
With Google Drive API. My computer and my phone are in love now.

Channel trought Google Drive Google Drive API In this case, "Google Drive App" is the program. To install everything you need(has some extra things),

Luis Quiñones Requelme 1 Dec 15, 2021
Framework for creating and running trading strategies. Blatantly stolen copy of qtpylib to make it work for Indian markets.

_• Kinetick Trade Bot Kinetick is a framework for creating and running trading strategies without worrying about integration with broker and data str

Vinay 41 Dec 31, 2022
Slack Developer Kit for Python

Python Slack SDK The Slack platform offers several APIs to build apps. Each Slack API delivers part of the capabilities from the platform, so that you

SlackAPI 3.5k Jan 02, 2023
Create a roles overview page for all Ansible roles/playbooks in Gitlab

ansible-create-roles-overview Overview The script ./create_roles_overview.py queries a Gitlab API for Ansible roles and playbooks. It will iterate ove

2 Oct 11, 2021
b2blaze

b2blaze Welcome to the b2blaze library for Python. Backblaze B2 provides the cheapest cloud object storage and transfer available on the internet. Com

George Sibble 603 Jan 03, 2023
Whatsapp-bot - Whatsapp chatbot build with python and twilio

Whatsapp-bot This is a Whatsapp Chatbot that responds with quotes, reply owners

arinzejustinng 1 Jan 14, 2022
AUDD IS MUSIC RECOGNITION API

AUDD IS MUSIC RECOGNITION API

Abdimk 1 Dec 15, 2021
A course on getting started with the Twitter API v2 for academic research

Getting started with the Twitter API v2 for academic research Welcome to this '101 course' on getting started with academic research using the Twitter

@TwitterDev 426 Jan 04, 2023
Send embeds using your discord personal account

Welcome to Embed Sender 👋 Send embeds using your discord personal account Install pip install -r requirements.txt Usage Put your discord token in ./

SkydenFly 11 Sep 07, 2022
Watches your earnings on EarnApp and notifies you when you earned balance or received an payout.

EarnApp-Earning-Monitor Watches your earnings on EarnApp and notifies you when you earned balance or received an payout. Installation Install Python3

Yariya 21 Oct 17, 2022
Grocy-create-product - A script supports the batch creation of new products in Grocy

grocy-create-product This script supports the batch creation of new products in

André Heuer 6 Jul 28, 2022