headpat alias
This commit is contained in:
parent
96b4face70
commit
f9bde2fcb5
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue