Describe the bug
Writes DM to BOT and this error appears in PuTTY.
To Reproduce
Steps to reproduce the behavior:
Start the bot
DM the bot and type: hi
get an error about 'id'
Console/Error logs
(node:910395) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'id' of undefined
at CommandoClient.<anonymous> (/home/marc/modmail/index.js:449:112)
at CommandoClient.emit (events.js:387:35)
at MessageCreateAction.handle (/home/marc/modmail/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/home/marc/modmail/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/home/marc/modmail/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
at WebSocketShard.onPacket (/home/marc/modmail/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
at WebSocketShard.onMessage (/home/marc/modmail/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
at WebSocket.onMessage (/home/marc/modmail/node_modules/ws/lib/event-target.js:132:16)
at WebSocket.emit (events.js:375:28)
at Receiver.receiverOnMessage (/home/marc/modmail/node_modules/ws/lib/websocket.js:970:20)
Describe the bug Writes DM to BOT and this error appears in PuTTY.
To Reproduce Steps to reproduce the behavior:
Console/Error logs
System Info