mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-09 11:21:26 +03:00
Update ticket
autocompleter
This commit is contained in:
@@ -16,9 +16,10 @@ module.exports = class AddSlashCommand extends SlashCommand {
|
||||
type: ApplicationCommandOptionType.User,
|
||||
},
|
||||
{
|
||||
autocomplete: true,
|
||||
name: 'ticket',
|
||||
required: false,
|
||||
type: ApplicationCommandOptionType.Channel,
|
||||
type: ApplicationCommandOptionType.Integer,
|
||||
},
|
||||
];
|
||||
opts = opts.map(o => {
|
||||
|
@@ -19,7 +19,7 @@ module.exports = class CloseSlashCommand extends SlashCommand {
|
||||
autocomplete: true,
|
||||
name: 'ticket',
|
||||
required: false,
|
||||
type: ApplicationCommandOptionType.String,
|
||||
type: ApplicationCommandOptionType.Integer,
|
||||
},
|
||||
{
|
||||
name: 'time',
|
||||
|
@@ -16,9 +16,10 @@ module.exports = class RemoveSlashCommand extends SlashCommand {
|
||||
type: ApplicationCommandOptionType.User,
|
||||
},
|
||||
{
|
||||
autocomplete: true,
|
||||
name: 'ticket',
|
||||
required: false,
|
||||
type: ApplicationCommandOptionType.Channel,
|
||||
type: ApplicationCommandOptionType.Integer,
|
||||
},
|
||||
];
|
||||
opts = opts.map(o => {
|
||||
|
Reference in New Issue
Block a user