61 Commits

Author SHA1 Message Date
49c2c4c3bd fix: Add channel link data. 2024-08-31 15:31:16 +10:00
d10fd2fc1d Initial merger with Twitch interface. 2024-08-27 17:41:33 +10:00
7e6dcb006f feature: Add streamalerts cog. 2024-08-18 21:51:38 +10:00
116bb869db fix(schema): Fix timer column typo. 2023-10-27 15:41:26 +03:00
ad455e5ac3 feat: Implement Sponsors. 2023-10-20 19:52:22 +03:00
be4fb5c7e2 (schema): Update schema to v13. 2023-10-10 07:55:04 +03:00
2b93354248 rewrite: Tasklist module. 2022-12-23 06:10:21 +02:00
4014e0a3a6 rewrite: Shop and economy system. 2022-12-17 19:29:20 +02:00
d7ee675561 fix (data): Handle overflow in session save. 2022-09-09 23:08:55 +10:00
8c9e2e6cd8 (data): Implement guild contribution log. 2022-05-12 00:22:27 +03:00
3cac3f8248 fix (data): Fix typo in customised_skin_data. 2022-04-26 13:43:22 +03:00
5eef17329d data (skins): Add skin data definitions. 2022-04-25 22:35:04 +03:00
6f9c8b7138 gems: Generalise gem transaction table.
Updates gem audit table for more generality.
Fixes issue with `Row._refresh()`.
Data migration v11 -> v12.
Remove `set_gems` (not needed due to gem module refactor).
2022-04-02 11:40:42 +03:00
645c437edd Merge branch 'staging' into feature-gems 2022-04-02 11:38:47 +03:00
JetRaidz
08eb9e8890 (data): Add LionGem audit log database table. 2022-03-23 21:02:01 +13:00
9ea40e5433 feature (sponsors): Add guild whitelist.
Add `sponsor_hidden_in` app setting.
Add new `GuildID` and `GuildIDList` setting types.
2022-03-19 17:03:47 +02:00
ace84c9388 (core): Add app-global setting storage.
New `AppConfig` key-value table for arbitrary app config.
New `KeyValueData` setting data mixin.
New `AppSettings` settings group.
Attached `AppSettings` as `client.settings`.
Migrated sponsor settings to `AppSettings`.
2022-03-19 15:54:34 +02:00
da9f9b02b1 feature (sponsors): Add sponsor command.
Add new sponsor prompts.
Add new sponsor command.
Add `sponsor_text` table.
Add sponsor global config settings.
Update `Setting.command` to use new `widget`.
Add custom `cmd_str` support to `Message` `SettingType`.
2022-03-12 17:27:25 +02:00
JetRaidz
df032a8f78 (data): Adding support for premium currency. 2022-02-19 21:00:08 +13:00
b27ab4af79 (data): Bump version 9 -> 10. 2022-01-28 19:11:46 +02:00
4fc1494a8f Merge branch 'achievements' into staging 2022-01-28 17:20:52 +02:00
50f6e8928f (data): Add API_timestamp column. 2022-01-28 16:39:12 +02:00
3261781775 feature: Achievements base. 2022-01-27 00:36:31 +02:00
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
4a67736adc (core): Add member name caching. 2022-01-20 12:12:17 +02:00
570c91eb94 (topgg): Name and wording tweaks. 2022-01-20 08:07:01 +02:00
7fad03ecd9 (data): Update version and index. 2022-01-19 14:19:38 +02:00
Harsha Raghu
19816198b0 [Reminder] Allow footer and title modification
Module will be more more flexible
2022-01-18 21:12:48 +05:30
Harsha Raghu
c01de167f3 [DB] Update schema 2022-01-18 00:48:01 +05:30
Harsha Raghu
0bb96aeeb2 [DB][CORE][Topgg] Update DB to accommodate Topgg module 2022-01-18 00:10:25 +05:30
Harsha Raghu
a2fcdf075f [DB] Init Topgg DB Framework 2022-01-14 18:49:51 +05:30
Harsha Raghu
7a8342c7f7 Fix Database Schema
Extra ',' resulting in errors when freshly reconstructing lionbot DB
2022-01-12 19:58:27 +05:30
e6e0d7a9a3 (sessions): Add customisable study tags. 2022-01-11 23:31:42 +02:00
5fbf84537d (data): Start migration v7 -> v8. 2022-01-10 18:55:00 +02:00
dd4fa985df (timer): UI improvements.
Add `pomodoro_channel` guild setting.
Add customisable per-timer text channel.
Improve `reaction_message` flow.
Change algorithm for updating vc name.
Add `stage` and `pattern` vc name substitutions.
2022-01-10 17:02:14 +02:00
5431877569 feature (timer): Core pomodoro system. 2022-01-08 02:58:16 +02:00
d60a8772a3 feature (stats): Weekly and monthly goals.
Add a new editing interface for weekly and monthly goals.
Textual viewing interface is currently a stub.
Add `month_timestamp` and `week_timestamp` lion properties.
2021-12-30 11:26:58 +02:00
46bf03ae25 feature (setprofile): Profile tag editor. 2021-12-29 20:20:17 +02:00
e2c096f350 (todo): Add extra metrics for stats.
v6 -> v7 data migration.
Use soft deletion for tasks.
Remove task expiry.
Migrate `complete` field to `completed_at`.
2021-12-29 08:27:53 +02:00
b273ae0596 (data): Update version and migration. 2021-12-07 13:23:13 +02:00
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
1852710352 Merge branch 'python-rewrite' into reaction_roles 2021-10-19 13:23:16 +03:00
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
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