diff --git a/src/main.rs b/src/main.rs index 8c9fea9..710a8af 100755 --- a/src/main.rs +++ b/src/main.rs @@ -39,7 +39,7 @@ impl EventHandler for Handler { #[group] #[commands( init, ping, halt, list_srv, host, ship, bottom_rng, headpat, uwu, gayculator, waffle, sausage, - help, embed, what, owo, info + help, embed, define, owo, info )] struct General; @@ -542,7 +542,7 @@ fn compare_bot(ctx: &mut Context, message: &Message, mut args: Args) -> CommandR #[command] #[aliases("what's this")] -fn what(ctx: &mut Context, message: &Message, args: Args) -> CommandResult { +fn define(ctx: &mut Context, message: &Message, args: Args) -> CommandResult { let text: String = args.rest().trim().to_string(); let defs = &urbandict::get_definitions(&text); if !args.is_empty() {