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()