Add more shortcuts to osu commands

This commit is contained in:
Natsu Kagami 2021-07-18 16:11:29 +09:00
parent 45425a4bc4
commit a19bc501cb
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -314,7 +314,7 @@ impl FromStr for Nth {
} }
#[command] #[command]
#[aliases("rs", "rc")] #[aliases("rs", "rc", "r")]
#[description = "Gets an user's recent play"] #[description = "Gets an user's recent play"]
#[usage = "#[the nth recent play = --all] / [style (table or grid) = --table] / [mode (std, taiko, mania, catch) = std] / [username / user id = your saved id]"] #[usage = "#[the nth recent play = --all] / [style (table or grid) = --table] / [mode (std, taiko, mania, catch) = std] / [username / user id = your saved id]"]
#[example = "#1 / taiko / natsukagami"] #[example = "#1 / taiko / natsukagami"]
@ -497,6 +497,7 @@ pub async fn check(ctx: &Context, msg: &Message, mut args: Args) -> CommandResul
} }
#[command] #[command]
#[aliases("t")]
#[description = "Get the n-th top record of an user."] #[description = "Get the n-th top record of an user."]
#[usage = "#[n-th = --all] / [style (table or grid) = --table] / [mode (std, taiko, catch, mania)] = std / [username or user_id = your saved user id]"] #[usage = "#[n-th = --all] / [style (table or grid) = --table] / [mode (std, taiko, catch, mania)] = std / [username or user_id = your saved user id]"]
#[example = "#2 / taiko / natsukagami"] #[example = "#2 / taiko / natsukagami"]