generated from Baipyrus/DiscordJS-Template
bugfix: adjusted parameters accordingly
This commit is contained in:
parent
7672748ac8
commit
9b4d5a1d02
@ -286,7 +286,7 @@ async function removeAutocomplete(interaction) {
|
||||
|
||||
switch (type) {
|
||||
case 'keyword':
|
||||
await keywordAutocomplete(interaction.guildId, options.getFocused());
|
||||
await keywordAutocomplete(interaction);
|
||||
break;
|
||||
case 'response':
|
||||
await responseAutocomplete(
|
||||
@ -393,7 +393,7 @@ export async function autocomplete(interaction) {
|
||||
break;
|
||||
case 'add':
|
||||
case 'info':
|
||||
keywordAutocomplete(interaction.guildId, interaction.options.getFocused());
|
||||
keywordAutocomplete(interaction);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user