Made the settings file optional;

default config creation removed, instead fetches a list of all live channels for the current drop campaign's games
This commit is contained in:
DevilXD committed 2021-12-04 14:16:25 +01:00
1 parent 947fd6f148
commit fcd9e5b52d
7 files changed
+114 -48

No files matched your search

+3
View File
@@ -68,6 +68,9 @@ class BaseDrop:
def can_claim(self) -> bool:
return self.claim_id is not None and not self.is_claimed
def rewards_text(self, delim: str = ", ") -> str:
return delim.join(self.rewards)
async def claim(self) -> bool:
"""
Returns True if the claim succeeded, False otherwise.