Instance Method

getRoles(from:then:)

Gets a guild’s roles

Declaration

func getRoles(from guildId: Snowflake, then completion: @escaping ([Role]?, RequestError?) -> Void)

Parameters

guildId

Guild to get roles from