.net - discord.net 如何转换为 IEmote
问题描述
我正在尝试从不和谐机器人发送的消息中接收反应
var message = await Context.Channel.SendMessageAsync("", false, MyEmbedBuilder.Build());
IReadOnlyCollection<IUser> temp = await message.GetReactionUsersAsync("", 1000, null);
当我尝试这个时,我得到了这个错误
错误 CS1503 参数 1:无法从“字符串”转换为“Discord.IEmote”
解决方案
推荐阅读
- c - 为什么 C 语言既有逻辑运算符又有按位“或”运算符?
- assembly - 6502 randy hyde 子程序问题“JSR INCRTN”
- wordpress - 如何添加纯 HTML 和 CSS 来代替 WordPress 特色图片
- c# - 无法在 Visual Studio (Mac) 上使用 .NET Core 3.1 创建 Web 应用
- c++ - 为什么不插入地图?
- mysql - 将记录传递给 MySQL 8 中的函数
- r - Shiny 不会在应用程序中显示结果,但结果会显示在控制台中
- excel - 在excel中使用自定义快捷键的奇怪行为
- python - 如何防止小部件重叠?
- python - 连接被拒绝 sqlalchemy Flask