fix: these opotions are actually required

This commit is contained in:
silver 2024-09-17 21:47:22 +01:00
parent 0df7c8a29f
commit e9aed40f41
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -161,14 +161,14 @@ pub fn register(command: &mut CreateApplicationCommand) -> &mut CreateApplicatio
.name("server_name") .name("server_name")
.description("Name of the Discord Server.") .description("Name of the Discord Server.")
.kind(CommandOptionType::String) .kind(CommandOptionType::String)
.required(false) .required(true)
}) })
.create_option(|option| { .create_option(|option| {
option option
.name("wolves_link") .name("wolves_link")
.description("Link to the Club/Society on UL Wolves.") .description("Link to the Club/Society on UL Wolves.")
.kind(CommandOptionType::String) .kind(CommandOptionType::String)
.required(false) .required(true)
}) })
} }