fix(pterodactyl): fixed a broken msg.edit() call in [p]pterodactyl set regex blacklist add]
This commit is contained in:
parent
46b534ebf8
commit
9f6e960a25
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ class Pterodactyl(commands.Cog):
|
||||||
await view.wait()
|
await view.wait()
|
||||||
if view.result is True:
|
if view.result is True:
|
||||||
blacklist.update({name: regex})
|
blacklist.update({name: regex})
|
||||||
await msg.edit(f"Updated `{name}` in the regex blacklist.\n{box(regex, 're')}")
|
await msg.edit(content=f"Updated `{name}` in the regex blacklist.\n{box(regex, 're')}")
|
||||||
else:
|
else:
|
||||||
await msg.edit(content="Cancelled.")
|
await msg.edit(content="Cancelled.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue