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) {
|
switch (type) {
|
||||||
case 'keyword':
|
case 'keyword':
|
||||||
await keywordAutocomplete(interaction.guildId, options.getFocused());
|
await keywordAutocomplete(interaction);
|
||||||
break;
|
break;
|
||||||
case 'response':
|
case 'response':
|
||||||
await responseAutocomplete(
|
await responseAutocomplete(
|
||||||
@ -393,7 +393,7 @@ export async function autocomplete(interaction) {
|
|||||||
break;
|
break;
|
||||||
case 'add':
|
case 'add':
|
||||||
case 'info':
|
case 'info':
|
||||||
keywordAutocomplete(interaction.guildId, interaction.options.getFocused());
|
keywordAutocomplete(interaction);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user