Commit graph

182 commits

Author SHA1 Message Date
0e72f12b6d Allow more flexible inputs in embeds 2024-06-20 02:39:57 +02:00
a158e8fbe1 Add score endpoint and expose more apiv2 stuff 2024-06-20 02:39:57 +02:00
e61cbb327a Remove osuparse 2024-06-20 02:15:29 +02:00
e9a6e55569 Reformat uploaded beatmap embed and send background 2024-06-20 02:15:29 +02:00
2315f40cf1 Use rosu_map to parse metadata and collect beatmap background from osz 2024-06-20 02:15:29 +02:00
64ff4b3ed8 Provide a way to give pagination functions a total page count 2024-06-20 02:15:29 +02:00
0b111d5b26 Update to rosu-pp 1.0 2024-06-20 02:15:29 +02:00
dc44a0b4b3
osu: Try to find the right score when announcing 2024-06-16 22:33:24 +02:00
aa90422c99
Update rosu-v2 2024-06-05 00:29:17 +02:00
ea1c8d2cac
Update rosu-v2 2024-04-26 12:04:08 -04:00
f3c062f417
Getting pp info when a new user is saved. (#42) 2024-03-17 22:13:57 +01:00
1066f249b0
osu: Introduce Env and propagate it to other functions (#40) 2024-03-17 17:21:13 +01:00
94dc225b86
Don't assume user_best scores have pp 2024-03-17 17:11:42 +01:00
13683aa229
Reuse table_formatting logic for almost everything (#39) 2024-03-10 05:01:44 +01:00
54426ed477
Move table_formatting to prelude (#38) 2024-03-07 23:30:08 +01:00
4ba64a466d
Add weighted map length to profile 2024-03-06 16:33:22 +01:00
0f91c3a22a
Allow server-ranks by map length 2024-03-06 00:28:29 +01:00
e1671ca510
Pad map length properly 2024-03-06 00:19:02 +01:00
11f32ccf04
osu: Implement map length on server ranks 2024-03-06 00:01:38 +01:00
d158d4015e
osu: Forget about mods when querying a beatmap for check 2024-02-29 14:23:06 +01:00
b4cf6ce94f
Fix User/Role/Channel id parsing (#35)
* Import thiserror to make nicer errors

* Create wrappers for id that exposes old parsing behavior (from mentions)

* Use id wrappers when parsing parameters
2024-02-28 18:02:42 +00:00
f57cd528f3 Formatting 2024-02-25 18:45:22 +00:00
4a1853532a One round of cargo clippy 2024-02-25 18:45:22 +00:00
0460e800e5 Update youmubot-osu 2024-02-25 18:45:22 +00:00
3f115eaab0 Update serenity and make prelude compile 2024-02-25 18:45:22 +00:00
40935f114a
Format... 2024-02-17 20:38:25 +01:00
1125cac2a8
Manually fix the rest of the lints 2024-02-17 20:37:43 +01:00
508cf52e6f
Apply cargo-clippy fixes 2024-02-17 20:20:41 +01:00
5bb6161b36 explicitly cache member list 2024-02-17 19:17:38 +00:00
aff2f93714 Make server rank more(?) parallel and introduce calculated pp 2024-02-17 19:17:38 +00:00
c2562fbbca Simplify lb 2024-02-17 19:17:38 +00:00
48bd49b3bd Include failing scores 2024-02-17 19:17:38 +00:00
4a67e4f73b Simply use v2 for lazer scores 2024-02-17 19:17:38 +00:00
10129af76a Move from naersk to crane 2024-02-17 19:17:38 +00:00
46684a2a9e Display scores smartly based on classic/lazer 2024-02-17 19:17:38 +00:00
23795d281e Remove redundant test 2024-02-17 19:17:38 +00:00
d3fc805819 Use non-unicode artist and title 2024-02-17 19:17:38 +00:00
c5d00f12d8 Display lazer mod instead of classic mod 2024-02-17 19:17:38 +00:00
fef6516ae1 Remove old reqwest osu api v1 2024-02-17 19:17:38 +00:00
07928671e2 Implement user score 2024-02-17 19:17:38 +00:00
84b13dcef3 Implement score fetching 2024-02-17 19:17:38 +00:00
f5cc201f1c Implement user api from rosu 2024-02-17 19:17:38 +00:00
b5013b9899 Add cache clear command 2024-02-17 19:17:38 +00:00
7d00b95a4f Implement beatmap collecting from rosu-v2 2024-02-17 19:17:38 +00:00
8febf0106e Construct rosu api 2024-02-17 19:17:38 +00:00
5666e560e9 Add rosu-v2 2024-02-17 19:17:38 +00:00
081b75d167
Improve formatting slightly 2024-02-12 15:15:29 +01:00
51a2054385
Improve formatting slightly 2024-02-12 15:11:58 +01:00
fdae8be75b
Improve formatting slightly 2024-02-11 17:57:26 +01:00
30f186c604
Use the user's own top scores for saving checks 2024-02-05 01:44:44 +01:00