fix: Change level command decorator to improve command handling
This commit is contained in:
parent
227bc630ee
commit
66fad3a41b
@ -352,7 +352,7 @@ class LevelingCog(commands.Cog):
|
||||
if ctx.invoked_subcommand is None:
|
||||
await ctx.send_help(ctx.command)
|
||||
|
||||
@level.hybrid_command(name="check", description="Check your current level and XP")
|
||||
@level.command(name="check", description="Check your current level and XP")
|
||||
async def level_check(self, ctx: commands.Context, member: discord.Member = None):
|
||||
"""Check your current level and XP or another member's"""
|
||||
target = member or ctx.author
|
||||
|
Loading…
x
Reference in New Issue
Block a user