diff options
| author | Fuwn <[email protected]> | 2025-10-08 23:00:03 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-10-08 23:00:03 -0700 |
| commit | 2267348349241a86702eaf5a5b422bc3b9ed665f (patch) | |
| tree | d02d78293a93e53b4bfa37d5db58af4a215f0dce /packages/interactions/discord/commands | |
| parent | feat(shared): Add staff roles constant (diff) | |
| download | umabotdiscord-2267348349241a86702eaf5a5b422bc3b9ed665f.tar.xz umabotdiscord-2267348349241a86702eaf5a5b422bc3b9ed665f.zip | |
feat(interactions): Add toggle-privileged-access slash command
Diffstat (limited to 'packages/interactions/discord/commands')
| -rw-r--r-- | packages/interactions/discord/commands/index.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/interactions/discord/commands/index.ts b/packages/interactions/discord/commands/index.ts index 46665a4..b3d0d84 100644 --- a/packages/interactions/discord/commands/index.ts +++ b/packages/interactions/discord/commands/index.ts @@ -134,3 +134,16 @@ export const ROLEPLAY_VERIFY_COMMAND: DiscordCommand = { }, ], }; + +export const TOGGLE_PRIVILEGED_ACCESS_COMMAND: DiscordCommand = { + name: "toggle-privileged-access", + description: "Toggle privileged access role (Staff only)", + options: [ + { + type: DISCORD_APPLICATION_COMMAND_OPTION_TYPES.USER, + name: "user", + description: "User to toggle privileged access for", + required: true, + }, + ], +}; |