Add EmojiInfo cog #27
1 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue