1
0
Fork 0
mirror of https://github.com/uhIgnacio/EmoteManager.git synced 2024-08-15 02:23:13 +00:00

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

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