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 badges1 Answer
Reset to default 0embed = {
"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
版权声明:本文标题:python - Discord Embed Showing Emoji ID? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736591154a1945079.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论