fix: Change level command decorator to improve command handling

This commit is contained in:
Slipstream 2025-05-30 16:31:20 -06:00
parent 227bc630ee
commit 66fad3a41b
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -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