misc(emojiinfo): verbosity
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 25s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 41s

This commit is contained in:
Seaswimmer 2024-05-17 00:46:25 -04:00
parent 3fd91d9776
commit d8758cfb1d
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -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"