getGuildBans

open override fun getGuildBans(guildId: Snowflake, limit: Int?): Flow<Ban>(source)

Requests the bans of the Guild with the given guildId.

The returned flow is lazily executed, any RequestException will be thrown on terminal operators instead.