From 33f40a84af8e28867366b73afd4aab303ef47beb Mon Sep 17 00:00:00 2001 From: Connor Smith Date: Tue, 3 Dec 2024 23:27:39 +1100 Subject: [PATCH] If we test our code before we push, we supposedly have better results --- 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 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()