fix url for json
This commit is contained in:
parent
516fa263e8
commit
c57730bdff
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user