mirror of
https://github.com/AynaLivePlayer/blivedm-go.git
synced 2025-12-06 11:22:50 +08:00
feat: dm_v2
This commit is contained in:
@@ -13,7 +13,8 @@ import (
|
||||
|
||||
func main() {
|
||||
log.SetLevel(log.DebugLevel)
|
||||
c := client.NewClient("732", "194484313")
|
||||
c := client.NewClient("23555200", "194484313")
|
||||
c.UseDefaultHost()
|
||||
//弹幕事件
|
||||
c.OnDanmaku(func(danmaku *message.Danmaku) {
|
||||
if danmaku.Type == message.EmoticonDanmaku {
|
||||
|
||||
Reference in New Issue
Block a user