dependabot[bot]
f3b934cd9d
Bump tokio from 1.44.1 to 1.44.2 ( #69 )
2025-04-08 07:12:25 +02:00
Unknown
bcd879dd55
Bump thiserror to version 2 ( #66 )
Build and Test / Format check (push) Has been cancelled
Build and Test / Lint (push) Has been cancelled
Build and Test / Test (push) Has been cancelled
Build and Test / Check dependency hash (push) Has been cancelled
Build and Test / Build (push) Has been cancelled
2025-04-02 16:33:32 +02:00
7c0cbea716
ignore
command (#59 )
...
Build and Test / Format check (push) Waiting to run
Build and Test / Lint (push) Waiting to run
Build and Test / Test (push) Waiting to run
Build and Test / Build (push) Waiting to run
* New table `ignored_users` and queries
* Update sqlx to 0.8
* Implement `ignore` command and add needed hooks
2025-03-27 15:13:00 +01:00
ed15406f51
Do rendering only once without pagination buttons, if there is only one page to display
2025-03-10 15:02:16 +01:00
068dd48550
osu: make save
command use interaction
2025-02-22 17:43:53 +01:00
e777d4d634
interaction_collector: rename from Paginator, implement Guard, is now generic
2025-02-22 17:43:53 +01: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
aa2ee0cc86
Use latest poise and serenity
...
Fuck warnings lol
2025-02-20 18:19:00 +01:00
803d718c7a
osu: implement beatmapset and simulate button ( #55 )
...
* Prepare a message beforehand for display_beatmapset
* Implement a Beatmapset button
* Always sort top plays by pp
* Show leaderboard for top pp per user/mod only
* Add score simulation
* Store all reaction to be removed later
* Properly handle errors
* Parse beatmap to get placeholders for modal
* Make buttons same color
2024-11-04 17:23:00 +00:00
6fbae89dfe
osu: Implement pins ( #53 )
...
Also format recent so attempt count is displayed
2024-10-12 15:07:56 +00:00
24e476239c
osu: Always load Me
as a follow-up response
2024-09-25 18:30:07 +02:00
735b382102
Drop old homegrown Mods for rosu_v2::Mods, implement rate change support ( #52 )
...
* Move mods to intermode wrapper
* Update rust to 1.79
* Move mods from homebrewed impl to rosu
* Display mod details
* Take clock-rate into account when calculating pp
* Allow specifying rate in mods input
* Formatting
* Fix clippy
2024-08-24 21:21:01 +00:00
e77930c8db
Properly implement member cache
2024-08-05 13:41:08 +02:00
6458454ba9
Apply manual clippy
2024-08-04 22:47:43 +02:00
b9f6fa7fb8
Apply automatic clippy
2024-08-04 22:40:46 +02:00
5c523009e1
Avoid updating users when the user id itself changed
2024-08-04 20:39:57 +00:00
32053c3fe3
osu: Implement check button!
2024-07-14 00:48:09 +02:00
64ff4b3ed8
Provide a way to give pagination functions a total page count
2024-06-20 02:15:29 +02:00
a2f0684509
Composed framework ( #43 )
...
Composed poise and serenity into a composed framework. This will help the migration towards slash-commands in the future.
2024-03-27 12:50:48 -04: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
54426ed477
Move table_formatting
to prelude ( #38 )
2024-03-07 23:30:08 +01:00
d23c86fb99
Don't retry the members endpoint too much
2024-03-06 16:38:50 +01:00
01c743f866
Don't use dashmap when you need async updates [deadlocks xd]
2024-03-06 16:14:31 +01:00
a50f44ad90
Don't respond to the bot's pagination reaction
2024-03-05 22:18:08 +01:00
b4cf6ce94f
Fix User/Role/Channel id parsing ( #35 )
...
* Import thiserror to make nicer errors
* Create wrappers for id that exposes old parsing behavior (from mentions)
* Use id wrappers when parsing parameters
2024-02-28 18:02:42 +00:00
431f295b41
Pagination: just delete our own reaction as fallback
...
... happens if we don't have message management permissions.
We definitely don't want to vomit errors to the user.
2024-02-25 18:45:22 +00:00
2a279e62e4
Require json feature of reqwest in prelude
2024-02-25 18:45:22 +00:00
4a1853532a
One round of cargo clippy
2024-02-25 18:45:22 +00:00
3f115eaab0
Update serenity and make prelude compile
2024-02-25 18:45:22 +00:00
5bb6161b36
explicitly cache member list
2024-02-17 19:17:38 +00:00
07928671e2
Implement user score
2024-02-17 19:17:38 +00:00
2f4a2c978d
use a guild member list for the member cache if possible
2024-02-13 15:02:01 +01:00
b5e8a24919
Remove reactions when youmu is no longer handling paginations
2024-02-11 17:34:46 +01:00
eee975092f
Add total pp rankings
2023-12-27 17:33:23 +01:00
aaf571f01b
Sleepy more osu api
2023-11-26 15:47:02 +01:00
220dbc21ea
Patches to get deadlocking in osu updates fixed
2023-11-21 14:55:00 +01:00
54502ad61b
Massive lint fix
2023-10-22 17:45:13 +02:00
8632f0e99c
Massive dependencies bump
2022-06-11 15:50:56 -04: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
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
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