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")
|
.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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue