Commit Graph

167 Commits

Author SHA1 Message Date
Lili (Tlapka) 6641121ca3 add <br>s to help message construction 2024-02-04 18:09:47 +01:00
Lili (Tlapka) 7ffb1a15b0 change webhook to use rawBody instead of body when reading msg
remove_emoji function is now unused, as shortcodes get scrubbed in rawBody now
2024-02-04 18:09:36 +01:00
Lili (Tlapka) e5e88bf520 Merge branch 'master' of github.com:SleepyLili/tlapbot into develop 2024-02-04 11:28:51 +01:00
Lili (Tlapka) b4a6c4e41c html/jinja formatting improvements
thanks chat
2024-02-03 18:47:42 +01:00
Lili (Tlapka) 5316f7e205 improve default_redeems
list milestone "goal" first in the redeems dictionary
2023-07-13 12:42:46 +02:00
Lili (Tlapka) 80037593a9 fix redeem handler for redeems with no price
milestone needs to be handled first
2023-07-03 12:27:45 +02:00
Lili (Tlapka) d484a0a363 fix reset_milestone 2023-07-03 12:18:29 +02:00
Lili (Tlapka) 348e674f74 make price tab in dashboard blank for milestones 2023-07-03 11:02:09 +02:00
Lili (Tlapka) ca9aa6d79d add reset and hard-reset command to init 2023-07-03 10:46:35 +02:00
Lili (Tlapka) ae42a052de add true/false fail checks to click commands
previously click would print stuff like "X done succesfully" after error
now it'll be more clear that a failure has occured
2023-06-26 13:40:26 +02:00
Lili (Tlapka) d1416d3706 add reset-milestone and hard-reset-milestone
commands to click
2023-06-26 13:28:34 +02:00
Lili (Tlapka) f66b125ac3 remove unused start_milestone function 2023-06-26 13:12:28 +02:00
Lili (Tlapka) 6f6fc10d0f remove minimum bid for #15 2023-06-20 14:39:19 +02:00
Lili (Tlapka) bf68f518da add error handling and response check to requests 2023-06-20 13:41:22 +02:00
Lili (Tlapka) b08371838f fix redeeming inactive redeem 2023-03-28 13:05:35 +02:00
Lili (Tlapka) 739438f28b move active category check
from __init__.py to being done runtime in functions
2023-03-28 13:02:50 +02:00
Lili (Tlapka) d372ed6e6b bugfix: check_apply_milestone was []ing None 2023-03-27 16:38:05 +02:00
Lili (Tlapka) 1b02624dea bugfix: milestone_complete was trying to [] None 2023-03-27 16:30:39 +02:00
Lili (Tlapka) 265a6cc9b4 fix check for more than have, add error chat 2023-03-27 16:30:24 +02:00
Lili (Tlapka) 021737ad16 check if user has all the points they're sending 2023-03-27 14:24:35 +02:00
Lili (Tlapka) c68a3924fc simplify refresh_counters 2023-03-27 14:19:26 +02:00
Lili (Tlapka) 6e500c962d fix import 2023-03-27 13:34:31 +02:00
Lili (Tlapka) 0b84e06c52 hide inactive milestones/counters, change fn name
function is is_redeem_active
2023-03-27 13:34:13 +02:00
Lili (Tlapka) 1937c5d660 add negative bid protection to add_to_milestone 2023-03-26 13:11:31 +02:00
Lili (Tlapka) 3858a14f1a add goal changing to refresh_milestones() 2023-03-26 12:22:54 +02:00
Lili (Tlapka) 0176b6e84c fix minimum bid bug 2023-03-21 12:32:19 +01:00
Lili (Tlapka) 44eb0be6e2 fix typos in default_redeems.py 2023-03-21 11:47:32 +01:00
Lili (Tlapka) abbc099661 add new default milestone
update wording on "price" to mention milestone minimum bid
2023-03-21 11:46:28 +01:00
Lili (Tlapka) 7a37f8afcf change reference to tlapbot dashboard in init py 2023-03-21 11:40:55 +01:00
Lili (Tlapka) b8e465e50c rename owncast_redeem_dashboard->tlapbot_dashboard 2023-03-20 17:41:56 +01:00
Lili (Tlapka) 10e84d4aab split redeem operations into redeems.py
owncast_helpers.py is now smaller and only contains smaller, generic fns
so no direct redeem manipulations, but reading points, users, etc.
2023-03-20 17:28:54 +01:00
Lili (Tlapka) 7235340a39 split out requests to owncast_requests.py 2023-03-20 17:16:17 +01:00
Lili (Tlapka) d6297c537f fix completeness function 2023-03-20 17:10:33 +01:00
Lili (Tlapka) e1ef0c4619 add needed imports 2023-03-20 14:28:50 +01:00
Lili (Tlapka) 49053ee4f4 add completeness to milestones 2023-03-20 13:23:20 +01:00
Lili (Tlapka) 583aeedf64 fix typo 2023-03-15 14:21:15 +01:00
Lili (Tlapka) 423f12ed34 fix milestone deletion 2023-03-15 14:19:38 +01:00
Lili (Tlapka) 7e408c1b74 remove number of donated points from message
it's not always true.
2023-03-15 14:11:34 +01:00
Lili (Tlapka) cf8376eebc add refresh-milestones to cli. fix cli errors 2023-03-15 14:11:11 +01:00
Lili (Tlapka) c203ce132f add refresh milestones command 2023-03-15 13:37:21 +01:00
Lili (Tlapka) 22501c80c0 milestone upgrade
subtract pts, rename count to progress, send a chat message on success
2023-03-15 13:13:14 +01:00
Lili (Tlapka) 9019f98031 prettier milestone, redeem queue tab 2023-03-14 16:43:26 +01:00
Lili (Tlapka) e8b9ca3cda Remove extra line from milestone explanation 2023-03-14 16:31:28 +01:00
Lili (Tlapka) 9323b58ed6 FIXED milestones dashboard 2023-03-14 16:28:45 +01:00
Lili (Tlapka) cb574618a6 working milestones prototype in dashboard 2023-03-14 16:26:04 +01:00
Lili (Tlapka) 68b8588c76 dashboard milestones stub 2023-03-14 15:42:14 +01:00
Lili (Tlapka) 2732967e26 fix error catching in add_to_milestone 2023-03-14 15:14:52 +01:00
Lili (Tlapka) 07c701de71 milestone stub + helpers name change
lets hope milestones work
2023-03-14 14:15:18 +01:00
Lili (Tlapka) 90615ce7c6 add colspan to "recent redeems"
no longer makes an extra line
2023-03-13 15:29:34 +01:00
Lili (Tlapka) 82d9088c18 first version of passive mode
seems to work fine
2023-03-13 15:22:40 +01:00