Guild to get roles from
Instance Method
getRoles(from:then:)
Gets a guild’s roles
Declaration
func getRoles(from guildId: Snowflake, then completion: @escaping ([Role]?, RequestError?) -> Void)
Parameters
guildId
-
func getRoles(from guildId: Snowflake, then completion: @escaping ([Role]?, RequestError?) -> Void)
guildId
Guild to get roles from