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

Disconnected from primary gateway #121

Open
ninhochin opened this issue Feb 4, 2018 · 4 comments
Open

Disconnected from primary gateway #121

ninhochin opened this issue Feb 4, 2018 · 4 comments

Comments

@ninhochin
Copy link

Hello guys, i'm trying to connect my bot but keep getting this error,

https://i.imgur.com/9j9TOJt.png

does anyone have faced the same error?

@curtisf
Copy link

curtisf commented Feb 4, 2018

That usually means you're not providing a valid token to your bot.

@ninhochin
Copy link
Author

But i think i'm passing the right token

Token from site: https://i.imgur.com/zSHTZVX.png

My code: https://i.imgur.com/4sVJZXZ.png

and i'm keeping get the same error... we have to write Bot right before the token right?

@curtisf
Copy link

curtisf commented Feb 4, 2018

Well for one, no, you don't need to prefix your connect value with Bot. You will, however, need to regenerate that token asap.

@ninhochin
Copy link
Author

i regenerate my token, but keep getting the same error... that's bad, anyway thanks for the help

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

2 participants