diff options
| author | Fuwn <[email protected]> | 2025-10-01 20:32:10 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-10-01 20:32:10 -0700 |
| commit | d5276c2368820bff20cbdda46abdd66d3041ae1a (patch) | |
| tree | 20836da068d04e44b8129668d7a47251cf007b94 /packages/interactions/discord/commands | |
| parent | refactor(listeners): Move clientReady listeners to clientReady module (diff) | |
| download | umabotdiscord-d5276c2368820bff20cbdda46abdd66d3041ae1a.tar.xz umabotdiscord-d5276c2368820bff20cbdda46abdd66d3041ae1a.zip | |
feat(interactions): Add age-verify command
Diffstat (limited to 'packages/interactions/discord/commands')
| -rw-r--r-- | packages/interactions/discord/commands/index.ts | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/packages/interactions/discord/commands/index.ts b/packages/interactions/discord/commands/index.ts index b4c6721..a69e786 100644 --- a/packages/interactions/discord/commands/index.ts +++ b/packages/interactions/discord/commands/index.ts @@ -124,3 +124,53 @@ export const ROLEPLAY_VERIFY_COMMAND: DiscordCommand = { }, ], }; + +export const AGE_VERIFY_COMMAND: DiscordCommand = { + name: "age-verify", + description: + "Manage the verified age role (Staff only)", + options: [ + { + type: 3, + name: "action", + description: "Action to perform on the role", + required: true, + choices: [ + { + name: "Add Role", + value: "add", + }, + { + name: "Remove Role", + value: "remove", + }, + { + name: "Toggle Role", + value: "toggle", + }, + ], + }, + { + type: 6, + name: "user", + description: "User to perform the action on", + required: true, + }, + { + type: 3, + name: "access", + description: "Type of access to grant", + required: true, + choices: [ + { + name: "Art & Media", + value: "art_media", + }, + { + name: "Roleplay NSFW", + value: "roleplay_nsfw", + }, + ], + }, + ], +}; |