removing janky debugging

This commit is contained in:
= 2021-07-06 17:42:19 -04:00
parent 5dc2a1ab53
commit a9502d4f66
2 changed files with 1 additions and 6 deletions

View File

@ -3,7 +3,6 @@ const fs = require('fs');
const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));
const gifFiles = fs.readdirSync('./gifs').filter(file => file.endsWith('.js'));
const pastaFiles = fs.readdirSync('./pastas').filter(file => file.endsWith('.js'));
const debug = true;
module.exports = {
getCommandFiles(client) {
@ -12,7 +11,6 @@ module.exports = {
const command = require(`./commands/${file}`);
client.commands.set(command.name, command);
}
if (debug) console.log(client.commands);
},
getGifFiles(client) {
client.gifs = new Discord.Collection();
@ -20,7 +18,6 @@ module.exports = {
const gif = require(`./gifs/${file}`);
client.gifs.set(gif.name, gif);
}
if (debug) console.log(client.gifs);
},
getPastaFiles(client) {
client.pastas = new Discord.Collection();
@ -28,7 +25,6 @@ module.exports = {
const pasta = require(`./pastas/${file}`);
client.pastas.set(pasta.name, pasta);
}
if (debug) console.log(client.pastas);
},
getFileInfo(content) {
// const finalPeriod = content.search(/\.(?:.(?!\\))+$/gim);

View File

@ -5,9 +5,8 @@ dotenv.config();
const Discord = require('discord.js');
const client = new Discord.Client();
const debug = true;
// const config = require('./config.json');
const { prefix, logChannel, bootMessage, shutdownMessage } = require('./config.json');
// const { prefix, logChannel, bootMessage, shutdownMessage } = require('./config.json');
// const owner = process.env.ownerID;
const giphy = require('giphy-api')(process.env.giphyAPIKey);