Add guild_only() guard to /roles create

This commit is contained in:
fanyx 2024-01-23 17:47:38 +01:00
parent dfa2ce0eb0
commit 13cc7a7f8a
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ roles = app_commands.Group(name="roles", description="Manage role dialogues")
# Commands
## Group: roles
@commands.guild_only()
@roles.command(name="create")
async def roles_create_button(interaction: discord.Interaction):
await interaction.response.send_message(