Commit Graph

170 Commits

Author SHA1 Message Date
mpforce1
29d5d8a360 Fix for reconnection bug. Fixed typo in TwitchWebSocket.is_reconnecting. pre-commit changes. 2023-07-19 10:33:21 +01:00
Roman Davydov
954575c9f4 listen to topic and claim moments 2023-03-07 17:15:23 +03:00
Roman Davydov
b444296b22 Fix #177 2023-03-03 20:49:59 +03:00
rdavydov
e05decc4e2 fix #58 2022-11-24 11:35:21 +03:00
Roman Davydov
2a28626eab Merge branch 'master' into switchable 2022-10-24 14:48:35 +03:00
rdavydov
2ffe7a4a1d analytics fix 2022-10-24 13:44:45 +03:00
rdavydov
7e09c17481 formatting 2022-10-23 22:58:27 +03:00
rdavydov
23c556392a analytics as an option in twitch_miner 2022-10-23 22:12:02 +03:00
rdavydov
f00cc22713 analytics as an option in twitch_miner 2022-10-23 20:50:27 +03:00
rdavydov
5ca8054bcb BETTER_FLAG than camelCase (best practices) 2022-10-21 12:54:04 +03:00
rdavydov
789be8e369 enableAnalytics.py file toggles Analytics 2022-10-20 11:28:11 +03:00
Alessandro Maggio
0e51fa8b58 Merge branch 'master' into tg 2021-10-05 15:35:09 +02:00
Alessandro Maggio
3c3101516f The user_id can't be None, double check before return If It's None please do a gql request 2021-09-30 15:53:48 +02:00
Alessandro Maggio
5775887dbb Merge branch 'master' into tg 2021-09-04 12:10:38 +02:00
Alessandro Maggio
f5ea160238 Create a Telegram class for handle chat_id, token and send mesage via Telegram API. Move Telegram object inside LoggerSettings - Create a Events enum class so we can handle color and Telegram message in this way 2021-08-18 15:23:24 +02:00
Colin Shark
2b4575c0c3 Add initial base of Telegram connection
This allows to send updates to Telegram, via your own Bot.
There is currently no modification possible, as everything is hardcoded.
2021-08-17 17:17:44 +02:00
Alessandro Maggio
85b58c54de Sync with master 2021-08-15 20:43:26 +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
Thomas Couchoud
b5d0cd2962 Add missing parameters from on_close 2021-05-28 20:42:30 +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
74e0cef097 Merge branch 'master' into chat-client 2021-03-12 22:53:07 +01:00
Alessandro Maggio
639b6d7df3 Minimum points for the bot to place a bet #106 2021-03-11 22:44:36 +01:00
Alessandro Maggio
2767eccacf use Thread instead of Process. Get username and token from main classes. Rename some variables - See the PR #47 Reviews 2021-03-09 20:54:10 +01:00
Alessandro Maggio
25b28efe81 Merge with master 2021-03-09 20:23:16 +01:00
Alessandro Maggio
6eeb6554d6 Merge branch 'master' into analytics 2021-03-09 20:12:11 +01:00
Alessandro Maggio
0cf13c229a Parse result in separated method. Save again gains and type. Maybe It will be helpful in the future 2021-03-09 19:17:05 +01:00
Alessandro Maggio
e310ac141d After a won/lose in the bet, show which decision the bot made when he placed the bet. #95 2021-03-09 14:31:12 +01:00
Alessandro Maggio
b8d8808f3a Custom tooltips for event, save in 'z' axis the event type and show in custom tooltip - Remove dt. Replace points annotation with vertical annotations 2021-03-03 20:37:29 +01:00
Alessandro Maggio
25f5f1231f Skip annotation mark for LOSE vent. Save prediction made in yello as marker - Commit not tested 2021-03-01 22:46:07 +01:00
Alessandro Maggio
b034931410 Sync branch with master, fix conflict 2021-02-26 12:24:16 +01:00
Alessandro Maggio
aaea73bb91 Sync branch with master, fix conflict 2021-02-26 12:21:15 +01:00
Alessandro Maggio
41ac1b52c5 Dedicated color also for: BET_START - ' Place the bet after: 55.39s for: EventPrediction ' 2021-02-26 12:13:53 +01:00
Alessandro Maggio
774280abe5 Create customizable ColorPalette for terminal message 2021-02-25 14:10:26 +01:00
Alessandro Maggio
7fb25a3a48 Merge branch 'master' into master 2021-02-25 11:33:12 +01:00
Alessandro Maggio
6de210b496 Choose gained/lost in the bet results. Close #93 2021-02-25 11:09:36 +01:00
TipicoDev
7abab21c24 Fixing lint warnings 2021-02-20 22:48:39 -03:00
TipicoDev
60d0ccbb03 Fixing lint warnings 2021-02-20 22:47:01 -03:00
TipicoDev
23232ed2c1 Adding color to the formatter 2021-02-20 20:35:08 -03:00
TipicoDev
d84cd73a14 Merge branch 'master' of https://github.com/TipicoDev/Twitch-Channel-Points-Miner-v2 2021-02-19 16:13:51 -03:00
TipicoDev
12e07547a0 Printing colorful EventPrediction results
Added colorama to the requirements and made a simple code to print win results in green and lose results in red
2021-02-19 16:13:42 -03:00
Alessandro Maggio
83c6cfb0ee Merge branch 'master' into improvement-drops 2021-02-18 22:17:31 +01:00
kelukelol
bba82af892 Update WebSocketsPool.py
lolz
2021-02-18 03:39:24 +02:00
Alessandro Maggio
5d09074572 Little code refactory where It's possible 😊 2021-02-14 12:22:36 +01:00
Alessandro Maggio
4bdc726ba2 Merge branch 'master' into improvement-drops 2021-02-13 12:05:55 +01:00
Alessandro Maggio
6e0ba67f80 The use of __slots__ can save more RAM. There are multiple articles online, I've read this: https://tech.oyster.com/save-ram-with-python-slots/ 2021-02-13 11:48:22 +01:00
Alessandro Maggio
4fcaeae4cf Fix conflict, merge master with improvements-drops 2021-02-13 11:18:48 +01:00
Alessandro Maggio
9a36dbd862 Use reconnect flag for manage ws reconnection and main threads 2021-02-12 22:12:56 +01:00
Alessandro Maggio
175d6abe12 Instead of appending every time a new ws at the end of array replace at same index. Seems to be a good solution. 2021-02-12 00:15:47 +01:00