feat: added teh user facing command
This commit is contained in:
parent
4a1b1cc7f9
commit
0d0a50c84b
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,7 @@ impl EventHandler for Handler {
|
||||||
.create_application_command(|command| commands::link_email::link::register(command))
|
.create_application_command(|command| commands::link_email::link::register(command))
|
||||||
.create_application_command(|command| commands::link_email::verify::register(command))
|
.create_application_command(|command| commands::link_email::verify::register(command))
|
||||||
.create_application_command(|command| commands::add_minecraft::server::register(command))
|
.create_application_command(|command| commands::add_minecraft::server::register(command))
|
||||||
|
.create_application_command(|command| commands::add_minecraft::user::register(command))
|
||||||
})
|
})
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
|
@ -81,6 +82,7 @@ impl EventHandler for Handler {
|
||||||
"link_wolves" => commands::link_email::link::run(&command, &ctx).await,
|
"link_wolves" => commands::link_email::link::run(&command, &ctx).await,
|
||||||
"verify" => commands::link_email::verify::run(&command, &ctx).await,
|
"verify" => commands::link_email::verify::run(&command, &ctx).await,
|
||||||
"add_minecraft" => commands::add_minecraft::server::run(&command, &ctx).await,
|
"add_minecraft" => commands::add_minecraft::server::run(&command, &ctx).await,
|
||||||
|
"link_minecraft" => commands::add_minecraft::user::run(&command, &ctx).await,
|
||||||
_ => "not implemented :(".to_string(),
|
_ => "not implemented :(".to_string(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue