Move custom command files into own directory
This commit is contained in:
parent
e6bf4045ed
commit
4e41a035ed
9 changed files with 8 additions and 8 deletions
|
@ -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',
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const getNickname = require('./getNickname')
|
||||
const getNickname = require('../getNickname')
|
||||
|
||||
module.exports = function(customMessage, message, prefix, globalPrefix){
|
||||
|
Loading…
Add table
Reference in a new issue