diff options
| -rw-r--r-- | commands/buy.js | 2 | ||||
| -rw-r--r-- | storage/items.json (renamed from items.json) | 0 |
2 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 = []; diff --git a/items.json b/storage/items.json index 1d57718..1d57718 100644 --- a/items.json +++ b/storage/items.json |
