dont cast to string
This commit is contained in:
parent
473c8dd205
commit
a4fe21cfea
@ -155,7 +155,7 @@ async def on_message(ctx):
|
||||
return
|
||||
|
||||
if (
|
||||
str(ctx.author.id)
|
||||
ctx.author.id
|
||||
in requests.get(
|
||||
"http://dragon-bot-json.dragon-bot.svc.cluster.local/rules.json"
|
||||
).json()["disallowed_users"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user