conatum
971446ffb5
(stats): Rewrite to include session data.
...
Complete `stats` command rewrite to include session data.
Added `get_member_rank` query to get accurate time and coin ranks.
2021-12-06 20:50:32 +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
bb181d9039
(badges): Update to account for session tracker.
...
Include current sessions in new badge scans.
Remove the voice update badge hook.
Account for current session in the current badge view.
2021-12-04 11:13:26 +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
3abac63379
style (config): Add closest-match suggestions.
2021-12-02 12:50:23 +02:00
conatum
3cb9d97e1e
fix: Improve launch caching systems.
2021-12-02 12:01:12 +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
conatum
0b7b84556d
fix (renting): Fix expiry execution order.
2021-10-26 11:42:25 +03:00
Interitio
3465b16c79
Merge pull request #3 from StudyLions/staging
...
Bugfixes and minor UI improvements
2021-10-26 09:04:23 +03:00
conatum
f18b7c2702
docs (config): Add more documentation.
...
Write `config` command docs.
Extend `config` header and add tutorial link.
Allow moderators to read settings (but not configure them).
Change `config help` to `config info`.
2021-10-25 16:15:43 +03:00
conatum
17d6f10345
UI (help): Add flavour and links to help.
2021-10-25 15:00:09 +03:00
conatum
cf610ef44d
fix (rent): Handle non-existent objects.
...
Handle room channel being deleted before expiry.
Handle room owner leaving the server before expiry.
2021-10-25 14:37:38 +03:00
conatum
e9c812b65a
fix (Message): Harden parsing and display.
...
Significantly broaden error handling for initial parsing.
Add error details upon parsing error.
Add more error catchers to parser and formatter.
Remove assumptions about data fields from format and output.
2021-10-24 21:06:37 +03:00
conatum
5ad4ec5ee1
fix (send cmd): Harden arg parsing.
...
Fix an issue where the send arg parsing would pass non-matching input.
2021-10-24 20:12:28 +03:00
conatum
9b8c952e78
fix (rroles): Handle unicode emojis on creation.
...
Fixes a rroles creation issues with pre-existing unicode emojis.
2021-10-24 19:52:06 +03:00
conatum
d619b0fe17
fix (rroles): Fix tracker issues.
...
Make `cancel_expiry` arguments consistent with call.
Add initial `guild` ward to the raw reaction events.
2021-10-24 19:39:06 +03:00
conatum
66fdf54ca8
(core): Improve permission error handling.
...
Add channel permission wards to `LionModule` pre-command hook.
Improve `Forbidden` handling in `embed_reply` and `error_reply` addons.
2021-10-24 18:50:14 +03:00
AriHoresh
14460803e7
Update README.md
2021-10-20 16:52:06 +02:00
conatum
c275b8b095
(LionModule): Add custom exception handler.
...
Provide more context when logging errors, and a friendlier message.
2021-10-20 13:26:39 +03:00
conatum
42e47bea1a
fix (rooms): Cancel rooms on system shutdown.
...
Fix typos in the `success_response` for `accountability_category`.
Make the `TimeSlot.cancel()` method more robust.
2021-10-20 12:55:36 +03:00
Interitio
ace44d0d7d
Merge pull request #2 from StudyLions/staging
...
Bugfixes and small UI updates
2021-10-20 09:24:30 +03:00
conatum
91454b35cc
fix (studybadges): Detect level duplicates.
...
Detect and complain about duplications in provided studybadge levels.
2021-10-19 21:26:03 +03:00
Interitio
a4fdcc25a0
(readme): Fix some typos.
2021-10-19 21:00:04 +03:00
AriHoresh
bca9c12e8c
Update README.md
2021-10-19 19:55:15 +02:00
AriHoresh
b521790a50
Create README.md
2021-10-19 19:42:14 +02:00
conatum
6a43530142
fix (rooms): Harden turnover to deletion.
...
Fix an issue where `TimeSlot.start()` could propagate an exception.
2021-10-19 20:21:57 +03:00
conatum
7c2a6c39a7
fix (Ticket): Make default _revert a no-op.
...
Fixes an issue where pardoning a non-revertable ticket throws an exception.
2021-10-19 19:58:04 +03:00
conatum
a044071387
style (settings): Don't display deleted channels.
...
Hides deleted or inexistent channels in the formatted settings.
2021-10-19 19:42:43 +03:00
AriHoresh
91bdad4a69
Create FUNDING.yml
2021-10-19 18:38:13 +02:00
conatum
8eaaeedf93
fix (settings): Handle empty setting input.
...
Handle empty `userstr` when parsing setting input.
List types also ignore empty fields or trailing commas.
Fixes an issue where parsing would throw an exception on empty fields.
2021-10-19 19:32:30 +03:00
conatum
a52026404b
fix (video): Add missing return in response.
2021-10-19 19:15:48 +03:00
conatum
850e44bbc0
UI (accountability): Add images to room summary.
2021-10-19 19:09:16 +03:00
conatum
af49a3cde6
fix (core init): Handle preload with no members.
...
Fixes an issue where bot would crash when loaded with no active members.
2021-10-19 16:18:44 +03:00
conatum
93dcb6bd24
(data): Migration v4 -> v5.
...
Add migration script for v4 -> v5.
Bump data version in schema and constants.
2021-10-19 13:27:28 +03:00
conatum
1852710352
Merge branch 'python-rewrite' into reaction_roles
2021-10-19 13:23:16 +03:00
conatum
117b424f53
(rroles): Expiry system and small bugfixes.
...
Completed the `duration` reaction role setting implementation.
Improved the `Duration` setting type format.
Moved reaction roles to their own module.
Various small bugfixes.
2021-10-19 13:19:41 +03:00
conatum
cfa3c90841
feature (reaction-roles): Configuration command.
...
New monolithic `rroles` configuration command.
Complete logging and setting implementation in RR tracker.
Improve strings in RR settings.
Add special `NEWPAGE` manual section parsed by the help command.
Add `tabulated` method for `ObjectSettings` for easy display.
Add `_parse_create` switch for the `Role` setting type.
2021-10-18 15:28:14 +03:00
conatum
ed3ead4f88
(Style): Minor wording changes.
2021-10-11 19:34:06 +03:00
conatum
87571d46e0
Merge branch 'utils' into python-rewrite
2021-10-05 11:21:30 +03:00
conatum
4523b16d87
fix (guild admin): Fix typo in module import
2021-10-05 11:20:16 +03:00
conatum
af26de6603
(accountability): Close rooms before turnover.
...
No longer automatically move members from the previous room.
Add extra member hardening to the turnover process.
2021-10-05 11:19:49 +03:00
conatum
9341f3ce8e
Merge branch 'utils' into python-rewrite
2021-10-05 10:23:08 +03:00
conatum
97e441f911
optimisation: Populate data caches on startup.
2021-10-05 10:21:24 +03:00
conatum
8b6f60d7f3
(guild admin): Autoroles and role persistence.
2021-10-05 00:28:33 +03:00