diff options
Diffstat (limited to 'src/discord')
| -rw-r--r-- | src/discord/commands.ts | 33 | ||||
| -rw-r--r-- | src/discord/interfaces.ts | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/src/discord/commands.ts b/src/discord/commands.ts index 85ff7c0..652a20a 100644 --- a/src/discord/commands.ts +++ b/src/discord/commands.ts @@ -75,3 +75,36 @@ export const COLOURS_COMMAND: DiscordCommand = { name: "colours", description: "Show the distribution of colour roles in the server", }; + +export const ROLEPLAY_SERIOUS_COMMAND: DiscordCommand = { + name: "roleplay-serious", + description: "Manage the serious roleplay role (Admin/Roleplay Curator 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, + }, + ], +}; diff --git a/src/discord/interfaces.ts b/src/discord/interfaces.ts index 6b26876..63b8e82 100644 --- a/src/discord/interfaces.ts +++ b/src/discord/interfaces.ts @@ -29,6 +29,8 @@ export interface DiscordInteraction { username: string; avatar?: string; }; + roles?: string[]; + permissions?: string; }; } |