summaryrefslogtreecommitdiff
path: root/AyaBot/plugins
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-06-14 00:33:45 +0800
committerKyomotoi <[email protected]>2020-06-14 00:33:45 +0800
commitcc9ce1bfcd695c74fd3d2dbdc39bd147d444e6b7 (patch)
tree9f473b450aad2f58d6feff678ade304158c1a07d /AyaBot/plugins
parentfaf116c5afcb20966c7b2e26eef9d4538ab86c6f (diff)
parent7a0935b5504371cee0ed81f75ca495d510c04e53 (diff)
downloadATRI-cc9ce1bfcd695c74fd3d2dbdc39bd147d444e6b7.tar.gz
ATRI-cc9ce1bfcd695c74fd3d2dbdc39bd147d444e6b7.tar.bz2
ATRI-cc9ce1bfcd695c74fd3d2dbdc39bd147d444e6b7.zip
Merge branch 'master' of https://github.com/Kyomotoi/Aya
Diffstat (limited to 'AyaBot/plugins')
-rw-r--r--AyaBot/plugins/welcome.py4
1 files changed, 2 insertions, 2 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='已开启')