cogs/emote: remove one print, add another

This commit is contained in:
bmintz 2018-08-14 00:08:34 -05:00
parent 7b843d0bd9
commit 3550d5c502
1 changed files with 1 additions and 1 deletions

View File

@ -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.")