From c7552c463ccdccf2e77b6e198e27529e07cef809 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Sun, 29 Oct 2023 18:46:46 -0700 Subject: [PATCH] update/better bot stats --- commands/stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/stats.js b/commands/stats.js index fde587a..a178bb7 100644 --- a/commands/stats.js +++ b/commands/stats.js @@ -21,7 +21,7 @@ module.exports = { * @param {*} param3 */ run: async (client, interaction, args, { GuildDB }, start) => { - let package = JSON.parse(fs.readFileSync('../package.json')); + const package = require('../package.json'); const end = new Date().getTime(); const stats = new EmbedBuilder()