diff options
-rw-r--r-- | ATRI/plugins/switch.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ATRI/plugins/switch.py b/ATRI/plugins/switch.py index 8abb408..47e6067 100644 --- a/ATRI/plugins/switch.py +++ b/ATRI/plugins/switch.py @@ -49,7 +49,10 @@ async def _(session: CommandSession): elif com == 'Kyaru': data["chouYou"] = "on" - + + elif com == 'SauceNAO': + data["saucenao_search"] = "on" + else: pass @@ -84,6 +87,9 @@ async def _(session: CommandSession): elif com == 'Kyaru': data["chouYou"] = "off" + elif com == 'SauceNAO': + data["saucenao_search"] = "on" + else: pass @@ -94,4 +100,4 @@ async def _(session: CommandSession): await session.send('Success!') else: - await session.send('恁哪位?')
\ No newline at end of file + await session.send('恁哪位?') |