Skip to content

Commit 77de9e7

Browse files
authored
Fix perms with extension all command (#1316)
1 parent 9aa793a commit 77de9e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

techsupport_bot/commands/extension.py

+1
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)