diff --git a/src/main.rs b/src/main.rs index 208f352..67d54f2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -78,11 +78,13 @@ impl EventHandler for Handler { //println!("Received command interaction: {:#?}", command); let content = match command.data.name.as_str() { - "add" => commands::add_server::run(&command, &ctx).await, + // user commands "link_wolves" => commands::link_email::link::run(&command, &ctx).await, "verify" => commands::link_email::verify::run(&command, &ctx).await, - "add_minecraft" => commands::add_minecraft::server::run(&command, &ctx).await, "link_minecraft" => commands::add_minecraft::user::run(&command, &ctx).await, + // admin commands + "add" => commands::add_server::run(&command, &ctx).await, + "add_minecraft" => commands::add_minecraft::server::run(&command, &ctx).await, _ => "not implemented :(".to_string(), };