Commit Graph

565 Commits

Author SHA1 Message Date
Alessandro Maggio
ef7cf97c40 Merge pull request #113 from Tkd-Alex/minimum-points-bet
Minimum points for the bot to place a bet #106
2021-08-27 19:24:42 +02:00
Alessandro Maggio
b65f38863f Merge branch 'master' into minimum-points-bet 2021-08-21 10:47:53 +02:00
Alessandro Maggio
76679e9ed3 Update TwitchLogin.py 2021-08-21 10:45:55 +02:00
Alessandro Maggio
a6a8934bb6 Update __init__.py 2021-08-21 10:45:27 +02:00
Alessandro Maggio
58e472c422 Merge pull request #251 from RakSrinaNa/bet-error
Display reason why placing bet failed
2021-08-21 09:28:18 +02:00
Alessandro Maggio
7db26bc9eb Update README and example 2021-08-16 22:02:29 +02:00
Alessandro Maggio
85b58c54de Sync with master 2021-08-15 20:43:26 +02:00
Thomas Couchoud
1c507a0996 Log when bet isn't placed because amount is too less 2021-08-14 15:31:58 +02:00
Thomas Couchoud
7dc1677591 Check error is not none 2021-08-14 14:09:27 +02:00
Thomas Couchoud
0f56501aa2 select correct field 2021-08-14 13:30:08 +02:00
Thomas Couchoud
e2628d66b4 lint 2021-08-14 12:01:22 +02:00
Thomas Couchoud
2ae92bf9a2 lint 2021-08-14 12:00:28 +02:00
Thomas Couchoud
fcb8de5522 Display reason why placing bet failed. For example if TOS were not accepted it'll display: "Failed to place bet, error: MUST_ACCEPT_TOS" 2021-08-14 11:54:55 +02:00
Alessandro Maggio
809c4c9e7e Merge branch 'master' of github.com:Tkd-Alex/Twitch-Channel-Points-Miner-v2 2021-07-30 21:52:57 +02:00
Alessandro Maggio
b874d95ec3 Use TimedRotatingFileHandler instead of FileHandler. Close #215 2021-07-30 21:52:48 +02:00
Alessandro Maggio
bd208a4d68 Merge pull request #224 from RakSrinaNa/custom-bet-delay
Custom bet delay
2021-07-30 21:11:35 +02:00
Thomas Couchoud
aea617fce2 Improve delay FROM_START by not going over prediction_window_seconds
Improve delay FROM_END by not going over below 0
2021-07-19 23:07:09 +02:00
Thomas Couchoud
2a6e81934c Update README.md 2021-06-28 17:56:38 +02:00
Thomas Couchoud
60a108857b Typo 2021-06-26 20:59:25 +02:00
Thomas Couchoud
511671075d Make the linter happy 2021-06-26 20:59:08 +02:00
Thomas Couchoud
b07420443b Custom bet delay 2021-06-26 20:49:15 +02:00
Alessandro Maggio
40dcf78a7d Merge pull request #204 from RakSrinaNa/203-blacklisted-followers
Do not iterate over all followed streamers as they can be blacklisted
2021-06-25 15:44:43 +02:00
Alessandro Maggio
a036471415 Update stale.yml 2021-06-23 11:31:26 +02:00
Thomas Couchoud
85362f6adb Remove unused import 2021-06-09 20:56:30 +02:00
Thomas Couchoud
e5ed951d1a Do not iterate over all followed streamers as they can be blacklisted 2021-06-09 20:51:51 +02:00
Alessandro Maggio
0de54d8cb8 Merge pull request #189 from RakSrinaNa/180-on-close
Add missing parameters into on_close
2021-06-07 12:43:24 +02:00
Thomas Couchoud
f34cd47cea Fixed requirements 2021-05-28 20:52:10 +02:00
Thomas Couchoud
b5d0cd2962 Add missing parameters from on_close 2021-05-28 20:42:30 +02:00
Alessandro Maggio
77c599a34f Merge pull request #173 from RakSrinaNa/priority-streamer-multiplier
Prioritize streamer you're subscribed to (has points multiplier)
2021-05-23 15:26:03 +02:00
Alessandro Maggio
dad0dc2cb2 Remove blacklist username of streamer from streamers_name and check if username It's also in streamers_name. Fix #176 2021-05-23 15:22:06 +02:00
Alessandro Maggio
3c98fee4a4 Remove blacklist username of streamer from streamers_name and check if username It's also in streamers_name. Fix #176 2021-05-23 15:21:36 +02:00
Thomas Couchoud
902ca57857 Actually get higher multipliers first, not the lowest 2021-05-07 23:33:29 +02:00
Thomas Couchoud
9e09b0483a Higher sub tiers first 2021-05-07 23:24:17 +02:00
Thomas Couchoud
c74f25044a Prioritize streamer you're subscribed to (has points multiplier) 2021-05-07 22:44:26 +02:00
Alessandro Maggio
28f61dfec8 Merge pull request #167 from 1v/master
Duplicate line
2021-05-05 10:39:12 +02:00
Artem
861f7a9d7f Duplicate line 2021-05-01 16:09:17 +03:00
Alessandro Maggio
4d6d0f0afb Merge pull request #142 from RakSrinaNa/mod-betting
Allow mods to place predictions
2021-04-12 11:33:17 +02:00
Thomas Couchoud
f3b6c733ba Do not update moderator status, we avoid sending a request per streamer 2021-04-10 13:04:51 +02:00
Thomas Couchoud
4ef80a1de0 Linter 2021-04-10 11:58:28 +02:00
Thomas Couchoud
e508d6aaa8 Allow mods to place predictions 2021-04-10 11:53:45 +02:00
Alessandro Maggio
1cce8962f0 Merge branch 'master' of github.com:Tkd-Alex/Twitch-Channel-Points-Miner 2021-04-10 11:47:51 +02:00
Alessandro Maggio
68e7ca5d37 Improve error handling for claim drops. Drops already claimed or service error. #136 2021-04-10 11:47:19 +02:00
Alessandro Maggio
72ab912a9b Merge pull request #126 from CaterpyOwO/master
Save analytics settings into localStorage.
2021-04-09 10:55:05 +02:00
Alessandro Maggio
f7856203ff Update Twitch.py 2021-04-03 01:41:07 +02:00
Alessandro Maggio
7f277d8148 chart.clearAnnotations(); #122 2021-04-03 01:07:41 +02:00
Alessandro Maggio
8987feb202 The gql seems to be have a max limits of args, reduce the campaign to 20. Ref for #128 and #129 2021-04-03 01:06:09 +02:00
Caterpy
f989651934 Updated default settings 2021-04-01 00:06:28 +02:00
Caterpy
5342a1b3f2 Saving settings into localStorage 2021-03-31 23:57:33 +02:00
Alessandro Maggio
2f373bf101 Each 30m refresh context and check for claimable bonus. Reference for #114 2021-03-28 00:01:32 +01:00
Alessandro Maggio
bea8bb8428 init res dict 2021-03-14 20:18:42 +01:00