headpat alias

This commit is contained in:
Agatha 2020-04-07 18:43:25 +03:00
parent 96b4face70
commit f9bde2fcb5
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] #[command]
#[aliases("pat")]
fn headpat(ctx: &mut Context, message: &Message, args: Args) -> CommandResult { fn headpat(ctx: &mut Context, message: &Message, args: Args) -> CommandResult {
let name = match message.mentions.len() { let name = match message.mentions.len() {
0 => args.rest().trim(), 0 => args.rest().trim(),