From 33cc41e41345a3bb5eca860cb5d0c4714ce6080f Mon Sep 17 00:00:00 2001 From: Connor Smith Date: Tue, 3 Dec 2024 23:21:46 +1100 Subject: [PATCH] Oops, sync only for mods --- dictator/cogs/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dictator/cogs/system.py b/dictator/cogs/system.py index 20c4285..e26373b 100644 --- a/dictator/cogs/system.py +++ b/dictator/cogs/system.py @@ -43,7 +43,7 @@ async def version(self, interaction: discord.Interaction) -> None: await interaction.response.send_message(get_dictator_version(), ephemeral=True) @commands.guild_only() - @app_commands.checks.has_role(MOD_ROLE_ID) + @commands.checks.has_role(MOD_ROLE_ID) @commands.command(brief="Sync Dictators app commands globally.") async def sync(self, ctx: commands.Context) -> None: synced = await ctx.bot.tree.sync()