File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ danmaku.stt = require('./stt')
55danmaku . util = require ( './util' )
66danmaku . logger = require ( './logger' )
77danmaku . Websocket = require ( './websocket' )
8+ danmaku . packet = require ( './packet' )
89
910module . exports = danmaku
Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ module.exports = {
7070 // type 表示为“房间开播提醒”消息,固定为 rss
7171 // rid 房间 id
7272 // gid 弹幕分组 id
73- // ss 直播状态,0-没有直播, 1-正在直播
73+ // ss 直播状态,1-正在直播, 2-没有直播
7474 // code 类型
7575 // rt 开关播原因:0-主播开关播,其他值-其他原因
7676 // notify 通知类型
7777 // endtime 关播时间(仅关播时有效)
78- console . log ( r . ss ? config . MSG_LIVE_ON : config . MSG_LIVE_OFF )
78+ console . log ( '[开播提醒]' , r . ss == 1 ? config . MSG_LIVE_ON : config . MSG_LIVE_OFF )
7979 } ,
8080 bc_buy_deserve : function ( r ) {
8181 // 赠送酬勤通知
@@ -244,6 +244,6 @@ module.exports = {
244244 // 未知的消息事件
245245 } ,
246246 frank : function ( r ) {
247- // 未知的消息事件
247+ // 粉丝排行榜变化
248248 } ,
249249}
You can’t perform that action at this time.
0 commit comments