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
|
# Commands
|
||||||
## Group: roles
|
## Group: roles
|
||||||
|
@commands.guild_only()
|
||||||
@roles.command(name="create")
|
@roles.command(name="create")
|
||||||
async def roles_create_button(interaction: discord.Interaction):
|
async def roles_create_button(interaction: discord.Interaction):
|
||||||
await interaction.response.send_message(
|
await interaction.response.send_message(
|
||||||
|
|
Loading…
Reference in New Issue