Add guild_only() guard to /roles create
This commit is contained in:
parent
dfa2ce0eb0
commit
13cc7a7f8a
1
main.py
1
main.py
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue