Commit graph

89 commits

Author SHA1 Message Date
e2cbb6d10e
Add save command 2024-12-31 03:22:08 +01:00
73ead8d50a
Add recent command 2024-12-31 02:48:36 +01:00
8a8faae44c
Add profile command 2024-12-31 02:38:43 +01:00
8c4d8715f7
Implement top 2024-12-31 02:02:03 +01:00
b76597e594
Set up simple command for osu 2024-12-31 01:18:22 +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
7d490774e0
osu: make commands aware of user's preferred mode (#54)
* Add preferred_mode to sql database

* Update username and preferred mode

* Make commands aware of preferred mode

* Fetch user extras to display information

* Show user information on forcesave
2024-10-31 13:04:08 +00:00
c5354e30ad
osu: fix 0-based indices 2024-10-12 17:22:33 +02:00
6fbae89dfe
osu: Implement pins (#53)
Also format recent so attempt count is displayed
2024-10-12 15:07:56 +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
7565a6e5c5
Properly scale map age to 0.975 2024-08-05 16:04:54 +02:00
b9f6fa7fb8
Apply automatic clippy 2024-08-04 22:40:46 +02:00
8e90006eb9 Add map_age display in ranks and user card 2024-08-04 20:39:57 +00:00
a4407df97c Update osu to respond to the new sql format and rewrite announcer 2024-08-04 20:39:57 +00:00
69c9c88617 Clean up user_best 2024-08-04 20:39:57 +00:00
dc02b4b7e2
osu: Improve wording for interaction outputs 2024-07-14 06:16:28 +02:00
fcd6879f86
osu: Implement server rankings button 2024-07-14 05:28:03 +02:00
3f8198f19c
osu: Make load_beatmap arguments less confusing 2024-07-14 00:50:09 +02:00
32053c3fe3
osu: Implement check button! 2024-07-14 00:48:09 +02:00
1d250b8ea7
Refactor out link parsers 2024-07-13 22:14:32 +02:00
fdeba634f4
Properly release lock on user header... 2024-06-20 17:16:19 +02:00
7f15a4698a Implement a score hook 2024-06-20 02:39:57 +02: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
4ba64a466d
Add weighted map length to profile 2024-03-06 16:33:22 +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
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
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
c2562fbbca Simplify lb 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
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
f7ea23ed3b
Store osu! user username 2024-02-04 23:24:28 +01:00
125bc3bd61
Use separate osu clients for announcer 2023-12-27 17:48:36 +01:00
220dbc21ea
Patches to get deadlocking in osu updates fixed 2023-11-21 14:55:00 +01: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
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
2e3c6f61be
Pull info from an attached .osu/.osz file (#18) 2022-04-29 19:31:04 -04:00
51db72acb2
Temporarily move to rosu 2022-02-09 15:20:36 -05:00