fix(bot): 🐛 Fix reply argument conversion.

This commit is contained in:
Nyeki.py
2024-10-17 20:42:58 -03:00
parent 15368e4a97
commit 62e2d30fdf
3 changed files with 31 additions and 31 deletions
+4 -1
View File
@@ -337,6 +337,9 @@ class Payphone(commands.AutoShardedBot):
f"❌ You're going too fast! Wait `{int(exception.retry_after)}` seconds before trying again."
)
elif isinstance(exception, errors.NotOwner):
await context.send("❌ You're not the owner of this bot.")
elif isinstance(exception, errors.CommandNotFound):
return
@@ -378,7 +381,7 @@ async def is_channel_enabled(ctx: commands.Context) -> Literal[True]:
if ctx.guild is None:
return True
if ctx.command.qualified_name in ["config enable", "config disable"]:
return True