fix: re-order commands

This commit is contained in:
silver 2024-06-03 02:06:35 +01:00
parent 0f774258a1
commit 87e836619f

View file

@ -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(),
};