Commit graph

22 commits

Author SHA1 Message Date
a35563801d
pagination: make editing generic over a CanEdit interface 2025-02-20 22:54:38 +01:00
5fde2f343a
pagination: Directly pass list of interactions to render 2025-02-20 20:07:17 +01:00
d1f3aa5fa9
Change pagination to use interactions instead of reactions 2025-02-20 19:34:14 +01:00
b9f6fa7fb8
Apply automatic clippy 2024-08-04 22:40:46 +02:00
64ff4b3ed8 Provide a way to give pagination functions a total page count 2024-06-20 02:15:29 +02:00
13683aa229
Reuse table_formatting logic for almost everything (#39) 2024-03-10 05:01:44 +01:00
08d639944e Update youmubot-core 2024-02-25 18:45:22 +00:00
54502ad61b
Massive lint fix 2023-10-22 17:45:13 +02:00
45425a4bc4
Formatting 2021-06-21 17:27:52 +09:00
6944ddfe75
Add update-role-message command 2021-06-21 17:25:37 +09:00
1799b70bc1
Move to SQLite (#13) 2021-06-19 22:36:17 +09:00
925aa90887 Add role messages 2021-02-17 05:12:49 +09:00
1ecfcc92d2 Extended role list 2021-02-17 05:12:49 +09:00
bd845d9662
More osu improvements (#11)
* Don't show DT when NC is on

* Allow leading + in mods parsing

* Extend Pagination

* Implement beatmapset display

* Move OkPrint to prelude

* Beatmapset display seems to work

* Put reaction handler into static

* Make clippy happy

* Add beatmapset caching and last --set

* Delay loading of beatmap info

* Simplify hook link handling

* Replies everywhere!

* Replies everywhereee!
2021-02-01 17:13:40 +00:00
6bf2779d61
osu updatelb command (#8)
* Make `paginate` take a Paginate trait impl, while `paginate_fn` takes a function

* Add `updatelb` command

* Implement a member cache

* Update member queries to use member cache

* Allow everyone to updatelb
2020-11-23 07:26:18 +00:00
e830eab3f2
Fix intents and so core/choose and core/role 2020-09-20 15:52:33 -04:00
f1719019d1
Core/Prelude: Fix lifetime unsoundness 2020-09-07 02:09:06 -04:00
890cb21770
Core: asyncify Roles 2020-09-06 22:16:24 -04:00
10ba2dda1d
Overhaul reaction handler to a thread spawning model (#2)
* Overhaul reaction handler to a thread spawning model

* Remove limits for mods on voting and community buckets
2020-07-06 13:26:34 -04:00
2b1567e616
Add example for role 2020-04-13 20:14:59 -04:00
feac1713c2
Tune how roles are parsed 2020-03-27 17:49:17 -04:00
5dd26d7474 Implement roles management (#18)
Fix formatting

Implement `roles` management

Add a 'roles' mod and DB
2020-03-27 21:22:15 +00:00