From dba5040f10f61d7d4296bec334161fa0ae947ef5 Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Mon, 27 Jun 2022 14:16:10 +0000 Subject: Deploying to docs from @ python-discord/bot-core@fcecf7082fdc3fb5929591760732e9b7ec73922d 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/botcore.utils.members.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/output/botcore.utils.members.html') diff --git a/main/output/botcore.utils.members.html b/main/output/botcore.utils.members.html index aa829d57..00970d09 100644 --- a/main/output/botcore.utils.members.html +++ b/main/output/botcore.utils.members.html @@ -274,7 +274,7 @@

Useful helper functions for interactin with discord.Member objects.

-async get_or_fetch_member(guild, member_id)[source]#
+async get_or_fetch_member(guild, member_id)[source]#

Attempt to get a member from cache; on failure fetch from the API.

Return type
@@ -287,7 +287,7 @@
-async handle_role_change(member, coro, role)[source]#
+async handle_role_change(member, coro, role)[source]#

Await the given coro with member as the sole argument.

Handle errors that we expect to be raised from discord.Member.add_roles and discord.Member.remove_roles.

-- cgit v1.2.3