Add for option to /tag command

This commit is contained in:
Isaac 2022-09-04 21:04:05 +01:00
parent 956648c265
commit 84505c2a5f
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,11 @@ module.exports = class TagSlashCommand extends SlashCommand {
required: true, required: true,
type: ApplicationCommandOptionType.String, type: ApplicationCommandOptionType.String,
}, },
{
name: 'for',
required: false,
type: ApplicationCommandOptionType.User,
},
]; ];
opts = opts.map(o => { opts = opts.map(o => {
const descriptionLocalizations = {}; const descriptionLocalizations = {};

View File

@ -101,6 +101,9 @@ commands:
description: Use a tag description: Use a tag
name: tag name: tag
options: options:
for:
description: The user to target the tag to
name: for
tag: tag:
description: The name of the tag to use description: The name of the tag to use
name: tag name: tag