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:
@@ -130,7 +130,7 @@ class StickyMessage(commands.Cog):
|
||||
)
|
||||
await db.commit()
|
||||
|
||||
@commands.group(aliases=['sticky', 'sm'], invoke_without_command=True)
|
||||
@commands.hybrid_group(aliases=['sticky', 'sm'], invoke_without_command=True)
|
||||
@commands.has_permissions(manage_messages=True)
|
||||
async def stickymessage(self, ctx: commands.Context):
|
||||
if ctx.invoked_subcommand is None:
|
||||
|
||||
Reference in New Issue
Block a user