mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 15:58:06 +02:00
Remove carbon, rip
This commit is contained in:
+1
-3
@@ -11,7 +11,7 @@ const client = new CommandoClient({
|
||||
messageCacheLifetime: 600,
|
||||
messageSweepInterval: 120
|
||||
});
|
||||
const { carbon, dBots, dBotsOrg, filterTopics, parseTopic } = require('./structures/Util');
|
||||
const { dBots, dBotsOrg, filterTopics, parseTopic } = require('./structures/Util');
|
||||
|
||||
client.registry
|
||||
.registerDefaultTypes()
|
||||
@@ -81,7 +81,6 @@ client.on('guildCreate', async guild => {
|
||||
console.log(`[GUILD] I have joined ${guild.name}! (${guild.id})`);
|
||||
const guilds = await client.shard.fetchClientValues('guilds.size');
|
||||
const count = guilds.reduce((prev, val) => prev + val, 0);
|
||||
carbon(count);
|
||||
dBots(count, client.user.id);
|
||||
dBotsOrg(count, client.user.id);
|
||||
});
|
||||
@@ -90,7 +89,6 @@ client.on('guildDelete', async guild => {
|
||||
console.log(`[GUILD] I have left ${guild.name}... (${guild.id})`);
|
||||
const guilds = await client.shard.fetchClientValues('guilds.size');
|
||||
const count = guilds.reduce((prev, val) => prev + val, 0);
|
||||
carbon(count);
|
||||
dBots(count, client.user.id);
|
||||
dBotsOrg(count, client.user.id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user