Documentation
Swiftcord
SlashCommandEvent
getOptionAsBool(optionName:)
Instance Method
getOptionAsBool(optionName:)
Returns the option data as a
Bool
.
Declaration
func
getOptionAsBool
(
optionName
: String) -> Bool?