From 68ae59ec8bd4e586553b5c81f0fa86dbaf63c457 Mon Sep 17 00:00:00 2001 From: Alee Date: Sat, 21 Apr 2018 01:29:09 -0400 Subject: im dumb --- commands/help.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands') diff --git a/commands/help.js b/commands/help.js index 832ff21..182c618 100644 --- a/commands/help.js +++ b/commands/help.js @@ -22,14 +22,14 @@ const fs = require('fs'); module.exports.run = async (client, message) => { const categories = []; const commands = Array.from(client.commands.keys()); - const settings = require('./storage/settings.json') + const settings = require('../storage/settings.json') commands.forEach(function(x) { if (!categories.includes(client.commands.get(x).help.category)) { categories.push(client.commands.get(x).help.category); } }); - let prefixes = JSON.parse(fs.readFileSync("../storage/prefixes.json", "utf8")); + let prefixes = JSON.parse(fs.readFileSync("./storage/prefixes.json", "utf8")); if(!prefixes[message.guild.id]){ prefixes[message.guild.id] = { -- cgit v1.2.3