Skip to content

Commit

Permalink
missing str.format kwarg for emojis
Browse files Browse the repository at this point in the history
  • Loading branch information
scragly committed Jun 5, 2018
1 parent 0876238 commit f6d1af0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meowth/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3970,8 +3970,8 @@ async def _wild(message, content):
wild_embed = discord.Embed(title=_('Meowth! Click here for my directions to the wild {pokemon}!').format(pokemon=entered_wild.title()), description=_("Ask {author} if my directions aren't perfect!").format(author=message.author.name), url=wild_gmaps_link, colour=message.guild.me.colour)
wild_embed.add_field(name=_('**Details:**'), value=_('{pokemon} ({pokemonnumber}) {type}').format(pokemon=entered_wild.capitalize(), pokemonnumber=str(wild_number), type=''.join(get_type(message.guild, wild_number))), inline=False)
wild_embed.set_thumbnail(url=wild_img_url)
wild_embed.add_field(name=_('**Reactions:**'), value=_("{emoji}: I'm on my way!").format("🏎"))
wild_embed.add_field(name='\u200b', value=_("{emoji}: The Pokemon despawned!").format("💨"))
wild_embed.add_field(name=_('**Reactions:**'), value=_("{emoji}: I'm on my way!").format(emoji="🏎"))
wild_embed.add_field(name='\u200b', value=_("{emoji}: The Pokemon despawned!").format(emoji="💨"))
wild_embed.set_footer(text=_('Reported by @{author} - {timestamp}').format(author=message.author.display_name, timestamp=timestamp), icon_url=message.author.avatar_url_as(format=None, static_format='jpg', size=32))
wildreportmsg = await message.channel.send(content=_('{roletest}Meowth! Wild {pokemon} reported by {member}! Details: {location_details}').format(roletest=roletest,pokemon=entered_wild.title(), member=message.author.mention, location_details=wild_details), embed=wild_embed)
await asyncio.sleep(0.25)
Expand Down

0 comments on commit f6d1af0

Please sign in to comment.