feat: dm_v2

This commit is contained in:
akiba
2023-08-12 21:43:21 +08:00
parent e95ad7f9a5
commit 9fa18b3834
8 changed files with 1828 additions and 17 deletions

View File

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