mirror of
https://github.com/AynaLivePlayer/blivedm-go.git
synced 2026-03-15 21:23:16 +08:00
@@ -13,8 +13,8 @@ import (
|
||||
|
||||
func main() {
|
||||
log.SetLevel(log.DebugLevel)
|
||||
c := client.NewClient(6)
|
||||
c.SetCookie("this is a example cookie.")
|
||||
c := client.NewClient(23943357)
|
||||
c.SetCookie("")
|
||||
//弹幕事件
|
||||
c.OnDanmaku(func(danmaku *message.Danmaku) {
|
||||
if danmaku.Type == message.EmoticonDanmaku {
|
||||
|
||||
Reference in New Issue
Block a user