Commit Graph

173 Commits

Author SHA1 Message Date
Lili (Tlapka) 189ffcc1a8 add error check to is_stream_live() 2023-03-13 14:59:20 +01:00
Lili (Tlapka) 0d56521602 add prefix info to readme 2023-01-18 17:08:56 +01:00
Lili (Tlapka) a5b38865eb promote beta build to full release 2023-01-18 16:44:36 +01:00
Lili (Tlapka) fd66271a4c more readme updates 2023-01-18 14:30:16 +01:00
Lili (Tlapka) af66b9f839 more readme updates 2023-01-18 14:27:27 +01:00
Lili (Tlapka) 2f13ffabe9 readme: more domain changes to .example, wording 2023-01-18 10:57:05 +01:00
Lili (Tlapka) 2d0976f441 readme update: change example domain to .example 2023-01-18 10:54:23 +01:00
Lili (Tlapka) c6542515aa readme update: add more about categories 2023-01-18 10:53:35 +01:00
Lili (Tlapka) ddaa111c84 promote build to beta 1
all features are about done, let's goooooooooooooooooooo
2023-01-16 13:31:52 +01:00
Lili (Tlapka) c047ec94ac add auto-refresh to dashboard + fix bug
selected "tab"/"button" is now properly highlighted
dashboard refreshes every 30 seconds
2023-01-16 13:30:43 +01:00
Lili (Tlapka) 0c678d8988 add a safeguard for empty list categories redeems
remove warnings in readme about it as well
2023-01-16 13:30:15 +01:00
Lili (Tlapka) dc68887c82 change redeem categories to list format 2023-01-13 18:51:44 +01:00
Lili (Tlapka) 02bf3223c4 draft of updated readme
currently it says that categories are a list but they are not.
i hope to make them a list before release lol
2023-01-13 15:12:56 +01:00
Lili (Tlapka) f3d088d6fb change types to categories
to avoid confusion with actual types of redeems like list
2023-01-13 12:57:43 +01:00
Lili (Tlapka) ae792192e8 add a category example to default redeems 2023-01-13 11:04:30 +01:00
Lili (Tlapka) ef2f6910e6 add a refresh+clear command 2023-01-13 11:04:01 +01:00
Lili (Tlapka) 625d37209c promote build to alpha 2 2023-01-12 14:40:19 +01:00
Lili (Tlapka) 10c4f6f514 split long line 2023-01-12 14:40:05 +01:00
Lili (Tlapka) 27812b9480 add first implementation of redeem categories 2023-01-12 14:23:32 +01:00
Lili (Tlapka) 2138650f91 reorganize helpers file 2023-01-12 13:20:28 +01:00
Lili (Tlapka) d3763d51c3 fix regex to be non-greedy 2023-01-11 10:25:48 +01:00
Lili (Tlapka) 05f28b71bd promote develop build to 1.1.0a1
very early alpha, still missing 2 things from the checklist
2023-01-10 12:23:59 +01:00
Lili (Tlapka) 6283a8f948 split long line in db.py 2023-01-09 15:21:20 +01:00
Lili (Tlapka) 537fa01aef split long lines in redeems_handler.py 2023-01-09 15:17:45 +01:00
Lili (Tlapka) 25589ff69e add emoji html junk removing function
emoji in redeem notes now show up as their shortcodes
2023-01-09 15:08:33 +01:00
Lili (Tlapka) 85c4df9250 add an error message to points read too 2023-01-05 14:32:53 +01:00
Lili (Tlapka) 543dc3e5b9 change logger logs to f-strings
I read on a webpage the way it used to be would work
but the webpage lied and I got not all arguments converted error
2023-01-05 14:26:18 +01:00
Lili (Tlapka) b666211142 better handling of errors in redeems situations
short circuit execution that doesnt take away points + better message
2023-01-05 11:27:10 +01:00
Lili (Tlapka) c978b27799 remove unnecessary import 2023-01-05 11:01:54 +01:00
Lili (Tlapka) efd773e2e8 fix typo that broke check_counter_exists 2023-01-04 13:53:46 +01:00
Lili (Tlapka) 7625d9b959 check if counter exists before incrementing
nonexistant counter prints warning + recommends running refresh-counters
2023-01-04 13:22:47 +01:00
Lili (Tlapka) f1dfb79f2c remove prefix comment 2023-01-04 12:41:12 +01:00
Lili (Tlapka) 6a3e74cdec add prefix sanity check to init
tlapbot will throw runtime error if prefix isn't a single character
longer prefixes would break the bot bc of how redeems_handler.py works
2023-01-04 12:38:58 +01:00
Lili (Tlapka) 92a2a77c80 add customized prefix to dashboard 2023-01-04 12:37:56 +01:00
Lili (Tlapka) 3caaed4b35 add customizable prefix 2023-01-04 12:37:45 +01:00
Lili (Tlapka) a5463c09ee simplify dashboard file
removed redundant assignments to variables
2023-01-04 12:30:38 +01:00
Lili (Tlapka) 3282072b42 split long line
was over 100 characters
2023-01-03 13:38:15 +01:00
Lili (Tlapka) b34524334c rewrite error message
make it clear that read_all_users_with_username reads multiple values
2023-01-03 13:34:06 +01:00
Lili (Tlapka) 8e461c5076 remove redundant list conversion
unique_users is only used to iterate over and set is an iterable
so i do not need to convert it to list
2023-01-03 13:32:07 +01:00
Lili (Tlapka) e65ffae8ce promote 1.0.1alpha to 1.0.1 2022-12-07 11:14:33 +01:00
Lili (Tlapka) c6d94f9d5f version 1.0.1alpha for my next stream 2022-12-05 16:06:39 +01:00
Lili (Tlapka) bafa1eca16 fix behavior with 2 commands + new user crashes
issue #5
crash i discovered when testing (users joining when bot is resetting)
2022-12-05 11:36:25 +01:00
Lili (Lin) Pavelů 9c0e709c63
Merge pull request #8 from trwnh/patch-3
Fix: Change POST to GET for certain API calls
2022-12-05 11:23:12 +01:00
Lili (Lin) Pavelů 99bdcc16cc
Merge pull request #7 from trwnh/patch-2
Fix: Remove strict "is True" check
2022-12-05 11:22:58 +01:00
Lili (Lin) Pavelů 89c9d5945a
Merge pull request #6 from trwnh/patch-1
Refactor: reduce nesting
2022-12-05 11:22:45 +01:00
trwnh 65b68f886e
Fix: Change POST to GET for certain API calls
I'm not sure why Owncast responds to a POST when it should be a GET, but this is probably not reliable behaviour
2022-11-30 11:29:00 -06:00
trwnh fe57550de2
Fix: Remove strict "is True" check
`is True` checks that the value points to the same memory. To check for truthiness, use `== True` or simply `if condition`
2022-11-30 11:00:30 -06:00
trwnh 420d954568
Refactor: reduce nesting
We can reduce cyclomatic complexity (how far we indented) by checking for a negative condition and exiting early, instead of checking for a positive condition and continuing
2022-11-30 10:45:52 -06:00
Lili (Tlapka) 5838f15b1c Merge branch 'master' of git.kawen.site:Lili/tlapbot 2022-11-29 11:01:52 +01:00
Lili (Tlapka) 2c405d5a85 1.0.0 real for real (hopefully) 2022-11-29 11:01:31 +01:00