diff options
-rw-r--r-- | AyaBot/plugins/welcome.py | 4 | ||||
-rw-r--r-- | README.md | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/AyaBot/plugins/welcome.py b/AyaBot/plugins/welcome.py index 87754f6..8affdd8 100644 --- a/AyaBot/plugins/welcome.py +++ b/AyaBot/plugins/welcome.py @@ -4,7 +4,7 @@ from aiocqhttp.exceptions import ActionFailed bot=nonebot.get_bot() request_flag=False -master = bot.config.SUPERUSERS +master = bot.config.SUPERUSERS[0] #FROM Joenothing-lst @@ -53,4 +53,4 @@ async def set_request(session: CommandSession): global request_flag if session.ctx['user_id']==master: request_flag=True - await session.bot.send_private_msg(user_id=master,message='已开启')
\ No newline at end of file + await session.bot.send_private_msg(user_id=master,message='已开启') @@ -7,6 +7,8 @@ 以后慢慢弄(咕) +示例机器人:2791352599(可直接添加) + --- 现已支持: @@ -16,10 +18,11 @@ 天气查询 一言 群信息一键推送 + 本子查询 以图搜番 在线翻译 -详细用法请[看这](https://lolihub.icu/#/robot/Changlog) +详细用法请[看这](https://lolihub.icu/#/robot/user) --- |