summaryrefslogtreecommitdiff
path: root/ATRI/plugins/switch.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins/switch.py')
-rw-r--r--ATRI/plugins/switch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/switch.py b/ATRI/plugins/switch.py
index 1cb0220..e9b04c5 100644
--- a/ATRI/plugins/switch.py
+++ b/ATRI/plugins/switch.py
@@ -10,7 +10,7 @@ import config
bot = nonebot.get_bot()
-master = config.MASTER()
+master = config.SUPERUSERS
@on_command('switch', aliases = ['on', 'off'], only_to_me = False, permission = GROUP_ADMIN)