forked from Skynet/discord-bot
fix: these opotions are actually required
This commit is contained in:
parent
0df7c8a29f
commit
e9aed40f41
1 changed files with 2 additions and 2 deletions
|
@ -161,14 +161,14 @@ pub fn register(command: &mut CreateApplicationCommand) -> &mut CreateApplicatio
|
|||
.name("server_name")
|
||||
.description("Name of the Discord Server.")
|
||||
.kind(CommandOptionType::String)
|
||||
.required(false)
|
||||
.required(true)
|
||||
})
|
||||
.create_option(|option| {
|
||||
option
|
||||
.name("wolves_link")
|
||||
.description("Link to the Club/Society on UL Wolves.")
|
||||
.kind(CommandOptionType::String)
|
||||
.required(false)
|
||||
.required(true)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue