From d65d04fa7a8ed7e987ec8e8bfb7edc76806193c9 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 8 May 2024 15:40:58 -0400 Subject: [PATCH] fix(emojiinfo): added group to the emojiinfo string --- emojiinfo/emojiinfo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emojiinfo/emojiinfo.py b/emojiinfo/emojiinfo.py index 646c107..1b0e640 100644 --- a/emojiinfo/emojiinfo.py +++ b/emojiinfo/emojiinfo.py @@ -74,16 +74,19 @@ class EmojiInfo(commands.Cog): markdown = f"`<{'a' if emoji.animated else ''}:{emoji.name}:{emoji.id}>`" name = f"{bold('Name:')} {emoji.name}\n" aliases = "" + group = "" else: emoji_id = "" markdown = f"`{emoji}`" name = f"{bold('Name:')} {emoji.aliases.pop(0)}\n" aliases = f"{bold('Aliases:')} {', '.join(emoji.aliases)}\n" if emoji.aliases else "" + group = f"{bold('Group:')} {emoji.group}\n" string: str = ( f"{name}" f"{emoji_id}" f"{bold('Native:')} {emoji.is_unicode_emoji()}\n" + f"{group}" f"{aliases}" f"{bold('Animated:')} {emoji.animated}\n" f"{bold('Markdown:')} {markdown}\n"