Connecting to API but with two different hosts

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 😅
Was this page helpful?