mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
bruh
This commit is contained in:
1 parent
f39d1bab4e
commit
629e9f814e
1 file changed
+4
-4
@@ -5,13 +5,13 @@ import {
|
||||
tankDefinitions,
|
||||
} from "./core/blitzkit/nonBlockingPromises";
|
||||
|
||||
let manager: ShardingManager;
|
||||
let iteration = 0;
|
||||
const interval = setInterval(async () => {
|
||||
iteration++;
|
||||
console.log(`Attempting launch on iteration ${++iteration}`);
|
||||
|
||||
console.log(`Attempting launch on iteration ${iteration}`);
|
||||
|
||||
const manager = new ShardingManager("dist/bot/workers/bot.js", {
|
||||
manager?.respawnAll();
|
||||
manager = new ShardingManager("dist/bot/workers/bot.js", {
|
||||
token: assertSecret(import.meta.env.DISCORD_TOKEN),
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user