Merge branch 'next' of github.com:mudkipscience/woomy into next

This commit is contained in:
Lukáš Horáček 2020-03-31 13:46:49 +02:00
commit 93abdb367d
2 changed files with 203 additions and 1264 deletions

View file

@ -35,7 +35,12 @@ client.logger = require('tracer').colorConsole({
}]
})
// Load environment variables / config
// Load modules
require('./modules/functions')(client)
require('./modules/music')(client)
require('./modules/botlists')(client)
// Checks to make sure config.js and .env exist
if (fs.existsSync('./.env') === false) {
client.logger.fatal('The .env file is missing! Please create a .env file.')
process.exit()
@ -49,10 +54,7 @@ if (fs.existsSync('./config.js') === false) {
require('dotenv').config()
client.config = require('./config')
// Load functions module
require('./modules/functions')(client)
// Command/alias cache
// Collections that
client.commands = new Discord.Collection()
client.cooldown = new Discord.Collection()
client.aliases = new Discord.Collection()

1455
package-lock.json generated

File diff suppressed because it is too large Load diff