Add colors attribute

This commit is contained in:
taizan-hokuto
2020-07-23 16:20:12 +09:00
parent 85966186b5
commit ee4b696fc5
3 changed files with 31 additions and 3 deletions

View File

@@ -12,4 +12,4 @@ class LiveChatLegacyPaidMessageRenderer(BaseRenderer):
def get_message(self, renderer):
message = (renderer["eventText"]["runs"][0]["text"]
) + ' / ' + (renderer["detailText"]["simpleText"])
return message
return message, [message]