Commit Graph

63 Commits

Author SHA1 Message Date
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
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
734436e2a6 (sessions): Add daily_study_cap system. 2021-12-02 11:48:04 +02:00
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
65fcfe0289 feature (sessions): Core session tracker.
Base `Session` system with event trackers.
2021-10-31 20:15:32 +02:00
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
8b6f60d7f3 (guild admin): Autoroles and role persistence. 2021-10-05 00:28:33 +03:00
021182abde (rooms): Restore permission on guild rejoin.
Restore rented owner and member permissions on rejoin.
Adds a `userid` index to `rented_members_users`.
2021-10-04 18:49:26 +03:00
b31a34e725 (guild admin): Add greeting messages.
New `SettingType` `Message` for general message settings.
New setting `greeting_message`.
New setting `greeting_channel`.
New setting `starting_funds`.
New setting `returning_message`.
Add a greeting message hook.
Add initial funds on lion creation.
Data migration v3 -> v4.
2021-10-04 18:16:34 +03:00
9ae0de034f (Sysadmin): Add guild and user blacklist.
v2 -> v3 data migration for the blacklist tables.
Added blacklists and blacklist commands
Added bot admin level to help groups.
2021-09-28 20:54:22 +03:00
055e31d683 fix (migration): Fix some faulty syntax. 2021-09-25 17:48:43 +03:00
6f48f47ffd (Moderation): Base moderation and video system.
Migration to data v2.
Complete core Ticket-based moderation system.
StudyBan ticket implementation.
Video-channel tracking system.
2021-09-25 14:43:28 +03:00
d9c676b262 (Tasklist): Make tasklists global. 2021-09-21 17:21:12 +03:00