Move custom command files into own directory

This commit is contained in:
SileNce5k 2022-04-05 16:36:32 +02:00
parent e6bf4045ed
commit 4e41a035ed
No known key found for this signature in database
GPG key ID: C507260E7F2583AD
9 changed files with 8 additions and 8 deletions

View file

@ -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',

View file

@ -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;

View file

@ -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){