mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
✏️ 修复语音发送
This commit is contained in:
parent
4f7d84f60f
commit
d535d753c3
@ -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 的开关
|
||||
|
||||
Loading…
Reference in New Issue
Block a user