diff --git a/commands/misc/custom.js b/commands/misc/custom.js index 87fe6f3..31abd25 100644 --- a/commands/misc/custom.js +++ b/commands/misc/custom.js @@ -1,11 +1,11 @@ -const addCustomCommand = require("../../util/addCustomCommand"); -const deleteCustomCommand = require("../../util/deleteCustomCommand"); -const getAllCustomCommands = require("../../util/getAllCustomCommands"); -const getOwnerOfCustomCommand = require("../../util/getOwnerOfCustomCommand"); -const renameCustomCommand = require("../../util/renameCustomCommand"); +const addCustomCommand = require("../../util/custom_commands/addCustomCommand"); +const deleteCustomCommand = require("../../util/custom_commands/deleteCustomCommand"); +const getAllCustomCommands = require("../../util/custom_commands/getAllCustomCommands"); +const getOwnerOfCustomCommand = require("../../util/custom_commands/getOwnerOfCustomCommand"); +const renameCustomCommand = require("../../util/custom_commands/renameCustomCommand"); const Discord = require('discord.js'); const fs = require('fs'); -const editCustomCommand = require("../../util/editCustomCommand"); +const editCustomCommand = require("../../util/custom_commands/editCustomCommand"); module.exports = { name: 'custom', diff --git a/server/message.js b/server/message.js index 71791dc..394f601 100644 --- a/server/message.js +++ b/server/message.js @@ -1,5 +1,5 @@ const fs = require('fs'); -const customReplaceWithVariables = require('../util/customReplaceWithVariables'); +const customReplaceWithVariables = require('../util/custom_commands/customReplaceWithVariables'); module.exports = function(client, owners, message, globalPrefix){ let prefix = globalPrefix; diff --git a/util/addCustomCommand.js b/util/custom_commands/addCustomCommand.js similarity index 100% rename from util/addCustomCommand.js rename to util/custom_commands/addCustomCommand.js diff --git a/util/customReplaceWithVariables.js b/util/custom_commands/customReplaceWithVariables.js similarity index 94% rename from util/customReplaceWithVariables.js rename to util/custom_commands/customReplaceWithVariables.js index 70dfdf2..1a5e967 100644 --- a/util/customReplaceWithVariables.js +++ b/util/custom_commands/customReplaceWithVariables.js @@ -1,4 +1,4 @@ -const getNickname = require('./getNickname') +const getNickname = require('../getNickname') module.exports = function(customMessage, message, prefix, globalPrefix){ diff --git a/util/deleteCustomCommand.js b/util/custom_commands/deleteCustomCommand.js similarity index 100% rename from util/deleteCustomCommand.js rename to util/custom_commands/deleteCustomCommand.js diff --git a/util/editCustomCommand.js b/util/custom_commands/editCustomCommand.js similarity index 100% rename from util/editCustomCommand.js rename to util/custom_commands/editCustomCommand.js diff --git a/util/getAllCustomCommands.js b/util/custom_commands/getAllCustomCommands.js similarity index 100% rename from util/getAllCustomCommands.js rename to util/custom_commands/getAllCustomCommands.js diff --git a/util/getOwnerOfCustomCommand.js b/util/custom_commands/getOwnerOfCustomCommand.js similarity index 100% rename from util/getOwnerOfCustomCommand.js rename to util/custom_commands/getOwnerOfCustomCommand.js diff --git a/util/renameCustomCommand.js b/util/custom_commands/renameCustomCommand.js similarity index 100% rename from util/renameCustomCommand.js rename to util/custom_commands/renameCustomCommand.js