✏️ 修复语音发送

This commit is contained in:
Yiwen-Chan 2021-04-23 23:56:08 +08:00
parent 4f7d84f60f
commit d535d753c3

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 的开关