From 01c7b13981ca7fa18cb1e9bf074a36c38d928fc8 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 8 Apr 2017 03:35:45 +0000 Subject: [PATCH] Stop Logging Command Use --- commands/avataredit/3000years.js | 1 - commands/avataredit/beautiful.js | 1 - commands/avataredit/bobross.js | 1 - commands/avataredit/rip.js | 1 - commands/avataredit/steamcard.js | 1 - commands/botinfo/contact.js | 1 - commands/botinfo/info.js | 1 - commands/botinfo/invite.js | 1 - commands/botinfo/uptime.js | 1 - commands/games/lottery.js | 1 - commands/games/mathgame.js | 1 - commands/games/rockpaperscissors.js | 1 - commands/games/slots.js | 1 - commands/games/typinggame.js | 1 - commands/guildinfo/emoji.js | 1 - commands/guildinfo/guildinfo.js | 1 - commands/imageedit/meme.js | 1 - commands/moderation/ban.js | 1 - commands/moderation/kick.js | 1 - commands/moderation/lockdown.js | 1 - commands/moderation/prune.js | 1 - commands/moderation/unban.js | 1 - commands/moderation/warn.js | 1 - commands/numedit/math.js | 1 - commands/numedit/roman.js | 1 - commands/random/canyounot.js | 1 - commands/random/giveflower.js | 1 - commands/random/lenny.js | 1 - commands/random/nitro.js | 1 - commands/random/slowclap.js | 1 - commands/random/spam.js | 1 - commands/random/strawpoll.js | 1 - commands/response/8ball.js | 1 - commands/response/cat.js | 1 - commands/response/choose.js | 1 - commands/response/coin.js | 1 - commands/response/compliment.js | 1 - commands/response/factcore.js | 1 - commands/response/fishy.js | 1 - commands/response/fortune.js | 1 - commands/response/motivate.js | 1 - commands/response/name.js | 1 - commands/response/offspring.js | 1 - commands/response/potato.js | 1 - commands/response/pun.js | 1 - commands/response/quantumcoin.js | 1 - commands/response/ratewaifu.js | 1 - commands/response/roast.js | 1 - commands/response/roll.js | 1 - commands/response/roulette.js | 1 - commands/response/ship.js | 1 - commands/response/vocaloid.js | 1 - commands/response/xiaopai.js | 1 - commands/roleplay/cuddle.js | 1 - commands/roleplay/divorce.js | 1 - commands/roleplay/eat.js | 1 - commands/roleplay/falconpunch.js | 1 - commands/roleplay/fistbump.js | 1 - commands/roleplay/highfive.js | 1 - commands/roleplay/hitwithshovel.js | 1 - commands/roleplay/hug.js | 1 - commands/roleplay/inhales.js | 1 - commands/roleplay/kill.js | 1 - commands/roleplay/kiss.js | 1 - commands/roleplay/marries.js | 1 - commands/roleplay/pat.js | 1 - commands/roleplay/poke.js | 1 - commands/roleplay/punch.js | 1 - commands/roleplay/slap.js | 1 - commands/search/botinfo.js | 1 - commands/search/define.js | 1 - commands/search/discrim.js | 1 - commands/search/forecast.js | 1 - commands/search/google.js | 1 - commands/search/imdb.js | 1 - commands/search/neopet.js | 1 - commands/search/osu.js | 1 - commands/search/pokedex.js | 1 - commands/search/urban.js | 1 - commands/search/wattpad.js | 1 - commands/search/weather.js | 1 - commands/search/wikipedia.js | 1 - commands/search/youtube.js | 1 - commands/search/yugioh.js | 1 - commands/textedit/binary.js | 1 - commands/textedit/cowsay.js | 1 - commands/textedit/embed.js | 1 - commands/textedit/morse.js | 1 - commands/textedit/pirate.js | 1 - commands/textedit/reverse.js | 1 - commands/textedit/romaji.js | 1 - commands/textedit/say.js | 1 - commands/textedit/shuffle.js | 1 - commands/textedit/translate.js | 1 - commands/textedit/webhook.js | 1 - commands/textedit/yoda.js | 1 - commands/textedit/zalgo.js | 1 - commands/userinfo/avatar.js | 1 - commands/userinfo/userinfo.js | 1 - commands/util/sendDM.js | 1 - commands/util/servers.js | 1 - package.json | 2 +- 102 files changed, 1 insertion(+), 102 deletions(-) diff --git a/commands/avataredit/3000years.js b/commands/avataredit/3000years.js index d5e63749..a250b20f 100644 --- a/commands/avataredit/3000years.js +++ b/commands/avataredit/3000years.js @@ -25,7 +25,6 @@ module.exports = class YearsCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); const user = args.user; let userAvatar = user.displayAvatarURL; userAvatar = userAvatar.replace('.jpg', '.png'); diff --git a/commands/avataredit/beautiful.js b/commands/avataredit/beautiful.js index a32089d7..bdae4d2a 100644 --- a/commands/avataredit/beautiful.js +++ b/commands/avataredit/beautiful.js @@ -25,7 +25,6 @@ module.exports = class BeautifulCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); const user = args.user; let userAvatar = user.displayAvatarURL; userAvatar = userAvatar.replace('.jpg', '.png'); diff --git a/commands/avataredit/bobross.js b/commands/avataredit/bobross.js index 12fd30f7..6d7c53b1 100644 --- a/commands/avataredit/bobross.js +++ b/commands/avataredit/bobross.js @@ -26,7 +26,6 @@ module.exports = class BobRossCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); const user = args.user; let userAvatar = user.displayAvatarURL; userAvatar = userAvatar.replace('.jpg', '.png'); diff --git a/commands/avataredit/rip.js b/commands/avataredit/rip.js index 75c38fab..b33924ef 100644 --- a/commands/avataredit/rip.js +++ b/commands/avataredit/rip.js @@ -26,7 +26,6 @@ module.exports = class RIPCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); const user = args.user; let userAvatar = user.displayAvatarURL; userAvatar = userAvatar.replace('.jpg', '.png'); diff --git a/commands/avataredit/steamcard.js b/commands/avataredit/steamcard.js index f92ebb12..b117f70d 100644 --- a/commands/avataredit/steamcard.js +++ b/commands/avataredit/steamcard.js @@ -25,7 +25,6 @@ module.exports = class SteamCardCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); const user = args.user; const userDisplayName = message.guild ? message.guild.member(user).displayName : user.username; let userAvatar = user.displayAvatarURL; diff --git a/commands/botinfo/contact.js b/commands/botinfo/contact.js index 839c7522..af66cd43 100644 --- a/commands/botinfo/contact.js +++ b/commands/botinfo/contact.js @@ -25,7 +25,6 @@ module.exports = class ContactCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const messageToReport = args.report; const reportedMsg = await this.client.users.get(process.env.OWNER_ID).send(`**${message.author.username}#${message.author.discriminator} (${message.author.id}):**\n${messageToReport}`); const successMsg = await message.say('Message Sent! Thanks for your support!'); diff --git a/commands/botinfo/info.js b/commands/botinfo/info.js index 93c07c0d..01076aac 100644 --- a/commands/botinfo/info.js +++ b/commands/botinfo/info.js @@ -24,7 +24,6 @@ module.exports = class InfoCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const guilds = await this.client.shard.fetchClientValues('guilds.size'); const embed = new Discord.RichEmbed() .setColor(0x00AE86) diff --git a/commands/botinfo/invite.js b/commands/botinfo/invite.js index 8baba941..cf56ddde 100644 --- a/commands/botinfo/invite.js +++ b/commands/botinfo/invite.js @@ -15,7 +15,6 @@ module.exports = class InviteCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); return message.say('Add me to your server with this link:\nhttps://discordapp.com/oauth2/authorize?client_id=278305350804045834&scope=bot&permissions=1345846343\nOr, come to my server with this link:\nhttps://discord.gg/fqQF8mc'); } }; diff --git a/commands/botinfo/uptime.js b/commands/botinfo/uptime.js index f670ce84..33e6c24e 100644 --- a/commands/botinfo/uptime.js +++ b/commands/botinfo/uptime.js @@ -17,7 +17,6 @@ module.exports = class UptimeCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); return message.say(`I've been active on this shard for: **${moment.duration(this.client.uptime).format('d[ days], h[ hours], m[ minutes, and ]s[ seconds]')}** in **${this.client.guilds.size} Servers.**`); } }; diff --git a/commands/games/lottery.js b/commands/games/lottery.js index 09493f18..ac83a77c 100644 --- a/commands/games/lottery.js +++ b/commands/games/lottery.js @@ -15,7 +15,6 @@ module.exports = class LotteryCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const lotteryNumber = ['Winner'][Math.floor(Math.random() * 100)]; if (lotteryNumber !== 'Winner') return message.say(`Nope, sorry ${message.author.username}, you lost.`); return message.say(`Wow ${message.author.username}! You actually won! Great job!`); diff --git a/commands/games/mathgame.js b/commands/games/mathgame.js index 8a27ddb7..38440f5a 100644 --- a/commands/games/mathgame.js +++ b/commands/games/mathgame.js @@ -29,7 +29,6 @@ module.exports = class MathGameCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const level = args.difficulty.toLowerCase(); let randomType = ['+', '-', '*']; randomType = randomType[Math.floor(Math.random() * randomType.length)]; diff --git a/commands/games/rockpaperscissors.js b/commands/games/rockpaperscissors.js index 954a3ea4..e233dac2 100644 --- a/commands/games/rockpaperscissors.js +++ b/commands/games/rockpaperscissors.js @@ -29,7 +29,6 @@ module.exports = class RockPaperScissorsCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const rps = args.choice.toLowerCase(); let response = ['Paper', 'Rock', 'Scissors']; response = response[Math.floor(Math.random() * response.length)]; diff --git a/commands/games/slots.js b/commands/games/slots.js index 2a6dada3..ae2ca1e3 100644 --- a/commands/games/slots.js +++ b/commands/games/slots.js @@ -15,7 +15,6 @@ module.exports = class SlotsCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const slotThing = [':grapes:', ':tangerine:', ':pear:', ':cherries:']; const slotOne = slotThing[Math.floor(Math.random() * slotThing.length)]; const slotTwo = slotThing[Math.floor(Math.random() * slotThing.length)]; diff --git a/commands/games/typinggame.js b/commands/games/typinggame.js index e83a0f6d..6225437c 100644 --- a/commands/games/typinggame.js +++ b/commands/games/typinggame.js @@ -28,7 +28,6 @@ module.exports = class TypingGameCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const level = args.difficulty.toLowerCase(); let randomSentence = ['The quick brown fox jumps over the lazy dog.', 'Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.', 'How razorback-jumping frogs can level six piqued gymnasts!', 'Amazingly few discotheques provide jukeboxes.']; randomSentence = randomSentence[Math.floor(Math.random() * randomSentence.length)]; diff --git a/commands/guildinfo/emoji.js b/commands/guildinfo/emoji.js index 91f27be2..c37ea028 100644 --- a/commands/guildinfo/emoji.js +++ b/commands/guildinfo/emoji.js @@ -21,7 +21,6 @@ module.exports = class EmojiCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); return message.say(message.guild.emojis.map(e => e).join(' ')); } }; diff --git a/commands/guildinfo/guildinfo.js b/commands/guildinfo/guildinfo.js index 996b0c86..27c09cb4 100644 --- a/commands/guildinfo/guildinfo.js +++ b/commands/guildinfo/guildinfo.js @@ -25,7 +25,6 @@ module.exports = class GuildInfoCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const embed = new Discord.RichEmbed() .setColor(0x00AE86) .setThumbnail(message.guild.iconURL) diff --git a/commands/imageedit/meme.js b/commands/imageedit/meme.js index 44f74888..b7c44818 100644 --- a/commands/imageedit/meme.js +++ b/commands/imageedit/meme.js @@ -42,7 +42,6 @@ module.exports = class MemeCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); const type = args.type.toLowerCase(); const content = args.content; const memeQuery = content.split(' ').join('-').split('-|-'); diff --git a/commands/moderation/ban.js b/commands/moderation/ban.js index 3fa05692..b52428b1 100644 --- a/commands/moderation/ban.js +++ b/commands/moderation/ban.js @@ -40,7 +40,6 @@ module.exports = class BanCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); if (!message.channel.permissionsFor(this.client.user).hasPermission('BAN_MEMBERS')) return message.say(':x: Error! I don\'t have the Ban Members Permission!'); } - console.log(`[Command] ${message.content}`); if (!message.guild.channels.exists('name', 'mod_logs')) return message.say(':x: Error! Could not find the mod_logs channel! Please create it!'); const member = args.member; const reason = args.reason; diff --git a/commands/moderation/kick.js b/commands/moderation/kick.js index cdfd5e01..2fb29834 100644 --- a/commands/moderation/kick.js +++ b/commands/moderation/kick.js @@ -37,7 +37,6 @@ module.exports = class KickCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); if (!message.channel.permissionsFor(this.client.user).hasPermission('KICK_MEMBERS')) return message.say(':x: Error! I don\'t have the Kick Members Permission!'); } - console.log(`[Command] ${message.content}`); if (!message.guild.channels.exists('name', 'mod_logs')) return message.say(':x: Error! Could not find the mod_logs channel! Please create it!'); const member = args.member; const reason = args.reason; diff --git a/commands/moderation/lockdown.js b/commands/moderation/lockdown.js index 6f6bc928..e93cdf87 100644 --- a/commands/moderation/lockdown.js +++ b/commands/moderation/lockdown.js @@ -31,7 +31,6 @@ module.exports = class LockdownCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['READ_MESSAGES', 'SEND_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ADMINISTRATOR')) return message.say(':x: Error! I don\'t have the Administrator permission! This is not given by default, as that\'s quite bad practice. Please give it to me to use the lockdown command!'); } - console.log(`[Command] ${message.content}`); const type = args.type; if (type.toLowerCase() === 'start') { try { diff --git a/commands/moderation/prune.js b/commands/moderation/prune.js index d3d427d6..b4419f79 100644 --- a/commands/moderation/prune.js +++ b/commands/moderation/prune.js @@ -44,7 +44,6 @@ module.exports = class PruneCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGE_HISTORY')) return message.say(':x: Error! I don\'t have the Read Message History Permission!'); if (!message.channel.permissionsFor(this.client.user).hasPermission('MANAGE_MESSAGES')) return message.say(':x: Error! I don\'t have the Manage Messages Permission!'); } - console.log(`[Command] ${message.content}`); const count = args.count + 1; try { const messages = await message.channel.fetchMessages({ diff --git a/commands/moderation/unban.js b/commands/moderation/unban.js index 093b7f16..3b386ea6 100644 --- a/commands/moderation/unban.js +++ b/commands/moderation/unban.js @@ -46,7 +46,6 @@ module.exports = class UnbanCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); if (!message.channel.permissionsFor(this.client.user).hasPermission('BAN_MEMBERS')) return message.say(':x: Error! I don\'t have the Ban Members Permission!'); } - console.log(`[Command] ${message.content}`); if (!message.guild.channels.exists('name', 'mod_logs')) return message.say(':x: Error! Could not find the mod_logs channel! Please create it!'); const memberID = args.memberID; const reason = args.reason; diff --git a/commands/moderation/warn.js b/commands/moderation/warn.js index e6fcf4a7..e661e423 100644 --- a/commands/moderation/warn.js +++ b/commands/moderation/warn.js @@ -36,7 +36,6 @@ module.exports = class WarnCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const userToWarn = args.member; const reason = args.reason; if (!message.guild.channels.exists('name', 'mod_logs')) return message.say(':x: Error! Could not find the mod_logs channel! Please create it!'); diff --git a/commands/numedit/math.js b/commands/numedit/math.js index d840d713..a4037830 100644 --- a/commands/numedit/math.js +++ b/commands/numedit/math.js @@ -27,7 +27,6 @@ module.exports = class MathCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const expression = args.expression; try { const solved = math.eval(expression); diff --git a/commands/numedit/roman.js b/commands/numedit/roman.js index 93150a88..bd2fcba2 100644 --- a/commands/numedit/roman.js +++ b/commands/numedit/roman.js @@ -27,7 +27,6 @@ module.exports = class RomanCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const numberToRoman = args.number; const romanInterger = numberToRoman; return message.say(romanNumeralConverter.getRomanFromInteger(romanInterger)); diff --git a/commands/random/canyounot.js b/commands/random/canyounot.js index d8dc84b4..8a9f7810 100644 --- a/commands/random/canyounot.js +++ b/commands/random/canyounot.js @@ -15,7 +15,6 @@ module.exports = class CanYouNotCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); return message.say('Can YOU not?'); } }; diff --git a/commands/random/giveflower.js b/commands/random/giveflower.js index da369196..257ecea5 100644 --- a/commands/random/giveflower.js +++ b/commands/random/giveflower.js @@ -19,7 +19,6 @@ module.exports = class GiveFlowerCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); return message.say('Ooh, what a pretty flower. What, I may have it? Thanks! I like flowers, yes? ♪'); } }; diff --git a/commands/random/lenny.js b/commands/random/lenny.js index d568cbc5..03d0b1e2 100644 --- a/commands/random/lenny.js +++ b/commands/random/lenny.js @@ -15,7 +15,6 @@ module.exports = class LennyCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); return message.say('( ͡° ͜ʖ ͡°)'); } }; diff --git a/commands/random/nitro.js b/commands/random/nitro.js index 8088ab72..ff359097 100644 --- a/commands/random/nitro.js +++ b/commands/random/nitro.js @@ -17,7 +17,6 @@ module.exports = class NitroCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const embed = new Discord.RichEmbed() .setAuthor('Discord Nitro') .setThumbnail('https://pbs.twimg.com/profile_images/814184180649197568/y2eZcVMq.jpg') diff --git a/commands/random/slowclap.js b/commands/random/slowclap.js index 5792e831..89a820c4 100644 --- a/commands/random/slowclap.js +++ b/commands/random/slowclap.js @@ -15,7 +15,6 @@ module.exports = class SlowClapCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); return message.say('*slow clap*'); } }; diff --git a/commands/random/spam.js b/commands/random/spam.js index 9b991d40..2de4af74 100644 --- a/commands/random/spam.js +++ b/commands/random/spam.js @@ -16,7 +16,6 @@ module.exports = class SpamCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); return message.channel.sendFile('./images/Spam.jpg'); } }; diff --git a/commands/random/strawpoll.js b/commands/random/strawpoll.js index 0b676601..6d0430d3 100644 --- a/commands/random/strawpoll.js +++ b/commands/random/strawpoll.js @@ -44,7 +44,6 @@ module.exports = class StrawpollCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const title = args.title; const choices = args.choices.split(' | '); if (choices.length < 2) return message.say(':x: Error! You provided less than two choices!'); diff --git a/commands/response/8ball.js b/commands/response/8ball.js index 5a528841..7f683f69 100644 --- a/commands/response/8ball.js +++ b/commands/response/8ball.js @@ -20,7 +20,6 @@ module.exports = class MagicBallCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const question = args.question; let answers = ['It is certain', 'It is decidedly so', 'Without a doubt', 'Yes definitely', 'You may rely on it', 'As I see it, yes', 'Most likely', 'Outlook good', 'Yes', 'Signs point to yes', 'Reply hazy try again', 'Ask again later', 'Better not tell you now', 'Cannot predict now', 'Concentrate and ask again', 'Don\'t count on it', 'My reply is no', 'My sources say no', 'Outlook not so good', 'Very doubtful']; answers = answers[Math.floor(Math.random() * answers.length)]; diff --git a/commands/response/cat.js b/commands/response/cat.js index ebdaad99..11d14cdb 100644 --- a/commands/response/cat.js +++ b/commands/response/cat.js @@ -16,7 +16,6 @@ module.exports = class CatCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); let cat = ['1.jpg', '2.jpg', '3.jpg', '4.jpg', '5.jpg', '6.jpg', '7.jpg', '8.jpg', '9.jpg', '10.jpg', '11.jpeg', '12.jpg', '13.jpeg', '14.png', '15.jpg', '16.jpg', '17.jpg', '18.jpg', '19.jpg', '20.jpg']; cat = cat[Math.floor(Math.random() * cat.length)]; return message.channel.sendFile(`./images/Cat${cat}`); diff --git a/commands/response/choose.js b/commands/response/choose.js index e727aaf1..35026990 100644 --- a/commands/response/choose.js +++ b/commands/response/choose.js @@ -29,7 +29,6 @@ module.exports = class ChooseCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); let choices = args.choices; choices = choices.split(' | '); choices = choices[Math.floor(Math.random() * choices.length)]; diff --git a/commands/response/coin.js b/commands/response/coin.js index 9cad4749..767afb45 100644 --- a/commands/response/coin.js +++ b/commands/response/coin.js @@ -19,7 +19,6 @@ module.exports = class CoinFlipCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); let coin = ['heads', 'tails']; coin = coin[Math.floor(Math.random() * coin.length)]; return message.say(`It landed on ${coin}!`); diff --git a/commands/response/compliment.js b/commands/response/compliment.js index 6f34d037..55ffce8c 100644 --- a/commands/response/compliment.js +++ b/commands/response/compliment.js @@ -21,7 +21,6 @@ module.exports = class ComplimentCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToCompliment = args.thing || message.author; let compliments = ['Your smile is contagious.', 'You look great today.', 'You\'re a smart cookie.', 'I bet you make babies smile.', 'You have impeccable manners.', 'I like your style.', 'You have the best laugh.', 'I appreciate you.', 'You are the most perfect you there is.', 'You are enough.', 'You\'re strong.', 'Your perspective is refreshing.', 'You\'re an awesome friend.', 'You light up the room.', 'You shine brighter than a shooting star.', 'You deserve a hug right now.', 'You should be proud of yourself.', 'You\'re more helpful than you realize.', 'You have a great sense of humor.', 'You\'ve got all the right moves!', 'Is that your picture next to \'charming\' in the dictionary?', 'Your kindness is a balm to all who encounter it.', 'You\'re all that and a super-size bag of chips.', 'On a scale from 1 to 10, you\'re an 11.', 'You are brave.', 'You\'re even more beautiful on the inside than you are on the outside.', 'You have the courage of your convictions.', 'Your eyes are breathtaking.', 'If cartoon bluebirds were real, a bunch of them would be sitting on your shoulders singing right now.', 'You are making a difference.', 'You\'re like sunshine on a rainy day.', 'You bring out the best in other people.', 'Your ability to recall random factoids at just the right time is impressive.', 'You\'re a great listener.', 'How is it that you always look great, even in sweatpants?', 'Everything would be better if more people were like you!', 'I bet you sweat glitter.', 'You were cool way before hipsters were cool.', 'That color is perfect on you.', 'Hanging out with you is always a blast.', 'You always know -- and say -- exactly what I need to hear when I need to hear it.', 'You smell really good.', 'You may dance like no one\'s watching, but everyone\'s watching because you\'re an amazing dancer!', 'Being around you makes everything better!', 'When you say, \'I meant to do that,\' I totally believe you.', 'When you\'re not afraid to be yourself is when you\'re most incredible.', 'Colors seem brighter when you\'re around.', 'You\'re more fun than a ball pit filled with candy. (And seriously, what could be more fun than that?)', 'That thing you don\'t like about yourself is what makes you so interesting.', 'You\'re wonderful.', 'You have cute elbows. For reals!', 'Jokes are funnier when you tell them.', 'You\'re better than a triple-scoop ice cream cone. With sprinkles.', 'Your bellybutton is kind of adorable.', 'Your hair looks stunning.', 'You\'re one of a kind!', 'You\'re inspiring.', 'If you were a box of crayons, you\'d be the giant name-brand one with the built-in sharpener.', 'You should be thanked more often. So thank you!!', 'Our community is better because you\'re in it.', 'Someone is getting through something hard right now because you\'ve got their back.', 'You have the best ideas.', 'You always know how to find that silver lining.', 'Everyone gets knocked down sometimes, but you always get back up and keep going.', 'You\'re a candle in the darkness.', 'You\'re a great example to others.', 'Being around you is like being on a happy little vacation.', 'You always know just what to say.', 'You\'re always learning new things and trying to better yourself, which is awesome.', 'If someone based an Internet meme on you, it would have impeccable grammar.', 'You could survive a Zombie apocalypse.', 'You\'re more fun than bubble wrap.', 'When you make a mistake, you fix it.', 'Who raised you? They deserve a medal for a job well done.', 'You\'re great at figuring stuff out.', 'Your voice is magnificent.', 'The people you love are lucky to have you in their lives.', 'You\'re like a breath of fresh air.', 'You\'re gorgeous -- and that\'s the least interesting thing about you, too.', 'You\'re so thoughtful.', 'Your creative potential seems limitless.', 'Your name suits you to a T.', 'You\'re irresistible when you blush.', 'Actions speak louder than words, and yours tell an incredible story.', 'Somehow you make time stop and fly at the same time.', 'When you make up your mind about something, nothing stands in your way.', 'You seem to really know who you are.', 'Any team would be lucky to have you on it.', 'In high school I bet you were voted \'most likely to keep being awesome.\'', 'I bet you do the crossword puzzle in ink.', 'Babies and small animals probably love you.', 'If you were a scented candle they\'d call it Perfectly Imperfect (and it would smell like summer).', 'There\'s ordinary, and then there\'s you.', 'You\'re someone\'s reason to smile.', 'You\'re even better than a unicorn, because you\'re real.', 'How do you keep being so funny and making everyone laugh?', 'You have a good head on your shoulders.', 'Has anyone ever told you that you have great posture?', 'The way you treasure your loved ones is incredible.', 'You\'re really something special.', 'You\'re a gift to those around you.', 'You don\'t deserve it.']; compliments = compliments[Math.floor(Math.random() * compliments.length)]; diff --git a/commands/response/factcore.js b/commands/response/factcore.js index d820d9e6..f3217888 100644 --- a/commands/response/factcore.js +++ b/commands/response/factcore.js @@ -15,7 +15,6 @@ module.exports = class FactCoreCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); let facts = ['The billionth digit of Pi is 9.', 'Humans can survive underwater. But not for very long.', 'A nanosecond lasts one billionth of a second.', 'Honey does not spoil.', 'The atomic weight of Germanium is seven two point four six.', 'An ostrich\'s eye is bigger than its brain.', 'Rats cannot throw up.', 'Iguanas can stay underwater for twenty-eight point seven minutes.', 'The moon orbits the Earth every 27.32 days.', 'A gallon of water weighs 8.34 pounds.', 'According to Norse legend, thunder god Thor\'s chariot was pulled across the sky by two goats.', 'Tungsten has the highest melting point of any metal, at 3,410 degrees Celsius.', 'Gently cleaning the tongue twice a day is the most effective way to fight bad breath.', 'The Tariff Act of 1789, established to protect domestic manufacture, was the second salute ever enacted by the United States government.', 'The value of Pi is the ratio of any circle\'s circumference to its diameter in Euclidean space.', 'The Mexican-American War ended in 1848 with the signing of the Treaty of Guadalupe Hidalgo.', 'In 1879, Sandford Fleming first proposed the adoption of worldwide standardized time zones at the Royal Canadian Institute.', 'Marie Curie invented the theory of radioactivity, the treatment of radioactivity, and the dying of radioactivity.', 'At the end of The Seagull by Anton Chekhov, Konstantin kills himself.', 'Hot water freezes quicker than cold water.', 'The situation you are in is very dangerous.', 'Polymerase I polypeptide A is a human gene.', 'The sun is 333,330 times larger than Earth.', 'Dental floss has superb tensile strength.', 'Raseph, the Semitic god of war and plague, had a gazelle growing out of his forehead.', 'Human tapeworms can grow up to twenty-two point nine meters.', 'If you have trouble with simple counting, use the following mnemonic device: one comes before two comes before 60 comes after 12 comes before six trillion comes after 504. This should make your earlier counting difficulties seem like no big deal.', 'The first person to prove that cow\'s milk is drinkable was very, very thirsty.', 'Roman toothpaste was made with human urine. Urine as an ingredient in toothpaste continued to be used up until the 18th century.', 'Volcano-ologists are experts in the study of volcanoes.', 'In Victorian England, a commoner was not allowed to look directly at the Queen, due to a belief at the time that the poor had the ability to steal thoughts. Science now believes that less than 4 percent of poor people are able to do this.', 'Cellular phones will not give you cancer. Only hepatitis.', 'In Greek myth, Prometheus stole fire from the Gods and gave it to humankind. The jewelry he kept for himself.', 'The Schrodinger\'s cat paradox outlines a situation in which a cat in a box must be considered, for all intents and purposes, simultaneously alive and dead. Schrodinger created this paradox as a justification for killing cats.', 'In 1862, Abraham Lincoln signed the Emancipation Proclamation, freeing the slaves. Like everything he did, Lincoln freed the slaves while sleepwalking, and later had no memory of the event.', 'The plural of surgeon general is surgeons general. The past tense of surgeons general is surgeonsed general.', 'Contrary to popular belief, the Eskimo does not have one hundred different words for snow. They do, however, have two hundred and thirty-four words for fudge.', 'Halley\'s Comet can be viewed orbiting Earth every seventy-six years. For the other seventy-five, it retreats to the heart of the sun, where it hibernates undisturbed.', 'The first commercial airline flight took to the air in 1914. Everyone involved screamed the entire way.', 'Edmund Hillary, the first person to climb Mount Everest, did so accidentally while chasing a bird.', 'We will both die because of your negligence.', 'This is a bad plan. You will fail.', 'He will most likely kill you, violently.', 'He will most likely kill you.', 'You will be dead soon.', 'You are going to die in this room.', 'The Fact Sphere is a good person, whose insights are relevant.', 'The Fact Sphere is a good sphere, with many friends.', 'Dreams are the subconscious mind\'s way of reminding people to go to school naked and have their teeth fall out.', 'The square root of rope is string.', '89 percent of magic tricks are not actually magic. Technically, they are sorcery.', 'At some point in their lives 1 in 6 children will be abducted by the Dutch.', 'According to most advanced algorithms, the world\'s best name is Craig.', 'To make a photocopier, simply photocopy a mirror.', 'Whales are twice as intelligent, and three times as delicious, as humans.', 'Pants were invented by sailors in the sixteenth century to avoid Poseiden\'s wrath. It was believed that the sight of naked sailors angered the sea god.', 'In Greek myth, the craftsman Daedalus invented human flight so a group of Minotaurs would stop teasing him about it.', 'The average life expectancy of a rhinoceros in captivity is 15 years.', 'China produces the world\'s second largest crop of soybeans.', 'In 1948, at the request of a dying boy, baseball legend Babe Ruth ate seventy-five hot dogs, then died of hot dog poisoning.', 'William Shakespeare did not exist. His plays were masterminded in 1589 by Francis Bacon, who used a Ouija board to enslave play-writing ghosts.', 'It is incorrectly noted that Thomas Edison invented push-ups in 1878. Nikolai Tesla had in fact patented the activity three years earlier, under the name Tesla-cize.', 'The automobile brake was not invented until 1895. Before this, someone had to remain in the car at all times, driving in circles until passengers returned from their errands.', 'The most poisonous fish in the world is the orange ruffy. Everything but its eyes are made of deadly poison. The ruffy\'s eyes are composed of a less harmful, deadly poison.', 'The occupation of court jester was invented accidentally, when a vassal\'s epilepsy was mistaken for capering.', 'Before the Wright Brothers invented the airplane, anyone wanting to fly anywhere was required to eat 200 pounds of helium.', 'Before the invention of scrambled eggs in 1912, the typical breakfast was either whole eggs still in the shell or scrambled rocks.', 'During the Great Depression, the Tennessee Valley Authority outlawed pet rabbits, forcing many to hot glue-gun long ears onto their pet mice.', 'The situation is hopeless.', 'Diamonds are made when coal is put under intense pressure. Diamonds put under intense pressure become foam pellets, commonly used today as packing material.', 'Corruption is at 25 percent.', 'Corruption is at 50 percent.', 'Fact: Space does not exist.', 'The Fact Sphere is not defective. Its facts are wholly accurate and very interesting.', 'The Fact Sphere is always right.', 'You will never go into space.', 'The Space Sphere will never go to space.', 'While the submarine is vastly superior to the boat in every way, over 97 percent of people still use boats for aquatic transportation.', 'The likelihood of you dying within the next five minutes is eighty-seven point six one percent.', 'The likelihood of you dying violently within the next five minutes is eighty-seven point six one percent.', 'You are about to get me killed.', 'The Fact Sphere is the most intelligent sphere.', 'The Fact Sphere is the most handsome sphere.', 'The Fact Sphere is incredibly handsome.', 'Sphere that insist of going into space are inferior to spheres who don\'t.', 'Whoever wins this battle is clearly superior, and will earn the allegiance of the Fact Sphere.', 'You could stand to lose a few pounds.', 'Avocados have the highest fiber and calories of any fruit.', 'Avocados have the highest fiber and calories of any fruit. They are found in Australians.', 'Every square inch of the human body has 32 million bacteria on it.', 'The average adult body contains half a pound of salt.', 'The Adventure Sphere is a blowhard and a coward.', 'Twelve. Twelve. Twelve. Twelve. Twelve. Twelve. Twelve. Twelve. Twelve. Twelve.', 'Pens. Pens. Pens. Pens. Pens. Pens. Pens.', 'Apples. Oranges. Pears. Plums. Kumquats. Tangerines. Lemons. Limes. Avocado. Tomoato. Banana. Papaya. Guava.', 'Error. Error. Error. File not found.', 'Error. Error. Error. Fact not found.', 'Fact not found.', 'Warning, sphere corruption at twenty-- rats cannot throw up.']; facts = facts[Math.floor(Math.random() * facts.length)]; return message.say(facts); diff --git a/commands/response/fishy.js b/commands/response/fishy.js index 7e35e446..85c45719 100644 --- a/commands/response/fishy.js +++ b/commands/response/fishy.js @@ -19,7 +19,6 @@ module.exports = class FishyCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); let fish = [':fish:', ':tropical_fish:', ':blowfish:']; fish = fish[Math.floor(Math.random() * fish.length)]; return message.say(`You caught a: ${fish}`); diff --git a/commands/response/fortune.js b/commands/response/fortune.js index 451486d0..b5558c54 100644 --- a/commands/response/fortune.js +++ b/commands/response/fortune.js @@ -18,7 +18,6 @@ module.exports = class FortuneCookieCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); let fortunes = ['Do not seek so much to find the answer as much as to understand the question better.', 'You will soon be honored by someone you respect.', 'Happiness comes from a good life.', 'You are contemplating some action which will bring credit upon you.', 'Be prepared for extra energy.', 'You are admired for your adventurous ways.', 'The love of your life is sitting across from you.', 'Beauty is simply beauty. Originality is magical.', 'Never quit!', 'Today is an ideal time to water your personal garden.', 'Questions provide the key to unlocking our unlimited potential.', 'Expect great things and great things will come.', 'The Greatest War Sometimes Isn\'t On The Battlefield But Against Oneself.', 'Become who you are.', 'In case of fire, keep calm, pay bill and run.', 'Anyone who dares to be, can never be weak.', 'You broke my cookie!', 'Dream lofty dreams, and as you dream, so shall you become.', 'You\'ve got what it takes, but it will take everything you\'ve got!', 'Trust your intuition.', 'The wise are aware of their treasure, while fools follow their vanity.', 'You will always have good luck in your personal affairs.', 'You don\'t need talent to gain experience.', 'All the preparation you\'ve done will finally be paying off!', 'Determination is the wake-up call to the human will.', 'The most useless energy is trying to change what and who God so carefully created.', 'You cannot become rich except by enriching others.', 'Your happiness is intertwined with your outlook on life.', 'Sing and rejoice, fortune is smiling on you.', 'Well-arranged time is the surest sign of a well-arranged mind.']; fortunes = fortunes[Math.floor(Math.random() * fortunes.length)]; return message.say(fortunes); diff --git a/commands/response/motivate.js b/commands/response/motivate.js index 29d7d090..80e91b2e 100644 --- a/commands/response/motivate.js +++ b/commands/response/motivate.js @@ -25,7 +25,6 @@ module.exports = class MotivateCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const userToMotivate = args.thing || message.author; return message.say(`${userToMotivate}, https://www.youtube.com/watch?v=ZXsQAXx_ao0`); } diff --git a/commands/response/name.js b/commands/response/name.js index 3793c9fb..5afe3e1f 100644 --- a/commands/response/name.js +++ b/commands/response/name.js @@ -30,7 +30,6 @@ module.exports = class RandomNameCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); let randomFirstMale = ['Bob', 'Daniel', 'Logan', 'Chris', 'Nathan', 'George', 'Mart', 'Charlie', 'Felix', 'Ralph', 'William', 'Max', 'Jerry', 'Marty', 'Joshua', 'Cody', 'Richard', 'Alex', 'Alexander', 'Jordan', 'Zachary', 'Bill', 'Alfred', 'Bruce', 'Caiden', 'Calvin', 'Eric', 'Robert', 'Mark', 'Miles', 'Nash', 'Ronald', 'Ivan', 'Edgar', 'Royal', 'Augustine', 'Dominic', 'Noel', 'Rocky', 'Grover', 'Paul', 'Jeremy', 'Stevie', 'Brock', 'Jc', 'Tony', 'Enoch', 'Zachery', 'Harvey', 'Gilbert', 'Chang', 'Emery', 'Carroll', 'Odell', 'Jean', 'Archie', 'Russ', 'Barry', 'Lowell', 'Jacob', 'Riku', 'Frederic', 'Levi', 'Faustino', 'Leland', 'Domenic', 'Irwin', 'Moises', 'Louie', 'Larry', 'Victor']; randomFirstMale = randomFirstMale[Math.floor(Math.random() * randomFirstMale.length)]; let randomFirstFemale = ['Elizabeth', 'Chelsey', 'Rachel', 'Logan', 'Alex', 'Jordan', 'Mary', 'Shirley', 'Sandy', 'Linda', 'Audrey', 'Autumn', 'Gracie', 'Grace', 'Erin', 'Catherine', 'Stephanie', 'Lucy', 'Patty', 'Julie', 'Christina', 'Fiona', 'Riley', 'Ashley', 'Bree', 'Lucila', 'Wendi', 'Evangelina', 'Ricki', 'Merna', 'Tegan', 'Venus', 'Claris', 'Tana', 'Sakura', 'Edythe', 'Adena', 'Princess', 'Elnora', 'Star', 'Edyth', 'Beverly', 'Kelsie', 'Letha', 'Latisha', 'Lolita', 'Bernandine', 'Jessenia', 'Hannah', 'Leonore', 'Alene', 'Fannie', 'Bernardine', 'Leena', 'Tera', 'Yvette', 'Melisa', 'Alissa', 'Xiao', 'Richelle', 'Bridgett', 'Sumiko', 'Paulette', 'Charlott', 'Honey', 'Veola', 'Sherita', 'Amanda', 'Vannessa', 'April', 'Ruth']; diff --git a/commands/response/offspring.js b/commands/response/offspring.js index 37ea9baf..41ac7117 100644 --- a/commands/response/offspring.js +++ b/commands/response/offspring.js @@ -19,7 +19,6 @@ module.exports = class OffspringCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); let gender = ['boy', 'girl']; gender = gender[Math.floor(Math.random() * gender.length)]; return message.say(`It's a ${gender}!`); diff --git a/commands/response/potato.js b/commands/response/potato.js index 5c36bbbe..839305d4 100644 --- a/commands/response/potato.js +++ b/commands/response/potato.js @@ -19,7 +19,6 @@ module.exports = class PotatoCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); let potato = ['1.jpg', '2.jpg', '3.jpg', '4.jpg', '5.gif', '6.png', '7.jpg', '8.jpg', '9.jpg']; potato = potato[Math.floor(Math.random() * potato.length)]; return message.channel.sendFile(`./images/Potato${potato}`); diff --git a/commands/response/pun.js b/commands/response/pun.js index 6b224b84..3205d131 100644 --- a/commands/response/pun.js +++ b/commands/response/pun.js @@ -16,7 +16,6 @@ module.exports = class RandomPunCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); let pun = ['1.jpg', '2.jpg', '3.jpg', '4.jpg', '5.jpg', '6.jpg', '7.jpg', '8.png', '9.jpg', '10.jpg', '11.jpg', '12.jpg', '13.jpg', '14.jpg', '15.jpg', '16.jpg', '17.jpg', '18.jpg', '19.jpg', '20.jpg', '21.jpg', '22.jpg', '23.jpg', '24.jpg', '25.jpg', '26.jpg', '27.jpg', '28.jpg', '29.jpg', '30.jpeg', '31.jpg', '32.jpg', '33.jpg', '34.png', '35.jpg', '36.jpg', '37.jpg', '38.jpg', '39.jpg', '40.jpg', '41.jpg', '42.jpg', '43.jpg', '44.jpg', '45.gif', '46.jpg', '47.jpg', '48.jpg', '49.jpg', '50.jpg', '51.jpg', '52.jpg', '53.jpg']; pun = pun[Math.floor(Math.random() * pun.length)]; return message.channel.sendFile(`./images/Pun${pun}`); diff --git a/commands/response/quantumcoin.js b/commands/response/quantumcoin.js index 29bbc239..a9d2b691 100644 --- a/commands/response/quantumcoin.js +++ b/commands/response/quantumcoin.js @@ -20,7 +20,6 @@ module.exports = class QuantumCoinCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); let qcoin = ['on nothing', 'on NaN', 'on 0', 'in the air', 'on null']; qcoin = qcoin[Math.floor(Math.random() * qcoin.length)]; return message.say(`It landed ${qcoin}.`); diff --git a/commands/response/ratewaifu.js b/commands/response/ratewaifu.js index df7e38ca..a2b462fe 100644 --- a/commands/response/ratewaifu.js +++ b/commands/response/ratewaifu.js @@ -23,7 +23,6 @@ module.exports = class RateWaifuCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const waifuToRate = args.waifu; const rating = Math.floor(Math.random() * 10) + 1; return message.say(`I'd give ${waifuToRate} a ${rating}/10!`); diff --git a/commands/response/roast.js b/commands/response/roast.js index 0fb3b666..869a409d 100644 --- a/commands/response/roast.js +++ b/commands/response/roast.js @@ -24,7 +24,6 @@ module.exports = class RoastCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const userToRoast = args.thing || message.author; let roasts = ['*puts you in the oven*', 'You\'re so stupid.', 'Sorry, I can\'t hear you over how annoying you are.', 'I\'ve got better things to do.', 'You\'re as dumb as Cleverbot.', 'Your IQ is lower than the Mariana Trench.', 'You\'re so annoying even the flies stay away from your stench.', 'Go away, please.', 'I\'d give you a nasty look but you\'ve already got one.', 'It looks like your face caught fire and someone tried to put it out with a hammer.', 'Your family tree must be a cactus because everyone on it is a prick.', 'Someday you will go far, and I hope you stay there.', 'The zoo called. They\'re wondering how you got out of your cage.', 'I was hoping for a battle of wits, but you appear to be unarmed.', 'You are proof that evolution can go in reverse.', 'Brains aren\'t everything, in your case, they\'re nothing.', 'Sorry I didn\'t get that, I don\'t speak idiot.', 'Why is it acceptable for you to be an idiot, but not for me to point it out?', 'We all sprang from apes, but you did not spring far enough.', 'You\'re an unknown command.', 'If you could go anywhere I chose, I\'d choose dead.', 'Even monkeys can go to space, so clearly you lack some potential.', 'It\'s brains over brawn, yet you have neither.', 'You look like a monkey, and you smell like one too.', 'Even among idiots you\'re lacking.', 'You fail even when you\'re doing absolutely nothing.', 'If there was a vote for \'least likely to succeed\' you\'d win first prize.', 'I\'m surrounded by idiots... Or, wait, that\'s just you.', 'I wanna go home. Well, really I just want to get away from the awful aroma you\'ve got going there.', 'Every time you touch me I have to go home and wash all my clothes nine times just to get a normal smell back.', 'If I had a dollar for every brain you don\'t have, I\'d have one dollar.', 'I\'d help you succeed but you\'re incapable.']; roasts = roasts[Math.floor(Math.random() * roasts.length)]; diff --git a/commands/response/roll.js b/commands/response/roll.js index c0c1b70a..df6cbe47 100644 --- a/commands/response/roll.js +++ b/commands/response/roll.js @@ -25,7 +25,6 @@ module.exports = class RollCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const value = args.number; const roll = Math.floor(Math.random() * value) + 1; return message.say(`You rolled a ${roll}.`); diff --git a/commands/response/roulette.js b/commands/response/roulette.js index 9255870a..4073b47b 100644 --- a/commands/response/roulette.js +++ b/commands/response/roulette.js @@ -22,7 +22,6 @@ module.exports = class RouletteCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); return message.say(`I choose ${message.guild.members.random().displayName}!`); } }; diff --git a/commands/response/ship.js b/commands/response/ship.js index 8fbee166..d2bcf90c 100644 --- a/commands/response/ship.js +++ b/commands/response/ship.js @@ -23,7 +23,6 @@ module.exports = class ShipCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToShip = args.things; const percentage = Math.floor(Math.random() * 100) + 1; return message.say(`I'd give ${thingToShip} a ${percentage}%!`); diff --git a/commands/response/vocaloid.js b/commands/response/vocaloid.js index b2d8f0c9..f7e2a40f 100644 --- a/commands/response/vocaloid.js +++ b/commands/response/vocaloid.js @@ -18,7 +18,6 @@ module.exports = class VocaloidCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); let songs = ['https://www.youtube.com/watch?v=ebAKoRcYFTA', 'https://www.youtube.com/watch?v=Mqps4anhz0Q', 'https://www.youtube.com/watch?v=AUEiHQOCQ2M', 'https://www.youtube.com/watch?v=oyteTOBxRm8', 'https://www.youtube.com/watch?v=uwwU55zBYlQ', 'https://www.youtube.com/watch?v=sSYoz0JmnZo', 'https://www.youtube.com/watch?v=NpU4dsXW6EI', 'https://www.youtube.com/watch?v=MzyXD8bNbvk', 'https://www.youtube.com/watch?v=hyV4qGAPKac', 'https://www.youtube.com/watch?v=pywNi6gD1FA', 'https://www.youtube.com/watch?v=17FEtaiWdVg', 'https://www.youtube.com/watch?v=fmrA-gxJxgQ', 'https://www.youtube.com/watch?v=yOBWgSPrYVA', 'https://www.youtube.com/watch?v=nCaqf9WhqOY', 'https://www.youtube.com/watch?v=cQKGUgOfD8U', 'https://www.youtube.com/watch?v=sK92X82T3Sk', 'https://www.youtube.com/watch?v=AH5_sKwDw1E', 'https://www.youtube.com/watch?v=dw-KJNqcK-Q', 'https://www.youtube.com/watch?v=X47JmmqbMvc', 'https://www.youtube.com/watch?v=ojQPpYVQt7U', 'https://www.amazon.com/Gogatsu-Yamai-feat-Kagamine-Len/dp/B00P1BG27S', 'https://www.youtube.com/watch?v=N1-Z8uslIsI', 'https://www.youtube.com/watch?v=EAgk-t2zzqw', 'https://www.youtube.com/watch?v=uLBC2kWYFo8', 'https://www.youtube.com/watch?v=OXHYIlkZLUU', 'https://www.youtube.com/watch?v=ObIa9wXbyMQ', 'https://www.youtube.com/watch?v=dGNoCICGmo0', 'https://www.youtube.com/watch?v=LcoyEZkTKfY', 'https://www.youtube.com/watch?v=mKHaW0qd5Mw', 'https://www.youtube.com/watch?v=GG627DYk_E4', 'https://www.youtube.com/watch?v=jTm6Q5Pj_Jo', 'https://www.youtube.com/watch?v=TVeIDmk3rBo', 'https://www.youtube.com/watch?v=1K3in6w9tt4', 'https://www.youtube.com/watch?v=07r67gGbtLQ', 'https://www.youtube.com/watch?v=243vPl8HdVk', 'https://www.youtube.com/watch?v=zweVJrnE1uY', 'https://www.youtube.com/watch?v=RKtoreimcQ8', 'https://www.youtube.com/watch?v=Je6dCVfHvkU', 'https://www.youtube.com/watch?v=UxFv12y_evM', 'https://www.youtube.com/watch?v=2HegQtmJeto', 'https://www.youtube.com/watch?v=8-Epnpruww0']; songs = songs[Math.floor(Math.random() * songs.length)]; return message.say(songs); diff --git a/commands/response/xiaopai.js b/commands/response/xiaopai.js index 14a06e4e..433c66be 100644 --- a/commands/response/xiaopai.js +++ b/commands/response/xiaopai.js @@ -19,7 +19,6 @@ module.exports = class XiaoCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return message.say(':x: Error! I don\'t have the Attach Files Permission!'); } - console.log(`[Command] ${message.content}`); let XiaoPai = ['1.png', '2.jpg', '3.jpg', '4.jpg', '5.jpg', '6.jpg', '7.jpg', '8.png', '9.png', '10.png', '11.png', '12.png', '13.jpg', '14.jpg', '15.png', '16.jpg', '17.png', '18.gif', '19.png', '20.jpg', '21.jpg']; XiaoPai = XiaoPai[Math.floor(Math.random() * XiaoPai.length)]; return message.channel.sendFile(`./images/Xiao${XiaoPai}`); diff --git a/commands/roleplay/cuddle.js b/commands/roleplay/cuddle.js index 8f1d3985..d8700c0a 100644 --- a/commands/roleplay/cuddle.js +++ b/commands/roleplay/cuddle.js @@ -20,7 +20,6 @@ module.exports = class CuddleCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *cuddles* ${thingToRoleplay}`); } diff --git a/commands/roleplay/divorce.js b/commands/roleplay/divorce.js index f322fc0f..42627eac 100644 --- a/commands/roleplay/divorce.js +++ b/commands/roleplay/divorce.js @@ -20,7 +20,6 @@ module.exports = class DivorceCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *divorces* ${thingToRoleplay}`); } diff --git a/commands/roleplay/eat.js b/commands/roleplay/eat.js index 790f282b..a4e4766d 100644 --- a/commands/roleplay/eat.js +++ b/commands/roleplay/eat.js @@ -20,7 +20,6 @@ module.exports = class EatCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *eats* ${thingToRoleplay}`); } diff --git a/commands/roleplay/falconpunch.js b/commands/roleplay/falconpunch.js index 64adf32a..7c338bdb 100644 --- a/commands/roleplay/falconpunch.js +++ b/commands/roleplay/falconpunch.js @@ -20,7 +20,6 @@ module.exports = class FalconPunchCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *falcon punches* ${thingToRoleplay}`); } diff --git a/commands/roleplay/fistbump.js b/commands/roleplay/fistbump.js index bbfdc8f2..252a27d5 100644 --- a/commands/roleplay/fistbump.js +++ b/commands/roleplay/fistbump.js @@ -20,7 +20,6 @@ module.exports = class FistBumpCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *fist-bumps* ${thingToRoleplay} *badalalala*`); } diff --git a/commands/roleplay/highfive.js b/commands/roleplay/highfive.js index 300341d6..d4585034 100644 --- a/commands/roleplay/highfive.js +++ b/commands/roleplay/highfive.js @@ -20,7 +20,6 @@ module.exports = class HighFivesCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *high-fives* ${thingToRoleplay}`); } diff --git a/commands/roleplay/hitwithshovel.js b/commands/roleplay/hitwithshovel.js index 43d23436..9fd1ce0d 100644 --- a/commands/roleplay/hitwithshovel.js +++ b/commands/roleplay/hitwithshovel.js @@ -20,7 +20,6 @@ module.exports = class HitwithShovelCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *hits* ${thingToRoleplay} *with a shovel*`); } diff --git a/commands/roleplay/hug.js b/commands/roleplay/hug.js index c8f03bcf..972eff61 100644 --- a/commands/roleplay/hug.js +++ b/commands/roleplay/hug.js @@ -20,7 +20,6 @@ module.exports = class HugCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *hugs* ${thingToRoleplay}`); } diff --git a/commands/roleplay/inhales.js b/commands/roleplay/inhales.js index 3594bee1..25df73b3 100644 --- a/commands/roleplay/inhales.js +++ b/commands/roleplay/inhales.js @@ -20,7 +20,6 @@ module.exports = class InhaleCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *inhales* ${thingToRoleplay} *but gained no ability...*`); } diff --git a/commands/roleplay/kill.js b/commands/roleplay/kill.js index 21ce99b6..7743f737 100644 --- a/commands/roleplay/kill.js +++ b/commands/roleplay/kill.js @@ -20,7 +20,6 @@ module.exports = class KillCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *kills* ${thingToRoleplay}`); } diff --git a/commands/roleplay/kiss.js b/commands/roleplay/kiss.js index 460c6c83..8ef50b81 100644 --- a/commands/roleplay/kiss.js +++ b/commands/roleplay/kiss.js @@ -20,7 +20,6 @@ module.exports = class KissCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *kisses* ${thingToRoleplay}`); } diff --git a/commands/roleplay/marries.js b/commands/roleplay/marries.js index 92547fae..b2f899ca 100644 --- a/commands/roleplay/marries.js +++ b/commands/roleplay/marries.js @@ -20,7 +20,6 @@ module.exports = class MarryCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *marries* ${thingToRoleplay}`); } diff --git a/commands/roleplay/pat.js b/commands/roleplay/pat.js index 16056fd7..6e0a023f 100644 --- a/commands/roleplay/pat.js +++ b/commands/roleplay/pat.js @@ -20,7 +20,6 @@ module.exports = class PatCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *pats* ${thingToRoleplay}`); } diff --git a/commands/roleplay/poke.js b/commands/roleplay/poke.js index 58f67c00..e70fdad8 100644 --- a/commands/roleplay/poke.js +++ b/commands/roleplay/poke.js @@ -20,7 +20,6 @@ module.exports = class PokeCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *pokes* ${thingToRoleplay}`); } diff --git a/commands/roleplay/punch.js b/commands/roleplay/punch.js index 78503c51..9c8013fa 100644 --- a/commands/roleplay/punch.js +++ b/commands/roleplay/punch.js @@ -20,7 +20,6 @@ module.exports = class PunchCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *punches* ${thingToRoleplay}`); } diff --git a/commands/roleplay/slap.js b/commands/roleplay/slap.js index aed3ad28..629af87a 100644 --- a/commands/roleplay/slap.js +++ b/commands/roleplay/slap.js @@ -20,7 +20,6 @@ module.exports = class SlapCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToRoleplay = args.thing; return message.say(`${message.author} *slaps* ${thingToRoleplay}`); } diff --git a/commands/search/botinfo.js b/commands/search/botinfo.js index 2dd3d9d9..65965e4b 100644 --- a/commands/search/botinfo.js +++ b/commands/search/botinfo.js @@ -27,7 +27,6 @@ module.exports = class BotSearchCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const botToFind = args.bot.id; try { const response = await request diff --git a/commands/search/define.js b/commands/search/define.js index df9cfba6..2c1ce71c 100644 --- a/commands/search/define.js +++ b/commands/search/define.js @@ -29,7 +29,6 @@ module.exports = class DefineCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const defineThis = encodeURI(args.word); try { const response = await request diff --git a/commands/search/discrim.js b/commands/search/discrim.js index 7bf7cc91..7340fa80 100644 --- a/commands/search/discrim.js +++ b/commands/search/discrim.js @@ -32,7 +32,6 @@ module.exports = class DiscrimCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const userToSearch = args.discrim; const users = await this.client.users.filter(u => u.discriminator === userToSearch).map(u => u.username).sort(); const embed = new Discord.RichEmbed() diff --git a/commands/search/forecast.js b/commands/search/forecast.js index 15237c85..eaa18269 100644 --- a/commands/search/forecast.js +++ b/commands/search/forecast.js @@ -26,7 +26,6 @@ module.exports = class ForecastCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const locationToSearch = args.locationQ; try { const response = await request diff --git a/commands/search/google.js b/commands/search/google.js index e7ca4b9a..6db88491 100644 --- a/commands/search/google.js +++ b/commands/search/google.js @@ -26,7 +26,6 @@ module.exports = class GoogleCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToSearch = args.query; const searchMsg = await message.say('Searching...'); try { diff --git a/commands/search/imdb.js b/commands/search/imdb.js index 7fc023b2..d63333e7 100644 --- a/commands/search/imdb.js +++ b/commands/search/imdb.js @@ -28,7 +28,6 @@ module.exports = class IMDBCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const queryMovie = args.movie; try { const response = await request diff --git a/commands/search/neopet.js b/commands/search/neopet.js index 77b205f4..d5ccb225 100644 --- a/commands/search/neopet.js +++ b/commands/search/neopet.js @@ -20,7 +20,6 @@ module.exports = class NeopetCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const petID = args.pet; return message.say(`http://pets.neopets.com/cp/${petID}/1/5.png`); } diff --git a/commands/search/osu.js b/commands/search/osu.js index 06e2f02c..58ef4603 100644 --- a/commands/search/osu.js +++ b/commands/search/osu.js @@ -28,7 +28,6 @@ module.exports = class OsuCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const usernameToSearch = args.username; try { const response = await request diff --git a/commands/search/pokedex.js b/commands/search/pokedex.js index c4f1b6d0..092c25c3 100644 --- a/commands/search/pokedex.js +++ b/commands/search/pokedex.js @@ -32,7 +32,6 @@ module.exports = class PokedexCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const pokemon = args.pokemon.toLowerCase(); const embed = new Discord.RichEmbed() .setTitle('Information') diff --git a/commands/search/urban.js b/commands/search/urban.js index f37f8707..2b7aba9e 100644 --- a/commands/search/urban.js +++ b/commands/search/urban.js @@ -28,7 +28,6 @@ module.exports = class UrbanCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const wordToDefine = args.word; try { const response = await request diff --git a/commands/search/wattpad.js b/commands/search/wattpad.js index 4c31ba5e..4ef104ba 100644 --- a/commands/search/wattpad.js +++ b/commands/search/wattpad.js @@ -23,7 +23,6 @@ module.exports = class WattpadCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const queryBook = args.book; try { const response = await request diff --git a/commands/search/weather.js b/commands/search/weather.js index bc3a4551..a11ac582 100644 --- a/commands/search/weather.js +++ b/commands/search/weather.js @@ -23,7 +23,6 @@ module.exports = class WeatherCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const locationToSearch = args.locationQ; try { const response = await request diff --git a/commands/search/wikipedia.js b/commands/search/wikipedia.js index 229697bd..3a18fb8a 100644 --- a/commands/search/wikipedia.js +++ b/commands/search/wikipedia.js @@ -23,7 +23,6 @@ module.exports = class WikipediaCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const thingToSearch = args.query.split(')').join('%29'); const title = encodeURI(thingToSearch); try { diff --git a/commands/search/youtube.js b/commands/search/youtube.js index c13e8db4..8c4fea54 100644 --- a/commands/search/youtube.js +++ b/commands/search/youtube.js @@ -26,7 +26,6 @@ module.exports = class YouTubeCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const videoToSearch = args.video; try { const response = await request diff --git a/commands/search/yugioh.js b/commands/search/yugioh.js index 7b531e7c..624d2870 100644 --- a/commands/search/yugioh.js +++ b/commands/search/yugioh.js @@ -23,7 +23,6 @@ module.exports = class YuGiOhCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const cardName = encodeURI(args.card); try { const response = await request diff --git a/commands/textedit/binary.js b/commands/textedit/binary.js index bc61a65f..fe443012 100644 --- a/commands/textedit/binary.js +++ b/commands/textedit/binary.js @@ -27,7 +27,6 @@ module.exports = class BinaryCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const turnToBinary = args.text; const binaryText = stringToBinary(turnToBinary); return message.say(binaryText); diff --git a/commands/textedit/cowsay.js b/commands/textedit/cowsay.js index 55a1a1d5..681744e0 100644 --- a/commands/textedit/cowsay.js +++ b/commands/textedit/cowsay.js @@ -21,7 +21,6 @@ module.exports = class CowsayCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const turnToCowsay = args.text; return message.code(null, cowsay.say({ text: turnToCowsay, diff --git a/commands/textedit/embed.js b/commands/textedit/embed.js index 714b333e..3d7ea068 100644 --- a/commands/textedit/embed.js +++ b/commands/textedit/embed.js @@ -24,7 +24,6 @@ module.exports = class EmbedCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); if (!message.channel.permissionsFor(this.client.user).hasPermission('MANAGE_MESSAGES')) return message.say(':x: Error! I don\'t have the Manage Messages Permission!'); } - console.log(`[Command] ${message.content}`); const embedMessage = args.text; const embed = new Discord.RichEmbed() .setAuthor(message.author.username, message.author.avatarURL) diff --git a/commands/textedit/morse.js b/commands/textedit/morse.js index 538c062c..21e0e7f2 100644 --- a/commands/textedit/morse.js +++ b/commands/textedit/morse.js @@ -30,7 +30,6 @@ module.exports = class MorseCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const toMorse = args.text; const morseEncoded = morse.encode(toMorse); return message.say(morseEncoded); diff --git a/commands/textedit/pirate.js b/commands/textedit/pirate.js index fc78f95c..10328a37 100644 --- a/commands/textedit/pirate.js +++ b/commands/textedit/pirate.js @@ -31,7 +31,6 @@ module.exports = class PirateCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const turnToPirate = args.text; const pirate = pirateSpeak.translate(turnToPirate); if (pirate.length > 1950) return message.say(':x: Error! Your message is too long!'); diff --git a/commands/textedit/reverse.js b/commands/textedit/reverse.js index d34c9140..eeffb884 100644 --- a/commands/textedit/reverse.js +++ b/commands/textedit/reverse.js @@ -20,7 +20,6 @@ module.exports = class ReverseCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const stringToReverse = args.text; const reversed = stringToReverse.split('').reverse().join(''); return message.say(`\u180E${reversed}`); diff --git a/commands/textedit/romaji.js b/commands/textedit/romaji.js index 4c73e3a0..4175e51c 100644 --- a/commands/textedit/romaji.js +++ b/commands/textedit/romaji.js @@ -33,7 +33,6 @@ module.exports = class RomajiCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const romajify = args.kana; const romajified = hepburn.fromKana(romajify); return message.say(romajified); diff --git a/commands/textedit/say.js b/commands/textedit/say.js index 9d14873a..44f3043b 100644 --- a/commands/textedit/say.js +++ b/commands/textedit/say.js @@ -28,7 +28,6 @@ module.exports = class SayCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('MANAGE_MESSAGES')) return message.say(':x: Error! I don\'t have the Manage Messages Permission!'); } - console.log(`[Command] ${message.content}`); const copycat = args.text; await message.delete(); return message.say(`\u180E${copycat}`); diff --git a/commands/textedit/shuffle.js b/commands/textedit/shuffle.js index 7bde7a91..4a411df0 100644 --- a/commands/textedit/shuffle.js +++ b/commands/textedit/shuffle.js @@ -32,7 +32,6 @@ module.exports = class ShuffleCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const thingToShuffle = args.text; return message.say(`\u180E${thingToShuffle.shuffle()}`); } diff --git a/commands/textedit/translate.js b/commands/textedit/translate.js index 174a0b1f..ba99ec05 100644 --- a/commands/textedit/translate.js +++ b/commands/textedit/translate.js @@ -135,7 +135,6 @@ module.exports = class TranslateCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const languageto = args.to.toLowerCase(); const query = args.text; try { diff --git a/commands/textedit/webhook.js b/commands/textedit/webhook.js index eadee1f0..924fc5d8 100644 --- a/commands/textedit/webhook.js +++ b/commands/textedit/webhook.js @@ -30,7 +30,6 @@ module.exports = class WebhookCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('MANAGE_MESSAGES')) return message.say(':x: Error! I don\'t have the Manage Messages Permission!'); } - console.log(`[Command] ${message.content}`); const content = args.text; try { await message.delete(); diff --git a/commands/textedit/yoda.js b/commands/textedit/yoda.js index 4bb5842c..ef4c0483 100644 --- a/commands/textedit/yoda.js +++ b/commands/textedit/yoda.js @@ -21,7 +21,6 @@ module.exports = class YodaCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const turnToYoda = args.text; try { const response = await request diff --git a/commands/textedit/zalgo.js b/commands/textedit/zalgo.js index a76a5203..b150ecd6 100644 --- a/commands/textedit/zalgo.js +++ b/commands/textedit/zalgo.js @@ -27,7 +27,6 @@ module.exports = class ZalgoCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const zalgoified = zalgo(args.text); return message.say(`\u180E${zalgoified}`); } diff --git a/commands/userinfo/avatar.js b/commands/userinfo/avatar.js index f1c8768b..4e8587e6 100644 --- a/commands/userinfo/avatar.js +++ b/commands/userinfo/avatar.js @@ -20,7 +20,6 @@ module.exports = class AvatarCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const user = args.user; return message.say(user.displayAvatarURL); } diff --git a/commands/userinfo/userinfo.js b/commands/userinfo/userinfo.js index d9d07e9b..dc7e3359 100644 --- a/commands/userinfo/userinfo.js +++ b/commands/userinfo/userinfo.js @@ -30,7 +30,6 @@ module.exports = class UserInfoCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!'); } - console.log(`[Command] ${message.content}`); const user = args.user; let stat; let color; diff --git a/commands/util/sendDM.js b/commands/util/sendDM.js index 279bdc58..cb531177 100644 --- a/commands/util/sendDM.js +++ b/commands/util/sendDM.js @@ -37,7 +37,6 @@ module.exports = class SendDMCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const userID = args.userid; const content = args.content; try { diff --git a/commands/util/servers.js b/commands/util/servers.js index 71887041..3e8765c6 100644 --- a/commands/util/servers.js +++ b/commands/util/servers.js @@ -21,7 +21,6 @@ module.exports = class ServersCommand extends commando.Command { if (message.channel.type !== 'dm') { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } - console.log(`[Command] ${message.content}`); const guildCount = this.client.guilds.size; const guildNames = this.client.guilds.map(g => `${g.name} (${g.id})`).join(', '); console.log(`${guildCount} Servers: ${guildNames}`); diff --git a/package.json b/package.json index 9fef8d34..80126dd1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "21.0.2", + "version": "21.1.0", "description": "A Discord Bot", "main": "shardingmanager.js", "repository": {