Commit graph

97 commits

Author SHA1 Message Date
96fd0427f5
Save on not calculating pp in beatmap info 2021-02-17 05:07:25 +09:00
6af2bf967f
Show fail percent 2021-02-17 04:51:12 +09:00
edaa461d78
Handle failures and record chewing 2021-02-08 01:27:46 +09:00
3a89c009da
Use more accurate accuracy from 100s and 50s 2021-02-04 16:31:43 +09:00
99d59b3548
Sort beatmaps by a preliminary order 2021-02-02 02:29:49 +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
61a71b819c
Fix concurrency overwrite 2021-01-23 18:48:56 +09: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
145cb01bd0
Split user and announcer osu clients 2021-01-22 14:08:15 +09:00
901d55814d
Update to Tokio 1 and Serenity 0.10 (#9) 2021-01-15 18:50:33 +00:00
8d4c3e01d8
Sort by score and oppai pp 2020-12-01 03:56:14 -05:00
a728119fbe
Add combo into ranks 2020-12-01 02:28:00 -05:00
6bf2779d61
osu updatelb command (#8)
* Make `paginate` take a Paginate trait impl, while `paginate_fn` takes a function

* Add `updatelb` command

* Implement a member cache

* Update member queries to use member cache

* Allow everyone to updatelb
2020-11-23 07:26:18 +00:00
b8471152d3
Update to serenity 0.9.1 2020-11-22 23:56:37 -05:00
85ef689909 Update serenity to v0.9.0-rc.2 2020-10-08 17:47:48 +00:00
229e6a911f
osu: Run score scan for sender of leaderboard 2020-09-14 22:56:11 -04:00
0fd5379446
Send announcements not as part of scanning 2020-09-14 22:33:23 -04:00
bc888e816b
Merge remote-tracking branch 'origin/master' into async-youmu 2020-09-13 23:28:16 -04:00
d32cb6da1d
osu: Fix compile errors 2020-09-13 22:57:57 -04:00
71cbe5c63e
osu: no longer depends on tower 2020-09-13 22:27:39 -04:00
dca732e52e
osu: add ratelimit to oppai_cache, fix deadlock 2020-09-13 22:26:19 -04:00
ce0349859c
osu: Server leaderboard command (#6)
* New db stores user best by beatmap id

* `check` command saves into the database

* Add leaderboard command

* Update youmubot-osu/src/discord/server_rank.rs

Swap ordering
2020-09-13 00:55:36 -04:00
cf7eb60195
osu: add loading indicator 2020-09-08 00:00:06 -04:00
acc1b92002
osu: Optimize top! and hook 2020-09-07 20:07:41 -04:00
238e44a64c
Prelude/Main: rework hook system 2020-09-07 19:41:59 -04:00
b819509244
osu: Remove rayon and add tower 2020-09-07 19:41:05 -04:00
b776a1d26e
osu: Fix commands 2020-09-07 19:01:21 -04:00
421cfd46af
osu: Fix caches 2020-09-07 19:01:08 -04:00
c18d8f48d0
osu: Asyncify announcer 2020-09-07 16:19:00 -04:00
bfe12d3946
osu: Asyncify oppai cache 2020-09-07 14:31:45 -04:00
da2997d8f9
osu: Streamify hook 2020-09-07 14:16:13 -04:00
26074ae257
osu: Fix cache 2020-09-07 14:12:49 -04:00
07a8bc5579
WIP: osu: asyncify caches 2020-09-06 22:09:56 -04:00
b7d398c05a
osu: Move core library to async 2020-09-05 21:31:03 -04:00
d57c02ddf5
top_record is 1-indexed... 2020-08-10 00:06:48 -04: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
10ba2dda1d
Overhaul reaction handler to a thread spawning model (#2)
* Overhaul reaction handler to a thread spawning model

* Remove limits for mods on voting and community buckets
2020-07-06 13:26:34 -04:00
bc9e45969a
Add missing genres and languages 2020-06-28 13:40:06 -04:00
37556df3b7
Set up Github Actions (#1) 2020-06-27 22:32:44 -04:00
51d60037fb
Save top record beatmap to channel cache 2020-06-18 23:40:15 -04:00
264272c9cf
Tweak pp if-fc (again...) 2020-06-18 14:35:09 -04:00
1c59873a8f
Tweak pp if-fc 2020-06-18 14:23:55 -04:00
fde913ebc4
Add bpm to beatmap quick information 2020-06-18 14:19:43 -04:00
3b260aa3e7
Add osu! genre Folk (13) 2020-06-18 13:57:03 -04:00
60360d4f1f
Handle language 14?! 2020-06-17 11:01:29 -04:00
cfd848767d
Match more osu! play mode strings 2020-06-14 21:45:16 -04:00
cafa65581c
Add short link references in embeds 2020-06-14 21:43:13 -04:00
5656d96ce1
Re-format score embed 2020-06-14 20:03:42 -04:00
eba1bb324c
Handle score_embed 2020-06-14 19:51:26 -04:00
33f19dbaba
Handle cs/od/ar/hp with mods 2020-06-14 18:44:06 -04:00