Commit graph

63 commits

Author SHA1 Message Date
dependabot[bot]
f3b934cd9d
Bump tokio from 1.44.1 to 1.44.2 (#69) 2025-04-08 07:12:25 +02:00
a35563801d
pagination: make editing generic over a CanEdit interface 2025-02-20 22:54:38 +01:00
5fde2f343a
pagination: Directly pass list of interactions to render 2025-02-20 20:07:17 +01:00
d1f3aa5fa9
Change pagination to use interactions instead of reactions 2025-02-20 19:34:14 +01:00
60a72dad85 Just stop the warnings T_T 2025-02-20 18:19:00 +01:00
b9f6fa7fb8
Apply automatic clippy 2024-08-04 22:40:46 +02:00
64ff4b3ed8 Provide a way to give pagination functions a total page count 2024-06-20 02:15:29 +02:00
1066f249b0
osu: Introduce Env and propagate it to other functions (#40) 2024-03-17 17:21:13 +01:00
13683aa229
Reuse table_formatting logic for almost everything (#39) 2024-03-10 05:01:44 +01:00
4a1853532a One round of cargo clippy 2024-02-25 18:45:22 +00:00
2db59905b2 Update youmubot-cf 2024-02-25 18:45:22 +00:00
3f115eaab0 Update serenity and make prelude compile 2024-02-25 18:45:22 +00:00
eee975092f
Add total pp rankings 2023-12-27 17:33:23 +01: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
3a9a252a1d
Update lots of dependencies 2023-02-17 14:19:46 +01:00
975ee3ba43
Allow watching contests from before it begins 2022-06-14 22:09:03 -04:00
cfb0f9de8b
Use relative time for contest timing 2022-06-14 18:05:16 -04:00
8632f0e99c
Massive dependencies bump 2022-06-11 15:50:56 -04:00
1799b70bc1
Move to SQLite (#13) 2021-06-19 22:36:17 +09:00
e36c385f15
Update to codeforces package with sound ratelimiting 2021-02-18 03:42: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
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
901d55814d
Update to Tokio 1 and Serenity 0.10 (#9) 2021-01-15 18:50:33 +00: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
f54f3ae1a6
Everything works! 2020-09-07 23:46:58 -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
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
955b2340fe
Add line breaks! 2020-02-17 14:36:20 -05:00
7feff249a4
end should make min from items.len instead of total_pages 2020-02-17 14:31:12 -05:00
1c2d734d25 Merge branch 'codeforces' of natsukagami/youmubot into master 2020-02-17 19:15:54 +00:00
a1d453cfff
Implement contestranks 2020-02-17 14:12:34 -05:00
c64a95094f
Conservatively announce rating changes 2020-02-17 12:15:11 -05:00
328bb44d23
Fix cargo fmt stuff 2020-02-13 18:51:22 -05:00
0b60396f81
Do not try to call Codeforces API when there's no channels to send 2020-02-13 16:57:44 -05:00
b20c4868a7
Use first (last) contest id to update 2020-02-13 16:54:51 -05:00
bacb781896
Use the last contest rating change id, instead of rating change time 2020-02-13 16:34:22 -05:00
20a78c1c14
Pretest passed -> In Queue previously interpreted as Hacked 2020-02-13 14:36:15 -05:00
dec7309f01
Print more information in contest hook 2020-02-12 18:52:01 -05:00
319c38cc2b
Fix a bug where Contest is never fetched with problems 2020-02-11 20:00:46 -05:00
5d6e537ac2
Tune announcer performance 2020-02-11 19:44:10 -05:00
75f4e403df
Contest caching 2020-02-11 19:32:48 -05:00