Bug Fixes

This commit is contained in:
Daniel Odendahl Jr
2017-09-18 02:37:29 +00:00
parent 12594758be
commit cad20b13cf
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -67,13 +67,13 @@ client.on('warn', console.warn);
client.on('commandError', (command, err) => console.error(command.name, err));
client.on('guildCreate', async guild => {
client.on('guildCreate', async () => {
const guilds = await client.shard.fetchClientValues('guilds.size');
const count = guilds.reduce((prev, val) => prev + val, 0);
postStats(count, client.user.id);
});
client.on('guildDelete', async guild => {
client.on('guildDelete', async () => {
const guilds = await client.shard.fetchClientValues('guilds.size');
const count = guilds.reduce((prev, val) => prev + val, 0);
postStats(count, client.user.id);
+1
View File
@@ -13,6 +13,7 @@ module.exports = class SteamCardCommand extends Command {
group: 'avatar-edit',
memberName: 'steam-card',
description: 'Draws a user\'s avatar over a Steam Trading Card.',
guildOnly: true,
throttling: {
usages: 1,
duration: 15