Commit graph

504 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
22fc980a51
Update cachix action, part 2 2024-06-20 01:57:16 +02:00
48433fb4a1
Update cachix action 2024-06-20 01:55:32 +02:00
7d0a8b53e9
Update flake 2024-06-19 21:17:08 +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
dependabot[bot]
e0664760fb
Bump rustls from 0.21.10 to 0.21.11 (#47)
Bumps [rustls](https://github.com/rustls/rustls) from 0.21.10 to 0.21.11.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.10...v/0.21.11)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 20:19:40 +00:00
dependabot[bot]
336895caeb
Bump h2 from 0.3.24 to 0.3.26 (#46)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 17:31:16 +00:00
dependabot[bot]
dc3f4c29d5
Bump whoami from 1.4.1 to 1.5.1 (#45)
Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.1.
- [Changelog](https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md)
- [Commits](https://github.com/ardaku/whoami/compare/v1.4.1...v1.5.1)

---
updated-dependencies:
- dependency-name: whoami
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 16:02:06 +00:00
a2f0684509
Composed framework (#43)
Composed poise and serenity into a composed framework. This will help the migration towards slash-commands in the future.
2024-03-27 12:50:48 -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
d23c86fb99
Don't retry the members endpoint too much 2024-03-06 16:38:50 +01:00
4ba64a466d
Add weighted map length to profile 2024-03-06 16:33:22 +01:00
01c743f866
Don't use dashmap when you need async updates [deadlocks xd] 2024-03-06 16:14:31 +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
a50f44ad90
Don't respond to the bot's pagination reaction 2024-03-05 22:18:08 +01:00
dependabot[bot]
e4a55d9958
Bump mio from 0.8.10 to 0.8.11 (#36)
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 09:04:27 +00: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
431f295b41 Pagination: just delete our own reaction as fallback
... happens if we don't have message management permissions.
We definitely don't want to vomit errors to the user.
2024-02-25 18:45:22 +00:00
2a279e62e4 Require json feature of reqwest in prelude 2024-02-25 18:45:22 +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
4bdab3cefb Update youmubot 2024-02-25 18:45:22 +00:00
0460e800e5 Update youmubot-osu 2024-02-25 18:45:22 +00:00
2db59905b2 Update youmubot-cf 2024-02-25 18:45:22 +00:00
08d639944e Update youmubot-core 2024-02-25 18:45:22 +00:00
3f115eaab0 Update serenity and make prelude compile 2024-02-25 18:45:22 +00:00
a6d1259362 Use latest unstable flake for rustc 1.75 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