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