added reactions to pokemon command

This commit is contained in:
phixxy 2024-01-08 09:46:27 -08:00
parent b9302b7cff
commit 1e6f1019f1

View file

@ -1744,8 +1744,9 @@ async def pokemon(ctx, arg1=None, arg2=None, arg3=None, arg4=None):
embed.add_field(name="Types", value=type_str, inline=False) embed.add_field(name="Types", value=type_str, inline=False)
return embed return embed
async def add_pkmn_reacts(message):
await message.add_reaction('🥰')
await message.add_reaction('🍙')
if arg1=='start': if arg1=='start':
if not os.path.isdir("databases/pokemon/"): if not os.path.isdir("databases/pokemon/"):
@ -1791,7 +1792,8 @@ async def pokemon(ctx, arg1=None, arg2=None, arg3=None, arg4=None):
await ctx.channel.send("You don't have a buddy yet. Type ```!pokemon start``` to start your Pokemon journey!") await ctx.channel.send("You don't have a buddy yet. Type ```!pokemon start``` to start your Pokemon journey!")
else: else:
embed = await make_pmkn_embed(buddy_json) embed = await make_pmkn_embed(buddy_json)
await ctx.channel.send(embed=embed) message = await ctx.channel.send(embed=embed)
await add_pkmn_reacts(message)
return return