You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been running an app where a user clicks a button and we process a simple interaction on our node server for several weeks. Today it seems to have broken and "TypeError: channel.isTextBased is not a function" is the error.
Steps to reproduce:
Add a button to a discord channel
Try to interact with the button from the backend by listening using client.on(Events.InteractionCreate, async (interaction) => {
Which package is this bug report for?
discord.js
Issue description
We have been running an app where a user clicks a button and we process a simple interaction on our node server for several weeks. Today it seems to have broken and "TypeError: channel.isTextBased is not a function" is the error.
Steps to reproduce:
client.on(Events.InteractionCreate, async (interaction) => {
Code sample
No response
Package version
14.7.1
Node.js version
18.15.0
Operating system
Linux
Priority this issue should have
High (immediate attention needed)
Which partials do you have configured?
Channel, Message, Reaction
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildVoiceStates, GuildMessages, GuildMessageReactions
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: