mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-30 01:00:02 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c154c1d2a6 | ||
|
|
60da97790b | ||
|
|
1635637254 |
@@ -665,6 +665,7 @@ python bot.py
|
|||||||
* 添加功能随机roll,无参为数字,有参为随机参数
|
* 添加功能随机roll,无参为数字,有参为随机参数
|
||||||
* 添加linux重启脚本以及重启命令‘重启’(建议首次生成restart.sh先查看命令是否正确)
|
* 添加linux重启脚本以及重启命令‘重启’(建议首次生成restart.sh先查看命令是否正确)
|
||||||
* 修复管理员功能的权限检测
|
* 修复管理员功能的权限检测
|
||||||
|
* 修复丢人爬开关
|
||||||
|
|
||||||
### 2021/8/6
|
### 2021/8/6
|
||||||
|
|
||||||
|
|||||||
@@ -77,10 +77,10 @@ async def _(bot: Bot, event: MessageEvent, state: T_State):
|
|||||||
msg = get_message_text(event.json())
|
msg = get_message_text(event.json())
|
||||||
if not msg or str(event.get_message()[:2]) in ["开启", "关闭"]:
|
if not msg or str(event.get_message()[:2]) in ["开启", "关闭"]:
|
||||||
return
|
return
|
||||||
if not _flmt.check(event.user_id):
|
if not _flmt.check(event.user_id):
|
||||||
return
|
return
|
||||||
_flmt.start_cd(event.user_id)
|
_flmt.start_cd(event.user_id)
|
||||||
await pa.finish(image(random.choice(os.listdir(IMAGE_PATH + "pa")), "pa"))
|
await pa.finish(image(random.choice(os.listdir(IMAGE_PATH + "pa")), "pa"))
|
||||||
|
|
||||||
|
|
||||||
num_key = {
|
num_key = {
|
||||||
|
|||||||
+2
-1
@@ -13,7 +13,8 @@
|
|||||||
"plugins/update_setu",
|
"plugins/update_setu",
|
||||||
"plugins/yiqing",
|
"plugins/yiqing",
|
||||||
"bot.py",
|
"bot.py",
|
||||||
"plugins/admin_bot_manage/update_group_member_info.py"
|
"plugins/admin_bot_manage/update_group_member_info.py",
|
||||||
|
"plugins/send_img"
|
||||||
],
|
],
|
||||||
"add_file": ["plugins/nbnhhsh.py", "plugins/roll.py"],
|
"add_file": ["plugins/nbnhhsh.py", "plugins/roll.py"],
|
||||||
"delete_file": [" plugins/admin_bot_manage/__init__.py"]
|
"delete_file": [" plugins/admin_bot_manage/__init__.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user