首页 > 解决方案 > discord.net 如何转换为 IEmote

问题描述

我正在尝试从不和谐机器人发送的消息中接收反应

var message = await Context.Channel.SendMessageAsync("", false, MyEmbedBuilder.Build());
IReadOnlyCollection<IUser> temp = await message.GetReactionUsersAsync("", 1000, null);

当我尝试这个时,我得到了这个错误

错误 CS1503 参数 1:无法从“字符串”转换为“Discord.IEmote”

标签: .netdiscorddiscord.net

解决方案


您可能应该花一些时间查看提供的文档。=>表情符号声明


推荐阅读