now use json folder

This commit is contained in:
Loic Bersier 2018-09-20 17:50:28 +02:00
parent faffc1d417
commit 0e67407beb
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
const { Command } = require('discord.js-commando'); const { Command } = require('discord.js-commando');
const responseObject = require("../../randPic.json"); const responseObject = require("../../json/randPic.json");
module.exports = class BadmemeCommand extends Command { module.exports = class BadmemeCommand extends Command {
constructor(client) { constructor(client) {
super(client, { super(client, {

View file

@ -1,5 +1,5 @@
const { Command } = require('discord.js-commando'); const { Command } = require('discord.js-commando');
const responseObject = require("../../randVid.json"); const responseObject = require("../../json/randVid.json");
module.exports = class dankCommand extends Command { module.exports = class dankCommand extends Command {
constructor(client) { constructor(client) {
super(client, { super(client, {

View file

@ -1,5 +1,5 @@
const { Command } = require('discord.js-commando'); const { Command } = require('discord.js-commando');
const responseObject = require("../../funfact.json"); const responseObject = require("../../json/funfact.json");
module.exports = class FunFactCommand extends Command { module.exports = class FunFactCommand extends Command {
constructor(client) { constructor(client) {
super(client, { super(client, {