Error When trying to getString.

I'm in the process of updating djs 13 to 14. - "discord.js": "^14.9.0", - "@sapphire/framework": "^4.2.2", I'm having issues when trying to .getString() from the interaction.options.
No description
Solution:
I'm in the process of updating djs 13 to 14. - "discord.js": "^14.9.0", - "@sapphire/framework": "^4.2.2", ...
No description
Jump to solution
4 Replies
Favna
Favna•2y ago
Make sure interaction is typed as a CommandInteraction and all your other dependencies are also up to date (only typescript is recommended to be 4.9.5 for now)
taO
taO•2y ago
Will do thanks
Favna
Favna•2y ago
Correction to myself, you can also type it as Command.ChatInputSomethingIForgotInteraction. It's an alias exported by us so you don't need to import it from discordjs.
taO
taO•2y ago
Working now! 🙂 interaction: Command.ChatInputCommandInteraction
Want results from more Discord servers?
Add your server