From f33efa466054206bdd3e63eb00dfe296973dc99d Mon Sep 17 00:00:00 2001 From: Alee Date: Sat, 31 Mar 2018 21:58:36 -0400 Subject: Moved items.json to the storage folder --- commands/buy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands') 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 = []; -- cgit v1.2.3