#Connecting to API but with two different hosts

7 messages · Page 1 of 1 (latest)

misty trout
#

I'll explain myself

I want to shard my bot i already have the main code working for it. Now my question is ! Is it possible to have to dedicated servers/vps to host each shard/cluster (i use discord-hybrid-sharding) separately.

The bot on First host for example will connect to the WS and say "hey i'm shard 0"
The bot on Second host will then say "hey i'm shard 1"
etc...

I don't know if it's the correct way of doing it, i hope i made it clear enough for you guys 😅

toxic hill
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

toxic hill
#

yes you can

misty trout
#

Thanks for the help man it was really helpful 😅😭

toxic hill
#

well i answered your question

#

kinda

misty trout
#

xD