Remove Server Stats

This commit is contained in:
Daniel Odendahl Jr
2017-10-22 00:00:21 +00:00
parent fa26fb5a56
commit 59a528979a
4 changed files with 2 additions and 67 deletions
+1 -8
View File
@@ -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);