forked from Skynet/discord-bot
fix: re-order commands
This commit is contained in:
parent
0f774258a1
commit
87e836619f
1 changed files with 4 additions and 2 deletions
|
@ -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(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue