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 addCustomCommand = require("../../util/custom_commands/addCustomCommand");
|
||||||
const deleteCustomCommand = require("../../util/deleteCustomCommand");
|
const deleteCustomCommand = require("../../util/custom_commands/deleteCustomCommand");
|
||||||
const getAllCustomCommands = require("../../util/getAllCustomCommands");
|
const getAllCustomCommands = require("../../util/custom_commands/getAllCustomCommands");
|
||||||
const getOwnerOfCustomCommand = require("../../util/getOwnerOfCustomCommand");
|
const getOwnerOfCustomCommand = require("../../util/custom_commands/getOwnerOfCustomCommand");
|
||||||
const renameCustomCommand = require("../../util/renameCustomCommand");
|
const renameCustomCommand = require("../../util/custom_commands/renameCustomCommand");
|
||||||
const Discord = require('discord.js');
|
const Discord = require('discord.js');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const editCustomCommand = require("../../util/editCustomCommand");
|
const editCustomCommand = require("../../util/custom_commands/editCustomCommand");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'custom',
|
name: 'custom',
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const customReplaceWithVariables = require('../util/customReplaceWithVariables');
|
const customReplaceWithVariables = require('../util/custom_commands/customReplaceWithVariables');
|
||||||
|
|
||||||
module.exports = function(client, owners, message, globalPrefix){
|
module.exports = function(client, owners, message, globalPrefix){
|
||||||
let prefix = globalPrefix;
|
let prefix = globalPrefix;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const getNickname = require('./getNickname')
|
const getNickname = require('../getNickname')
|
||||||
|
|
||||||
module.exports = function(customMessage, message, prefix, globalPrefix){
|
module.exports = function(customMessage, message, prefix, globalPrefix){
|
||||||
|
|
Loading…
Add table
Reference in a new issue