From d8758cfb1d4dc534867e2d055b222753917263ef Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 17 May 2024 00:46:25 -0400 Subject: [PATCH] misc(emojiinfo): verbosity --- emojiinfo/emojiinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emojiinfo/emojiinfo.py b/emojiinfo/emojiinfo.py index e6cbc99..8ec2a45 100644 --- a/emojiinfo/emojiinfo.py +++ b/emojiinfo/emojiinfo.py @@ -62,7 +62,7 @@ class EmojiInfo(commands.Cog): else: emoji_url = emoji.url - if emoji.id: + if emoji.id is not None: emoji_id = f"{bold('ID:')} `{emoji.id}`\n" markdown = f"`<{'a' if emoji.animated else ''}:{emoji.name}:{emoji.id}>`" name = f"{bold('Name:')} {emoji.name}\n"