mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Add Back restart
This commit is contained in:
@@ -79,6 +79,11 @@ client.on('guildDelete', async (guild) => {
|
|||||||
dBots(count, client.user.id);
|
dBots(count, client.user.id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
client.setTimeout(() => {
|
||||||
|
console.log(`[RESTART] Shard ${client.shard.id} Restarted.`);
|
||||||
|
process.exit(0);
|
||||||
|
});
|
||||||
|
|
||||||
client.login(TOKEN);
|
client.login(TOKEN);
|
||||||
|
|
||||||
process.on('unhandledRejection', console.error);
|
process.on('unhandledRejection', console.error);
|
||||||
|
|||||||
Reference in New Issue
Block a user