diff --git a/dictator/cogs/system.py b/dictator/cogs/system.py index e26373b..6d64650 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() - @commands.checks.has_role(MOD_ROLE_ID) + @commands.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()