Flash
SIASapphire - Imagine a framework
•Created by Flash on 4/22/2024 in #discordjs-support
getChannel does not exist for interaction.options
Gotcha. Thank you so much. I'll mark this as solved.
7 replies
SIASapphire - Imagine a framework
•Created by Flash on 4/22/2024 in #discordjs-support
getChannel does not exist for interaction.options
Thanks! Makes sense now that you told me and the command is working fine.
I wonder if there's anyway I could have figured that out from the docs for future reference? For example, the page the ChatlnputCommandlnteraction options doesn't have getChannel, so I'm just trying to figure out how I would read this. I guess just more exposure to the code. Sorry if dumb question but am kinda new to this
https://discord.js.org/docs/packages/discord.js/14.14.1/ChatInputCommandInteraction:Class#options
7 replies