mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 22:01:54 +02:00
Bug Fixes
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user