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