Commit Graph

179 Commits

Author SHA1 Message Date
Lili (Tlapka) f1a57c16e4 style corrections 2024-02-10 13:38:26 +01:00
Lili (Tlapka) 7da002eb00 remove unused imports, variables 2024-02-10 13:33:09 +01:00
Lili (Tlapka) 5e7810eb9f another list_redeems fix
dont use list_redeems
2024-02-10 12:21:29 +01:00
Lili (Tlapka) 61d318f418 fix and improve LIST_REDEEMS 2024-02-10 11:57:57 +01:00
Lili (Tlapka) ba30c96c01 warning improvement 2024-02-10 11:49:09 +01:00
Lili (Tlapka) 6d3a4671cc fix dictionary iteration in redeems 2024-02-10 11:31:51 +01:00
Lili (Tlapka) 384ca03e23 rewrite space warning 2024-02-06 20:16:54 +01:00
Lili (Tlapka) 7722bdf608 add redeem name warning to init 2024-02-06 20:15:58 +01:00
Lili (Tlapka) 8e4d21c02f clarify positivity of integer 2024-02-06 19:11:53 +01:00
Lili (Tlapka) 571aa47aab make zero points not redeemable 2024-02-06 19:10:37 +01:00
Lili (Tlapka) 433564bddf only one debug log for terminal needed 2024-02-06 19:06:00 +01:00
Lili (Tlapka) 894ff175a6 remove redundant line ends 2024-02-06 18:18:15 +01:00
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