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