feat: server side aspects of adding minecraft whitelist added

This commit is contained in:
silver 2024-03-03 12:49:55 +00:00
parent 2761098c8d
commit d5877e99e6
6 changed files with 217 additions and 16 deletions

View file

@ -60,6 +60,7 @@ impl EventHandler for Handler {
.create_application_command(|command| commands::add_server::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::add_minecraft::server::register(command))
})
.await
{
@ -79,6 +80,7 @@ impl EventHandler for Handler {
"add" => commands::add_server::run(&command, &ctx).await,
"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,
_ => "not implemented :(".to_string(),
};