Commit graph

16 commits

Author SHA1 Message Date
b5e8a24919
Remove reactions when youmu is no longer handling paginations 2024-02-11 17:34:46 +01:00
54502ad61b
Massive lint fix 2023-10-22 17:45:13 +02:00
8632f0e99c
Massive dependencies bump 2022-06-11 15:50:56 -04:00
2feb91ac00
Misc improvements to osu! (#15)
* Use len() as hint for pagination

* Implement len for beatmapset paging

* More tweaks for pagination

* Move table rendering to display mod

* Use grid throughout the commands

* No more double user update

* Sort by PP by default

* Filter check by mod

* Filter lb by mod

* Improve 1-page cases
2021-06-19 22:54:08 +09:00
1799b70bc1
Move to SQLite (#13) 2021-06-19 22:36:17 +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
f1719019d1
Core/Prelude: Fix lifetime unsoundness 2020-09-07 02:09:06 -04:00
b5424c0087
Prelude: pagination takes a &mut Message 2020-09-06 22:16:24 -04:00
a8958a20f2
Remove ReactionWatcher (use serenity collector!) and simplify paginate 2020-09-03 17:55:19 -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
90be66b950
Relax Pagination to &mut self 2020-02-10 19:09:23 -05:00
5ae8ca5f0e
Signal on the end of pagination handler cycle 2020-02-09 15:08:25 -05:00
290e6229a8
Fix a bug where Pager listens to all reactions from all messages 2020-02-08 14:38:16 -05:00
33c6aae64d
Tune Pagination to be less buggy and more friendly 2020-02-08 13:54:56 -05:00
2913d92682
Implement Pagination 2020-02-07 13:06:09 -05:00