update /force-close options

This commit is contained in:
Isaac
2022-10-06 12:49:38 +01:00
parent c16a2a0639
commit 507e963efc
2 changed files with 9 additions and 16 deletions

View File

@@ -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')));
let opts = [
{
name: 'channel',
required: false,
type: ApplicationCommandOptionType.Channel,
},
{
name: 'number',
required: false,
type: ApplicationCommandOptionType.Integer,
},
{
name: 'reason',
required: false,
type: ApplicationCommandOptionType.String,
},
{
autocomplete: true,
name: 'ticket',
required: false,
type: ApplicationCommandOptionType.Integer,
},
{
name: 'time',
required: false,