兼容B站弹幕升级(新舰长消息礼物ID字段改变)

This commit is contained in:
John Smith 2019-10-13 20:02:57 +08:00
parent fb9b687e58
commit efc7f3b3f8

View File

@ -218,7 +218,7 @@ class GuardBuyMessage:
def from_command(cls, data: dict):
return cls(
data['uid'], data['username'], data['guard_level'], data['num'], data['price'],
data['gift_id'], data['gift_name'], data['start_time'], data['end_time']
data['role_name'], data['gift_name'], data['start_time'], data['end_time']
)