Closed aedwardg closed 2 years ago
The update to builders apparently removed the addChoice method so it is throwing an "addChoice is not a function" error now when running the the bot or deploying the slash-commands.
The method was replaced by addChoices: https://discordjs.guide/interactions/slash-commands.html#choices https://discord.js.org/#/docs/builders/main/class/SlashCommandStringOption?scrollTo=addChoices
Well that's annoying. I figured there would be no breaking changes since these were all minor version upgrades. I'll make the necessary changes and ping on discord when it's ready for re-review
What issue is this solving?
No official issue, but recommended in the dev server here: https://discord.com/channels/810930683732033597/810930684171780117/981746378424328252
Description
Updates Discord.js and related dependencies.
Any helpful knowledge/context for the reviewer?
Please make sure you've attempted to meet the following coding standards