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:
@@ -293,7 +293,7 @@ class Leveling (commands .Cog ):
|
||||
self .last_level_cache ={}
|
||||
self .db_path =db_path("leveling.db")
|
||||
|
||||
@commands.hybrid_group (name ="level",invoke_without_command =True ,description ="Leveling system")
|
||||
@commands.group (name ="level",invoke_without_command =True ,description ="Leveling system")
|
||||
async def level (self ,ctx ):
|
||||
"""Main leveling command"""
|
||||
if ctx .invoked_subcommand is None :
|
||||
|
||||
Reference in New Issue
Block a user