summaryrefslogtreecommitdiff
path: root/ATRI/plugins/other.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-08-12 22:38:05 +0800
committerKyomotoi <[email protected]>2020-08-12 22:38:05 +0800
commitde591789f5ab68458d060d6ea96bf8dcbbe4df8c (patch)
tree144f083ad7a807b08fc4e269f966478e7e1ed33e /ATRI/plugins/other.py
parentb11b204043451334c33d827b776f230b6c8e84ce (diff)
downloadATRI-de591789f5ab68458d060d6ea96bf8dcbbe4df8c.tar.gz
ATRI-de591789f5ab68458d060d6ea96bf8dcbbe4df8c.tar.bz2
ATRI-de591789f5ab68458d060d6ea96bf8dcbbe4df8c.zip
[Fix] f**k some ntr
Diffstat (limited to 'ATRI/plugins/other.py')
-rw-r--r--ATRI/plugins/other.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ATRI/plugins/other.py b/ATRI/plugins/other.py
index be0ed50..9b96ed2 100644
--- a/ATRI/plugins/other.py
+++ b/ATRI/plugins/other.py
@@ -64,7 +64,7 @@ async def _(session: CommandSession):
with open('ATRI/plugins/noobList/noobList.json', 'r') as f:
data = json.load(f)
- if data[f"{user}"] == str(user):
+ if str(user) in data.keys():
pass
else:
await session.send(
@@ -92,7 +92,7 @@ async def _(session: CommandSession):
with open('ATRI/plugins/noobList/noobList.json', 'r') as f:
data = json.load(f)
- if data[f"{user}"] == str(user):
+ if str(user) in data.keys():
pass
else:
await session.send(
@@ -109,7 +109,7 @@ async def _(session: CommandSession):
with open('ATRI/plugins/noobList/noobList.json', 'r') as f:
data = json.load(f)
- if data[f"{user}"] == str(user):
+ if str(user) in data.keys():
pass
else:
await session.send(
@@ -126,7 +126,7 @@ async def _(session: CommandSession):
with open('ATRI/plugins/noobList/noobList.json', 'r') as f:
data = json.load(f)
- if data[f"{user}"] == str(user):
+ if str(user) in data.keys():
pass
else:
await session.send(
@@ -142,7 +142,7 @@ async def _(session: CommandSession):
with open('ATRI/plugins/noobList/noobList.json', 'r') as f:
data = json.load(f)
- if data[f"{user}"] == str(user):
+ if str(user) in data.keys():
pass
else:
await session.send(MENU_REPO)