diff --git a/commands/help.js b/commands/help.js index 8f733f5..a8adb30 100644 --- a/commands/help.js +++ b/commands/help.js @@ -1,7 +1,7 @@ exports.conf = { enabled: true, guildOnly: false, - aliases: ['commands', 'cmds', 'h'], + aliases: ['commands', 'cmds', 'halp'], permLevel: 'User', requiredPerms: ['EMBED_LINKS'], cooldown: 2000 @@ -10,8 +10,8 @@ exports.conf = { exports.help = { name: 'help', category: 'General', - description: 'Returns your permission level.', - usage: 'help **OR** help all', + description: 'Sends you a list of Woomy\'s commands.', + usage: '`help `\n`help all` - View full command list.', params: '`` - The name of the command you want more information on.' } @@ -20,9 +20,9 @@ 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) + const prefixes = [data.user.prefix] + if (message.guild && data.user.prefix !== data.guild.prefix) { + prefixes.push(data.guild.prefix) } prefixes.push('@Woomy') @@ -45,11 +45,11 @@ exports.run = (client, message, args, level, data) => { 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(' ')) + 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(' ')) + if (message.guild && data.guild.customCommands.length > 0) { + embed.addField('Custom', data.guild.customCommands.map((cmd) => '`' + cmd.name + '`').join(' ')) } return message.channel.send(embed) @@ -69,12 +69,36 @@ exports.run = (client, message, args, level, data) => { 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(' ')) + if (message.guild && data.guild.customCommands.length > 0) { + embed.addField('Custom', data.guild.customCommands.map((cmd) => '`' + cmd.name + '`').join(' ')) } return message.channel.send(embed) - } else { - + } else if (args[0]) { + const command = args.shift().toLowerCase() + const cmd = client.commands.get(command) || client.commands.get(client.aliases.get(command)) + if (!cmd) { + return message.channel.send('Command/alias doesn\'t exist') + } + + let aliases = '' + if (cmd.conf.aliases.length > 0) { + aliases = '`' + cmd.conf.aliases.join('`, `') + '`' + } + + embed.setTitle(cmd.help.name) + embed.setDescription(cmd.help.description) + embed.addField('**Usage:**', cmd.help.usage) + if (cmd.help.params.length > 0) { + embed.addField('**Parameters:**', cmd.help.params) + } + if (aliases) { + embed.addField('**Aliases:**', aliases) + } + embed.addField('**Permission level:**', cmd.conf.permLevel, true) + embed.addField('**Server only**', cmd.conf.guildOnly, true) + embed.addField('**Cooldown**', cmd.conf.cooldown / 1000 + ' seconds', true) + embed.setFooter('< > = optional, [ ] = required. Don\'t include the brackets in the command itself!') + message.channel.send(embed) } } diff --git a/commands/level.js b/commands/level.js index 731d688..fda1e4e 100644 --- a/commands/level.js +++ b/commands/level.js @@ -12,13 +12,13 @@ exports.help = { category: 'Utility', description: 'Returns your permission level.', usage: 'level', - params: null + params: '' } exports.run = async (client, message, args, level, data) => { try { const friendly = client.config.permLevels.find(l => l.level === level).name - message.reply(`your permission level is ${level} (${friendly}).`) + message.reply(`Your permission level is: ${friendly} (${level})`) } catch (err) { message.channel.send('There was an error!\n' + err).catch() } diff --git a/commands/ping.js b/commands/ping.js index 07d3552..ae1dc3b 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -11,7 +11,8 @@ exports.help = { name: 'ping', category: 'Utility', description: 'Displays bot latency in miliseconds.', - usage: 'ping' + usage: 'ping', + params: '' } exports.run = async (client, message, args, level, data) => { diff --git a/commands/ship.js b/commands/ship.js new file mode 100644 index 0000000..882b899 --- /dev/null +++ b/commands/ship.js @@ -0,0 +1,55 @@ + +exports.conf = { + enabled: true, + guildOnly: false, + aliases: [], + permLevel: 'User', + requiredPerms: [] +} + +exports.help = { + name: 'ship', + category: 'Fun', + description: 'Ship two people together <3', + usage: 'ship [name/user] [name/user]' +} + +exports.run = async (client, message, args, level, data) => { + var firstName, secondName + var rating = Math.floor(Math.random() * 100) + 1 + var hearts = [ + 'โค๏ธ', + '๐Ÿงก', + '๐Ÿ’›', + '๐Ÿ’š', + '๐Ÿ’™', + '๐Ÿ’œ' + ] + + if (args.length < 2) { + return message.channel.send('<:error:466995152976871434> Please include two names/users.') + } + + if (message.guild && message.mentions.members && message.mentions.members.size > 0) { + firstName = message.mentions.members.first().displayName + } + + if (message.guild && message.mentions.members && message.mentions.members.size > 1) { + secondName = message.mentions.members.last().displayName + } + + if (!firstName) { + firstName = args[0] + } + + if (!secondName) { + secondName = args[1] + } + + const shipName = firstName.substr(0, firstName.length * 0.5) + secondName.substr(secondName.length * 0.5) + + if (shipName.toLowerCase() === 'teily' || shipName.toLowerCase() === 'emrra') { + rating = '100' + } + message.channel.send(`__**Ship Generator:**__\n${hearts.random()} Ship Name: \`${shipName}\`\n${hearts.random()} Compatibility: \`${rating}%\``) +} diff --git a/events/message.js b/events/message.js index ec745c4..50f299a 100644 --- a/events/message.js +++ b/events/message.js @@ -3,9 +3,9 @@ module.exports = async (client, message) => { const data = {} - data.userData = await client.findOrCreateUser(message.author) + data.user = await client.findOrCreateUser(message.author) - const prefixes = [data.userData.prefix] + const prefixes = [data.user.prefix] if (message.guild) { if (!message.channel.permissionsFor(client.user).has('SEND_MESSAGES')) { @@ -13,8 +13,8 @@ module.exports = async (client, message) => { return message.author.send(`I don't have permission to speak in **#${message.channel.name}**, Please ask a moderator to give me the send messages permission!`) } catch (err) {} } - data.guildData = await client.findOrCreateGuild(message.guild) - prefixes.push(data.guildData.prefix) + data.guild = await client.findOrCreateGuild(message.guild) + prefixes.push(data.guild.prefix) } prefixes.push(`<@${client.user.id}> `, `<@!${client.user.id}> `) @@ -38,7 +38,7 @@ module.exports = async (client, message) => { if (!cmd) return if (!cmd.conf.enabled) { - if (data.guildData.systemNotice.enabled === true) { + if (data.guild.systemNotice.enabled === true) { return message.channel.send('This command has been disabled by my developers.') } else { return @@ -60,7 +60,7 @@ module.exports = async (client, message) => { // Dev perm level is separate so dev's don't get owner perms where they shouldn't have them if (cmd.conf.permLevel === 'Developer') { if (!client.config.devs.includes(message.author.id)) { - if (data.guildData.systemNotice.enabled === true) { + if (data.guild.systemNotice.enabled === true) { return message.channel.send('You don\'t have permission to run this command!') } else { return @@ -69,7 +69,7 @@ module.exports = async (client, message) => { } if (level < client.levelCache[cmd.conf.permLevel]) { - if (data.guildData.systemNotice.enabled === true) { + if (data.guild.systemNotice.enabled === true) { return message.channel.send('You don\'t have permission to run this command!') } else { return diff --git a/file.log b/file.log index 36c2938..5d23832 100644 --- a/file.log +++ b/file.log @@ -528,3 +528,374 @@ 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 +2020-04-06T23:24:40 | info | index.js | Loading 4 commands. +2020-04-06T23:24:40 | info | index.js | Loading 7 events. +2020-04-06T23:24:40 | info | mongoose.js | Connected to the database. +2020-04-06T23:24:43 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-06T23:26:12 | info | index.js | Loading 4 commands. +2020-04-06T23:26:12 | info | index.js | Loading 7 events. +2020-04-06T23:26:12 | info | mongoose.js | Connected to the database. +2020-04-06T23:26:15 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-06T23:26:56 | log | message.js | Command ran: help +2020-04-06T23:27:01 | log | message.js | Command ran: help +2020-04-06T23:27:08 | log | message.js | Command ran: help +2020-04-07T00:00:13 | info | index.js | Loading 4 commands. +2020-04-07T00:00:13 | info | index.js | Loading 7 events. +2020-04-07T00:00:13 | info | mongoose.js | Connected to the database. +2020-04-07T00:00:15 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:00:28 | info | index.js | Loading 4 commands. +2020-04-07T00:00:28 | info | index.js | Loading 7 events. +2020-04-07T00:00:28 | info | mongoose.js | Connected to the database. +2020-04-07T00:00:31 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:00:31 | log | message.js | Command ran: help +2020-04-07T00:00:31 | error | _functions.js | Unhandled rejection: ReferenceError: parameters is not defined +2020-04-07T00:00:35 | log | message.js | Command ran: help +2020-04-07T00:00:35 | error | _functions.js | Unhandled rejection: ReferenceError: parameters is not defined +2020-04-07T00:01:10 | info | index.js | Loading 4 commands. +2020-04-07T00:01:10 | info | index.js | Loading 7 events. +2020-04-07T00:01:10 | info | mongoose.js | Connected to the database. +2020-04-07T00:01:12 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:01:13 | log | message.js | Command ran: help +2020-04-07T00:02:07 | info | index.js | Loading 4 commands. +2020-04-07T00:02:07 | info | index.js | Loading 7 events. +2020-04-07T00:02:07 | info | mongoose.js | Connected to the database. +2020-04-07T00:02:09 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:02:10 | log | message.js | Command ran: help +2020-04-07T00:02:22 | info | index.js | Loading 4 commands. +2020-04-07T00:02:22 | info | index.js | Loading 7 events. +2020-04-07T00:02:22 | info | mongoose.js | Connected to the database. +2020-04-07T00:02:24 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:02:25 | log | message.js | Command ran: help +2020-04-07T00:06:16 | info | index.js | Loading 4 commands. +2020-04-07T00:06:16 | info | index.js | Loading 7 events. +2020-04-07T00:06:16 | info | mongoose.js | Connected to the database. +2020-04-07T00:06:19 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:06:22 | log | message.js | Command ran: help +2020-04-07T00:08:01 | info | index.js | Loading 4 commands. +2020-04-07T00:08:01 | info | index.js | Loading 7 events. +2020-04-07T00:08:01 | info | mongoose.js | Connected to the database. +2020-04-07T00:08:03 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:08:52 | info | index.js | Loading 4 commands. +2020-04-07T00:08:52 | info | index.js | Loading 7 events. +2020-04-07T00:08:52 | info | mongoose.js | Connected to the database. +2020-04-07T00:08:54 | info | index.js | Loading 4 commands. +2020-04-07T00:08:54 | info | index.js | Loading 7 events. +2020-04-07T00:08:54 | info | mongoose.js | Connected to the database. +2020-04-07T00:08:56 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:28:37 | info | index.js | Loading 4 commands. +2020-04-07T00:28:37 | info | index.js | Loading 7 events. +2020-04-07T00:28:37 | info | mongoose.js | Connected to the database. +2020-04-07T00:28:39 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:30:07 | info | index.js | Loading 7 events. +2020-04-07T00:30:07 | info | index.js | Loading 4 commands. +2020-04-07T00:30:07 | info | mongoose.js | Connected to the database. +2020-04-07T00:30:10 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:32:09 | info | index.js | Loading 4 commands. +2020-04-07T00:32:09 | info | index.js | Loading 7 events. +2020-04-07T00:32:10 | info | mongoose.js | Connected to the database. +2020-04-07T00:32:12 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:32:12 | log | message.js | Command ran: help +2020-04-07T00:35:47 | info | index.js | Loading 4 commands. +2020-04-07T00:35:47 | info | index.js | Loading 7 events. +2020-04-07T00:35:47 | info | mongoose.js | Connected to the database. +2020-04-07T00:35:49 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:35:50 | log | message.js | Command ran: help +2020-04-07T00:39:53 | info | index.js | Loading 4 commands. +2020-04-07T00:39:53 | info | index.js | Loading 7 events. +2020-04-07T00:39:54 | info | mongoose.js | Connected to the database. +2020-04-07T00:39:56 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:39:56 | log | message.js | Command ran: help +2020-04-07T00:40:12 | info | index.js | Loading 4 commands. +2020-04-07T00:40:12 | info | index.js | Loading 7 events. +2020-04-07T00:40:13 | info | mongoose.js | Connected to the database. +2020-04-07T00:40:16 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:40:17 | log | message.js | Command ran: help +2020-04-07T00:40:58 | info | index.js | Loading 4 commands. +2020-04-07T00:40:58 | info | index.js | Loading 7 events. +2020-04-07T00:40:58 | info | mongoose.js | Connected to the database. +2020-04-07T00:41:01 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:41:01 | log | message.js | Command ran: help +2020-04-07T00:41:20 | log | message.js | Command ran: help +2020-04-07T00:41:36 | log | message.js | Command ran: help +2020-04-07T00:41:36 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'length' of null +2020-04-07T00:43:16 | info | index.js | Loading 4 commands. +2020-04-07T00:43:16 | info | index.js | Loading 7 events. +2020-04-07T00:43:16 | info | mongoose.js | Connected to the database. +2020-04-07T00:43:19 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:43:19 | log | message.js | Command ran: help +2020-04-07T00:44:02 | info | index.js | Loading 4 commands. +2020-04-07T00:44:02 | info | index.js | Loading 7 events. +2020-04-07T00:44:02 | info | mongoose.js | Connected to the database. +2020-04-07T00:44:07 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:46:06 | info | index.js | Loading 4 commands. +2020-04-07T00:46:06 | info | index.js | Loading 7 events. +2020-04-07T00:46:06 | info | mongoose.js | Connected to the database. +2020-04-07T00:46:08 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:46:09 | log | message.js | Command ran: help +2020-04-07T00:46:20 | info | index.js | Loading 4 commands. +2020-04-07T00:46:20 | info | index.js | Loading 7 events. +2020-04-07T00:46:20 | info | mongoose.js | Connected to the database. +2020-04-07T00:46:23 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:46:27 | info | index.js | Loading 4 commands. +2020-04-07T00:46:27 | info | index.js | Loading 7 events. +2020-04-07T00:46:28 | info | mongoose.js | Connected to the database. +2020-04-07T00:46:30 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:46:50 | info | index.js | Loading 4 commands. +2020-04-07T00:46:50 | info | index.js | Loading 7 events. +2020-04-07T00:46:50 | info | mongoose.js | Connected to the database. +2020-04-07T00:46:52 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T00:47:00 | log | message.js | Command ran: help +2020-04-07T01:15:42 | log | message.js | Command ran: help +2020-04-07T01:17:37 | info | index.js | Loading 4 commands. +2020-04-07T01:17:37 | info | index.js | Loading 7 events. +2020-04-07T01:17:38 | info | mongoose.js | Connected to the database. +2020-04-07T01:17:40 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:17:45 | log | message.js | Command ran: help +2020-04-07T01:18:08 | info | index.js | Loading 4 commands. +2020-04-07T01:18:08 | info | index.js | Loading 7 events. +2020-04-07T01:18:08 | info | mongoose.js | Connected to the database. +2020-04-07T01:18:10 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:18:11 | log | message.js | Command ran: help +2020-04-07T01:19:15 | info | index.js | Loading 4 commands. +2020-04-07T01:19:15 | info | index.js | Loading 7 events. +2020-04-07T01:19:15 | info | mongoose.js | Connected to the database. +2020-04-07T01:19:17 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:19:17 | log | message.js | Command ran: help +2020-04-07T01:19:38 | info | index.js | Loading 4 commands. +2020-04-07T01:19:38 | info | index.js | Loading 7 events. +2020-04-07T01:19:38 | info | mongoose.js | Connected to the database. +2020-04-07T01:19:41 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:19:41 | log | message.js | Command ran: help +2020-04-07T01:19:50 | info | index.js | Loading 4 commands. +2020-04-07T01:19:50 | info | index.js | Loading 7 events. +2020-04-07T01:19:50 | info | mongoose.js | Connected to the database. +2020-04-07T01:19:53 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:19:53 | log | message.js | Command ran: help +2020-04-07T01:20:45 | log | message.js | Command ran: help +2020-04-07T01:20:48 | log | message.js | Command ran: help +2020-04-07T01:21:32 | info | index.js | Loading 4 commands. +2020-04-07T01:21:32 | info | index.js | Loading 7 events. +2020-04-07T01:21:32 | info | mongoose.js | Connected to the database. +2020-04-07T01:21:34 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:22:23 | info | index.js | Loading 4 commands. +2020-04-07T01:22:23 | info | index.js | Loading 7 events. +2020-04-07T01:22:23 | info | mongoose.js | Connected to the database. +2020-04-07T01:22:25 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:22:27 | log | message.js | Command ran: help +2020-04-07T01:22:38 | info | index.js | Loading 4 commands. +2020-04-07T01:22:38 | info | index.js | Loading 7 events. +2020-04-07T01:22:38 | info | mongoose.js | Connected to the database. +2020-04-07T01:22:41 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:22:41 | log | message.js | Command ran: help +2020-04-07T01:22:49 | log | message.js | Command ran: help +2020-04-07T01:23:03 | info | index.js | Loading 4 commands. +2020-04-07T01:23:03 | info | index.js | Loading 7 events. +2020-04-07T01:23:03 | info | mongoose.js | Connected to the database. +2020-04-07T01:23:05 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:23:05 | log | message.js | Command ran: help +2020-04-07T01:24:12 | info | index.js | Loading 4 commands. +2020-04-07T01:24:12 | info | index.js | Loading 7 events. +2020-04-07T01:24:12 | info | mongoose.js | Connected to the database. +2020-04-07T01:24:15 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:24:36 | info | index.js | Loading 4 commands. +2020-04-07T01:24:36 | info | index.js | Loading 7 events. +2020-04-07T01:24:36 | info | mongoose.js | Connected to the database. +2020-04-07T01:24:38 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:25:00 | info | index.js | Loading 4 commands. +2020-04-07T01:25:00 | info | index.js | Loading 7 events. +2020-04-07T01:25:00 | info | mongoose.js | Connected to the database. +2020-04-07T01:25:05 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:25:11 | log | message.js | Command ran: help +2020-04-07T01:25:14 | log | message.js | Command ran: help +2020-04-07T01:25:48 | log | message.js | Command ran: help +2020-04-07T01:26:26 | log | message.js | Command ran: help +2020-04-07T01:26:33 | log | message.js | Command ran: help +2020-04-07T01:26:38 | log | message.js | Command ran: help +2020-04-07T01:27:00 | info | index.js | Loading 4 commands. +2020-04-07T01:27:00 | info | index.js | Loading 7 events. +2020-04-07T01:27:00 | info | mongoose.js | Connected to the database. +2020-04-07T01:27:03 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:27:03 | log | message.js | Command ran: help +2020-04-07T01:27:18 | log | message.js | Command ran: help +2020-04-07T01:28:58 | info | index.js | Loading 4 commands. +2020-04-07T01:28:58 | info | index.js | Loading 7 events. +2020-04-07T01:28:58 | info | mongoose.js | Connected to the database. +2020-04-07T01:29:01 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:29:01 | log | message.js | Command ran: help +2020-04-07T01:29:30 | info | index.js | Loading 4 commands. +2020-04-07T01:29:30 | info | index.js | Loading 7 events. +2020-04-07T01:29:30 | info | mongoose.js | Connected to the database. +2020-04-07T01:29:33 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:29:34 | log | message.js | Command ran: help +2020-04-07T01:29:46 | info | index.js | Loading 4 commands. +2020-04-07T01:29:46 | info | index.js | Loading 7 events. +2020-04-07T01:29:46 | info | mongoose.js | Connected to the database. +2020-04-07T01:29:48 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:29:53 | log | message.js | Command ran: help +2020-04-07T01:32:58 | info | index.js | Loading 4 commands. +2020-04-07T01:32:58 | info | index.js | Loading 7 events. +2020-04-07T01:32:58 | info | mongoose.js | Connected to the database. +2020-04-07T01:33:01 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:38:33 | log | message.js | Command ran: level +2020-04-07T01:38:50 | log | message.js | Command ran: level +2020-04-07T01:40:46 | info | index.js | Loading 4 commands. +2020-04-07T01:40:46 | info | index.js | Loading 7 events. +2020-04-07T01:40:46 | info | mongoose.js | Connected to the database. +2020-04-07T01:40:49 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:40:55 | log | message.js | Command ran: level +2020-04-07T01:41:05 | log | message.js | Command ran: level +2020-04-07T01:41:28 | info | index.js | Loading 4 commands. +2020-04-07T01:41:28 | info | index.js | Loading 7 events. +2020-04-07T01:41:28 | info | mongoose.js | Connected to the database. +2020-04-07T01:41:30 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:41:50 | info | index.js | Loading 4 commands. +2020-04-07T01:41:50 | info | index.js | Loading 7 events. +2020-04-07T01:41:50 | info | mongoose.js | Connected to the database. +2020-04-07T01:41:53 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:41:53 | log | message.js | Command ran: level +2020-04-07T01:43:49 | info | index.js | Loading 5 commands. +2020-04-07T01:43:49 | error | index.js | Failed to load ship.js: TypeError: Cannot read property 'name' of undefined +2020-04-07T01:43:49 | info | index.js | Loading 7 events. +2020-04-07T01:43:49 | info | mongoose.js | Connected to the database. +2020-04-07T01:43:52 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:47:15 | info | index.js | Loading 5 commands. +2020-04-07T01:47:15 | info | index.js | Loading 7 events. +2020-04-07T01:47:15 | info | mongoose.js | Connected to the database. +2020-04-07T01:47:17 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:47:29 | log | message.js | Command ran: ship +2020-04-07T01:47:45 | log | message.js | Command ran: ship +2020-04-07T01:47:54 | log | message.js | Command ran: ship +2020-04-07T01:48:01 | log | message.js | Command ran: ship +2020-04-07T01:48:19 | log | message.js | Command ran: ship +2020-04-07T01:51:45 | log | message.js | Command ran: ship +2020-04-07T01:51:54 | log | message.js | Command ran: ship +2020-04-07T01:54:38 | info | index.js | Loading 5 commands. +2020-04-07T01:54:39 | info | index.js | Loading 7 events. +2020-04-07T01:54:39 | info | mongoose.js | Connected to the database. +2020-04-07T01:54:42 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:54:46 | log | message.js | Command ran: ship +2020-04-07T01:54:50 | log | message.js | Command ran: ship +2020-04-07T01:55:36 | log | message.js | Command ran: ship +2020-04-07T01:55:47 | log | message.js | Command ran: ship +2020-04-07T01:55:59 | log | message.js | Command ran: ship +2020-04-07T01:56:40 | info | index.js | Loading 5 commands. +2020-04-07T01:56:40 | info | index.js | Loading 7 events. +2020-04-07T01:56:40 | info | mongoose.js | Connected to the database. +2020-04-07T01:56:43 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:56:46 | log | message.js | Command ran: ship +2020-04-07T01:56:54 | log | message.js | Command ran: ship +2020-04-07T01:57:01 | log | message.js | Command ran: ship +2020-04-07T01:57:06 | log | message.js | Command ran: ship +2020-04-07T01:57:10 | log | message.js | Command ran: ship +2020-04-07T01:58:37 | log | message.js | Command ran: ship +2020-04-07T01:59:28 | info | index.js | Loading 5 commands. +2020-04-07T01:59:28 | info | index.js | Loading 7 events. +2020-04-07T01:59:28 | info | mongoose.js | Connected to the database. +2020-04-07T01:59:30 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:59:31 | log | message.js | Command ran: ship +2020-04-07T01:59:38 | log | message.js | Command ran: ship +2020-04-07T01:59:49 | info | index.js | Loading 5 commands. +2020-04-07T01:59:49 | info | index.js | Loading 7 events. +2020-04-07T01:59:49 | info | mongoose.js | Connected to the database. +2020-04-07T01:59:51 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T01:59:55 | info | index.js | Loading 5 commands. +2020-04-07T01:59:55 | info | index.js | Loading 7 events. +2020-04-07T01:59:55 | info | mongoose.js | Connected to the database. +2020-04-07T01:59:57 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:00:07 | log | message.js | Command ran: ship +2020-04-07T02:04:00 | info | index.js | Loading 5 commands. +2020-04-07T02:04:00 | info | index.js | Loading 7 events. +2020-04-07T02:04:00 | info | mongoose.js | Connected to the database. +2020-04-07T02:04:03 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:04:09 | log | message.js | Command ran: ship +2020-04-07T02:04:09 | error | _functions.js | Unhandled rejection: TypeError: client.embedClour is not a function +2020-04-07T02:04:25 | info | index.js | Loading 5 commands. +2020-04-07T02:04:25 | info | index.js | Loading 7 events. +2020-04-07T02:04:26 | info | mongoose.js | Connected to the database. +2020-04-07T02:04:30 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:04:30 | log | message.js | Command ran: ship +2020-04-07T02:04:30 | error | _functions.js | Unhandled rejection: TypeError: guild.member is not a function +2020-04-07T02:05:10 | info | index.js | Loading 5 commands. +2020-04-07T02:05:10 | info | index.js | Loading 7 events. +2020-04-07T02:05:10 | info | mongoose.js | Connected to the database. +2020-04-07T02:05:12 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:05:35 | info | index.js | Loading 5 commands. +2020-04-07T02:05:35 | info | index.js | Loading 7 events. +2020-04-07T02:05:35 | info | mongoose.js | Connected to the database. +2020-04-07T02:05:40 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:05:40 | log | message.js | Command ran: ship +2020-04-07T02:05:40 | error | _functions.js | Unhandled rejection: TypeError: embed.setColour is not a function +2020-04-07T02:05:53 | info | index.js | Loading 5 commands. +2020-04-07T02:05:53 | info | index.js | Loading 7 events. +2020-04-07T02:05:53 | info | mongoose.js | Connected to the database. +2020-04-07T02:05:55 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:05:57 | log | message.js | Command ran: ship +2020-04-07T02:06:59 | info | index.js | Loading 5 commands. +2020-04-07T02:06:59 | info | index.js | Loading 7 events. +2020-04-07T02:06:59 | info | mongoose.js | Connected to the database. +2020-04-07T02:07:01 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:07:05 | log | message.js | Command ran: ship +2020-04-07T02:09:30 | info | index.js | Loading 5 commands. +2020-04-07T02:09:30 | info | index.js | Loading 7 events. +2020-04-07T02:09:30 | info | mongoose.js | Connected to the database. +2020-04-07T02:09:33 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:09:36 | log | message.js | Command ran: ship +2020-04-07T02:10:26 | info | index.js | Loading 5 commands. +2020-04-07T02:10:26 | info | index.js | Loading 7 events. +2020-04-07T02:10:26 | info | mongoose.js | Connected to the database. +2020-04-07T02:10:28 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:10:31 | log | message.js | Command ran: ship +2020-04-07T02:10:55 | info | index.js | Loading 5 commands. +2020-04-07T02:10:55 | info | index.js | Loading 7 events. +2020-04-07T02:10:55 | info | mongoose.js | Connected to the database. +2020-04-07T02:10:57 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:11:08 | info | index.js | Loading 5 commands. +2020-04-07T02:11:08 | info | index.js | Loading 7 events. +2020-04-07T02:11:08 | info | mongoose.js | Connected to the database. +2020-04-07T02:11:10 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:12:30 | info | index.js | Loading 5 commands. +2020-04-07T02:12:30 | info | index.js | Loading 7 events. +2020-04-07T02:12:30 | info | mongoose.js | Connected to the database. +2020-04-07T02:12:32 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:15:47 | log | message.js | Command ran: ship +2020-04-07T02:15:59 | log | message.js | Command ran: ship +2020-04-07T02:22:02 | info | index.js | Loading 5 commands. +2020-04-07T02:22:02 | info | index.js | Loading 7 events. +2020-04-07T02:22:02 | info | mongoose.js | Connected to the database. +2020-04-07T02:22:05 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:22:20 | log | message.js | Command ran: ship +2020-04-07T02:22:20 | error | _functions.js | Unhandled rejection: TypeError: Discord.RichEmbed is not a constructor +2020-04-07T02:23:00 | info | index.js | Loading 5 commands. +2020-04-07T02:23:00 | info | index.js | Loading 7 events. +2020-04-07T02:23:00 | info | mongoose.js | Connected to the database. +2020-04-07T02:23:02 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:23:06 | log | message.js | Command ran: ship +2020-04-07T02:24:47 | info | index.js | Loading 5 commands. +2020-04-07T02:24:47 | info | index.js | Loading 7 events. +2020-04-07T02:24:47 | info | mongoose.js | Connected to the database. +2020-04-07T02:24:52 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:24:54 | log | message.js | Command ran: ship +2020-04-07T02:30:34 | info | index.js | Loading 5 commands. +2020-04-07T02:30:34 | info | index.js | Loading 7 events. +2020-04-07T02:30:34 | info | mongoose.js | Connected to the database. +2020-04-07T02:30:36 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:30:42 | log | message.js | Command ran: ship +2020-04-07T02:32:02 | info | index.js | Loading 5 commands. +2020-04-07T02:32:02 | info | index.js | Loading 7 events. +2020-04-07T02:32:02 | info | mongoose.js | Connected to the database. +2020-04-07T02:32:05 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:33:52 | info | index.js | Loading 5 commands. +2020-04-07T02:33:52 | info | index.js | Loading 7 events. +2020-04-07T02:33:52 | info | mongoose.js | Connected to the database. +2020-04-07T02:33:54 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:34:15 | log | message.js | Command ran: ship +2020-04-07T02:34:26 | info | index.js | Loading 5 commands. +2020-04-07T02:34:26 | info | index.js | Loading 7 events. +2020-04-07T02:34:26 | info | mongoose.js | Connected to the database. +2020-04-07T02:34:29 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-07T02:34:30 | log | message.js | Command ran: ship +2020-04-07T02:34:30 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'substr' of undefined +2020-04-07T02:34:55 | info | index.js | Loading 5 commands. +2020-04-07T02:34:55 | info | index.js | Loading 7 events. +2020-04-07T02:34:55 | info | mongoose.js | Connected to the database. +2020-04-07T02:34:57 | ready | ready.js | Connected to Discord as WoomyDev#4547