Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discordbot broken in 0.12-A #20

Open
psybie opened this issue Aug 16, 2019 · 0 comments
Open

Discordbot broken in 0.12-A #20

psybie opened this issue Aug 16, 2019 · 0 comments

Comments

@psybie
Copy link
Collaborator

psybie commented Aug 16, 2019

The "Use Discord" option does not connect to the discord bot. I found out that my token changed at some point. I did not regenerate it. I updated the new token into the config.json file. The error continues.

I tried my previous copy of 0.9-A when Discord was working. That failed with the same error. I updated the token and the error remains. I regenerated the token and updated the config file. The error remains. I tried re-authorizing the bot through the OAuth2 redirect link. Nothing happened. My Adjutant discord bot remains offline.

The error is this:

(node:3296) UnhandledPromiseRejectionWarning: Error [TOKEN_INVALID]: An invalid
token was provided.
    at WebSocketManager.connect (D:\Video Games\Final Fantasy XIV\Mogster\mogste
r0.12-A\mogster\resources\app.asar\node_modules\discord.js\src\client\websocket\
WebSocketManager.js:132:26)
    at Client.login (D:\Video Games\Final Fantasy XIV\Mogster\mogster0.12-A\mogs
ter\resources\app.asar\node_modules\discord.js\src\client\Client.js:210:21)
(node:3296) 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:3296) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
 Node.js process with a non-zero exit code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant