diff options
| author | 2025-07-13 20:44:31 +0000 | |
|---|---|---|
| committer | 2025-07-13 20:44:31 +0000 | |
| commit | 8d6175dfa55aba7256ce299e25e4d5470b9a8435 (patch) | |
| tree | 0c71b75a1ae8d20d58cd525c4ab2aaad9e70a106 /main/output/pydis_core.utils.messages.html | |
| parent | Deploying to docs from @ python-discord/bot-core@7a0f529835ec5f3f09b0924848e0... (diff) | |
Deploying to docs from @ python-discord/bot-core@eecf9521fe1c7f5629def226f5416e014f8a7fcf 🚀
Diffstat (limited to 'main/output/pydis_core.utils.messages.html')
| -rw-r--r-- | main/output/pydis_core.utils.messages.html | 14 | 
1 files changed, 9 insertions, 5 deletions
| diff --git a/main/output/pydis_core.utils.messages.html b/main/output/pydis_core.utils.messages.html index 858ada94..63f35ac3 100644 --- a/main/output/pydis_core.utils.messages.html +++ b/main/output/pydis_core.utils.messages.html @@ -6,7 +6,7 @@  <link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="pagination" href="pydis_core.utils.pagination.html" /><link rel="prev" title="members" href="pydis_core.utils.members.html" />      <link rel="shortcut icon" href="https://raw.githubusercontent.com/python-discord/branding/main/logos/logo_full/logo_full.min.svg"/><!-- Generated with Sphinx 8.1.3 and Furo 2024.08.06 --> -        <title>messages - Pydis Core Latest (11.6.0)</title> +        <title>messages - Pydis Core Latest (11.6.1)</title>        <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" />      <link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=354aac6f" />      <link rel="stylesheet" type="text/css" href="../_static/styles/furo-extensions.css?v=302659d7" /> @@ -170,7 +170,7 @@        </label>      </div>      <div class="header-center"> -      <a href="../index.html"><div class="brand">Pydis Core Latest (11.6.0)</div></a> +      <a href="../index.html"><div class="brand">Pydis Core Latest (11.6.1)</div></a>      </div>      <div class="header-right">        <div class="theme-toggle-container theme-toggle-header"> @@ -197,7 +197,7 @@      <img class="sidebar-logo" src="https://raw.githubusercontent.com/python-discord/branding/main/logos/logo_full/logo_full.min.svg" alt="Logo"/>    </div> -  <span class="sidebar-brand-text">Pydis Core Latest (11.6.0)</span> +  <span class="sidebar-brand-text">Pydis Core Latest (11.6.1)</span>  </a><form class="sidebar-search-container" method="get" action="../search.html" role="search">    <input class="sidebar-search" placeholder="Search" name="q" aria-label="Search"> @@ -331,6 +331,10 @@                      </li>                      <li class="toctree-l2 "> +                        <a class="version_link reference internal" href="../../v11.6.1/output/pydis_core.utils.messages.html">v11.6.1</a> +                    </li> +                 +                    <li class="toctree-l2 ">                          <a class="version_link reference internal" href="../../v11.6.0/output/pydis_core.utils.messages.html">v11.6.0</a>                      </li> @@ -471,7 +475,7 @@  <span id="messages"></span><h1>messages<a class="headerlink" href="#module-pydis_core.utils.messages" title="Link to this heading">¶</a></h1>  <dl class="py function">  <dt class="sig sig-object py" id="pydis_core.utils.messages.reaction_check"> -<span class="sig-name descname"><span class="pre">reaction_check</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">reaction</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">user</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">message_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">allowed_emoji</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">allowed_users</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">allowed_roles</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/7a0f529835ec5f3f09b0924848e0be9f0230d310/pydis_core/utils/messages.py#L11-L48"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pydis_core.utils.messages.reaction_check" title="Link to this definition">¶</a></dt> +<span class="sig-name descname"><span class="pre">reaction_check</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">reaction</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">user</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">message_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">allowed_emoji</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">allowed_users</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">allowed_roles</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/eecf9521fe1c7f5629def226f5416e014f8a7fcf/pydis_core/utils/messages.py#L11-L48"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pydis_core.utils.messages.reaction_check" title="Link to this definition">¶</a></dt>  <dd><p>Check if a reaction’s emoji and author are allowed and the message is <cite>message_id</cite>.</p>  <p>If the user is not allowed, remove the reaction. Ignore reactions made by the bot.  If <cite>allow_mods</cite> is True, allow users with moderator roles even if they’re not in <cite>allowed_users</cite>.</p> @@ -552,7 +556,7 @@ If <cite>allow_mods</cite> is True, allow users with moderator roles even if the      </aside>    </div> -</div><script src="../_static/documentation_options.js?v=31a70c35"></script> +</div><script src="../_static/documentation_options.js?v=95df882c"></script>      <script src="../_static/doctools.js?v=9bcbadda"></script>      <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>      <script src="../_static/scripts/furo.js?v=5fa4622c"></script> | 
