mirror of
https://github.com/AynaLivePlayer/blivedm-go.git
synced 2025-12-06 11:22:50 +08:00
use string for uid same to roomid
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user