Commit graph

69 commits

Author SHA1 Message Date
ba74465ca7 Add leaderboard command 2025-02-20 18:19:00 +01:00
6105ee610f Add beatmap command 2025-02-20 18:19:00 +01:00
257afd28af osu: Add a mention method for user model 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
a4fab5438b
Update rosu-pp and rosu-v2 2024-11-18 13:53:25 +01: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
a8d1d11223
Display DA stats 2024-09-28 14:32:26 +02:00
76fd6c803d
Update rosu_pp to 1.1, pass full mods to it 2024-09-14 18:08:15 +02: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
0aae9623a5
Update rosu-v2 2024-07-22 20:02:45 +02:00
1fcabb5e0e
chimu.moe -> catboy.best 2024-06-20 17:31:45 +02:00
8e7b2b75e8
Some neater formatting for links 2024-06-20 16:55:09 +02:00
ffb7b233ab
Update alternate download links 2024-06-20 16:38:45 +02:00
00b8c9e145
Add link to score details and replay 2024-06-20 16:38:35 +02:00
5cf74e425e
Convert more conservatively with modified DT/HT -> unknown 2024-06-20 16:12:02 +02:00
1441902560
Convert more conservatively with modified DT/HT 2024-06-20 15:59:10 +02:00
9d61868771
Add DT flag on NC and SD flag on PF 2024-06-20 15:58:34 +02:00
7a98dc21a9 Add UserHeader as cacheable alternative to fetching a full user 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
0b111d5b26 Update to rosu-pp 1.0 2024-06-20 02:15:29 +02:00
ea1c8d2cac
Update rosu-v2 2024-04-26 12:04:08 -04: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
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
46684a2a9e Display scores smartly based on classic/lazer 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
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
7d00b95a4f Implement beatmap collecting from rosu-v2 2024-02-17 19:17:38 +00:00
1b02993e98
Lint breaks fmt LOL 2023-10-22 17:49:18 +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
147976f2cc
Enums being dumb :D 2023-04-02 17:35:14 +02:00
8e15aa5f22
Dependencies update 2022-10-16 17:45:47 +02: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
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
e5a74d87e1
Calculate HT timing after HR application 2022-01-19 17:52:16 -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
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
f05afb2b80
Improve osu (#10)
* Add rank event parsing

* Refactor osu announcer

* Increase api limits

* Register user is locked
2021-01-22 12:54:01 +00:00
c6e8bfc43e
Lots of tweaks to the osu! embeds (#4)
* Simplify beatmap embed information

* Shrink embeds!!

* Put ranked status on information

* Paint the user embed!

* Add gained pp

* Use more carefully crafted hooks

* 'JSformat' the bpm float
2020-08-10 03:37:11 +00:00
bc9e45969a
Add missing genres and languages 2020-06-28 13:40:06 -04:00
fde913ebc4
Add bpm to beatmap quick information 2020-06-18 14:19:43 -04:00