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 -2
View File
@@ -197,11 +197,12 @@ class Websocket:
msg_type = message["type"]
if msg_type == "drop-progress":
print(
f"Drop progress: {drop.progress:4.0%} ({drop.remaining_minutes} minutes remaining)"
f"Drop: {drop.rewards_text()}: {drop.progress:4.0%} "
f"({drop.remaining_minutes} minutes remaining)"
)
elif msg_type == "drop-claim":
await drop.claim()
print(f"Claimed drop: {', '.join(drop.rewards)}")
print(f"Claimed drop: {drop.rewards_text()}")
async def process_points(self, message: Dict[str, Any]):
msg_type = message["type"]