bugfix: adjusted parameters accordingly

This commit is contained in:
Baipyrus 2024-04-05 10:31:06 +02:00
parent 7672748ac8
commit 9b4d5a1d02

View File

@ -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;
} }
} }