diff --git a/backend-flask/discord_bot.py b/backend-flask/discord_bot.py index c8caf38..3fec968 100644 --- a/backend-flask/discord_bot.py +++ b/backend-flask/discord_bot.py @@ -102,6 +102,7 @@ client = Client(command_prefix="!", intents=intents) description="Set up announcements webhook in this channel", guild=guild_id ) +@discord.app_commands.default_permissions(manage_webhooks=True) async def setup_announcements(interaction: discord.Interaction): await interaction.response.send_message( "Setting up announcement webhook. Any existing webhooks madde by " +