Commit Graph

7 Commits

Author SHA1 Message Date
d498673020 sharding (data): Add SHARDID condition. 2021-12-22 10:34:34 +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
73cceb0412 (Core data): Restart when DB is inaccessible. 2021-09-21 16:06:30 +03:00
4229fe8b18 (Data): Small extensions to core data interfaces.
Add `LEQ` condition type.
Ensure that batch updates don't fire with nothing to update.
Add `cast_row` to `update_many` for handling typed `NULL`s.
2021-09-19 09:54:08 +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
05cb9650ee Core bot framework 2021-08-25 22:56:45 +03:00