Commit graph

110 commits

Author SHA1 Message Date
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
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
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
bad6b83399
Emergency fix: stop youmu from deleting all accounts on ratelimited 2021-03-31 00:26:12 +09:00
68142c6236
Fix get_info_with not taking mods into account 2021-02-17 05:26:16 +09:00
abc0fc5f73 Save on not calculating pp in beatmap info 2021-02-17 05:12:49 +09:00
35634550dd Show fail percent 2021-02-17 05:12:49 +09:00
e2766cd782 Handle failures and record chewing 2021-02-17 05:12:49 +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