mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
Add for
option to /tag
command
This commit is contained in:
parent
956648c265
commit
84505c2a5f
@ -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 = {};
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user