Commit graph

283 commits

Author SHA1 Message Date
9ac8683c5d
Improvements for voting
- Voting no longer tries to react all at once, creating unneeded congestion.
  This also has the added benefits of having the options laid out in order.
- Include relative timestamps in the embed and the result.
2022-01-19 18:23:37 -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
c61c7155a1
Special build inputs for darwin 2022-01-19 17:08:21 -05:00
ed440d0a69
Yuck import bug 2021-11-21 17:46:18 -05:00
2c2092eb91
Implement Flags parser and handle choose --everyone
- A generic Flags parser that could handle any `--flag` argument.
- `choose --everyone` overrides the Offline/DnD check.
2021-11-21 17:37:28 -05:00
2449b09cb2
Create a Nix Flake module (#17)
* Add flake module

* Add optional openssl dep on linux

* Set default sql path

* No more deploy!
2021-11-03 15:00:18 -04:00
6f84441823
Add flake 2021-11-03 12:58:09 -04:00
b9776bddde
Override the soft ban database into store on update 2021-10-23 14:49:26 -04: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
06cbc51c0e
Use multiple aliases 2021-07-18 16:27:55 +09:00
a19bc501cb
Add more shortcuts to osu commands 2021-07-18 16:11:29 +09:00
45425a4bc4
Formatting 2021-06-21 17:27:52 +09:00
6944ddfe75
Add update-role-message command 2021-06-21 17:25:37 +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
750ddb7762
feat: fix warning (#14) 2021-06-19 21:20:33 +09:00
bad6b83399
Emergency fix: stop youmu from deleting all accounts on ratelimited 2021-03-31 00:26:12 +09:00
e36c385f15
Update to codeforces package with sound ratelimiting 2021-02-18 03:42:49 +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
40a3090aa7 Use oppai-rs v0.2.3 2021-02-17 05:12:49 +09:00
925aa90887 Add role messages 2021-02-17 05:12:49 +09:00
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