members¶

-

Useful helper functions for interactin with discord.Member objects.

+

Useful helper functions for interactin with discord.Member objects.

async get_or_fetch_member(guild, member_id)[source]¶

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

Return type:
-

Optional[Member]

+

Optional[Member]

Returns:
-

The discord.Member or None to indicate the member could not be found.

+

The discord.Member or None to indicate the member could not be found.

@@ -472,13 +472,13 @@ async handle_role_change(member, coro, role)[source]¶

Await the given coro with role as the sole argument.

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

+discord.Member.add_roles and discord.Member.remove_roles.

Parameters:
Return type:
diff --git a/v9.0.0/output/pydis_core.utils.regex.html b/v9.0.0/output/pydis_core.utils.regex.html index d28c28f8..410003c3 100644 --- a/v9.0.0/output/pydis_core.utils.regex.html +++ b/v9.0.0/output/pydis_core.utils.regex.html @@ -7,12 +7,12 @@ regex - Pydis Core v9.0.0 - + - - + + diff --git a/v9.0.0/output/pydis_core.utils.scheduling.html b/v9.0.0/output/pydis_core.utils.scheduling.html index b632ca4e..f9759966 100644 --- a/v9.0.0/output/pydis_core.utils.scheduling.html +++ b/v9.0.0/output/pydis_core.utils.scheduling.html @@ -7,12 +7,12 @@ scheduling - Pydis Core v9.0.0 - + - - + + diff --git a/v9.0.0/py-modindex.html b/v9.0.0/py-modindex.html index bf33fcac..af7a25ff 100644 --- a/v9.0.0/py-modindex.html +++ b/v9.0.0/py-modindex.html @@ -5,12 +5,12 @@ Python Module Index - Pydis Core v9.0.0 - + - - + + diff --git a/v9.0.0/search.html b/v9.0.0/search.html index 620610b9..6826477c 100644 --- a/v9.0.0/search.html +++ b/v9.0.0/search.html @@ -7,12 +7,12 @@ -Search - Pydis Core v9.0.0 +Search - Pydis Core v9.0.0 - - + + diff --git a/v9.0.0/versions.html b/v9.0.0/versions.html index c2954ce0..87a8e630 100644 --- a/v9.0.0/versions.html +++ b/v9.0.0/versions.html @@ -6,12 +6,12 @@ Versions - Pydis Core v9.0.0 - + - - + + -- cgit v1.2.3