This commit is contained in:
Luke Robles 2024-04-16 12:19:24 -07:00
parent 29c6a197f4
commit 97cfcdfe1d

View File

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