This commit is contained in:
Ashley Graves 2024-10-10 18:14:28 +02:00
parent 925bb43b2c
commit bd11475896

View file

@ -83,7 +83,8 @@ module.exports = {
choices.push(tag); choices.push(tag);
} }
console.log(choices); if (choices.length == 0)
return;
await interaction.respond(choices.map(choice => ({ name: choice, value: choice }))) await interaction.respond(choices.map(choice => ({ name: choice, value: choice })))
} }