🐛 fix: anonymous danmu msg

This commit is contained in:
HarryWong
2023-07-08 10:22:49 +08:00
parent f56426ffa7
commit 8bc38ae586
6 changed files with 16 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ import (
func main() {
log.SetLevel(log.DebugLevel)
c := client.NewClient("732")
c := client.NewClient("732", 194484313) // 732为房间号194484313为UID
//弹幕事件
c.OnDanmaku(func(danmaku *message.Danmaku) {
if danmaku.Type == message.EmoticonDanmaku {