diff --git a/src/main.rs b/src/main.rs index d1ebf2d..cbe8d5d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,6 +64,9 @@ impl EventHandler for Handler { .create_application_command(|command| commands::minecraft::server::list::register(command)) .create_application_command(|command| commands::minecraft::server::delete::register(command)) .create_application_command(|command| commands::minecraft::user::add::register(command)) + // for committee server, temp + .create_application_command(|command| commands::committee::link::register(command)) + .create_application_command(|command| commands::committee::verify::register(command)) }) .await { @@ -89,6 +92,9 @@ impl EventHandler for Handler { "minecraft_add" => commands::minecraft::server::add::run(&command, &ctx).await, "minecraft_list" => commands::minecraft::server::list::run(&command, &ctx).await, "minecraft_delete" => commands::minecraft::server::delete::run(&command, &ctx).await, + // for teh committee server, temporary + "link_committee" => commands::committee::link::run(&command, &ctx).await, + "verify_committee" => commands::committee::verify::run(&command, &ctx).await, _ => "not implemented :(".to_string(), };