Skip to content

Commit

Permalink
If we test our code before we push, we supposedly have better results
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhsm committed Dec 3, 2024
1 parent 33cc41e commit 33f40a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dictator/cogs/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 33f40a8

Please sign in to comment.