✏️ 修复语音发送

This commit is contained in:
Yiwen-Chan 2021-04-23 23:56:08 +08:00
parent d75494a418
commit 3bec61fb78

View File

@ -227,7 +227,7 @@ func randImage(file ...string) message.MessageSegment {
func randRecord(file ...string) message.MessageSegment {
length := len(file)
return message.Image(RES + file[rand.Intn(length)])
return message.Record(RES + file[rand.Intn(length)])
}
// AtriSwitch 控制 ATRI 的开关