I get this Error if i chat something in MC
root@tns-01:/home/chatbot# cd /home/chatbot/ && yarn start
yarn run v1.13.0
$ node index.js
[INFO] Using configuration file: ./config.json
[INFO] Bot listening on *:8000
[INFO] Recieved [14:23:13] [Server thread/INFO]: <[Admin] mar_robHD> ad
[DEBUG] Username: [Admin] mar_robHD
[DEBUG] Text: ad
(node:4740) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
at createError (/home/chatbot/node_modules/axios/lib/core/createError.js:16:15)
at settle (/home/chatbot/node_modules/axios/lib/core/settle.js:18:12)
at IncomingMessage.handleStreamEnd (/home/chatbot/node_modules/axios/lib/adapters/http.js:201:11)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:4740) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:4740) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I get this Error if i chat something in MC root@tns-01:/home/chatbot# cd /home/chatbot/ && yarn start yarn run v1.13.0 $ node index.js [INFO] Using configuration file: ./config.json [INFO] Bot listening on *:8000 [INFO] Recieved [14:23:13] [Server thread/INFO]: <[Admin] mar_robHD> ad [DEBUG] Username: [Admin] mar_robHD [DEBUG] Text: ad (node:4740) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 at createError (/home/chatbot/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/chatbot/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/chatbot/node_modules/axios/lib/adapters/http.js:201:11) at emitNone (events.js:111:20) at IncomingMessage.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) (node:4740) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:4740) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.