getGuildBans

abstract fun getGuildBans(guildId: Snowflake, limit: Int? = null): 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.