1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-06-04 09:03:50 -04:00
This commit is contained in:
Ean Milligan (Bastion)
2022-06-22 21:45:40 -04:00
parent 021f33fc38
commit 57518f75a9
4 changed files with 12 additions and 6 deletions

View File

@@ -42,6 +42,6 @@ export const auditDB = async (message: DiscordenoMessage) => {
}],
}).catch((e: Error) => utils.commonLoggers.messageSendError('auditDB.ts:43', message, e));
} catch (e) {
utils.commonLoggers.messageSendError('auditDB.ts:45', message, e)
utils.commonLoggers.messageSendError('auditDB.ts:45', message, e);
}
};

View File

@@ -34,8 +34,10 @@ export const stats = async (message: DiscordenoMessage) => {
const cachedGuilds = await cacheHandlers.size('guilds');
const cachedChannels = await cacheHandlers.size('channels');
const cachedMembers = await cacheHandlers.size('members');
m.edit(generateStats(cachedGuilds + cache.dispatchedGuildIds.size, cachedChannels + cache.dispatchedChannelIds.size, cachedMembers, rolls, total - rolls)).catch((e: Error) => utils.commonLoggers.messageSendError('stats.ts:37', message, e));
m.edit(generateStats(cachedGuilds + cache.dispatchedGuildIds.size, cachedChannels + cache.dispatchedChannelIds.size, cachedMembers, rolls, total - rolls)).catch((e: Error) =>
utils.commonLoggers.messageSendError('stats.ts:38', message, e)
);
} catch (e) {
utils.commonLoggers.messageSendError('stats.ts:39', message, e);
utils.commonLoggers.messageSendError('stats.ts:41', message, e);
}
};