var guild: Guild
Guild object for this channel
class SlashCommandEvent
func getOptionAsBool(optionName: String) -> Bool?
Bool
.func getOptionAsChannel(optionName: String) -> Channel?
func getOptionAsDouble(optionName: String) -> Double?
Double
. Discord considers this type as a Number
func getOptionAsInt(optionName: String) -> Int?
Int
.func getOptionAsMember(optionName: String) -> Member?
Member
object.func getOptionAsRole(optionName: String) -> Role?
Role
object.func getOptionAsString(optionName: String) -> String?
String
.