From 1ed1eb26816098714cbda73b2fa1067d5334fe0a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 8 May 2024 14:35:47 -0400 Subject: [PATCH] fix(emojiinfo): fixed a syntax error --- emojiinfo/emojiinfo.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/emojiinfo/emojiinfo.py b/emojiinfo/emojiinfo.py index 5706a6f..5c0f652 100644 --- a/emojiinfo/emojiinfo.py +++ b/emojiinfo/emojiinfo.py @@ -61,16 +61,16 @@ class EmojiInfo(commands.Cog): else: emoji_url = emoji.url if emoji.id: - emoji_id = f"{bold("ID:")} `{emoji.id}`\n" + emoji_id = f"{bold('ID:')} `{emoji.id}`\n" else: emoji_id = "" string: str = ( - f"{bold("Name:")} {emoji}\n" + f"{bold('Name:')} {emoji}\n" f"{emoji_id}" - f"{bold("Native:")} {emoji.is_unicode_emoji()}\n" - f"{bold("Animated:")} {emoji.animated}\n" - f"{bold("Markdown:")} `:{emoji.name}:`\n" - f"{bold("URL:")} [Click Here]({emoji_url})" + f"{bold('Native:')} {emoji.is_unicode_emoji()}\n" + f"{bold('Animated:')} {emoji.animated}\n" + f"{bold('Markdown:')} `:{emoji.name}:`\n" + f"{bold('URL:')} [Click Here]({emoji_url})" ) if await ctx.embed_requested(): embed = embed = discord.Embed(title="Emoji Information", description=string, color = await self.fetch_primary_color(emoji_url) or await ctx.embed_color)