mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
update /force-close
options
This commit is contained in:
parent
c16a2a0639
commit
507e963efc
@ -10,21 +10,17 @@ module.exports = class ForceCloseSlashCommand extends SlashCommand {
|
|||||||
client.i18n.locales.forEach(l => (nameLocalizations[l] = client.i18n.getMessage(l, 'commands.slash.force-close.name')));
|
client.i18n.locales.forEach(l => (nameLocalizations[l] = client.i18n.getMessage(l, 'commands.slash.force-close.name')));
|
||||||
|
|
||||||
let opts = [
|
let opts = [
|
||||||
{
|
|
||||||
name: 'channel',
|
|
||||||
required: false,
|
|
||||||
type: ApplicationCommandOptionType.Channel,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'number',
|
|
||||||
required: false,
|
|
||||||
type: ApplicationCommandOptionType.Integer,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'reason',
|
name: 'reason',
|
||||||
required: false,
|
required: false,
|
||||||
type: ApplicationCommandOptionType.String,
|
type: ApplicationCommandOptionType.String,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
autocomplete: true,
|
||||||
|
name: 'ticket',
|
||||||
|
required: false,
|
||||||
|
type: ApplicationCommandOptionType.Integer,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'time',
|
name: 'time',
|
||||||
required: false,
|
required: false,
|
||||||
|
@ -65,15 +65,12 @@ commands:
|
|||||||
description: Forcibly close a ticket
|
description: Forcibly close a ticket
|
||||||
name: force-close
|
name: force-close
|
||||||
options:
|
options:
|
||||||
channel:
|
|
||||||
description: The ticket channel to close
|
|
||||||
name: channel
|
|
||||||
number:
|
|
||||||
description: The number of the ticket to close
|
|
||||||
name: number
|
|
||||||
reason:
|
reason:
|
||||||
description: The reason for closing the ticket(s)
|
description: The reason for closing the ticket(s)
|
||||||
name: reason
|
name: reason
|
||||||
|
ticket:
|
||||||
|
description: The ticket to close
|
||||||
|
name: ticket
|
||||||
time:
|
time:
|
||||||
description: Close all tickets that have been inactive for the specific time
|
description: Close all tickets that have been inactive for the specific time
|
||||||
name: time
|
name: time
|
||||||
|
Loading…
Reference in New Issue
Block a user