Commit graph

359 commits

Author SHA1 Message Date
1ecfcc92d2 Extended role list 2021-02-17 05:12:49 +09:00
e0c11a09fb Improve cf live commands 2021-02-17 05:12:49 +09:00
537e396140 Ratelimit properly, live works again!! 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
ce4ed285f9
Update deps 2021-02-04 16:23:04 +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
40f6c6e553
Fix formatting 2021-01-16 02:27:32 +09:00
0cbf74fb82
Allow multiple image outputs on !image/!nsfw 2021-01-16 02:25:47 +09: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
e25701a99c
Merge pull request #5 from natsukagami/async-youmu
Async youmu!!!
2020-09-20 20:57:58 +00:00
53f6286d3d
Core: put role over message in choose 2020-09-20 16:02:07 -04:00
e830eab3f2
Fix intents and so core/choose and core/role 2020-09-20 15:52:33 -04:00
2ce83a86dd
core: sort votes 2020-09-14 23:39:08 -04:00
e46cce3cb6
prelude: remove ratelimit logs 2020-09-14 22:57:19 -04: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
12948ae99f
prelude: Implement ratelimit 2020-09-13 22:26:16 -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
7e327fd131
Update serenity to v0.9.0-rc.1 2020-09-08 00:17:10 -04:00
cf7eb60195
osu: add loading indicator 2020-09-08 00:00:06 -04:00
f54f3ae1a6
Everything works! 2020-09-07 23:46:58 -04:00
3b217fd5c9
raygon 2020-09-07 23:23:06 -04:00
80afe79904
Codeforces: asyncify lib 2020-09-07 23:21:17 -04:00
4a2a4ed688
Codeforces: asyncify live 2020-09-07 22:48:01 -04:00
1fc6d09910
Codeforces: asyncify announcer 2020-09-07 22:38:09 -04:00
81b20383ae
Codeforces: asyncify hook 2020-09-07 22:18:18 -04:00
9c978262cf
Update serenity 2020-09-07 22:17:59 -04:00
21eb78e5aa
Move to codeforces v0.2 2020-09-07 21:23:11 -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