Make the dale reaction work on lower case and upper case
This commit is contained in:
parent
3f9883892f
commit
91694ffb28
@ -49,7 +49,7 @@ async def fix_cdn_url(ctx):
|
|||||||
|
|
||||||
@bot.listen('on_message')
|
@bot.listen('on_message')
|
||||||
async def react_with_dale(ctx):
|
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')
|
emoji = discord.utils.get(ctx.guild.emojis, name='dale')
|
||||||
if emoji:
|
if emoji:
|
||||||
await ctx.add_reaction(emoji)
|
await ctx.add_reaction(emoji)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user