mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
Add Error Code to Logger
This commit is contained in:
@@ -70,7 +70,7 @@ client.on('guildDelete', async(guild) => {
|
||||
|
||||
client.on('disconnect', (event) => {
|
||||
console.log(`[Disconnect] Shard ${client.shard.id} disconnected with Code ${event.code}.`);
|
||||
webhook(`Disconnected...`, `Shard ${client.shard.id}`, 0xFF3300);
|
||||
webhook(`Disconnected with Code ${event.code}...`, `Shard ${client.shard.id}`, 0xFF3300);
|
||||
});
|
||||
|
||||
client.setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user