From 3ba215a6696d31c80d4129515d057990b0b3a120 Mon Sep 17 00:00:00 2001 From: "Lauren R. Kinder" Date: Sat, 28 Dec 2024 17:26:57 +0000 Subject: [PATCH] fixed reset points check to default_perms --- levels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/levels.py b/levels.py index a3193a3..782f870 100644 --- a/levels.py +++ b/levels.py @@ -488,7 +488,7 @@ async def get_leaderboard(self, interaction: discord.Interaction, pages: int=1): await interaction.response.send_message(leaderboard) @discord.app_commands.command(name="reset_points", description="reset the points for the whole server") - @discord.app_commands.checks.has_permissions(manage_roles=True) + @discord.app_commands.default_permissions(manage_roles=True) async def reset_points(self, interaction: discord.Interaction): if interaction.guild is None: await interaction.response.send_message("this command must be used in a server!")