diff options
| author | Alee <alee14498@gmail.com> | 2018-04-21 01:29:09 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-04-21 01:29:09 -0400 |
| commit | 68ae59ec8bd4e586553b5c81f0fa86dbaf63c457 (patch) | |
| tree | 0946294d1069fb30cb0a270408b24fd5ac83156d /commands | |
| parent | 6a234f9907ccbd68003b32282a48d950be3981b5 (diff) | |
| download | AleeBot-68ae59ec8bd4e586553b5c81f0fa86dbaf63c457.tar.gz AleeBot-68ae59ec8bd4e586553b5c81f0fa86dbaf63c457.tar.bz2 AleeBot-68ae59ec8bd4e586553b5c81f0fa86dbaf63c457.zip | |
im dumb
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/help.js | 4 |
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] = {
|
