mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
@@ -203,6 +203,6 @@ function getUrlFromShardId(totalShards: number, shardId: number) {
|
||||
}
|
||||
```
|
||||
|
||||
This function is simply making it so that it determines what the event handler url should be where that specific shard should send the event to. This means if you have 5,000 shards and you receive an event in shard #4565 and you had 10 server urls in the configs. This would mak this event be sent to the 5th url in the array.
|
||||
This function is simply making it so that it determines what the event handler url should be where that specific shard should send the event to. This means if you have 5,000 shards and you receive an event in shard #4565 and you had 10 server urls in the configs. This would make this event be sent to the 5th url in the array.
|
||||
|
||||
Now that all your processes are fully functioning, we can get into the nitty gritty part of finally beginning to code our features/commands/etc...
|
||||
|
||||
Reference in New Issue
Block a user