aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/help.js4
1 files changed, 2 insertions, 2 deletions
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] = {