summaryrefslogtreecommitdiff
path: root/ATRI/plugins/switch.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-08-24 00:22:29 +0800
committerKyomotoi <[email protected]>2020-08-24 00:22:29 +0800
commitc413c33b246bb49e31f070d781a8515bb61f7909 (patch)
treed369a283b9229acc6e93c39e2809ad5bae749c47 /ATRI/plugins/switch.py
parent2007f15a7f3f5ad866fa78ab77d2a04d654c8e2a (diff)
downloadATRI-c413c33b246bb49e31f070d781a8515bb61f7909.tar.gz
ATRI-c413c33b246bb49e31f070d781a8515bb61f7909.tar.bz2
ATRI-c413c33b246bb49e31f070d781a8515bb61f7909.zip
[Update]
Diffstat (limited to 'ATRI/plugins/switch.py')
-rw-r--r--ATRI/plugins/switch.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ATRI/plugins/switch.py b/ATRI/plugins/switch.py
index c92b5aa..264b93a 100644
--- a/ATRI/plugins/switch.py
+++ b/ATRI/plugins/switch.py
@@ -38,6 +38,9 @@ async def _(session: CommandSession):
elif com == 'Setu':
data["setu"] = "on"
+ elif com == 'SetuIMG':
+ data["setu_img"] = "on"
+
elif com == 'Hbook':
data["hbook"] = "on"
@@ -69,6 +72,9 @@ async def _(session: CommandSession):
elif com == 'Setu':
data["setu"] = "off"
+ elif com == 'SetuIMG':
+ data["setu_img"] = "off"
+
elif com == 'Hbook':
data["hbook"] = "off"