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

Fully asynchronous trace.moe API wrapper

AioMoe Fully asynchronous trace.moe API wrapper Installation You can install the stable version from PyPI: $ pip install aiomoe Or get it from github

2 Jun 26, 2022
Python wrapper for Stanford CoreNLP.

stanfordcorenlp stanfordcorenlp is a Python wrapper for Stanford CoreNLP. It provides a simple API for text processing tasks such as Tokenization, Par

884 Dec 25, 2022
A simpler way to make forms, surveys, and reaction input using discord.py.

discord-ext-forms An easier way to make forms and surveys in discord.py. This module is a very simple way to ask questions and create complete forms i

thrizzle 16 Nov 06, 2022
Osmopy - osmo python client library

osmopy Version 0.0.2 Tools for Osmosis wallet management and offline transaction

5 May 22, 2022
A Python script that wraps the gitleaks tool to enable scanning of multiple repositories in parallel

mpgitleaks A Python script that wraps the gitleaks tool to enable scanning of multiple repositories in parallel. The motivation behind writing this sc

Emilio Reyes 7 Dec 29, 2022
AWS Lambda Fast API starter application

AWS Lambda Fast API Fast API starter application compatible with API Gateway and Lambda Function. How to deploy it? Terraform AWS Lambda API is a reus

OBytes 6 Apr 20, 2022
Minimal Python client for the Iris API, built on top of Authlib and httpx.

🕸️ Iris Python Client Minimal Python client for the Iris API, built on top of Authlib and httpx. Installation pip install dioptra-iris-client Usage f

Dioptra 1 Jan 28, 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
YARSAW is an Async Python API Wrapper for the Random Stuff API.

Yet Another Random Stuff API Wrapper - YARSAW YARSAW is an Async Python API Wrapper for the Random Stuff API. This module makes it simpler for you to

Bruce 6 Mar 27, 2022
OliviaV2: danger bot with python

🎶 OLIVIA V2 🎵 Requirements 📝 FFmpeg NodeJS nodesource.com Python 3.7 or higher PyTgCalls 🧪 Get SESSION_NAME from below: Pyrogram 🎖 History Featur

Alvaro Einstein 2 Nov 04, 2021
Detects members having unicode names. Public bot: @scarletwitchprobot

✨ Scarletwitch bot ✨ Detects unicode names members in a tg chat & provides a option to take action on that user ! Public bot: @scarletwitchprobot Supp

ÁÑÑÍHÌLÅTØR SPÄRK 18 Nov 12, 2022
A file-based quote bot written in Python

Let's Write a Python Quote Bot! This repository will get you started with building a quote bot in Python. It's meant to be used along with the Learnin

Jyoti prakash Rout 1 Jan 08, 2022
Real-time cryptocurrencies prices.

New update added more cryptocurrencies and GBP If you like it give it a star Crypto-watcher is simple program showing price of cryptocurrency in USD a

Adrijan 25 Dec 13, 2022
A Advanced Powerful, Smart And Intelligent Group Management Bot With New And Powerful Features

Vegeta Robot A Advanced Powerful, Smart And Intelligent Group Management Bot With New And Powerful Features ... Written with Pyrogram and Telethon...

⚡ CT_PRO ⚡ 9 Nov 16, 2022
DevSecOps pipeline for Python based web app using Jenkins, Ansible, AWS, and open-source security tools and checks.

DevSecOps pipeline for Python Web App A Jenkins end-to-end DevSecOps pipeline for Python web application, hosted on AWS Ubuntu 20.04 Note: This projec

Devanshu Vashishtha 4 Aug 15, 2022
A repository of publicly verifiable token Sale contracts

Token-Sale-Plutus-Contract A repository of publicly verifiable token sale and royalty contracts. This will be the storage solution since it is easily

Logical Mechanism 29 Aug 18, 2022
Binance Futures Client

Binance Futures Client

4 Aug 02, 2022
BroBot's files, code and tester.

README - BroBOT Made by Rohan Chaturvedi [email protected] DISCLAIMER: Th

1 Jan 09, 2022
Quadrirrotor UFABC - ROS/Gazebo

QuadROS_UFABC - Repositório utilizado durante minha dissertação de mestrado para simular sistemas de controle e estimação para navegação de um quadrirrotor utilizando visão computacional.

Mateus Ribeiro 1 Dec 13, 2022
Visual Weather api. Returns beautiful pictures with the current weather.

VWapi Visual Weather api. Returns beautiful pictures with the current weather. Installation: sudo apt update -y && sudo apt upgrade -y sudo apt instal

Hotaru 33 Nov 13, 2022