mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 22:34:46 +02:00
No Longer process.exit on Disconnect
This commit is contained in:
@@ -99,7 +99,6 @@ client.on('guildDelete', async(guild) => {
|
|||||||
|
|
||||||
client.on('disconnect', (event) => {
|
client.on('disconnect', (event) => {
|
||||||
console.log(`[Disconnect] The Shard ${client.shard.id} disconnected with Code ${event.code}.`);
|
console.log(`[Disconnect] The Shard ${client.shard.id} disconnected with Code ${event.code}.`);
|
||||||
process.exit(0);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
client.on('ready', () => {
|
client.on('ready', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user