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

Second bot won't work #154

Closed
TharinduX opened this issue Oct 15, 2020 · 4 comments
Closed

Second bot won't work #154

TharinduX opened this issue Oct 15, 2020 · 4 comments

Comments

@TharinduX
Copy link

Hi,
Appreciate your work, Can anyone help me to add second bot to reduce the rate limiting. I added DISCORD_BOT_TOKEN_2 into the Config Vars but second bot keep offline forever. Bot runing in heroku. Appreciate if anyone can help me to sort this out.
Thanks.

@contejus
Copy link
Contributor

Can you post your config variables and logs from Heroku?

@TharinduX
Copy link
Author

@contejus yes sure.
Logs

2020-10-16T03:15:40.612304+00:00 heroku[web.1]: Unidling
2020-10-16T03:15:40.614389+00:00 heroku[web.1]: State changed from down to starting
2020-10-16T03:15:41.397139+00:00 heroku[web.1]: Starting process with command `bin/amongusdiscord`
2020-10-16T03:15:44.031888+00:00 app[web.1]: 2020/10/16 03:15:44 Can't open env file, hopefully you're running in docker and have provided the DISCORD_BOT_TOKEN...
2020-10-16T03:15:44.032049+00:00 app[web.1]: 2020/10/16 03:15:44 2.2.4-Prerelease
2020-10-16T03:15:44.525069+00:00 app[web.1]: 2020/10/16 03:15:44 Bot is now running.  Press CTRL-C to exit.
2020-10-16T03:15:44.527185+00:00 app[web.1]: 2020/10/16 03:15:44 Serving at localhost:13153...
2020-10-16T03:15:44.528839+00:00 app[web.1]: 2020/10/16 03:15:44 Couldn't load config from 703358262094856201_config.json; using default config instead
2020-10-16T03:15:44.528871+00:00 app[web.1]: 2020/10/16 03:15:44 Exact error: open 703358262094856201_config.json: no such file or directory
2020-10-16T03:15:44.530005+00:00 app[web.1]: 2020/10/16 03:15:44 Added to new Guild, id 703358262094856201, name Gaming Community
2020-10-16T03:15:44.530030+00:00 app[web.1]: 2020/10/16 03:15:44 No explicit guildID provided for emojis; using the current guild default
2020-10-16T03:15:45.800745+00:00 heroku[web.1]: State changed from starting to up
2020-10-16T03:15:46.696631+00:00 heroku[router]: at=info method=GET path="/" host=amonguslka.herokuapp.com request_id=eabf0941-e8b6-4027-b126-1ff81aca2cf2 fwd="111.223.144.179" dyno=web.1 connect=24ms service=12ms status=404 bytes=195 protocol=https
2020-10-16T03:15:47.360154+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=amonguslka.herokuapp.com request_id=e5d36bf9-14a4-48c2-ad28-94377efc9c22 fwd="111.223.144.179" dyno=web.1 connect=1ms service=1ms status=404 bytes=195 protocol=https

Config Vars

@contejus
Copy link
Contributor

contejus commented Oct 16, 2020

I think you might be running an old version of the Discord bot. Try updating to a newer version of the software and hopefully that should fix it.

Also I recommend you change your Discord bot tokens just in case.

@TharinduX
Copy link
Author

Working fine after update.
Thanks @contejus

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