mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: updated logging for validators
This commit is contained in:
1 parent
22109823e1
commit
57fc1e3ee8
23 files changed
+118
-70
No files matched your search
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user