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

rename to Emote Collector

This commit is contained in:
bmintz 2018-09-09 04:16:42 +00:00
parent ac8a9aa320
commit 0523b2116f

View file

@ -134,22 +134,22 @@ class Emotes:
@commands.command(name='add-from-ec', aliases=['addfromec']) @commands.command(name='add-from-ec', aliases=['addfromec'])
async def add_from_ec(self, context, name): async def add_from_ec(self, context, name):
"""Copies an emote from Emoji Connoisseur to your server. """Copies an emote from Emote Collector to your server.
The list of possible emotes you can copy is here: The list of possible emotes you can copy is here:
https://emoji-connoissuer.python-for.life/list https://emote-collector.python-for.life/list
""" """
name = name.strip(':') name = name.strip(':')
try: try:
emote = await self.aioec.emote(name) emote = await self.aioec.emote(name)
except aioec.NotFound: except aioec.NotFound:
return await context.send("Emote not found in Emoji Connoisseur's database.") return await context.send("Emote not found in Emote Collector's database.")
except aioec.HttpException as exception: except aioec.HttpException as exception:
return await context.send( return await context.send(
f'Error: the Emoji Connoisseur API returned status code {exception.status}') f'Error: the Emote Collector API returned status code {exception.status}')
reason = ( reason = (
f'Added from Emoji Connoisseur by {utils.format_user(self.bot, context.author.id)}. ' f'Added from Emote Collector by {utils.format_user(self.bot, context.author.id)}. '
f'Original emote author: {utils.format_user(self.bot, emote.author)}') f'Original emote author: {utils.format_user(self.bot, emote.author)}')
async with context.typing(): async with context.typing():