Refactor command definitions across multiple cogs to replace hybrid commands with regular commands for consistency. This change enhances clarity and standardizes command handling throughout the bot.
Some checks failed
CI / Bot (Python) (push) Successful in 12s
CI / Dashboard (Next.js) (push) Failing after 8s

This commit is contained in:
TheOnlyMace
2026-07-21 22:50:11 +02:00
parent 20193404e8
commit 1da2085087
47 changed files with 203 additions and 153 deletions

View File

@@ -89,7 +89,7 @@ class Message(commands.Cog):
self.color = 0xFF0000
@commands.hybrid_group(invoke_without_command=True, aliases=["purge"], help="Clears the messages")
@commands.group(invoke_without_command=True, aliases=["purge"], help="Clears the messages")
@blacklist_check()
@ignore_check()
@commands.cooldown(1, 3, commands.BucketType.user)
@@ -232,7 +232,7 @@ class Message(commands.Cog):
@commands.hybrid_command(name="purgebots",
@commands.command(name="purgebots",
aliases=["cleanup", "pb", "clearbot", "clearbots"],
help="Clear recently bot messages in channel")
@blacklist_check()
@@ -250,7 +250,7 @@ class Message(commands.Cog):
await do_removal(ctx, search, predicate)
@commands.hybrid_command(name="purgeuser",
@commands.command(name="purgeuser",
aliases=["pu", "cu", "clearuser"],
help="Clear recent messages of a user in channel")
@blacklist_check()