Make the dale reaction work on lower case and upper case

This commit is contained in:
Luke Robles 2021-09-08 08:51:34 -07:00
parent 3f9883892f
commit 91694ffb28

View File

@ -49,7 +49,7 @@ async def fix_cdn_url(ctx):
@bot.listen('on_message')
async def react_with_dale(ctx):
if 'dale' in ctx.content:
if 'dale' in ctx.content.lower():
emoji = discord.utils.get(ctx.guild.emojis, name='dale')
if emoji:
await ctx.add_reaction(emoji)