fix: updated logging for validators

This commit is contained in:
Marius Begby committed 2023-08-26 14:39:33 +02:00
1 parent 22109823e1
commit 57fc1e3ee8
23 files changed
+118 -70

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ module.exports = {
.setDescription('Show a list of commands and their usage.')
.setDMPermission(false)
.setNSFW(false),
execute: async ({ interaction, client }) => {
execute: async ({ interaction, client, executionId }) => {
const commandList = client.commands
.filter((command) => {
// don't include system commands
+1 -1
View File
@@ -14,7 +14,7 @@ module.exports = {
.setDescription('Show the bot and system status.')
.setDMPermission(false)
.setNSFW(false),
execute: async ({ interaction, client }) => {
execute: async ({ interaction, client, executionId }) => {
const uptimeString = await getUptimeFormatted();
const usedMemoryInMB = Math.ceil((await osu.mem.info()).usedMemMb).toLocaleString('en-US');
const cpuUsage = await osu.cpu.usage();