• Не видит get в bot.js, что делать?

    @mlebedzeu Автор вопроса
    Александр,
    1. последняя
    2. не читает get
    3. TypeError: Cannot read property 'get' of undefined
    at Client. (C:\Users\\Desktop\DSBOT\bot.js:37:27)
    at Client.emit (node:events:376:20)
    at MessageCreateAction.handle (C:\Users\\Desktop\DSBOT\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
    at Object.module.exports [as MESSAGE_CREATE] (C:\Users\\Desktop\DSBOT\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
    at WebSocketManager.handlePacket (C:\Users\\Desktop\DSBOT\node_modules\discord.js\src\client\websocket\WebSocketManager.js:384:31)
    at WebSocketShard.onPacket (C:\Users\\Desktop\DSBOT\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22)
    at WebSocketShard.onMessage (C:\Users\\Desktop\DSBOT\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
    at WebSocket.onMessage (C:\Users\\Desktop\DSBOT\node_modules\ws\lib\event-target.js:132:16)
    at WebSocket.emit (node:events:376:20)
    at Receiver.receiverOnMessage (C:\Users\\Desktop\DSBOT\node_modules\ws\lib\websocket.js:825:20)