diff options
author | Kyomotoi <[email protected]> | 2020-09-13 16:36:05 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2020-09-13 16:36:05 +0800 |
commit | 9c91cc1c7f39a7178e753d5f32a707db0ae19790 (patch) | |
tree | 3c6c24745985fc8703a3dab1d188c0bade31c2af /ATRI/plugins/switch.py | |
parent | 681b8c7c8841c8c889f77bf54d1cf1ce9914c016 (diff) | |
download | ATRI-9c91cc1c7f39a7178e753d5f32a707db0ae19790.tar.gz ATRI-9c91cc1c7f39a7178e753d5f32a707db0ae19790.tar.bz2 ATRI-9c91cc1c7f39a7178e753d5f32a707db0ae19790.zip |
[Update]
Diffstat (limited to 'ATRI/plugins/switch.py')
-rw-r--r-- | ATRI/plugins/switch.py | 2 |
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) |