Commit Graph

11 Commits

Author SHA1 Message Date
b5a4a17239 (lion): Add more properties, and default tags.
Added `Lion.guild`.
Added `Lion.ctx`.
Added `Lion.profile_tags`, with defaults.
2022-01-24 10:40:29 +02:00
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
4a67736adc (core): Add member name caching. 2022-01-20 12:12:17 +02:00
2ff4805d6c (Lion): Make economy bonus logic explicit. 2022-01-19 14:54:11 +02:00
Harsha Raghu
5b4d54a3b9 [Core] Expose addCoins to modules 2022-01-18 22:41:40 +05:30
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
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
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
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
0183b63c55 Data system refactor and core redesign for public.
Redesigned data and core systems to be public-capable.
2021-09-12 11:04:49 +03:00