Skip to content

Commit

Permalink
Update docstring for fetch_bans
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonxslays committed Apr 9, 2022
1 parent b1f4b0f commit c51050b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hikari/api/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5508,6 +5508,11 @@ def fetch_bans(
) -> iterators.LazyIterator[guilds.GuildBan]:
"""Fetch the bans of a guild.
!!! note
This call is not a coroutine function, it returns a special type of
lazy iterator that will perform API calls as you iterate across it.
See `hikari.iterators` for the full API for this iterator type.
Parameters
----------
guild : hikari.snowflakes.SnowflakeishOr[hikari.guilds.PartialGuild]
Expand All @@ -5531,11 +5536,6 @@ def fetch_bans(
hikari.iterators.LazyIterator[hikari.guilds.GuildBan]
The requested bans.
!!! note
This call is not a coroutine function, it returns a special type of
lazy iterator that will perform API calls as you iterate across it.
See `hikari.iterators` for the full API for this iterator type.
Raises
------
hikari.errors.ForbiddenError
Expand Down

0 comments on commit c51050b

Please sign in to comment.