mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Remove Server Stats
This commit is contained in:
+1
-8
@@ -7,11 +7,8 @@ const client = new CommandoClient({
|
||||
invite: INVITE,
|
||||
disableEveryone: true,
|
||||
unknownCommandResponse: false,
|
||||
disabledEvents: ['TYPING_START'],
|
||||
messageCacheLifetime: 600,
|
||||
messageSweepInterval: 120
|
||||
disabledEvents: ['TYPING_START']
|
||||
});
|
||||
const { postStats } = require('./util/Util');
|
||||
|
||||
client.registry
|
||||
.registerDefaultTypes()
|
||||
@@ -53,10 +50,6 @@ client.on('ready', () => {
|
||||
}, 60000);
|
||||
});
|
||||
|
||||
client.on('guildCreate', () => postStats(client));
|
||||
|
||||
client.on('guildDelete', () => postStats(client));
|
||||
|
||||
client.on('disconnect', event => {
|
||||
console.error(`[DISCONNECT] Shard ${client.shard.id} disconnected with code ${event.code}.`);
|
||||
process.exit(0);
|
||||
|
||||
Reference in New Issue
Block a user