fix(pterodactyl): fixed a broken msg.edit() call in [p]pterodactyl set regex blacklist add]
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 39s

This commit is contained in:
Seaswimmer 2024-03-22 21:53:19 +00:00
parent 46b534ebf8
commit 9f6e960a25
Signed by: CoastalCommitsManagement
GPG key ID: 7E73189F651A553F

View file

@ -531,7 +531,7 @@ class Pterodactyl(commands.Cog):
await view.wait()
if view.result is True:
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:
await msg.edit(content="Cancelled.")