From 2c2b7d00357b7e7685142d1e2d6b4f5da0c33a14 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 23 May 2017 23:46:50 +0000 Subject: [PATCH] Force Star Logs Removal --- XiaoBot.js | 1 - commands/random/star.js | 1 - 2 files changed, 2 deletions(-) diff --git a/XiaoBot.js b/XiaoBot.js index eebf7f7f..875b3c3e 100644 --- a/XiaoBot.js +++ b/XiaoBot.js @@ -89,7 +89,6 @@ client.on('messageReactionAdd', (reaction, user) => { reaction.remove(user); return msg.reply('You cannot star your own messages, idiot'); } - console.log(msg.id); client.registry.resolveCommand('random:star').run(msg, { id: msg.id }, true); }); diff --git a/commands/random/star.js b/commands/random/star.js index d17c7578..92438e60 100644 --- a/commands/random/star.js +++ b/commands/random/star.js @@ -28,7 +28,6 @@ module.exports = class StarCommand extends Command { const channel = msg.guild.channels.get(msg.guild.settings.get('starboard')); if (!channel || !channel.permissionsFor(this.client.user).has('EMBED_LINKS')) return null; try { - console.log(msg.id); const message = await msg.channel.fetchMessage(id); if (!reaction && msg.author.id === message.author.id) return msg.reply('You cannot star your own messages, idiot.');