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:
@@ -1598,7 +1598,12 @@ class Logging(commands.Cog):
|
||||
embeds.append(config_embed)
|
||||
return embeds
|
||||
|
||||
@commands.hybrid_group(invoke_without_command=True, name="log")
|
||||
@commands.hybrid_group(
|
||||
invoke_without_command=True,
|
||||
name="log",
|
||||
description="Configure server logging channels and events.",
|
||||
fallback="help",
|
||||
)
|
||||
async def log(self, ctx: commands.Context):
|
||||
"""Main logging command group. Works with both slash (/) and prefix (!) commands."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user