mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
27 lines
422 B
Go
27 lines
422 B
Go
package msgext
|
|
|
|
import (
|
|
"github.com/wdvxdr1123/ZeroBot/message"
|
|
)
|
|
|
|
//@全体成员
|
|
func AtAll() message.MessageSegment {
|
|
return message.MessageSegment{
|
|
Type: "at",
|
|
Data: map[string]string{
|
|
"qq": "all",
|
|
},
|
|
}
|
|
}
|
|
|
|
//无缓存发送图片
|
|
func ImageNoCache(url string) message.MessageSegment {
|
|
return message.MessageSegment{
|
|
Type: "image",
|
|
Data: map[string]string{
|
|
"file": url,
|
|
"cache": "0",
|
|
},
|
|
}
|
|
}
|