This commit is contained in:
Luke Robles 2024-04-16 12:19:24 -07:00
parent 39782361b9
commit 516fa263e8

View File

@ -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