【发布时间】:2021-02-03 14:12:58
【问题描述】:
我阅读了这些文件,但找不到任何有用的东西。这是我的代码:
我想将 :star_struck: 表情符号添加到一个反应中(默认的不和谐) 我在这个网站上查找了 UNICODE:https://unicode.org/emoji/charts/full-emoji-list.html
if "clan" in message.content.lower():
emoji = '\N{STAR-STRUCK}'
await message.add_reaction(emoji)
它说:Unicode 错误:Unicodeescape 无法解码.....
提前致谢!
【问题讨论】:
标签: python discord discord.py