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

@@ -10,7 +10,7 @@ import (
)
const roomId = "8792912"
const uid = 745493
const uid = "745493"
var dumps = []string{"GUARD_BUY", "USER_TOAST_MSG"}

View File

@@ -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 {