admin管理员组

文章数量:1123695

Here is a snippet of my embed:

embed = {
                "description": f"**TEST Notification** <a:blackops:1327144166131630192>",
                "color": 0xa020f0,  # Replace with the desired color
         }

self.discord.post(embeds=[embed])

Whenever I get a discord notification at the bottom right, it shows with the emoji id: Discord Notification

But when you open discord, it shows normal Opened Discord

Is there a way to avoid having the emoji id (<a:blackops:1327144166131630192>) show when a notification happens at the bottom right?

Here is a snippet of my embed:

embed = {
                "description": f"**TEST Notification** <a:blackops:1327144166131630192>",
                "color": 0xa020f0,  # Replace with the desired color
         }

self.discord.post(embeds=[embed])

Whenever I get a discord notification at the bottom right, it shows with the emoji id: Discord Notification

But when you open discord, it shows normal Opened Discord

Is there a way to avoid having the emoji id (<a:blackops:1327144166131630192>) show when a notification happens at the bottom right?

Share Improve this question edited yesterday Luke asked yesterday LukeLuke 12 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0
embed = {
    "description": f"**TEST Notification** <:blackops:1327144166131630192>",
    "color": 0xa020f0,  # Replace with the desired color
}

self.discord.post(embeds=[embed])

Instead of using the ID format directly, use the format <:name:id> for non-animated emojis

本文标签: pythonDiscord Embed Showing Emoji IDStack Overflow