兼容B站弹幕升级(勋章信息多了一个)

This commit is contained in:
John Smith 2019-07-10 15:16:17 +08:00
parent 003d89e976
commit 9eb953720c

View File

@ -131,10 +131,10 @@ class DanmakuMessage:
return cls(
info[0][1], info[0][2], info[0][3], info[0][4], info[0][5], info[0][7], info[0][9], info[0][10],
info[1],
*info[2],
*(info[3] or (0, '', '', 0, 0, 0)),
*info[2][:8],
*(info[3][:6] or (0, '', '', 0, 0, 0)),
info[4][0], info[4][2], info[4][3],
*info[5],
*info[5][:2],
info[7]
)