Flash
SIASapphire - Imagine a framework
•Created by Flash on 4/22/2024 in #discordjs-support
getChannel does not exist for interaction.options
Howdy, I'm trying to get a text channel from a command channel option, but I'm getting the error that 'getChannel' property doesn't exist even though it appears as a method in the docs and I've seen it in other people's code. I'm using the typescript complete example bot as a base. Npm ls returns discord.js 14.14.1
https://discord.js.org/docs/packages/discord.js/14.14.1/CommandInteractionOptionResolver:Class
7 replies