mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 01:00:49 +00:00
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
This commit is contained in:
parent
7565a6e5c5
commit
735b382102
20 changed files with 788 additions and 443 deletions
|
@ -142,7 +142,6 @@ impl AnnouncerHandler {
|
|||
}
|
||||
|
||||
pub fn run(self, client: &Client) -> AnnouncerRunner {
|
||||
|
||||
AnnouncerRunner {
|
||||
cache_http: CacheAndHttp::from_client(client),
|
||||
data: client.data.clone(),
|
||||
|
|
|
@ -39,8 +39,6 @@ pub async fn setup_prelude(
|
|||
// Set up the SQL client.
|
||||
data.insert::<crate::SQLClient>(sql_pool.clone());
|
||||
|
||||
|
||||
|
||||
Env {
|
||||
http: http_client,
|
||||
sql: sql_pool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue