We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f9631f commit a437565Copy full SHA for a437565
1 file changed
bathbot/src/commands/osu/map.rs
@@ -55,6 +55,8 @@ pub struct Map<'a> {
55
cs: Option<f64>,
56
#[command(desc = "Specify an HP value to override the actual one")]
57
hp: Option<f64>,
58
+ #[command(desc = "Specify a custom clock rate that overrides mods")]
59
+ clock_rate: Option<f64>,
60
}
61
62
#[derive(HasMods)]
@@ -182,6 +184,7 @@ impl<'a> TryFrom<Map<'a>> for MapArgs<'a> {
182
184
od,
183
185
cs,
186
hp,
187
+ clock_rate,
188
} = args;
189
190
let map = match map.map(|arg| {
@@ -204,6 +207,7 @@ impl<'a> TryFrom<Map<'a>> for MapArgs<'a> {
204
207
205
208
206
209
210
211
..Default::default()
212
};
213
0 commit comments