mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
21 lines
291 B
Go
21 lines
291 B
Go
package utils
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
zero "github.com/wdvxdr1123/ZeroBot"
|
|
)
|
|
|
|
type CQMusic struct {
|
|
Type string
|
|
Url string
|
|
Audio string
|
|
Title string
|
|
Content string
|
|
Image string
|
|
}
|
|
|
|
func SendError(event zero.Event, err error) {
|
|
zero.Send(event, fmt.Sprintf("ERROR: %v", err))
|
|
}
|