diff --git a/cogs/players.py b/cogs/players.py index 4c5a727..c1d9f49 100644 --- a/cogs/players.py +++ b/cogs/players.py @@ -507,6 +507,10 @@ class Players(commands.Cog): ping_role = get_role(message, 'Deez Watch', self.bot) await message.channel.send(f'{ping_role.mention} there is a **{chance}** chance this is a deez nuts joke.') + elif '647270634891640855' in tm: + # emoji = await get_emoji(message, 'HYPE') + basebally = message.guild.get_member(258104532423147520) + await message.channel.send(f'{basebally.mention} <:FTDH:647270634891640855> ALERT') # elif 'fifa' in tm or 'soccer' in tm or 'world cup' in tm or 'the wc' in tm or 'this wc' in tm or 'futbol' in tm: # randint = random.randint(1, 5) @@ -1126,7 +1130,6 @@ class Players(commands.Cog): embed=embed ) - @commands.command(name='weather', help='Roll ballpark weather') async def weather_command(self, ctx, team_abbrev=None): current = await db_get('current') diff --git a/helpers.py b/helpers.py index 6426aae..dda44be 100644 --- a/helpers.py +++ b/helpers.py @@ -634,9 +634,11 @@ def random_soccer(): async def get_emoji(ctx, name, return_empty=True): + logger.info(f'Looking up {name} emoji') try: emoji = await commands.converter.EmojiConverter().convert(ctx, name) - except: + except Exception as e: + logger.error(e, exc_info=True) if return_empty: emoji = '' else: