Implement slash command synchronization features in environment files and update command definitions to hybrid commands across various cogs. Enhance command registration for improved user experience and streamline command handling in the bot.

This commit is contained in:
TheOnlyMace
2026-07-21 22:41:41 +02:00
parent f15c869993
commit fc77f0a3c2
51 changed files with 382 additions and 153 deletions

View File

@@ -115,7 +115,7 @@ class Moderation(commands.Cog):
@commands.command()
@commands.hybrid_command()
@blacklist_check()
@ignore_check()
@commands.cooldown(1, 3, commands.BucketType.user)
@@ -793,7 +793,7 @@ class Moderation(commands.Cog):
@commands.command(aliases=["deletesticker", "removesticker"], description="Delete the sticker from the server")
@commands.hybrid_command(aliases=["deletesticker", "removesticker"], description="Delete the sticker from the server")
@blacklist_check()
@ignore_check()
@commands.cooldown(1, 3, commands.BucketType.user)
@@ -815,7 +815,7 @@ class Moderation(commands.Cog):
await ctx.reply("Failed to delete the sticker")
@commands.command(aliases=["deleteemoji", "removeemoji"], description="Deletes the emoji from the server")
@commands.hybrid_command(aliases=["deleteemoji", "removeemoji"], description="Deletes the emoji from the server")
@blacklist_check()
@ignore_check()
@commands.cooldown(1, 3, commands.BucketType.user)
@@ -864,7 +864,7 @@ class Moderation(commands.Cog):
@commands.command(description="Changes the icon for the role.")
@commands.hybrid_command(description="Changes the icon for the role.")
@blacklist_check()
@ignore_check()
@commands.cooldown(1, 3, commands.BucketType.user)