From 36568bc95c0b6b38ede6fde7adb7d4ee2863235f Mon Sep 17 00:00:00 2001 From: wookie184 Date: Tue, 11 Jun 2024 18:54:42 +0000 Subject: Deploying to docs from @ python-discord/bot-core@c17d29a38019ba05a65f1ba3cafa084d2dd76ec7 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/pydis_core.utils.messages.html | 85 ++++++++++++++++++++++++++---- 1 file changed, 74 insertions(+), 11 deletions(-) (limited to 'main/output/pydis_core.utils.messages.html') diff --git a/main/output/pydis_core.utils.messages.html b/main/output/pydis_core.utils.messages.html index cbf6f727..00e0ee9d 100644 --- a/main/output/pydis_core.utils.messages.html +++ b/main/output/pydis_core.utils.messages.html @@ -5,10 +5,10 @@ - + messages - Pydis Core Latest (11.1.0) - + @@ -72,7 +72,7 @@ Light mode + stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather-sun"> @@ -87,7 +87,7 @@ Dark mode + stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-moon"> @@ -95,7 +95,7 @@ Auto light/dark mode + stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-shadow"> @@ -105,6 +105,60 @@ + + Auto light/dark, in light mode + + + + + + + + + + + + + + + Auto light/dark, in dark mode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -116,6 +170,8 @@
Hide table of contents sidebar
+Skip to content +
@@ -133,7 +189,8 @@
@@ -374,11 +431,17 @@ Back to top
- +
@@ -388,12 +451,12 @@
-
+

messages¶

-reaction_check(reaction, user, *, message_id, allowed_emoji, allowed_users, allowed_roles=None)[source]¶
+reaction_check(reaction, user, *, message_id, allowed_emoji, allowed_users, allowed_roles=None)[source]¶

Check if a reaction’s emoji and author are allowed and the message is message_id.

If the user is not allowed, remove the reaction. Ignore reactions made by the bot. If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

@@ -477,7 +540,7 @@ If allow_mods is True, allow users with moderator roles even if the
- + \ No newline at end of file -- cgit v1.2.3