From 84505c2a5f723fed0c94180f4af3451c3f676295 Mon Sep 17 00:00:00 2001 From: Isaac Date: Sun, 4 Sep 2022 21:04:05 +0100 Subject: [PATCH] Add `for` option to `/tag` command --- src/commands/slash/tag.js | 5 +++++ src/i18n/en-GB.yml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/commands/slash/tag.js b/src/commands/slash/tag.js index 832be57..b6f0a05 100644 --- a/src/commands/slash/tag.js +++ b/src/commands/slash/tag.js @@ -16,6 +16,11 @@ module.exports = class TagSlashCommand extends SlashCommand { required: true, type: ApplicationCommandOptionType.String, }, + { + name: 'for', + required: false, + type: ApplicationCommandOptionType.User, + }, ]; opts = opts.map(o => { const descriptionLocalizations = {}; diff --git a/src/i18n/en-GB.yml b/src/i18n/en-GB.yml index df0515e..c9c169c 100644 --- a/src/i18n/en-GB.yml +++ b/src/i18n/en-GB.yml @@ -101,6 +101,9 @@ commands: description: Use a tag name: tag options: + for: + description: The user to target the tag to + name: for tag: description: The name of the tag to use name: tag