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

Bot Sharding #631

Open
wants to merge 2 commits into
base: v4-sharding
Choose a base branch
from
Open

Conversation

DannSystems
Copy link

Bot Sharding code including auto shard generation ect.

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
@DannSystems
Copy link
Author

Will automatically create shards when it reaches too many servers to where it starts lagging and more explained already in dms

@wesleigh
Copy link
Collaborator

Hi @mainboiii, thanks for the PR. Has this been tested?

@DannSystems
Copy link
Author

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",

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.

Copy link

@SirFlayte SirFlayte left a 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.

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

Successfully merging this pull request may close these issues.

None yet

3 participants