mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 18:21:25 +03:00
Add category
option for closing multiple tickets
This commit is contained in:
@@ -19,6 +19,12 @@ module.exports = class ForceCloseSlashCommand extends SlashCommand {
|
||||
client.i18n.locales.forEach(l => (nameLocalizations[l] = client.i18n.getMessage(l, 'commands.slash.force-close.name')));
|
||||
|
||||
let opts = [
|
||||
{
|
||||
autocomplete: true,
|
||||
name: 'category',
|
||||
required: false,
|
||||
type: ApplicationCommandOptionType.Integer,
|
||||
},
|
||||
{
|
||||
name: 'reason',
|
||||
required: false,
|
||||
|
Reference in New Issue
Block a user