summaryrefslogtreecommitdiff
path: root/ATRI/plugins/setu.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-08-18 00:26:58 +0800
committerKyomotoi <[email protected]>2020-08-18 00:26:58 +0800
commit0bd751a03a1c38b990caee19d7cc4e28c906bcea (patch)
treea6a6d2854c643b42a8e9e020c8d2396c66a24985 /ATRI/plugins/setu.py
parent6804c8bab3280c1c9bcb22c01204233c0766d1b8 (diff)
downloadATRI-0bd751a03a1c38b990caee19d7cc4e28c906bcea.tar.gz
ATRI-0bd751a03a1c38b990caee19d7cc4e28c906bcea.tar.bz2
ATRI-0bd751a03a1c38b990caee19d7cc4e28c906bcea.zip
[Fix] switch
Diffstat (limited to 'ATRI/plugins/setu.py')
-rw-r--r--ATRI/plugins/setu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/setu.py b/ATRI/plugins/setu.py
index efd6147..796f6f7 100644
--- a/ATRI/plugins/setu.py
+++ b/ATRI/plugins/setu.py
@@ -61,7 +61,7 @@ async def setu(session: CommandSession):
if str(user) in data0.keys():
pass
else:
- if data1["setu"] == 0:
+ if data1["setu"] == "on":
res = randint(1,10)
if 1 <= res < 9:
res = randint(1,4)