From 3550d5c5027e56327001b2e4ee9e4b0b73591bfe Mon Sep 17 00:00:00 2001 From: bmintz Date: Tue, 14 Aug 2018 00:08:34 -0500 Subject: [PATCH] cogs/emote: remove one print, add another --- cogs/emote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/emote.py b/cogs/emote.py index 265605a..2dd5ae4 100644 --- a/cogs/emote.py +++ b/cogs/emote.py @@ -52,6 +52,7 @@ class Emotes: not context.author.guild_permissions.manage_emojis or not context.guild.me.guild_permissions.manage_emojis ): + logger.error('emote: check failed') raise errors.MissingManageEmojisPermission return True @@ -139,7 +140,6 @@ class Emotes: async with self.http.get( self.bot.config['ec_api_url'] + '/emote/' + urllib.parse.quote(name, safe='') ) as resp: - print(resp.url) if resp.status == 404: return await context.send("Emote not found in Emoji Connoisseur's database.")