mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
✨ 修正代码问题
This commit is contained in:
parent
09a9dd53fd
commit
3a5e391191
@ -76,9 +76,10 @@ func init() { // 插件主体
|
||||
if filepath != "" {
|
||||
// 发送搜索结果
|
||||
ctx.SendChain(message.Image(filepath), message.Text("\n"), txt)
|
||||
} else {
|
||||
// 图片下载失败,仅发送文字结果
|
||||
ctx.SendChain(txt)
|
||||
}
|
||||
// 图片下载失败,仅发送文字结果
|
||||
ctx.SendChain(txt)
|
||||
} else {
|
||||
ctx.SendChain(message.Text("图片不存在!"))
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user