Angush / trellobot

A Discord bot for logging Trello events. Note: this is no longer functional and not maintained. Forks may be more up-to-date.
52 stars 46 forks source link

token issue #11

Open cry8wolf9 opened 5 years ago

cry8wolf9 commented 5 years ago

im 90% sure the token is correct. i regenerated it a few times and it still dosen't work

(node:3337) UnhandledPromiseRejectionWarning: Error: An invalid token was provided. at Promise (/home/pi/Bots/Trello_2/node_modules/discord.js/src/client/rest/RESTMethods.js:32:44) at new Promise () at RESTMethods.login (/home/pi/Bots/Trello_2/node_modules/discord.js/src/client/rest/RESTMethods.js:31:12) at Client.login (/home/pi/Bots/Trello_2/node_modules/discord.js/src/client/Client.js:277:30) at Object. (/home/pi/Bots/Trello_2/trellobot.js:28:5) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) (node:3337) 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: 1) (node:3337) [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.