summaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-03-31 21:58:36 -0400
committerAlee <alee14498@gmail.com>2018-03-31 21:58:36 -0400
commitf33efa466054206bdd3e63eb00dfe296973dc99d (patch)
tree38d619debe599d982f9cf3a616ac9ecd434f5d72 /commands
parent902337c6e41250509cb91502e7bf007e4aec1c2f (diff)
downloadAleeBot-f33efa466054206bdd3e63eb00dfe296973dc99d.tar.gz
AleeBot-f33efa466054206bdd3e63eb00dfe296973dc99d.tar.bz2
AleeBot-f33efa466054206bdd3e63eb00dfe296973dc99d.zip
Moved items.json to the storage folder
Diffstat (limited to 'commands')
-rw-r--r--commands/buy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/buy.js b/commands/buy.js
index ad5fe3b..b9b9269 100644
--- a/commands/buy.js
+++ b/commands/buy.js
@@ -21,7 +21,7 @@ module.exports.run = async (client, message, args) => {
const economy = require('discord-eco')
const Discord = require('discord.js');
const fs = require('fs')
- const items = JSON.parse(fs.readFileSync('./items.json', 'utf8'));
+ const items = JSON.parse(fs.readFileSync('./storage/items.json', 'utf8'));
let categories = [];