TypeError: channel.isText is not a function
at InteractionCreateAction.handle (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\actions\InteractionCreate.js:48:33)
at module.exports [as INTERACTION_CREATE] (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\websocket\WebSocketManager.js:346:31)
at WebSocketShard.onPacket (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\websocket\WebSocketShard.js:482:22)
at WebSocketShard.onMessage (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\websocket\WebSocketShard.js:317:10)
at callListener (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\ws\lib\event-target.js:209:9)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\ws\lib\websocket.js:1180:20)
at Receiver.emit (node:events:513:28)
TypeError: channel.isText is not a function at InteractionCreateAction.handle (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\actions\InteractionCreate.js:48:33) at module.exports [as INTERACTION_CREATE] (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36) at WebSocketManager.handlePacket (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\websocket\WebSocketManager.js:346:31) at WebSocketShard.onPacket (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\websocket\WebSocketShard.js:482:22) at WebSocketShard.onMessage (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\discord.js\src\client\websocket\WebSocketShard.js:317:10) at callListener (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\ws\lib\event-target.js:290:14) at WebSocket.onMessage (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\ws\lib\event-target.js:209:9) at WebSocket.emit (node:events:513:28) at Receiver.receiverOnMessage (C:\Users\Lenovo\OneDrive\Desktop\Shop-Managerx\node_modules\ws\lib\websocket.js:1180:20) at Receiver.emit (node:events:513:28)
Node.js v18.16.0