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.
This commit is contained in:
@@ -37,7 +37,7 @@ class joindm(commands.Cog):
|
||||
with open(jsondb_path('joindm_messages.json'), 'w') as f:
|
||||
json.dump(self.joindm_messages, f)
|
||||
|
||||
@commands.hybrid_group(invoke_without_command=True)
|
||||
@commands.group(invoke_without_command=True)
|
||||
@commands.has_permissions(administrator=True)
|
||||
async def joindm(self, ctx):
|
||||
# Display the current join DM message
|
||||
|
||||
Reference in New Issue
Block a user