Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.5 kB
1
Indexable
Never
C:\Users\coehd\OneDrive\Ambiente de Trabalho\bot\commands\ticket\ticket.js:21
        let painel = new MessageActionRow().addComponents( new MessageSelectMenu()
                     ^

TypeError: MessageActionRow is not a constructor
    at Object.run (C:\Users\coehd\OneDrive\Ambiente de Trabalho\bot\commands\ticket\ticket.js:21:22)
    at Client.<anonymous> (C:\Users\coehd\OneDrive\Ambiente de Trabalho\bot\index.js:47:24)
    at Client.emit (node:events:390:28)
    at MessageCreateAction.handle (C:\Users\coehd\OneDrive\Ambiente de Trabalho\bot\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
    at Object.module.exports [as MESSAGE_CREATE] (C:\Users\coehd\OneDrive\Ambiente de Trabalho\bot\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
    at WebSocketManager.handlePacket (C:\Users\coehd\OneDrive\Ambiente de Trabalho\bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:384:31)
    at WebSocketShard.onPacket (C:\Users\coehd\OneDrive\Ambiente de Trabalho\bot\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22)        
    at WebSocketShard.onMessage (C:\Users\coehd\OneDrive\Ambiente de Trabalho\bot\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)       
    at WebSocket.onMessage (C:\Users\coehd\OneDrive\Ambiente de Trabalho\bot\node_modules\ws\lib\event-target.js:132:16)
    at WebSocket.emit (node:events:390:28)

Node.js v17.3.0