Updated default ping command with AC defaults

This commit is contained in:
Logan Cusano
2024-05-26 01:23:33 -04:00
parent 702e291fcb
commit 8f56fd9b92

View File

@@ -19,10 +19,10 @@ export const deferInitialReply = false; // If we the initial reply in discord sh
/*
export async function autocomplete(nodeIo, interaction) {
const focusedValue = interaction.options.getFocused();
const choices = [];
const choices = []; // The array to be filled with the autocorrect values
const filtered = choices.filter(choice => choice.name.startsWith(focusedValue));
log.INFO(focusedValue, choices, filtered);
await interaction.respond(filtered);
await interaction.respond(filtered.map(choice => ({name: choice.name, value: choice.name})));
}
*/