Closed oddfar closed 8 months ago
对话支持文生图
收到消息的回调中:MessageListener,可根据以下代码获取图片的url
MessageListener
List<MessageEmbed> embeds = message.getEmbeds(); for (MessageEmbed messageEmbed : embeds) { MessageEmbed.ImageInfo image = messageEmbed.getImage(); log.info("嵌套消息图片Url {}", image.getUrl()); }
当它有嵌套消息时,一般为图片作答
已完成:https://github.com/oddfar/coze-discord/pull/3 默认超时时间为60秒,有时候会超时
后续增加自定义
功能请求
对话支持文生图
解决方案和应用场景
收到消息的回调中:
MessageListener
,可根据以下代码获取图片的url当它有嵌套消息时,一般为图片作答