Commit graph

168 commits

Author SHA1 Message Date
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
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
46684a2a9e Display scores smartly based on classic/lazer 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
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
8febf0106e Construct rosu api 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
d20dbad1b8
New experimental osu save feature 2024-02-05 01:19:13 +01:00
de06c8e37f
Add username display to server ranks 2024-02-04 23:50:09 +01:00
f7ea23ed3b
Store osu! user username 2024-02-04 23:24:28 +01:00
85954639d7
Update sqlx to 0.7 2024-02-04 23:24:15 +01:00
a64b9e1157
Experimental query members by iterator 2023-12-27 18:02:21 +01:00
125bc3bd61
Use separate osu clients for announcer 2023-12-27 17:48:36 +01:00
ddb28c22ba
Pad server pp ranks to 5 digits 2023-12-27 17:45:25 +01:00
eee975092f
Add total pp rankings 2023-12-27 17:33:23 +01:00
220dbc21ea
Patches to get deadlocking in osu updates fixed 2023-11-21 14:55:00 +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
2a36b4942f
Correctly unpack pp fields 2023-09-17 15:28:10 +02:00
604be4ca9b
Clean up unused beatmap ids 2023-09-17 15:28:10 +02:00
3a9a252a1d
Update lots of dependencies 2023-02-17 14:19:46 +01:00
59551f1f6a
Fix osu commands with replies 2023-02-17 14:02:42 +01:00
556ada2b9d
osu: Make c/last/lb sensitive to replied-to messages 2022-11-05 16:37:17 +01:00
7e1b80aff9
Update inputs 2022-10-28 21:29:54 +02:00
8632f0e99c
Massive dependencies bump 2022-06-11 15:50:56 -04:00
2e3c6f61be
Pull info from an attached .osu/.osz file (#18) 2022-04-29 19:31:04 -04:00
99689a21f9
Use "object count" as the "more" valid denominator for passed percentage. 2022-03-27 14:13:43 +02:00
8d2344435b
Use 100-based accuracy 2022-02-09 17:02:43 -05:00
51db72acb2
Temporarily move to rosu 2022-02-09 15:20:36 -05:00
a1975d5b54
Simplify some of the osu commands 2022-02-01 16:31:33 -05:00
68da7c3f4d
Aesthetics change to embeds
- Beatmap drain time now shown in shorten state
- Play embed uses thumbnail instead of image
- User top play now show full stats
2022-01-19 17:57:36 -05:00
cf831fae87
osu! best minor fixes (#16)
- Bump serenity version
- Now no longer pings unless the play is within top 100
- Parse numbers in bold as well
- Use relative time syntax in embeds
2021-10-23 14:33:32 -04:00
a19bc501cb
Add more shortcuts to osu commands 2021-07-18 16:11:29 +09: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