Refactor command definitions across various cogs to replace hybrid commands with regular commands for improved consistency and clarity. Update command structures in moderation, music, and other cogs to enhance user experience and streamline command handling.
This commit is contained in:
@@ -47,7 +47,13 @@ class Media(commands.Cog):
|
||||
async def on_ready(self):
|
||||
await self.set_db()
|
||||
|
||||
@commands.hybrid_group(name="media", help="Setup Media channel, Media channel will not allow users to send messages other than media files.", invoke_without_command=True)
|
||||
@commands.hybrid_group(
|
||||
name="media",
|
||||
description="Setup Media channel; only media files are allowed.",
|
||||
help="Setup Media channel, Media channel will not allow users to send messages other than media files.",
|
||||
fallback="help",
|
||||
invoke_without_command=True,
|
||||
)
|
||||
@blacklist_check()
|
||||
@ignore_check()
|
||||
@commands.cooldown(1, 3, commands.BucketType.user)
|
||||
|
||||
Reference in New Issue
Block a user