use string for uid same to roomid

This commit is contained in:
Akiba
2023-07-09 11:02:51 +08:00
parent 31f039e912
commit e95ad7f9a5
4 changed files with 10 additions and 6 deletions

View File

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