Commit Graph

23 Commits

Author SHA1 Message Date
conatum a2b1c38174 (economy): Rebalance default rewards. 2022-01-24 13:58:16 +02:00
conatum 18d6c977d7 (economy): Flip bonus logic and fix workout text.
Default to not giving a bonus.
Fix an issue where `workout` was displaying unboosted reward.
2022-01-24 06:48:32 +02:00
conatum b213283d95 fix (data): Cap coin updates.
Fixes an issue where the session system could overflow `members.coins`.
2022-01-24 06:32:00 +02:00
conatum 28bed5899a fix (global): Migration to LionContext. 2022-01-22 07:04:01 +02:00
conatum 4a67736adc (core): Add member name caching. 2022-01-20 12:12:17 +02:00
conatum 50da6b18d2 (sessions): Account for rounding error in expiry.
Also make `_expiry_task` properly cancellable.
Fixes an issue where `schedule_expiry` would always reschedule itself.
2022-01-14 19:38:40 +02:00
conatum 3d5a1e9942 (sessions): Ignore bots. 2022-01-12 15:37:03 +02:00
conatum b90cfbc615 (help): Add Pomodoro help group. 2022-01-12 10:15:13 +02:00
conatum d1f27ca826 (cmd_now): Wording updates and clear pathway. 2022-01-12 09:02:26 +02:00
conatum 1629a34ea1 fix: Add forgotten commands file. 2022-01-11 23:35:04 +02:00
conatum e6e0d7a9a3 (sessions): Add customisable study tags. 2022-01-11 23:31:42 +02:00
conatum 276886a3a7 sharding (general): Add launch data filters.
Filter cached reaction role messages by shardid.
Filter expiring rented room by shardid.
Filter scanned study badges by shardid.
Filter resumed study sessions by shardid.
Filter resumed workouts by shardid.

Fix a spacing issue in the log printer.
2021-12-22 17:26:49 +02:00
conatum 1c05d7a880 sharding (blacklists): Blacklist shard support.
Moved the `user_blacklist` and `guild_blacklist` to a client TTL cache.
2021-12-22 13:07:20 +02:00
conatum f18af33fb6 fix (sessions): Recognise accountability sessions. 2021-12-08 11:44:35 +02:00
conatum 179b6ebf4e (leaderboards): Update to support sessions.
Use `member_totals` to generate leaderboards instead of `members`.
Fix typo in data coin conversion.
2021-12-04 11:36:52 +02:00
conatum 144ccf9e81 (Lion): Update to account for current session.
Remove `time` pending and syncing logic.
Update `time` and `coins` to account for current session.
Add `Session.duration` for current session duration.
Add `Session.coins_earned` for current session coins.
2021-12-04 10:24:11 +02:00
conatum cffdfb693b (sessions): Add guild join and leave hooks. 2021-12-02 13:16:36 +02:00
conatum fe1cd85511 (sessions): Add UI for daily_study_cap. 2021-12-02 12:51:14 +02:00
conatum 734436e2a6 (sessions): Add daily_study_cap system. 2021-12-02 11:48:04 +02:00
conatum ac71c4da9b (sessions): Add study_time_since function.
New `study_time_since` database function from session history.
Add `Lion.timezone`.
Add `Lion.day_start`.
Add `Lion.studied_today`.
Made `Table.queries` an instance variable.
Renamed the session channel types.
2021-11-29 13:33:21 +02:00
conatum 9c8dfd6a3a (sessions): Complete launch and init pathway. 2021-11-29 13:31:37 +02:00
conatum 65fcfe0289 feature (sessions): Core session tracker.
Base `Session` system with event trackers.
2021-10-31 20:15:32 +02:00
conatum 5ea7d06dae refactor: Update study module structure.
Prepare `study` module for session and timer systems.
Move regular sync to the studybadge loop.
2021-10-26 17:35:16 +03:00