From 9f6e960a25dd3b1b15eeec790410a88e39d23ad1 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Fri, 22 Mar 2024 21:53:19 +0000 Subject: [PATCH] fix(pterodactyl): fixed a broken msg.edit() call in `[p]pterodactyl set regex blacklist add]` --- pterodactyl/pterodactyl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index 08c9763..65b9bf7 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -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.")