From c51050b90d9f1d5aba438486965b70c485e02613 Mon Sep 17 00:00:00 2001 From: Jonxslays <51417989+Jonxslays@users.noreply.github.com> Date: Sat, 9 Apr 2022 08:02:57 -0700 Subject: [PATCH] Update docstring for fetch_bans --- hikari/api/rest.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hikari/api/rest.py b/hikari/api/rest.py index c7925d28f5..062b21bf37 100644 --- a/hikari/api/rest.py +++ b/hikari/api/rest.py @@ -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] @@ -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