Commit graph

44 commits

Author SHA1 Message Date
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
d9536a96ca
Clean up warning 2020-02-11 14:06:56 -05:00
d01ff978b6
Implement live 2020-02-10 22:03:52 -05:00
d4aa6f678e
Clean up 2020-02-10 17:11:03 -05:00
3a14c401cd
Implement Codeforces announcer 2020-02-10 15:18:28 -05:00
3998617f97
Merge branch 'master' into codeforces 2020-02-09 17:37:10 -05:00
6879598dfc
Redesign Announcer trait 2020-02-09 16:45:48 -05:00
b0f70fb2a1
Implement server ranks 2020-02-09 15:02:13 -05:00
f512aa8726
Implement save command and user-aware profile command 2020-02-09 14:14:15 -05:00
5b64d1e535
Create databases for cf 2020-02-09 12:01:48 -05:00
4b5dcfd072
Implement codeforces contest/problem hook 2020-02-08 18:37:17 -05:00
28ed92eb2f
Minor changes on user embed 2020-02-06 14:15:34 -05:00
7c77b7fd61
Load youmubot-cf 2020-02-06 14:15:06 -05:00
4284c6c908
Codeforces library minimally written
Implement a lot of new structs

Embed for User

Implement more data structures

impl Embed for Rating Change

Move codeforces package outside
2020-02-05 18:09:15 -05:00