b5e283bf8c
feature (core): Add multi-embed library patch.
2022-03-19 13:12:24 +02:00
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
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
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
Harsha Raghu
0bb96aeeb2
[DB][CORE][Topgg] Update DB to accommodate Topgg module
2022-01-18 00:10:25 +05:30
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
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
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
d2a5eed245
Merge branch 'feature-session-tracker' into staging
2021-12-08 12:02:17 +02:00
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
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
3cb9d97e1e
fix: Improve launch caching systems.
2021-12-02 12:01:12 +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
fc3246913f
fix (core): Update guild_config definition.
...
Increase the cache size, and update the columns.
2021-11-07 16:27:38 +02:00
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
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
9341f3ce8e
Merge branch 'utils' into python-rewrite
2021-10-05 10:23:08 +03:00
97e441f911
optimisation: Populate data caches on startup.
2021-10-05 10:21:24 +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
951158ebc2
fix: Add missing file
2021-09-28 21:05:05 +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
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
73d210db31
(stats cmd): Fixed rank display.
...
Added `member_ranks` data view for getting time and coin ranks from db.
2021-09-13 09:28:12 +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
459a728968
Core user data and leaderboard commands.
...
Added flexibility to data `update_where`.
Added interactive utils, with improved pager.
Added user data table, with caching and transactional interface.
Added `topcoins` command to `Economy`
Added `top` command to `Study`
2021-08-26 22:34:46 +03:00