Commit graph

29 commits

Author SHA1 Message Date
5fde2f343a
pagination: Directly pass list of interactions to render 2025-02-20 20:07:17 +01:00
8c5135bfc9
Remove loading reactions 2025-02-20 19:46:13 +01:00
d1f3aa5fa9
Change pagination to use interactions instead of reactions 2025-02-20 19:34:14 +01:00
b302bd3ce1 osu: [Big!] rework load_beatmap so that it can retrieve beatmapsets
Also
- scoreboard can handle beatmapsets now
- "when" column is included
- beatmapWithMode's mode field is now optional
2025-02-20 18:19:00 +01:00
16cd0fc72a Revert score per page to 5 2025-02-20 18:19:00 +01:00
3f9db46032 Add check command 2025-02-20 18:19:00 +01:00
6105ee610f Add beatmap command 2025-02-20 18:19:00 +01:00
d1819d06b2 Implement top 2025-02-20 18:19:00 +01:00
51fa34a7bf
osu: Some lazer-related stat reconsideration (#56)
* Split lazer property to its own toggle

* Use lazer stats from API more verbatim in pp calculation

* Update CI to use 1.83

* Set rust-toolchain
2024-12-21 23:05:15 +00:00
803d718c7a
osu: implement beatmapset and simulate button (#55)
* Prepare a message beforehand for display_beatmapset

* Implement a Beatmapset button

* Always sort top plays by pp

* Show leaderboard for top pp per user/mod only

* Add score simulation

* Store all reaction to be removed later

* Properly handle errors

* Parse beatmap to get placeholders for modal

* Make buttons same color
2024-11-04 17:23:00 +00:00
735b382102
Drop old homegrown Mods for rosu_v2::Mods, implement rate change support (#52)
* Move mods to intermode wrapper

* Update rust to 1.79

* Move mods from homebrewed impl to rosu

* Display mod details

* Take clock-rate into account when calculating pp

* Allow specifying rate in mods input

* Formatting

* Fix clippy
2024-08-24 21:21:01 +00:00
6458454ba9
Apply manual clippy 2024-08-04 22:47:43 +02:00
b9f6fa7fb8
Apply automatic clippy 2024-08-04 22:40:46 +02:00
fcd6879f86
osu: Implement server rankings button 2024-07-14 05:28:03 +02:00
32053c3fe3
osu: Implement check button! 2024-07-14 00:48:09 +02:00
1066f249b0
osu: Introduce Env and propagate it to other functions (#40) 2024-03-17 17:21:13 +01:00
13683aa229
Reuse table_formatting logic for almost everything (#39) 2024-03-10 05:01:44 +01:00
f57cd528f3 Formatting 2024-02-25 18:45:22 +00:00
0460e800e5 Update youmubot-osu 2024-02-25 18:45:22 +00:00
c5d00f12d8 Display lazer mod instead of classic mod 2024-02-17 19:17:38 +00:00
51a2054385
Improve formatting slightly 2024-02-12 15:11:58 +01:00
b0f7aab1a1
Remove notice that star difficulty doesn't reflect mods applied 2023-10-22 17:47:52 +02:00
54502ad61b
Massive lint fix 2023-10-22 17:45:13 +02:00
17e59e7135
Enable pp calculation for all modes 2023-10-22 17:19:32 +02:00
51db72acb2
Temporarily move to rosu 2022-02-09 15:20:36 -05: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
abc0fc5f73 Save on not calculating pp in beatmap info 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