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

API RestFull web de pontos turisticos de certa região

##RESTful Web API para exposição de pontos turísticos de uma região## Propor um novo ponto turístico Moderação dos pontos turísticos cadastrados Lista

Lucas Silva 2 Jan 28, 2022
Want to get your driver's license? Can't get a appointment because of COVID? Well I got a solution for you.

NJDMV-appoitment-alert Want to get your driver's license? Can't get a appointment because of COVID? Well I got a solution for you. We'll get you one i

Harris Spahic 3 Feb 04, 2022
Easy to use API Wrapper for somerandomapi.ml.

Overview somerandomapi is an API Wrapper for some-random-api.ml Examples Asynchronous from somerandomapi import Animal

Myxi 1 Dec 31, 2021
Code done for/during the course

Serverless Course Autumn 2021 - Code This repository contains a set of examples developed during, but not limited to the live coding sessions. Lesson

Alexandru Burlacu 4 Dec 21, 2021
Telegram-Discord Bridge

imperial-toilet Скрипт, пересылающий сообщения из нескольких каналов Telegram в один/несколько каналов Discord. Технически это Telegram-юзербот и Disc

1 Jan 17, 2022
A discord bot with information and template tracking for pxls.space.

pyCharity A discord bot with information and template tracking for pxls.space. Inspired by Mikarific's Charity bot. Try out the beta version on your s

1 Dec 03, 2021
Automatically pulls specified repository whenever a specified file is pushed. Great for working collaboratively when you need to run something locally.

autopull Simple python tool that allows you to automatically pull from a github repository whenever a file with a specified name is uploaded installat

carreb 0 Sep 27, 2022
Deezer client for python

Deezer Python Client A friendly Python wrapper around the Deezer API. Installation The package is published on PyPI and can be installed by running: p

Bruno Alla 103 Dec 19, 2022
Python async SDK for betsapi.com

Python async SDK for betsapi.com

1 Dec 21, 2021
This Lambda will Pull propagated routes from TGW and update VPC route table

AWS-Transitgateway-Route-Propagation This Lambda will Pull propagated routes from TGW and update VPC route table. Tested on python 3.8 Lambda AWS INST

4 Jan 20, 2022
Simple discord token generator good for memberboosting your server! Uses Hcaptcha bypass

discord-tokens-generator INFO This is a Simple Discord Token Generator which creates unverified discord accounts These accounts are good for member bo

Avenger 41 Dec 20, 2022
A full-featured Python wrapper for the Onfleet API.

UPDATE: Please use Onfleet's wrapper instead. This repository is not maintained. https://github.com/onfleet/pyonfleet --- Python-Onfleet   python-onfl

Lionheart Software 11 Jan 13, 2022
Import Notion Tasks to

Notion-to-Google-Calendar (1 way) Import Notion Tasks to Google Calendar NO MORE UPDATES WILL BE MADE TO THIS REPO. Attention has been put on a 2-way

12 Aug 11, 2022
Dns-Client-Server - Dns Client Server For Python

Dns-client-server DNS Server: supporting all types of queries and replies. Shoul

Nishant Badgujar 1 Feb 15, 2022
A Python implementation of a Youtube Subscription manager & feed viewer, also does thumbnails

BUILDING Building requires python3.10, and the build package, which can be installed via pip: python3.10 -m pip install build To install, run python3.

2 Feb 28, 2022
A anti-repostbot script for reddit, runs u/ThisIsARepostBotBot

ThisIsARepostBotBot So you found a repost bot, now what? This is a bot to reply to all posts of a repost bot with a message urging users to report and

3 May 23, 2022
Discord Mafia Game Bot using nextcord

Mafia-Bot Discord Mafia Game Bot using nextcord Features Mafia Game Game Replays Installation Run the following command to install required modules: p

Nian 6 Nov 19, 2022
Check and write all account info + Check nitro on account

Discord-Token-Checker Check and write all account info + Check nitro on account Also check https://github.com/GuFFy12/Discord-Token-Parser (Parse disc

36 Jan 01, 2023
Bot facebook

botfb Bot facebook Login via cookies cara install $pkg update && pkg upgrade $pkg install git python $git clone https://github.com/Ainx-BOT/botfb $cd

Fahmi Dev 12 Dec 18, 2022
Anime Streams Scrapper for Telegram Publicly Available for everyone to use

AniRocks Project Structure: ╭─ bot ├──── plugins: directory stored all the plugins ├──── utils: a directory of Utilities to help bot Client to create

ポキ 11 Oct 28, 2022