pubbot: fix giveaways code

pull/471/head
Mike Lang 2 weeks ago
parent 0c871b7f6c
commit a051f8f6fc

@ -61,7 +61,7 @@ def _get_giveaway():
data = json.loads(island["props"]) data = json.loads(island["props"])
giveaways = data["giveaways"][1] giveaways = data["giveaways"][1]
if giveaways: if giveaways:
return giveaways[1]["amount"][1] / 100. return giveaways[0]["amount"][1] / 100.
return None return None

Loading…
Cancel
Save