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:
@@ -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.group(invoke_without_command=True)
|
||||
@commands.hybrid_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