help command (unfinished)

This commit is contained in:
Emily 2020-04-06 19:36:32 +10:00
parent b2531d49b0
commit 3b8234fea7
7 changed files with 572 additions and 11 deletions

View file

@ -11,7 +11,8 @@ exports.help = {
name: '',
category: '',
description: '',
usage: ''
usage: '',
params: ''
}
exports.run = async (client, message, args, level, data) => {

View file

@ -12,7 +12,8 @@ exports.help = {
name: 'eval',
category: 'Owner',
description: 'Evaluates arbitrary javascript.',
usage: 'eval [code]'
usage: 'eval [code]',
params: '`[code] - Javascript code you want to execute.'
}
exports.run = async (client, message, args, level, data) => {

View file

@ -11,11 +11,70 @@ exports.help = {
name: 'help',
category: 'General',
description: 'Returns your permission level.',
usage: 'help <command>'
usage: 'help <command> **OR** help all',
params: '`<command>` - The name of the command you want more information on.'
}
const Discord = require('discord.js')
exports.run = (client, message, args, level, data) => {
const embed = new Discord.MessageEmbed()
embed.setColor(client.embedColour(message.guild))
const prefixes = [data.userData.prefix]
if (message.guild && data.userData.prefix !== data.guildData.prefix) {
prefixes.push(data.guildData.prefix)
}
prefixes.push('@Woomy')
const categories = []
if (!args[0]) {
embed.setTitle('Woomy Help')
embed.setDescription(`• Prefixes: ${'`' + prefixes.join('`, `') + '`'}\n• Use \`help <command>\` to recieve more information about a command!\n• Use \`help all\` to view hidden commands!\n• [Join my support server](https://discord.gg/HCF8mdv) if you have any issues/questions while using me!\n• [click here](https://discordapp.com/oauth2/authorize?client_id=435961704145485835&permissions=8&scope=bot) to add me to your own server!`)
const commands = message.guild ? client.commands.filter(
cmd => client.levelCache[cmd.conf.permLevel] <= level
) : client.commands.filter(
cmd => client.levelCache[cmd.conf.permLevel] <= level && cmd.conf.guildOnly !== true
)
commands.forEach((cmd) => {
if (!categories.includes(cmd.help.category)) {
categories.push(cmd.help.category)
}
})
categories.sort().forEach((cat) => {
const filtered = commands.filter((cmd) => cmd.help.category === cat)
embed.addField(cat + ` [${filtered.size}]`, filtered.map((cmd) => '`' + cmd.help.name + '`').join(' '))
})
if (message.guild && data.guildData.customCommands.length > 0) {
embed.addField('Custom', data.guildData.customCommands.map((cmd) => '`' + cmd.name + '`').join(' '))
}
return message.channel.send(embed)
} else if (args[0].toLowerCase() === 'all') {
embed.setTitle('Woomy Help')
embed.setDescription(`• Prefixes: ${'`' + prefixes.join('`, `') + '`'}\n• Use \`help <command>\` to recieve more information about a command!\n• [Join my support server](https://discord.gg/HCF8mdv) if you have any issues/questions while using me!\n• [click here](https://discordapp.com/oauth2/authorize?client_id=435961704145485835&permissions=8&scope=bot) to add me to your own server!`)
const commands = client.commands
commands.forEach((cmd) => {
if (!categories.includes(cmd.help.category)) {
categories.push(cmd.help.category)
}
})
categories.sort().forEach((cat) => {
const filtered = commands.filter((cmd) => cmd.help.category === cat)
embed.addField(cat + ` [${filtered.size}]`, filtered.map((cmd) => '`' + cmd.help.name + '`').join(' '))
})
if (message.guild && data.guildData.customCommands.length > 0) {
embed.addField('Custom', data.guildData.customCommands.map((cmd) => '`' + cmd.name + '`').join(' '))
}
return message.channel.send(embed)
} else {
}
}

View file

@ -11,7 +11,8 @@ exports.help = {
name: 'level',
category: 'Utility',
description: 'Returns your permission level.',
usage: 'level'
usage: 'level',
params: null
}
exports.run = async (client, message, args, level, data) => {

View file

@ -5,6 +5,8 @@ module.exports = async (client, message) => {
data.userData = await client.findOrCreateUser(message.author)
const prefixes = [data.userData.prefix]
if (message.guild) {
if (!message.channel.permissionsFor(client.user).has('SEND_MESSAGES')) {
try {
@ -12,17 +14,13 @@ module.exports = async (client, message) => {
} catch (err) {}
}
data.guildData = await client.findOrCreateGuild(message.guild)
prefixes.push(data.guildData.prefix)
}
const prefixes = [data.userData.prefix, data.guildData.prefix]
prefixes.push(`<@${client.user.id}> `, `<@!${client.user.id}> `)
let prefix
const prefixMention = new RegExp(`^<@!?${client.user.id}> `)
if (message.content.match(prefixMention) ? message.content.match(prefixMention)[0] : '!') {
prefix = message.content.match(prefixMention) ? message.content.match(prefixMention)[0] : '!'
}
for (const thisPrefix of prefixes) {
if (message.content.startsWith(thisPrefix)) prefix = thisPrefix
}

View file

@ -1,4 +1,6 @@
const moment = require('moment')
module.exports = (client) => {
const timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
const activities = client.commands.keyArray()
let activity = activities.random()
@ -9,7 +11,17 @@ module.exports = (client) => {
if (client.lockActivity === false) {
client.user.setActivity(`${client.config.defaultPrefix + activity} | v${client.version.number}`, { type: 'PLAYING' })
};
}, 30000)
}, 20000)
// REMOVE ! IN FRONT OF CLIENT.CONFIG.SUPPORT.ID WHEN DEVMODE WORKS
if (!client.config.support.id && client.config.support.startupLogs && client.devmode === false) {
try {
const guild = client.guilds.cache.get(client.config.support.id)
const channel = guild.channels.cache.get(client.config.support.startupLogs)
channel.send(`Bot started at \`${timestamp}\``)
} catch (err) {}
}
client.logger.ready('Connected to Discord as ' + client.user.tag)
}

489
file.log
View file

@ -39,3 +39,492 @@
2020-04-05T18:47:39 | info | index.js | Loading 7 events.
2020-04-05T18:47:39 | info | mongoose.js | Connected to the database.
2020-04-05T18:47:41 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T15:58:08 | info | index.js | Loading 4 commands.
2020-04-06T15:58:08 | info | index.js | Loading 7 events.
2020-04-06T15:58:08 | info | mongoose.js | Connected to the database.
2020-04-06T15:58:10 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:02:49 | info | index.js | Loading 4 commands.
2020-04-06T16:02:49 | info | index.js | Loading 7 events.
2020-04-06T16:02:49 | info | mongoose.js | Connected to the database.
2020-04-06T16:02:51 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:03:11 | info | index.js | Loading 4 commands.
2020-04-06T16:03:11 | info | index.js | Loading 7 events.
2020-04-06T16:03:11 | info | mongoose.js | Connected to the database.
2020-04-06T16:03:13 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:03:44 | log | message.js | Command ran: eval
2020-04-06T16:03:52 | log | message.js | Command ran: eval
2020-04-06T16:03:58 | log | message.js | Command ran: eval
2020-04-06T16:04:06 | info | index.js | Loading 4 commands.
2020-04-06T16:04:06 | info | index.js | Loading 7 events.
2020-04-06T16:04:06 | info | mongoose.js | Connected to the database.
2020-04-06T16:04:10 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:04:23 | info | index.js | Loading 4 commands.
2020-04-06T16:04:23 | info | index.js | Loading 7 events.
2020-04-06T16:04:23 | info | mongoose.js | Connected to the database.
2020-04-06T16:04:25 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:05:01 | info | index.js | Loading 4 commands.
2020-04-06T16:05:01 | info | index.js | Loading 7 events.
2020-04-06T16:05:01 | info | mongoose.js | Connected to the database.
2020-04-06T16:05:05 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:05:38 | info | index.js | Loading 4 commands.
2020-04-06T16:05:38 | info | index.js | Loading 7 events.
2020-04-06T16:05:38 | info | mongoose.js | Connected to the database.
2020-04-06T16:05:41 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:05:44 | info | index.js | Loading 4 commands.
2020-04-06T16:05:44 | info | index.js | Loading 7 events.
2020-04-06T16:05:44 | info | mongoose.js | Connected to the database.
2020-04-06T16:05:46 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:06:24 | info | index.js | Loading 4 commands.
2020-04-06T16:06:24 | info | index.js | Loading 7 events.
2020-04-06T16:06:24 | info | mongoose.js | Connected to the database.
2020-04-06T16:06:26 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:08:13 | info | index.js | Loading 4 commands.
2020-04-06T16:08:13 | info | index.js | Loading 7 events.
2020-04-06T16:08:13 | info | mongoose.js | Connected to the database.
2020-04-06T16:08:15 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:08:23 | info | index.js | Loading 4 commands.
2020-04-06T16:08:23 | info | index.js | Loading 7 events.
2020-04-06T16:08:23 | info | mongoose.js | Connected to the database.
2020-04-06T16:08:25 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:08:40 | info | index.js | Loading 4 commands.
2020-04-06T16:08:40 | info | index.js | Loading 7 events.
2020-04-06T16:08:40 | info | mongoose.js | Connected to the database.
2020-04-06T16:08:42 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:10:22 | info | index.js | Loading 4 commands.
2020-04-06T16:10:22 | info | index.js | Loading 7 events.
2020-04-06T16:10:22 | info | mongoose.js | Connected to the database.
2020-04-06T16:10:24 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:13:09 | info | index.js | Loading 4 commands.
2020-04-06T16:13:09 | info | index.js | Loading 7 events.
2020-04-06T16:13:09 | info | mongoose.js | Connected to the database.
2020-04-06T16:13:12 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:13:38 | info | index.js | Loading 4 commands.
2020-04-06T16:13:38 | info | index.js | Loading 7 events.
2020-04-06T16:13:38 | info | mongoose.js | Connected to the database.
2020-04-06T16:13:42 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:16:52 | info | index.js | Loading 7 events.
2020-04-06T16:16:52 | info | index.js | Loading 4 commands.
2020-04-06T16:16:52 | info | mongoose.js | Connected to the database.
2020-04-06T16:16:55 | info | index.js | Loading 4 commands.
2020-04-06T16:16:55 | info | index.js | Loading 7 events.
2020-04-06T16:16:55 | info | mongoose.js | Connected to the database.
2020-04-06T16:17:07 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:17:08 | log | message.js | Command ran: ping
2020-04-06T16:17:18 | log | message.js | Command ran: ping
2020-04-06T16:17:28 | info | index.js | Loading 4 commands.
2020-04-06T16:17:28 | info | index.js | Loading 7 events.
2020-04-06T16:17:28 | info | mongoose.js | Connected to the database.
2020-04-06T16:17:33 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:17:53 | info | index.js | Loading 7 events.
2020-04-06T16:17:53 | info | index.js | Loading 4 commands.
2020-04-06T16:17:53 | info | mongoose.js | Connected to the database.
2020-04-06T16:17:55 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:18:10 | info | index.js | Loading 7 events.
2020-04-06T16:18:10 | info | index.js | Loading 4 commands.
2020-04-06T16:18:10 | info | mongoose.js | Connected to the database.
2020-04-06T16:18:12 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T16:18:22 | log | message.js | Command ran: eval
2020-04-06T16:18:33 | log | message.js | Command ran: eval
2020-04-06T16:18:41 | log | message.js | Command ran: eval
2020-04-06T16:18:51 | log | message.js | Command ran: ping
2020-04-06T16:18:54 | log | message.js | Command ran: ping
2020-04-06T16:55:32 | log | message.js | Command ran: help
2020-04-06T16:55:35 | log | message.js | Command ran: help
2020-04-06T17:09:45 | info | index.js | Loading 4 commands.
2020-04-06T17:09:45 | info | index.js | Loading 7 events.
2020-04-06T17:09:45 | info | mongoose.js | Connected to the database.
2020-04-06T17:09:47 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:10:11 | log | message.js | Command ran: help
2020-04-06T17:17:13 | log | message.js | Command ran: help
2020-04-06T17:17:33 | log | message.js | Command ran: help
2020-04-06T17:18:12 | info | index.js | Loading 4 commands.
2020-04-06T17:18:12 | info | index.js | Loading 7 events.
2020-04-06T17:18:12 | info | mongoose.js | Connected to the database.
2020-04-06T17:18:16 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:18:16 | log | message.js | Command ran: help
2020-04-06T17:18:34 | log | message.js | Command ran: help
2020-04-06T17:18:37 | log | message.js | Command ran: help
2020-04-06T17:19:06 | info | index.js | Loading 7 events.
2020-04-06T17:19:06 | info | index.js | Loading 4 commands.
2020-04-06T17:19:06 | info | mongoose.js | Connected to the database.
2020-04-06T17:19:08 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:19:08 | log | message.js | Command ran: help
2020-04-06T17:19:23 | log | message.js | Command ran: help
2020-04-06T17:19:48 | log | message.js | Command ran: eval
2020-04-06T17:20:38 | log | message.js | Command ran: help
2020-04-06T17:20:57 | log | message.js | Command ran: help
2020-04-06T17:21:53 | info | index.js | Loading 4 commands.
2020-04-06T17:21:53 | info | index.js | Loading 7 events.
2020-04-06T17:21:53 | info | mongoose.js | Connected to the database.
2020-04-06T17:21:55 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:22:04 | log | message.js | Command ran: help
2020-04-06T17:22:11 | info | index.js | Loading 4 commands.
2020-04-06T17:22:11 | info | index.js | Loading 7 events.
2020-04-06T17:22:11 | info | mongoose.js | Connected to the database.
2020-04-06T17:22:13 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:22:16 | log | message.js | Command ran: help
2020-04-06T17:40:10 | info | index.js | Loading 4 commands.
2020-04-06T17:40:10 | info | index.js | Loading 7 events.
2020-04-06T17:40:10 | info | mongoose.js | Connected to the database.
2020-04-06T17:40:12 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:41:45 | info | index.js | Loading 4 commands.
2020-04-06T17:41:45 | info | index.js | Loading 7 events.
2020-04-06T17:41:45 | info | mongoose.js | Connected to the database.
2020-04-06T17:41:47 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:43:13 | info | index.js | Loading 4 commands.
2020-04-06T17:43:13 | info | index.js | Loading 7 events.
2020-04-06T17:43:13 | info | mongoose.js | Connected to the database.
2020-04-06T17:43:15 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:46:05 | info | index.js | Loading 4 commands.
2020-04-06T17:46:05 | info | index.js | Loading 7 events.
2020-04-06T17:46:05 | info | mongoose.js | Connected to the database.
2020-04-06T17:46:08 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:49:51 | info | index.js | Loading 4 commands.
2020-04-06T17:49:51 | info | index.js | Loading 7 events.
2020-04-06T17:49:51 | info | mongoose.js | Connected to the database.
2020-04-06T17:49:53 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:51:11 | info | index.js | Loading 4 commands.
2020-04-06T17:51:11 | info | index.js | Loading 7 events.
2020-04-06T17:51:11 | info | mongoose.js | Connected to the database.
2020-04-06T17:51:13 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:51:32 | info | index.js | Loading 4 commands.
2020-04-06T17:51:32 | info | index.js | Loading 7 events.
2020-04-06T17:51:32 | info | mongoose.js | Connected to the database.
2020-04-06T17:51:34 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:51:44 | info | index.js | Loading 4 commands.
2020-04-06T17:51:44 | info | index.js | Loading 7 events.
2020-04-06T17:51:44 | info | mongoose.js | Connected to the database.
2020-04-06T17:51:46 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:52:16 | info | index.js | Loading 4 commands.
2020-04-06T17:52:16 | info | index.js | Loading 7 events.
2020-04-06T17:52:16 | info | mongoose.js | Connected to the database.
2020-04-06T17:52:18 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:53:50 | info | index.js | Loading 4 commands.
2020-04-06T17:53:50 | info | index.js | Loading 7 events.
2020-04-06T17:53:50 | info | mongoose.js | Connected to the database.
2020-04-06T17:53:52 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:53:54 | info | index.js | Loading 7 events.
2020-04-06T17:53:54 | info | index.js | Loading 4 commands.
2020-04-06T17:53:54 | info | mongoose.js | Connected to the database.
2020-04-06T17:54:03 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:55:18 | info | index.js | Loading 4 commands.
2020-04-06T17:55:18 | info | index.js | Loading 7 events.
2020-04-06T17:55:18 | info | mongoose.js | Connected to the database.
2020-04-06T17:55:20 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:55:37 | info | index.js | Loading 4 commands.
2020-04-06T17:55:37 | info | index.js | Loading 7 events.
2020-04-06T17:55:37 | info | mongoose.js | Connected to the database.
2020-04-06T17:55:39 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:55:40 | info | index.js | Loading 4 commands.
2020-04-06T17:55:40 | info | index.js | Loading 7 events.
2020-04-06T17:55:40 | info | mongoose.js | Connected to the database.
2020-04-06T17:55:50 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T17:57:18 | info | index.js | Loading 4 commands.
2020-04-06T17:57:18 | info | index.js | Loading 7 events.
2020-04-06T17:57:18 | info | mongoose.js | Connected to the database.
2020-04-06T17:57:20 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:01:47 | info | index.js | Loading 4 commands.
2020-04-06T18:01:47 | info | index.js | Loading 7 events.
2020-04-06T18:01:47 | info | mongoose.js | Connected to the database.
2020-04-06T18:01:51 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:01:51 | error | _functions.js | Unhandled rejection: ReferenceError: prefixRegex is not defined
2020-04-06T18:01:55 | error | _functions.js | Unhandled rejection: ReferenceError: prefixRegex is not defined
2020-04-06T18:02:04 | error | _functions.js | Unhandled rejection: ReferenceError: prefixRegex is not defined
2020-04-06T18:02:51 | info | index.js | Loading 7 events.
2020-04-06T18:02:51 | info | index.js | Loading 4 commands.
2020-04-06T18:02:51 | info | mongoose.js | Connected to the database.
2020-04-06T18:02:56 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:03:03 | log | message.js | Command ran: ping
2020-04-06T18:03:44 | info | index.js | Loading 4 commands.
2020-04-06T18:03:44 | info | index.js | Loading 7 events.
2020-04-06T18:03:44 | info | mongoose.js | Connected to the database.
2020-04-06T18:03:46 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:03:55 | info | index.js | Loading 4 commands.
2020-04-06T18:03:55 | info | index.js | Loading 7 events.
2020-04-06T18:03:55 | info | mongoose.js | Connected to the database.
2020-04-06T18:03:56 | info | index.js | Loading 4 commands.
2020-04-06T18:03:56 | info | index.js | Loading 7 events.
2020-04-06T18:03:56 | info | mongoose.js | Connected to the database.
2020-04-06T18:03:58 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:04:03 | info | index.js | Loading 4 commands.
2020-04-06T18:04:03 | info | index.js | Loading 7 events.
2020-04-06T18:04:03 | info | mongoose.js | Connected to the database.
2020-04-06T18:04:05 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:06:26 | info | index.js | Loading 4 commands.
2020-04-06T18:06:26 | info | index.js | Loading 7 events.
2020-04-06T18:06:26 | info | mongoose.js | Connected to the database.
2020-04-06T18:06:29 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:06:33 | log | message.js | Command ran: help
2020-04-06T18:06:45 | log | message.js | Command ran: help
2020-04-06T18:36:30 | log | message.js | Command ran: help
2020-04-06T18:39:46 | info | index.js | Loading 4 commands.
2020-04-06T18:39:46 | info | index.js | Loading 7 events.
2020-04-06T18:39:46 | info | mongoose.js | Connected to the database.
2020-04-06T18:39:48 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:39:50 | log | message.js | Command ran: help
2020-04-06T18:39:50 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'customCommands' of undefined
2020-04-06T18:40:03 | info | index.js | Loading 4 commands.
2020-04-06T18:40:03 | info | index.js | Loading 7 events.
2020-04-06T18:40:03 | info | mongoose.js | Connected to the database.
2020-04-06T18:40:05 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:40:05 | log | message.js | Command ran: help
2020-04-06T18:41:07 | info | index.js | Loading 4 commands.
2020-04-06T18:41:07 | info | index.js | Loading 7 events.
2020-04-06T18:41:07 | info | mongoose.js | Connected to the database.
2020-04-06T18:41:11 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:41:12 | log | message.js | Command ran: help
2020-04-06T18:43:16 | info | index.js | Loading 7 events.
2020-04-06T18:43:16 | info | index.js | Loading 4 commands.
2020-04-06T18:43:16 | info | mongoose.js | Connected to the database.
2020-04-06T18:43:20 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:43:25 | log | message.js | Command ran: help
2020-04-06T18:45:59 | info | index.js | Loading 4 commands.
2020-04-06T18:45:59 | info | index.js | Loading 7 events.
2020-04-06T18:45:59 | info | mongoose.js | Connected to the database.
2020-04-06T18:46:02 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:47:17 | info | index.js | Loading 4 commands.
2020-04-06T18:47:17 | info | index.js | Loading 7 events.
2020-04-06T18:47:17 | info | mongoose.js | Connected to the database.
2020-04-06T18:47:19 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:47:35 | info | index.js | Loading 4 commands.
2020-04-06T18:47:35 | info | index.js | Loading 7 events.
2020-04-06T18:47:35 | info | mongoose.js | Connected to the database.
2020-04-06T18:47:37 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:47:48 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'prefix' of undefined
2020-04-06T18:47:51 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'prefix' of undefined
2020-04-06T18:48:30 | info | index.js | Loading 4 commands.
2020-04-06T18:48:30 | info | index.js | Loading 7 events.
2020-04-06T18:48:30 | info | mongoose.js | Connected to the database.
2020-04-06T18:48:32 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:48:35 | log | message.js | Command ran: help
2020-04-06T18:48:35 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'prefix' of undefined
2020-04-06T18:48:41 | info | index.js | Loading 4 commands.
2020-04-06T18:48:41 | info | index.js | Loading 7 events.
2020-04-06T18:48:41 | info | mongoose.js | Connected to the database.
2020-04-06T18:48:44 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:48:56 | info | index.js | Loading 4 commands.
2020-04-06T18:48:56 | info | index.js | Loading 7 events.
2020-04-06T18:48:56 | info | mongoose.js | Connected to the database.
2020-04-06T18:48:58 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:49:00 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'prefix' of undefined
at module.exports (C:\Users\Emily\Desktop\woomy stuff\woomy\events\message.js:17:58)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
2020-04-06T18:49:09 | info | index.js | Loading 4 commands.
2020-04-06T18:49:09 | info | index.js | Loading 7 events.
2020-04-06T18:49:09 | info | mongoose.js | Connected to the database.
2020-04-06T18:49:11 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:51:23 | info | index.js | Loading 4 commands.
2020-04-06T18:51:23 | info | index.js | Loading 7 events.
2020-04-06T18:51:23 | info | mongoose.js | Connected to the database.
2020-04-06T18:51:25 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:51:32 | info | index.js | Loading 4 commands.
2020-04-06T18:51:32 | info | index.js | Loading 7 events.
2020-04-06T18:51:32 | info | mongoose.js | Connected to the database.
2020-04-06T18:51:35 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:51:39 | log | message.js | Command ran: help
2020-04-06T18:51:39 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'prefix' of undefined
2020-04-06T18:51:48 | log | message.js | Command ran: help
2020-04-06T18:51:54 | log | message.js | Command ran: help
2020-04-06T18:52:43 | info | index.js | Loading 4 commands.
2020-04-06T18:52:43 | info | index.js | Loading 7 events.
2020-04-06T18:52:43 | info | mongoose.js | Connected to the database.
2020-04-06T18:52:45 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:52:46 | log | message.js | Command ran: help
2020-04-06T18:52:46 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'prefix' of undefined
at Object.exports.run (C:\Users\Emily\Desktop\woomy stuff\woomy\commands\help.js:22:56)
at module.exports (C:\Users\Emily\Desktop\woomy stuff\woomy\events\message.js:105:7)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
2020-04-06T18:54:47 | info | index.js | Loading 4 commands.
2020-04-06T18:54:47 | info | index.js | Loading 7 events.
2020-04-06T18:54:47 | info | mongoose.js | Connected to the database.
2020-04-06T18:54:49 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:54:49 | log | message.js | Command ran: help
2020-04-06T18:54:49 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'prefix' of undefined
at Object.exports.run (C:\Users\Emily\Desktop\woomy stuff\woomy\commands\help.js:27:47)
at module.exports (C:\Users\Emily\Desktop\woomy stuff\woomy\events\message.js:105:7)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
2020-04-06T18:56:15 | info | index.js | Loading 7 events.
2020-04-06T18:56:15 | info | index.js | Loading 4 commands.
2020-04-06T18:56:15 | info | mongoose.js | Connected to the database.
2020-04-06T18:56:18 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:56:18 | log | message.js | Command ran: help
2020-04-06T18:56:23 | log | message.js | Command ran: help
2020-04-06T18:56:52 | info | index.js | Loading 4 commands.
2020-04-06T18:56:52 | info | index.js | Loading 7 events.
2020-04-06T18:56:52 | info | mongoose.js | Connected to the database.
2020-04-06T18:56:56 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:57:11 | info | index.js | Loading 4 commands.
2020-04-06T18:57:11 | info | index.js | Loading 7 events.
2020-04-06T18:57:11 | info | mongoose.js | Connected to the database.
2020-04-06T18:57:13 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:58:55 | info | index.js | Loading 4 commands.
2020-04-06T18:58:55 | info | index.js | Loading 7 events.
2020-04-06T18:58:55 | info | mongoose.js | Connected to the database.
2020-04-06T18:58:57 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T18:58:58 | log | message.js | Command ran: help
2020-04-06T18:59:16 | log | message.js | Command ran: help
2020-04-06T19:00:46 | info | index.js | Loading 4 commands.
2020-04-06T19:00:46 | info | index.js | Loading 7 events.
2020-04-06T19:00:46 | info | mongoose.js | Connected to the database.
2020-04-06T19:00:48 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:00:50 | log | message.js | Command ran: help
2020-04-06T19:02:04 | info | index.js | Loading 4 commands.
2020-04-06T19:02:04 | info | index.js | Loading 7 events.
2020-04-06T19:02:04 | info | mongoose.js | Connected to the database.
2020-04-06T19:02:06 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:02:06 | log | message.js | Command ran: help
2020-04-06T19:04:11 | info | index.js | Loading 4 commands.
2020-04-06T19:04:11 | info | index.js | Loading 7 events.
2020-04-06T19:04:11 | info | mongoose.js | Connected to the database.
2020-04-06T19:04:13 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:04:13 | log | message.js | Command ran: help
2020-04-06T19:04:19 | log | message.js | Command ran: help
2020-04-06T19:06:08 | info | index.js | Loading 4 commands.
2020-04-06T19:06:08 | info | index.js | Loading 7 events.
2020-04-06T19:06:08 | info | mongoose.js | Connected to the database.
2020-04-06T19:06:10 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:06:12 | log | message.js | Command ran: help
2020-04-06T19:06:37 | log | message.js | Command ran: help
2020-04-06T19:06:57 | info | index.js | Loading 4 commands.
2020-04-06T19:06:57 | info | index.js | Loading 7 events.
2020-04-06T19:06:57 | info | mongoose.js | Connected to the database.
2020-04-06T19:06:59 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:06:59 | log | message.js | Command ran: help
2020-04-06T19:07:03 | log | message.js | Command ran: help
2020-04-06T19:08:03 | info | index.js | Loading 4 commands.
2020-04-06T19:08:03 | info | index.js | Loading 7 events.
2020-04-06T19:08:03 | info | mongoose.js | Connected to the database.
2020-04-06T19:08:05 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:08:05 | log | message.js | Command ran: help
2020-04-06T19:08:09 | log | message.js | Command ran: help
2020-04-06T19:11:47 | info | index.js | Loading 4 commands.
2020-04-06T19:11:47 | info | index.js | Loading 7 events.
2020-04-06T19:11:47 | info | mongoose.js | Connected to the database.
2020-04-06T19:11:49 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:11:53 | log | message.js | Command ran: help
2020-04-06T19:12:14 | info | index.js | Loading 7 events.
2020-04-06T19:12:14 | info | index.js | Loading 4 commands.
2020-04-06T19:12:14 | info | mongoose.js | Connected to the database.
2020-04-06T19:12:16 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:12:17 | log | message.js | Command ran: help
2020-04-06T19:12:42 | info | index.js | Loading 4 commands.
2020-04-06T19:12:42 | info | index.js | Loading 7 events.
2020-04-06T19:12:42 | info | mongoose.js | Connected to the database.
2020-04-06T19:12:47 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:12:47 | log | message.js | Command ran: help
2020-04-06T19:13:06 | info | index.js | Loading 4 commands.
2020-04-06T19:13:06 | info | index.js | Loading 7 events.
2020-04-06T19:13:06 | info | mongoose.js | Connected to the database.
2020-04-06T19:13:08 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:13:08 | log | message.js | Command ran: help
2020-04-06T19:13:19 | info | index.js | Loading 4 commands.
2020-04-06T19:13:19 | info | index.js | Loading 7 events.
2020-04-06T19:13:19 | info | mongoose.js | Connected to the database.
2020-04-06T19:13:21 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:13:21 | log | message.js | Command ran: help
2020-04-06T19:14:01 | info | index.js | Loading 4 commands.
2020-04-06T19:14:01 | info | index.js | Loading 7 events.
2020-04-06T19:14:01 | info | mongoose.js | Connected to the database.
2020-04-06T19:14:03 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:15:08 | info | index.js | Loading 4 commands.
2020-04-06T19:15:08 | info | index.js | Loading 7 events.
2020-04-06T19:15:08 | info | mongoose.js | Connected to the database.
2020-04-06T19:15:12 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:15:30 | log | message.js | Command ran: help
2020-04-06T19:15:44 | log | message.js | Command ran: help
2020-04-06T19:17:18 | info | index.js | Loading 4 commands.
2020-04-06T19:17:18 | info | index.js | Loading 7 events.
2020-04-06T19:17:18 | info | mongoose.js | Connected to the database.
2020-04-06T19:17:20 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:17:23 | log | message.js | Command ran: help
2020-04-06T19:17:41 | info | index.js | Loading 4 commands.
2020-04-06T19:17:41 | info | index.js | Loading 7 events.
2020-04-06T19:17:41 | info | mongoose.js | Connected to the database.
2020-04-06T19:17:43 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:17:46 | log | message.js | Command ran: help
2020-04-06T19:20:52 | info | index.js | Loading 4 commands.
2020-04-06T19:20:52 | info | index.js | Loading 7 events.
2020-04-06T19:20:52 | info | mongoose.js | Connected to the database.
2020-04-06T19:20:54 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:20:57 | info | index.js | Loading 4 commands.
2020-04-06T19:20:57 | info | index.js | Loading 7 events.
2020-04-06T19:20:57 | info | mongoose.js | Connected to the database.
2020-04-06T19:21:04 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:21:10 | log | message.js | Command ran: help
2020-04-06T19:23:00 | info | index.js | Loading 4 commands.
2020-04-06T19:23:00 | info | index.js | Loading 7 events.
2020-04-06T19:23:00 | info | mongoose.js | Connected to the database.
2020-04-06T19:23:02 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:23:06 | log | message.js | Command ran: help
2020-04-06T19:23:53 | info | index.js | Loading 4 commands.
2020-04-06T19:23:53 | info | index.js | Loading 7 events.
2020-04-06T19:23:53 | info | mongoose.js | Connected to the database.
2020-04-06T19:23:55 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:24:05 | log | message.js | Command ran: help
2020-04-06T19:24:28 | info | index.js | Loading 4 commands.
2020-04-06T19:24:28 | info | index.js | Loading 7 events.
2020-04-06T19:24:28 | info | mongoose.js | Connected to the database.
2020-04-06T19:24:33 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:24:33 | log | message.js | Command ran: help
2020-04-06T19:24:59 | info | index.js | Loading 4 commands.
2020-04-06T19:24:59 | info | index.js | Loading 7 events.
2020-04-06T19:24:59 | info | mongoose.js | Connected to the database.
2020-04-06T19:25:01 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:25:01 | log | message.js | Command ran: help
2020-04-06T19:25:17 | info | index.js | Loading 4 commands.
2020-04-06T19:25:17 | info | index.js | Loading 7 events.
2020-04-06T19:25:17 | info | mongoose.js | Connected to the database.
2020-04-06T19:25:20 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:25:42 | info | index.js | Loading 4 commands.
2020-04-06T19:25:42 | info | index.js | Loading 7 events.
2020-04-06T19:25:42 | info | mongoose.js | Connected to the database.
2020-04-06T19:25:44 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:25:45 | log | message.js | Command ran: help
2020-04-06T19:26:20 | log | message.js | Command ran: help
2020-04-06T19:26:45 | info | index.js | Loading 4 commands.
2020-04-06T19:26:45 | info | index.js | Loading 7 events.
2020-04-06T19:26:45 | info | mongoose.js | Connected to the database.
2020-04-06T19:26:48 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:26:48 | log | message.js | Command ran: help
2020-04-06T19:27:12 | info | index.js | Loading 4 commands.
2020-04-06T19:27:12 | info | index.js | Loading 7 events.
2020-04-06T19:27:12 | info | mongoose.js | Connected to the database.
2020-04-06T19:27:14 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:27:14 | log | message.js | Command ran: help
2020-04-06T19:27:16 | log | message.js | Command ran: help
2020-04-06T19:28:59 | log | message.js | Command ran: help
2020-04-06T19:29:59 | info | index.js | Loading 4 commands.
2020-04-06T19:29:59 | info | index.js | Loading 7 events.
2020-04-06T19:30:00 | info | mongoose.js | Connected to the database.
2020-04-06T19:30:02 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:30:13 | info | index.js | Loading 4 commands.
2020-04-06T19:30:13 | info | index.js | Loading 7 events.
2020-04-06T19:30:13 | info | mongoose.js | Connected to the database.
2020-04-06T19:30:15 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:32:32 | info | index.js | Loading 4 commands.
2020-04-06T19:32:32 | info | index.js | Loading 7 events.
2020-04-06T19:32:32 | info | mongoose.js | Connected to the database.
2020-04-06T19:32:37 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:32:44 | info | index.js | Loading 4 commands.
2020-04-06T19:32:44 | info | index.js | Loading 7 events.
2020-04-06T19:32:44 | info | mongoose.js | Connected to the database.
2020-04-06T19:32:49 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:33:11 | info | index.js | Loading 4 commands.
2020-04-06T19:33:11 | info | index.js | Loading 7 events.
2020-04-06T19:33:11 | info | mongoose.js | Connected to the database.
2020-04-06T19:33:13 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:33:50 | log | message.js | Command ran: eval
2020-04-06T19:34:05 | log | message.js | Command ran: eval
2020-04-06T19:34:13 | info | index.js | Loading 4 commands.
2020-04-06T19:34:13 | info | index.js | Loading 7 events.
2020-04-06T19:34:13 | info | mongoose.js | Connected to the database.
2020-04-06T19:34:15 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:34:44 | info | index.js | Loading 4 commands.
2020-04-06T19:34:44 | info | index.js | Loading 7 events.
2020-04-06T19:34:44 | info | mongoose.js | Connected to the database.
2020-04-06T19:34:46 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:34:51 | info | index.js | Loading 4 commands.
2020-04-06T19:34:51 | info | index.js | Loading 7 events.
2020-04-06T19:34:51 | info | mongoose.js | Connected to the database.
2020-04-06T19:34:53 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-06T19:35:16 | log | message.js | Command ran: help