fix url for json

This commit is contained in:
Luke Robles 2024-04-16 12:29:18 -07:00
parent 516fa263e8
commit c57730bdff

View File

@ -157,7 +157,7 @@ async def on_message(ctx):
if ( if (
str(ctx.author.id) str(ctx.author.id)
in requests.get( in requests.get(
"http://dale-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"]
): ):
await ctx.delete() await ctx.delete()