Fix supersticker bgColor

This commit is contained in:
taizan-hokuto
2020-07-24 22:41:07 +09:00
parent 9bbdb6c4de
commit 713215f1d7
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class LiveChatPaidStickerRenderer(BaseRenderer):
self.amountString = amountDisplayString
self.currency = currency.symbols[symbol]["fxtext"] if currency.symbols.get(
symbol) else symbol
self.bgColor = self.renderer.get("moneyChipBackgroundColor", 0)
self.bgColor = self.renderer.get("backgroundColor", 0)
self.sticker = "".join(("https:",
self.renderer["sticker"]["thumbnails"][0]["url"]))
self.colors = self.get_colors()