diff --git a/commands/ship.js b/commands/ship.js index 301d53d..ba6693f 100644 --- a/commands/ship.js +++ b/commands/ship.js @@ -11,11 +11,14 @@ exports.help = { name: 'ship', category: 'Fun', description: 'Ship two people together <3', - usage: 'ship [name/user] [name/user]' + usage: 'ship [name/user] [name/user]', + params: '' } +const { MessageEmbed } = require('discord.js') exports.run = async (client, message, args, level, data) => { var rating = Math.floor(Math.random() * 100) + 1 + var meter = ['▬', '▬', '▬', '▬', '▬', '▬', '▬', '▬', '▬'] var hearts = [ '❤️', '🧡', @@ -37,5 +40,25 @@ exports.run = async (client, message, args, level, data) => { 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}%\``) + + var pos = 0 + var under = 9 + while (pos < 10) { + if (rating < under) { + meter.splice(pos, 0, hearts.random()) + break + } + pos++ + under += 10 + } + + if (rating > 99) { + meter.splice(9, 0, hearts.random()) + } + + const embed = new MessageEmbed() + embed.setTitle(`Original Names: ${firstName}, ${secondName}`) + embed.setColor(client.embedColour(message.guild)) + embed.setDescription(`Ship Name: **${shipName}**\nCompatibility: **${rating}%**\n**[**${meter.join('')}**]**`) + message.channel.send(embed) } diff --git a/file.log b/file.log index 48e7adf..845d64c 100644 --- a/file.log +++ b/file.log @@ -1001,3 +1001,408 @@ 2020-04-07T18:07:47 | info | mongoose.js | Connected to the database. 2020-04-07T18:07:49 | ready | ready.js | Connected to Discord as WoomyDev#4547 2020-04-07T18:07:57 | log | message.js | Command ran: ship +2020-04-08T14:30:50 | info | index.js | Loading 5 commands. +2020-04-08T14:30:50 | info | index.js | Loading 7 events. +2020-04-08T14:30:50 | info | mongoose.js | Connected to the database. +2020-04-08T14:30:52 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:30:57 | log | message.js | Command ran: ship +2020-04-08T14:31:19 | info | index.js | Loading 5 commands. +2020-04-08T14:31:19 | info | index.js | Loading 7 events. +2020-04-08T14:31:19 | info | mongoose.js | Connected to the database. +2020-04-08T14:31:21 | info | index.js | Loading 5 commands. +2020-04-08T14:31:21 | info | index.js | Loading 7 events. +2020-04-08T14:31:21 | info | mongoose.js | Connected to the database. +2020-04-08T14:31:31 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:31:33 | log | message.js | Command ran: ship +2020-04-08T14:31:50 | info | index.js | Loading 5 commands. +2020-04-08T14:31:50 | info | index.js | Loading 7 events. +2020-04-08T14:31:50 | info | mongoose.js | Connected to the database. +2020-04-08T14:31:53 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:31:54 | log | message.js | Command ran: ship +2020-04-08T14:32:05 | info | index.js | Loading 5 commands. +2020-04-08T14:32:05 | info | index.js | Loading 7 events. +2020-04-08T14:32:05 | info | mongoose.js | Connected to the database. +2020-04-08T14:32:08 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:32:09 | log | message.js | Command ran: ship +2020-04-08T14:32:16 | info | index.js | Loading 5 commands. +2020-04-08T14:32:16 | info | index.js | Loading 7 events. +2020-04-08T14:32:16 | info | mongoose.js | Connected to the database. +2020-04-08T14:32:19 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:32:21 | log | message.js | Command ran: ship +2020-04-08T14:33:11 | info | index.js | Loading 5 commands. +2020-04-08T14:33:11 | info | index.js | Loading 7 events. +2020-04-08T14:33:11 | info | mongoose.js | Connected to the database. +2020-04-08T14:33:13 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:33:18 | log | message.js | Command ran: ship +2020-04-08T14:33:27 | info | index.js | Loading 5 commands. +2020-04-08T14:33:27 | info | index.js | Loading 7 events. +2020-04-08T14:33:27 | info | mongoose.js | Connected to the database. +2020-04-08T14:33:29 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:33:31 | log | message.js | Command ran: ship +2020-04-08T14:33:39 | info | index.js | Loading 5 commands. +2020-04-08T14:33:39 | info | index.js | Loading 7 events. +2020-04-08T14:33:39 | info | mongoose.js | Connected to the database. +2020-04-08T14:33:41 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:33:43 | log | message.js | Command ran: ship +2020-04-08T14:34:09 | info | index.js | Loading 5 commands. +2020-04-08T14:34:09 | info | index.js | Loading 7 events. +2020-04-08T14:34:09 | info | mongoose.js | Connected to the database. +2020-04-08T14:34:11 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:34:14 | log | message.js | Command ran: ship +2020-04-08T14:34:22 | log | message.js | Command ran: ship +2020-04-08T14:34:26 | log | message.js | Command ran: ship +2020-04-08T14:34:44 | info | index.js | Loading 5 commands. +2020-04-08T14:34:44 | info | index.js | Loading 7 events. +2020-04-08T14:34:44 | info | mongoose.js | Connected to the database. +2020-04-08T14:34:47 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:34:50 | log | message.js | Command ran: ship +2020-04-08T14:34:55 | log | message.js | Command ran: ship +2020-04-08T14:36:42 | log | message.js | Command ran: help +2020-04-08T14:38:12 | info | index.js | Loading 5 commands. +2020-04-08T14:38:12 | info | index.js | Loading 7 events. +2020-04-08T14:38:12 | info | mongoose.js | Connected to the database. +2020-04-08T14:38:15 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:38:16 | log | message.js | Command ran: ship +2020-04-08T14:38:28 | info | index.js | Loading 5 commands. +2020-04-08T14:38:28 | info | index.js | Loading 7 events. +2020-04-08T14:38:28 | info | mongoose.js | Connected to the database. +2020-04-08T14:38:30 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:38:31 | log | message.js | Command ran: ship +2020-04-08T14:39:29 | info | index.js | Loading 7 events. +2020-04-08T14:39:29 | info | index.js | Loading 5 commands. +2020-04-08T14:39:29 | info | mongoose.js | Connected to the database. +2020-04-08T14:39:31 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:39:33 | log | message.js | Command ran: ship +2020-04-08T14:41:20 | info | index.js | Loading 5 commands. +2020-04-08T14:41:20 | info | index.js | Loading 7 events. +2020-04-08T14:41:20 | info | mongoose.js | Connected to the database. +2020-04-08T14:41:24 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:41:28 | log | message.js | Command ran: ship +2020-04-08T14:41:46 | info | index.js | Loading 5 commands. +2020-04-08T14:41:46 | info | index.js | Loading 7 events. +2020-04-08T14:41:46 | info | mongoose.js | Connected to the database. +2020-04-08T14:41:48 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:41:49 | log | message.js | Command ran: ship +2020-04-08T14:42:09 | info | index.js | Loading 5 commands. +2020-04-08T14:42:09 | info | index.js | Loading 7 events. +2020-04-08T14:42:09 | info | mongoose.js | Connected to the database. +2020-04-08T14:42:12 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:42:14 | log | message.js | Command ran: ship +2020-04-08T14:42:28 | log | message.js | Command ran: ship +2020-04-08T14:43:30 | info | index.js | Loading 5 commands. +2020-04-08T14:43:30 | info | index.js | Loading 7 events. +2020-04-08T14:43:30 | info | mongoose.js | Connected to the database. +2020-04-08T14:43:33 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:43:34 | log | message.js | Command ran: ship +2020-04-08T14:43:47 | info | index.js | Loading 5 commands. +2020-04-08T14:43:47 | info | index.js | Loading 7 events. +2020-04-08T14:43:47 | info | mongoose.js | Connected to the database. +2020-04-08T14:43:48 | info | index.js | Loading 5 commands. +2020-04-08T14:43:48 | info | index.js | Loading 7 events. +2020-04-08T14:43:48 | info | mongoose.js | Connected to the database. +2020-04-08T14:43:50 | info | index.js | Loading 5 commands. +2020-04-08T14:43:50 | info | index.js | Loading 7 events. +2020-04-08T14:43:50 | info | mongoose.js | Connected to the database. +2020-04-08T14:43:57 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:43:57 | log | message.js | Command ran: ship +2020-04-08T14:44:25 | info | index.js | Loading 5 commands. +2020-04-08T14:44:25 | info | index.js | Loading 7 events. +2020-04-08T14:44:25 | info | mongoose.js | Connected to the database. +2020-04-08T14:44:27 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:44:30 | log | message.js | Command ran: ship +2020-04-08T14:45:28 | info | index.js | Loading 5 commands. +2020-04-08T14:45:28 | info | index.js | Loading 7 events. +2020-04-08T14:45:28 | info | mongoose.js | Connected to the database. +2020-04-08T14:45:31 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:45:32 | log | message.js | Command ran: ship +2020-04-08T14:45:47 | info | index.js | Loading 5 commands. +2020-04-08T14:45:47 | info | index.js | Loading 7 events. +2020-04-08T14:45:47 | info | mongoose.js | Connected to the database. +2020-04-08T14:45:50 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:45:53 | log | message.js | Command ran: ship +2020-04-08T14:46:04 | info | index.js | Loading 5 commands. +2020-04-08T14:46:04 | info | index.js | Loading 7 events. +2020-04-08T14:46:04 | info | mongoose.js | Connected to the database. +2020-04-08T14:46:06 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:46:07 | log | message.js | Command ran: ship +2020-04-08T14:46:22 | info | index.js | Loading 5 commands. +2020-04-08T14:46:22 | info | index.js | Loading 7 events. +2020-04-08T14:46:22 | info | mongoose.js | Connected to the database. +2020-04-08T14:46:24 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:46:26 | log | message.js | Command ran: ship +2020-04-08T14:46:54 | info | index.js | Loading 5 commands. +2020-04-08T14:46:54 | info | index.js | Loading 7 events. +2020-04-08T14:46:55 | info | mongoose.js | Connected to the database. +2020-04-08T14:46:57 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:47:00 | log | message.js | Command ran: ship +2020-04-08T14:47:14 | info | index.js | Loading 5 commands. +2020-04-08T14:47:14 | info | index.js | Loading 7 events. +2020-04-08T14:47:15 | info | mongoose.js | Connected to the database. +2020-04-08T14:47:16 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:47:21 | log | message.js | Command ran: ship +2020-04-08T14:47:46 | info | index.js | Loading 5 commands. +2020-04-08T14:47:46 | info | index.js | Loading 7 events. +2020-04-08T14:47:46 | info | mongoose.js | Connected to the database. +2020-04-08T14:47:48 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:47:52 | log | message.js | Command ran: ship +2020-04-08T14:48:09 | info | index.js | Loading 5 commands. +2020-04-08T14:48:09 | info | index.js | Loading 7 events. +2020-04-08T14:48:09 | info | mongoose.js | Connected to the database. +2020-04-08T14:48:11 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:48:13 | log | message.js | Command ran: ship +2020-04-08T14:48:42 | info | index.js | Loading 5 commands. +2020-04-08T14:48:42 | info | index.js | Loading 7 events. +2020-04-08T14:48:42 | info | mongoose.js | Connected to the database. +2020-04-08T14:48:45 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:48:46 | log | message.js | Command ran: ship +2020-04-08T14:51:13 | info | index.js | Loading 5 commands. +2020-04-08T14:51:13 | info | index.js | Loading 7 events. +2020-04-08T14:51:13 | info | mongoose.js | Connected to the database. +2020-04-08T14:51:15 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:51:16 | info | index.js | Loading 5 commands. +2020-04-08T14:51:16 | info | index.js | Loading 7 events. +2020-04-08T14:51:16 | info | mongoose.js | Connected to the database. +2020-04-08T14:51:25 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:51:36 | log | message.js | Command ran: ship +2020-04-08T14:53:16 | info | index.js | Loading 5 commands. +2020-04-08T14:53:16 | info | index.js | Loading 7 events. +2020-04-08T14:53:16 | info | mongoose.js | Connected to the database. +2020-04-08T14:53:18 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:53:25 | log | message.js | Command ran: ship +2020-04-08T14:53:25 | error | _functions.js | Unhandled rejection: ReferenceError: lastName is not defined +2020-04-08T14:53:29 | log | message.js | Command ran: ship +2020-04-08T14:53:29 | error | _functions.js | Unhandled rejection: ReferenceError: lastName is not defined +2020-04-08T14:53:38 | info | index.js | Loading 5 commands. +2020-04-08T14:53:38 | info | index.js | Loading 7 events. +2020-04-08T14:53:38 | info | mongoose.js | Connected to the database. +2020-04-08T14:53:40 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:53:45 | log | message.js | Command ran: ship +2020-04-08T14:54:33 | info | index.js | Loading 5 commands. +2020-04-08T14:54:33 | info | index.js | Loading 7 events. +2020-04-08T14:54:33 | error | index.js | Failed to load ship.js: SyntaxError: Unexpected end of input +2020-04-08T14:54:33 | info | mongoose.js | Connected to the database. +2020-04-08T14:54:36 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:55:08 | info | index.js | Loading 5 commands. +2020-04-08T14:55:08 | info | index.js | Loading 7 events. +2020-04-08T14:55:08 | info | mongoose.js | Connected to the database. +2020-04-08T14:55:10 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:55:11 | log | message.js | Command ran: ship +2020-04-08T14:55:23 | info | index.js | Loading 5 commands. +2020-04-08T14:55:23 | info | index.js | Loading 7 events. +2020-04-08T14:55:23 | info | mongoose.js | Connected to the database. +2020-04-08T14:55:26 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:55:30 | log | message.js | Command ran: ship +2020-04-08T14:55:47 | info | index.js | Loading 7 events. +2020-04-08T14:55:47 | info | index.js | Loading 5 commands. +2020-04-08T14:55:47 | info | mongoose.js | Connected to the database. +2020-04-08T14:55:49 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:55:51 | log | message.js | Command ran: ship +2020-04-08T14:56:00 | info | index.js | Loading 5 commands. +2020-04-08T14:56:00 | info | index.js | Loading 7 events. +2020-04-08T14:56:00 | info | mongoose.js | Connected to the database. +2020-04-08T14:56:02 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:56:04 | log | message.js | Command ran: ship +2020-04-08T14:56:08 | log | message.js | Command ran: ship +2020-04-08T14:56:16 | info | index.js | Loading 5 commands. +2020-04-08T14:56:16 | info | index.js | Loading 7 events. +2020-04-08T14:56:16 | info | mongoose.js | Connected to the database. +2020-04-08T14:56:19 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:56:31 | info | index.js | Loading 5 commands. +2020-04-08T14:56:31 | info | index.js | Loading 7 events. +2020-04-08T14:56:31 | info | mongoose.js | Connected to the database. +2020-04-08T14:56:34 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:56:35 | log | message.js | Command ran: ship +2020-04-08T14:57:00 | info | index.js | Loading 5 commands. +2020-04-08T14:57:00 | info | index.js | Loading 7 events. +2020-04-08T14:57:00 | info | mongoose.js | Connected to the database. +2020-04-08T14:57:02 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:57:03 | log | message.js | Command ran: ship +2020-04-08T14:57:24 | info | index.js | Loading 5 commands. +2020-04-08T14:57:24 | info | index.js | Loading 7 events. +2020-04-08T14:57:24 | info | mongoose.js | Connected to the database. +2020-04-08T14:57:26 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:57:27 | log | message.js | Command ran: ship +2020-04-08T14:57:35 | info | index.js | Loading 5 commands. +2020-04-08T14:57:35 | info | index.js | Loading 7 events. +2020-04-08T14:57:35 | info | mongoose.js | Connected to the database. +2020-04-08T14:57:37 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T14:57:39 | log | message.js | Command ran: ship +2020-04-08T15:00:56 | log | message.js | Command ran: help +2020-04-08T15:01:25 | log | message.js | Command ran: help +2020-04-08T15:28:24 | log | message.js | Command ran: help +2020-04-08T16:21:07 | log | message.js | Command ran: ship +2020-04-08T16:22:30 | log | message.js | Command ran: ship +2020-04-08T16:32:55 | log | message.js | Command ran: help +2020-04-08T16:33:00 | log | message.js | Command ran: help +2020-04-08T16:34:45 | info | index.js | Loading 5 commands. +2020-04-08T16:34:45 | info | index.js | Loading 7 events. +2020-04-08T16:34:45 | info | mongoose.js | Connected to the database. +2020-04-08T16:34:47 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:34:49 | log | message.js | Command ran: help +2020-04-08T16:34:52 | log | message.js | Command ran: help +2020-04-08T16:34:52 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'length' of undefined +2020-04-08T16:35:18 | log | message.js | Command ran: eval +2020-04-08T16:35:51 | log | message.js | Command ran: help +2020-04-08T16:35:51 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'length' of undefined +2020-04-08T16:36:00 | log | message.js | Command ran: help +2020-04-08T16:36:52 | info | index.js | Loading 5 commands. +2020-04-08T16:36:52 | info | index.js | Loading 7 events. +2020-04-08T16:36:52 | info | mongoose.js | Connected to the database. +2020-04-08T16:36:58 | info | index.js | Loading 5 commands. +2020-04-08T16:36:58 | info | index.js | Loading 7 events. +2020-04-08T16:36:58 | info | mongoose.js | Connected to the database. +2020-04-08T16:37:00 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:37:05 | log | message.js | Command ran: help +2020-04-08T16:37:05 | error | _functions.js | Unhandled rejection: RangeError [EMBED_FIELD_VALUE]: MessageEmbed field values may not be empty. +2020-04-08T16:40:22 | error | _functions.js | Unhandled rejection: RangeError [EMBED_FIELD_VALUE]: MessageEmbed field values may not be empty. +2020-04-08T16:39:01 | log | message.js | Command ran: help +2020-04-08T16:40:22 | log | message.js | Command ran: help +2020-04-08T16:40:22 | error | _functions.js | Unhandled rejection: RangeError [EMBED_FIELD_VALUE]: MessageEmbed field values may not be empty. +2020-04-08T16:40:23 | info | index.js | Loading 5 commands. +2020-04-08T16:40:23 | info | index.js | Loading 7 events. +2020-04-08T16:40:23 | info | mongoose.js | Connected to the database. +2020-04-08T16:40:25 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:40:28 | log | message.js | Command ran: help +2020-04-08T16:42:03 | info | index.js | Loading 5 commands. +2020-04-08T16:42:03 | info | index.js | Loading 7 events. +2020-04-08T16:42:03 | info | mongoose.js | Connected to the database. +2020-04-08T16:42:05 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:42:06 | log | message.js | Command ran: help +2020-04-08T16:42:46 | info | index.js | Loading 5 commands. +2020-04-08T16:42:46 | info | index.js | Loading 7 events. +2020-04-08T16:42:46 | info | mongoose.js | Connected to the database. +2020-04-08T16:42:48 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:42:50 | log | message.js | Command ran: help +2020-04-08T16:44:42 | info | index.js | Loading 5 commands. +2020-04-08T16:44:42 | info | index.js | Loading 7 events. +2020-04-08T16:44:42 | info | mongoose.js | Connected to the database. +2020-04-08T16:44:44 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:48:03 | info | index.js | Loading 5 commands. +2020-04-08T16:48:03 | info | index.js | Loading 7 events. +2020-04-08T16:48:03 | info | mongoose.js | Connected to the database. +2020-04-08T16:48:07 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:48:07 | log | message.js | Command ran: help +2020-04-08T16:48:38 | info | index.js | Loading 5 commands. +2020-04-08T16:48:38 | info | index.js | Loading 7 events. +2020-04-08T16:48:38 | info | mongoose.js | Connected to the database. +2020-04-08T16:48:40 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:48:43 | log | message.js | Command ran: help +2020-04-08T16:48:54 | info | index.js | Loading 5 commands. +2020-04-08T16:48:54 | info | index.js | Loading 7 events. +2020-04-08T16:48:54 | info | mongoose.js | Connected to the database. +2020-04-08T16:48:56 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:48:59 | info | index.js | Loading 5 commands. +2020-04-08T16:48:59 | info | index.js | Loading 7 events. +2020-04-08T16:48:59 | info | mongoose.js | Connected to the database. +2020-04-08T16:49:01 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:49:04 | log | message.js | Command ran: help +2020-04-08T16:49:11 | info | index.js | Loading 5 commands. +2020-04-08T16:49:11 | info | index.js | Loading 7 events. +2020-04-08T16:49:11 | info | mongoose.js | Connected to the database. +2020-04-08T16:49:13 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:50:20 | info | index.js | Loading 7 events. +2020-04-08T16:50:20 | info | index.js | Loading 5 commands. +2020-04-08T16:50:20 | error | index.js | Failed to load help.js: SyntaxError: missing ) after argument list +2020-04-08T16:50:20 | info | mongoose.js | Connected to the database. +2020-04-08T16:50:23 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:50:31 | info | index.js | Loading 5 commands. +2020-04-08T16:50:31 | info | index.js | Loading 7 events. +2020-04-08T16:50:31 | info | mongoose.js | Connected to the database. +2020-04-08T16:50:33 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:50:34 | log | message.js | Command ran: help +2020-04-08T16:51:51 | log | message.js | Command ran: help +2020-04-08T16:52:21 | info | index.js | Loading 5 commands. +2020-04-08T16:52:21 | info | index.js | Loading 7 events. +2020-04-08T16:52:21 | info | mongoose.js | Connected to the database. +2020-04-08T16:52:25 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:52:26 | log | message.js | Command ran: help +2020-04-08T16:59:20 | info | index.js | Loading 5 commands. +2020-04-08T16:59:20 | info | index.js | Loading 7 events. +2020-04-08T16:59:20 | info | mongoose.js | Connected to the database. +2020-04-08T16:59:23 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T16:59:24 | log | message.js | Command ran: help +2020-04-08T17:00:14 | info | index.js | Loading 5 commands. +2020-04-08T17:00:14 | info | index.js | Loading 7 events. +2020-04-08T17:00:14 | info | mongoose.js | Connected to the database. +2020-04-08T17:00:16 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:00:16 | log | message.js | Command ran: help +2020-04-08T17:01:24 | info | index.js | Loading 5 commands. +2020-04-08T17:01:24 | info | index.js | Loading 7 events. +2020-04-08T17:01:24 | info | mongoose.js | Connected to the database. +2020-04-08T17:01:26 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:01:31 | log | message.js | Command ran: help +2020-04-08T17:05:01 | info | index.js | Loading 5 commands. +2020-04-08T17:05:01 | info | index.js | Loading 7 events. +2020-04-08T17:05:01 | info | mongoose.js | Connected to the database. +2020-04-08T17:05:03 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:05:05 | log | message.js | Command ran: help +2020-04-08T17:13:28 | info | index.js | Loading 5 commands. +2020-04-08T17:13:28 | error | index.js | Failed to load help.js: SyntaxError: missing ) after argument list +2020-04-08T17:13:28 | info | index.js | Loading 7 events. +2020-04-08T17:13:28 | info | mongoose.js | Connected to the database. +2020-04-08T17:13:30 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:14:21 | info | index.js | Loading 5 commands. +2020-04-08T17:14:21 | info | index.js | Loading 7 events. +2020-04-08T17:14:21 | info | mongoose.js | Connected to the database. +2020-04-08T17:14:24 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:14:40 | info | index.js | Loading 5 commands. +2020-04-08T17:14:40 | info | index.js | Loading 7 events. +2020-04-08T17:14:40 | info | mongoose.js | Connected to the database. +2020-04-08T17:14:42 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:14:42 | log | message.js | Command ran: help +2020-04-08T17:15:15 | info | index.js | Loading 5 commands. +2020-04-08T17:15:15 | info | index.js | Loading 7 events. +2020-04-08T17:15:15 | info | mongoose.js | Connected to the database. +2020-04-08T17:15:18 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:15:18 | log | message.js | Command ran: help +2020-04-08T17:21:36 | info | index.js | Loading 5 commands. +2020-04-08T17:21:36 | info | index.js | Loading 7 events. +2020-04-08T17:21:36 | info | mongoose.js | Connected to the database. +2020-04-08T17:21:38 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:21:43 | log | message.js | Command ran: help +2020-04-08T17:22:33 | info | index.js | Loading 5 commands. +2020-04-08T17:22:33 | info | index.js | Loading 7 events. +2020-04-08T17:22:33 | info | mongoose.js | Connected to the database. +2020-04-08T17:22:36 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:22:47 | log | message.js | Command ran: help +2020-04-08T17:22:57 | log | message.js | Command ran: help +2020-04-08T17:22:57 | error | _functions.js | Unhandled rejection: TypeError: Cannot read property 'length' of undefined + at Object.exports.run (C:\Users\Emily\Desktop\woomy stuff\woomy\commands\help.js:92:25) + at module.exports (C:\Users\Emily\Desktop\woomy stuff\woomy\events\message.js:103:7) + at processTicksAndRejections (internal/process/task_queues.js:94:5) +2020-04-08T17:23:34 | info | index.js | Loading 5 commands. +2020-04-08T17:23:34 | info | index.js | Loading 7 events. +2020-04-08T17:23:34 | info | mongoose.js | Connected to the database. +2020-04-08T17:23:36 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:23:38 | info | index.js | Loading 5 commands. +2020-04-08T17:23:38 | info | index.js | Loading 7 events. +2020-04-08T17:23:38 | info | mongoose.js | Connected to the database. +2020-04-08T17:23:42 | info | index.js | Loading 5 commands. +2020-04-08T17:23:42 | info | index.js | Loading 7 events. +2020-04-08T17:23:42 | info | mongoose.js | Connected to the database. +2020-04-08T17:23:45 | info | index.js | Loading 5 commands. +2020-04-08T17:23:45 | info | index.js | Loading 7 events. +2020-04-08T17:23:45 | info | mongoose.js | Connected to the database. +2020-04-08T17:23:55 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:39:03 | log | message.js | Command ran: help +2020-04-08T17:40:29 | log | message.js | Command ran: help +2020-04-08T17:49:01 | info | index.js | Loading 7 events. +2020-04-08T17:49:01 | info | index.js | Loading 5 commands. +2020-04-08T17:49:01 | info | mongoose.js | Connected to the database. +2020-04-08T17:49:04 | info | index.js | Loading 5 commands. +2020-04-08T17:49:04 | info | index.js | Loading 7 events. +2020-04-08T17:49:05 | info | mongoose.js | Connected to the database. +2020-04-08T17:49:07 | info | index.js | Loading 5 commands. +2020-04-08T17:49:07 | info | index.js | Loading 7 events. +2020-04-08T17:49:08 | info | index.js | Loading 5 commands. +2020-04-08T17:49:08 | info | index.js | Loading 7 events. +2020-04-08T17:49:08 | info | mongoose.js | Connected to the database. +2020-04-08T17:49:10 | info | index.js | Loading 5 commands. +2020-04-08T17:49:10 | info | index.js | Loading 7 events. +2020-04-08T17:49:10 | info | mongoose.js | Connected to the database. +2020-04-08T17:49:12 | ready | ready.js | Connected to Discord as WoomyDev#4547 +2020-04-08T17:56:05 | log | message.js | Command ran: help +2020-04-08T17:58:34 | log | message.js | Command ran: help +2020-04-08T17:59:37 | log | message.js | Command ran: help +2020-04-08T17:59:41 | log | message.js | Command ran: help +2020-04-08T18:00:33 | log | message.js | Command ran: ship diff --git a/helpers/_functions.js b/helpers/_functions.js index 003007d..1e48de9 100644 --- a/helpers/_functions.js +++ b/helpers/_functions.js @@ -258,6 +258,6 @@ module.exports = client => { }) process.on('unhandledRejection', err => { - client.logger.error(`Unhandled rejection: ${err}`) + client.logger.error(`Unhandled rejection: ${err.stack}`) }) } diff --git a/version.json b/version.json index e1cffe8..4142965 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,5 @@ { "number": "2.0", - "changelog": "uwu" + "changelog": "uwu", + "news": "A massive update has just been released! Lots of commands and features have been added or redone and my code has been rewritten to use lots of cool new stuff. To view the full changelog, run `changelog`" } \ No newline at end of file