1
0
Commit Graph

38 Commits

Author SHA1 Message Date
fa283ef48e 🎨 Convert rewardId to RedemptionIds enum key name 2022-01-05 21:57:22 +01:00
14584932ff 🎨 Improve handling of redemptions 2022-01-05 21:53:58 +01:00
5d20cce62f ♻️ Extract highlight message logic to server 2022-01-05 20:05:18 +01:00
e3dfe80cc4 ♻️ Extract hidrate logic to server 2022-01-05 19:50:42 +01:00
190d7f7d26 💥 Remove try/catch from timeout
Call to this method should now be surrounded by try catch
2022-01-05 19:40:28 +01:00
1b48261b94 ♻️ Extract timeout friend logic to server 2022-01-05 19:37:54 +01:00
324f3faec2 🥅 Try/catch audio.play 2022-01-05 19:14:35 +01:00
2edb4481f8 ♻️ Extract roussian roulette logic to server 2022-01-05 19:12:08 +01:00
05a93ba316 ♻️ Cleaned lots of code and change getvip implementation
getVip is no longer time limited, it will remove it once a limit of
vip users is reached (to be implemented)
2022-01-05 18:13:59 +01:00
bc401bd531 🙈 Ignore TODO.md 2021-12-26 01:25:49 +01:00
9332b99305 ♻️ Update frontend logic with refactored types 2021-12-26 01:21:17 +01:00
627c03642a ♻️ Extract pubSubClient and actions into directories 2021-12-26 01:18:46 +01:00
93ef43ef12 ♻️ Extract chatClient and actions into folders 2021-12-26 01:17:32 +01:00
ca34a6a090 🏷️ Add types for actions 2021-12-26 01:12:22 +01:00
71f7546165 🎨 Format code 2021-06-20 00:51:50 +02:00
6735ee5519 🎨 Change stealVip return type to boolean
Indicates if the vip has been successfuly stealed
2021-06-20 00:43:40 +02:00
333099d30e ♻️ Extract timeout/interval times to constants 2021-06-20 00:41:56 +02:00
6f6bd127e8 🏷️ Add return types 2021-06-20 00:41:13 +02:00
e4cff46771 ♻️ Extract ClientCredentials and add return types 2021-06-19 23:52:39 +02:00
3ffbd156cd 🏷️ Add type for Environment mode and remove
raw environment export
2021-06-19 23:00:41 +02:00
0e75fd62c6 📝 Add setup documentation 2021-06-19 00:12:28 +02:00
cb4edc0232 ✏️ Fix typo, missing await and weird code indentation 2021-06-18 23:55:58 +02:00
a61accfae0 🎨 Add file/module name to logs and
order/refactor minimal code
2021-06-18 20:37:00 +02:00
fa1e87115b 🚚 Move chatClient, pubSubClient and webServer to helpers 2021-06-18 19:31:20 +02:00
5256ebe6ae ♻️ Remove non needed arguments and obtain values
using helpers
2021-06-18 19:26:46 +02:00
41aaec835f ♻️ Move initialization code to "backend" 2021-06-18 19:04:31 +02:00
13b3bdcb97 ♻️ Extract pubSubClient 2021-06-18 18:35:34 +02:00
589da6d5f5 🐛 Fix connection bad conditional and set default
channel for client actions
2021-06-18 18:26:26 +02:00
f23e8cb81b ♻️ Extracted chatClient and scheduledActions 2021-06-18 17:09:10 +02:00
42bd583a43 ♻️ Extracted web server and websocket
initializacion and added helper to get NODE_ENV value
2021-06-16 23:29:37 +02:00
00f753b761 ♻️ Extracted tokenData and twitch authentication
To be finished
2021-06-16 18:46:05 +02:00
e913b0484c 🙈 Ignore scheduled commands 2021-06-16 17:28:41 +02:00
6701001901 🎨 Formatted code 2021-06-16 17:25:01 +02:00
c1a316d7e4 ♻️ Use express.static 2021-06-16 17:21:37 +02:00
9fa4de3f47 🏷️ Add missing type declarations 2021-06-16 16:39:47 +02:00
90db28b880 🙈 Ignore private files 2021-06-16 16:23:08 +02:00
a983ebf020 🏷️ Added ts-node and some @types 2021-06-16 16:21:36 +02:00
5a533d4d23 🎉 First commit 1.0 2021-06-16 15:32:06 +02:00