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

Sharding Support #60

Open
JMTK opened this issue Apr 28, 2018 · 1 comment · May be fixed by #276
Open

Sharding Support #60

JMTK opened this issue Apr 28, 2018 · 1 comment · May be fixed by #276

Comments

@JMTK
Copy link
Contributor

JMTK commented Apr 28, 2018

My bot has 4k servers so unfortunately the current implementation doesn't allow me to use my bot. I changed the disconnect to show me what was wrong:

bot.on('disconnect', function(e) {
        console.log("Bot disconnected, reconnecting...", e);
        setTimeout(function(){
            bot.connect(); //Auto reconnect after 5 seconds
        },5000);
    });

image

More info: https://discordapp.com/developers/docs/topics/gateway#sharding

@vegeta897
Copy link
Member

Sorry about that, I never designed for a bot so huge. Sharding may be supported in the rewrite, no ETA.

@SagnikPradhan SagnikPradhan added this to To do in Rewrite Apr 30, 2020
@SagnikPradhan SagnikPradhan linked a pull request Jun 6, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Rewrite
  
To do
Development

Successfully merging a pull request may close this issue.

2 participants