We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f3674f commit 48cab03Copy full SHA for 48cab03
1 file changed
src/main.ts
@@ -190,9 +190,10 @@ async function handleInternal(
190
let server_count = 0;
191
let shard_id: number | undefined;
192
// Checks if bot is sharded
193
+ // Only run posting from shard 0
194
if (client.shard?.ids.includes(0)) {
195
shard_count = client.shard.count;
- shard_id = client.shard.ids.at(0);
196
+ shard_id = client.shard.ids.at(0); // this should always only be a single number
197
198
// This will get as much info as it can, without erroring
199
try {
0 commit comments