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:
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
const roomId = "8792912"
|
||||
const uid = 745493
|
||||
const uid = "745493"
|
||||
|
||||
var dumps = []string{"GUARD_BUY", "USER_TOAST_MSG"}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
|
||||
func main() {
|
||||
log.SetLevel(log.DebugLevel)
|
||||
c := client.NewClient("732", 194484313)
|
||||
c := client.NewClient("732", "194484313")
|
||||
//弹幕事件
|
||||
c.OnDanmaku(func(danmaku *message.Danmaku) {
|
||||
if danmaku.Type == message.EmoticonDanmaku {
|
||||
|
||||
Reference in New Issue
Block a user