nonebot2 plugin fire
Project description
为了「聊的燚燚 N」而努力!
✨ NoneBot2 续火花 ✨
功能💻
实现在两个用户间每天自动发送消息,保证火花不会灭
- 每天0时向指定用户发送"/echo 花花"
- 发送前随机延时1~10秒,避免脚本被检测
注意:
- 本插件为Server端,您需要再自行配置一个Nonebot机器人作为Client端,以实现对"/echo"命令的响应及返回消息"花花",完成整个续火花的过程。
- 使用大号作为QQ机器人带来的风险请自行承担。
安装💿
-
安装定时任务插件
-
pip install nonebot-plugin-fire
在 .env.*
中做出如下配置:
fire_user_id=1234567 #与该QQ号续火花
导入📲
在bot.py 导入,语句:
nonebot.load_plugin("nonebot_plugin_fire")
截图🖼
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot-plugin-fire-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9af7bad4a817f7971af4ab5920d8bfdfd7ca4fd484e4cc6439f5d9569d4c252 |
|
MD5 | d4e267fa7b444b7e13020aa1562c8c6e |
|
BLAKE2b-256 | 4fa419abadd1ebd67621b8aa2cd019f7e97b2ad61261f7adc44537ea0ed3f74a |
Close
Hashes for nonebot_plugin_fire-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7d988862ee754b710d13826426e7fcdeda5906dfd2a79f857b5dc9444b5a21 |
|
MD5 | e126864bb14dae50f19f9bf5440e5559 |
|
BLAKE2b-256 | 954256b0967e5d466d1ac1c365416aff83940e2f8e71a67b57a860ae4f0b9dd7 |