[英]Can I make a custom emoji through the discord bot
我想用机器人制作表情符号。 但我找不到有关制作表情符号的任何信息。
所以我的问题是“我可以通过机器人制作表情符号吗?”
https://discordpy.readthedocs.io/en/latest/api.html#discord.Guild.create_custom_emoji
with open("my_emoji.jpg", 'rb') as fd:
await message.guild.create_custom_emoji(name='my_emoji', image=fd.read())
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.