-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
Bot Sharding #631
base: v4-sharding
Are you sure you want to change the base?
Bot Sharding #631
Conversation
Updated to boot bot from bot.js so it shards then opens atlanta.js after sharding successful.
Launches sharding from bot.js and then goes to launch the bot via token as well as the main atlanta.js file
Will automatically create shards when it reaches too many servers to where it starts lagging and more explained already in dms |
Hi @mainboiii, thanks for the PR. Has this been tested? |
Yes, should all work as expected |
@@ -2,7 +2,7 @@ | |||
"name": "atlantabot", | |||
"version": "4.12.0", | |||
"description": "A very complete Discord bot (more than 70 commands) that uses the Discordjs API!", | |||
"main": "atlanta.js", | |||
"main": "bot.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Main file is still atlanta.js, it is useless to create a new file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sharding will be added in the next version.
Bot Sharding code including auto shard generation ect.