Format
This commit is contained in:
parent
39782361b9
commit
516fa263e8
@ -156,9 +156,9 @@ async def on_message(ctx):
|
||||
|
||||
if (
|
||||
str(ctx.author.id)
|
||||
in requests.get("http://dale-bot-json.dragon-bot.svc.cluster.local/rules.json").json()[
|
||||
"disallowed_users"
|
||||
]
|
||||
in requests.get(
|
||||
"http://dale-bot-json.dragon-bot.svc.cluster.local/rules.json"
|
||||
).json()["disallowed_users"]
|
||||
):
|
||||
await ctx.delete()
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user