Documentation
Swiftcord
SlashCommandEvent
getOptionAsInt(optionName:)
Instance Method
getOptionAsInt(optionName:)
Returns the option data as an
Int
.
Declaration
func
getOptionAsInt
(
optionName
: String) -> Int?