fix(pterodactyl): fixed TypeError

This commit is contained in:
Seaswimmer 2024-03-02 19:30:15 -05:00
parent f6ebbae583
commit 4020ab7847
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -320,7 +320,7 @@ class Pterodactyl(commands.Cog):
await view.wait() await view.wait()
if view.result is True: if view.result is True:
del blacklist[name] del blacklist[name]
await msg.edit(f"Removed `{name}` from the regex blacklist.") await msg.edit(content="Removed `{name}` from the regex blacklist.")
else: else:
await msg.edit(content="Cancelled.") await msg.edit(content="Cancelled.")
else: else: