We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/home/ewibot/ewibot/node_modules/discord.js/src/client/actions/InteractionCreate.js:48 if (channel && !channel.isText()) return; ^ TypeError: channel.isText is not a function at InteractionCreateAction.handle (/home/ewibot/ewibot/node_modules/discord.js/src/client/actions/InteractionCreate.js:48:33) at Object.module.exports [as INTERACTION_CREATE] (/home/ewibot/ewibot/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36) at WebSocketManager.handlePacket (/home/ewibot/ewibot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31) at WebSocketShard.onPacket (/home/ewibot/ewibot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:482:22) at WebSocketShard.onMessage (/home/ewibot/ewibot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:317:10) at WebSocket.onMessage (/home/ewibot/ewibot/node_modules/ws/lib/event-target.js:199:18) at WebSocket.emit (node:events:513:28) at Receiver.receiverOnMessage (/home/ewibot/ewibot/node_modules/ws/lib/websocket.js:1178:20) at Receiver.emit (node:events:513:28) at Receiver.dataMessage (/home/ewibot/ewibot/node_modules/ws/lib/receiver.js:528:14) ```
The text was updated successfully, but these errors were encountered:
Apparently caused by Discord change to interactions Fixed in discordjs/discord.js#9203
Sorry, something went wrong.
/home/ewibot/ewibot/node_modules/discord.js/src/client/actions/InteractionCreate.js:48 if (channel && !channel.isText()) return; ^ TypeError: channel.isText is not a function at InteractionCreateAction.handle (/home/ewibot/ewibot/node_modules/discord.js/src/client/actions/InteractionCreate.js:48:33) at Object.module.exports [as INTERACTION_CREATE] (/home/ewibot/ewibot/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36) at WebSocketManager.handlePacket (/home/ewibot/ewibot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31) at WebSocketShard.onPacket (/home/ewibot/ewibot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:482:22) at WebSocketShard.onMessage (/home/ewibot/ewibot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:317:10) at WebSocket.onMessage (/home/ewibot/ewibot/node_modules/ws/lib/event-target.js:199:18) at WebSocket.emit (node:events:513:28) at Receiver.receiverOnMessage (/home/ewibot/ewibot/node_modules/ws/lib/websocket.js:1178:20) at Receiver.emit (node:events:513:28) at Receiver.dataMessage (/home/ewibot/ewibot/node_modules/ws/lib/receiver.js:528:14) ``` Should now follow the alternatives suggested in Discord.js Discord server FAQ channel
Was fixed in prod by updating yarn packages
Eccleria
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: