Skip to content

Commit b87c8d2

Browse files
committed
Fix perms with extension all command
1 parent 9aa793a commit b87c8d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

techsupport_bot/commands/extension.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ async def list_disabled(self: Self, interaction: discord.Interaction) -> None:
7474
)
7575
await interaction.response.send_message(embed=embed)
7676

77+
@app_commands.checks.has_permissions(administrator=True)
7778
@extension_app_command_group.command(
7879
name="enable_all",
7980
description="Enables all loaded but disabled extensions in the guild",

0 commit comments

Comments
 (0)