headpat alias

This commit is contained in:
Agatha 2020-04-07 18:43:25 +03:00
parent 3333c29bbb
commit 1aaf28d851
1 changed files with 1 additions and 0 deletions

View File

@ -360,6 +360,7 @@ fn ship(ctx: &mut Context, message: &Message, args: Args) -> CommandResult {
}
#[command]
#[aliases("pat")]
fn headpat(ctx: &mut Context, message: &Message, args: Args) -> CommandResult {
let name = match message.mentions.len() {
0 => args.rest().trim(),