diff options
Diffstat (limited to 'main/output/pydis_core.utils.messages.html')
| -rw-r--r-- | main/output/pydis_core.utils.messages.html | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/main/output/pydis_core.utils.messages.html b/main/output/pydis_core.utils.messages.html index c24b0e62..daee61d3 100644 --- a/main/output/pydis_core.utils.messages.html +++ b/main/output/pydis_core.utils.messages.html @@ -11,8 +11,8 @@      <link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=135e06be" />      <link rel="stylesheet" type="text/css" href="../_static/styles/furo-extensions.css?v=36a5483c" />      <link rel="stylesheet" type="text/css" href="../_static/changelog.css?v=117bb91a" /> -    <link rel="stylesheet" type="text/css" href="../_static/logo.css?v=41ebe54c" />      <link rel="stylesheet" type="text/css" href="../_static/index.css?v=832e2368" /> +    <link rel="stylesheet" type="text/css" href="../_static/logo.css?v=41ebe54c" /> @@ -174,6 +174,7 @@  <li class="toctree-l3"><a class="reference internal" href="pydis_core.utils.error_handling.html">error_handling</a></li>  <li class="toctree-l3"><a class="reference internal" href="pydis_core.utils.function.html">function</a></li>  <li class="toctree-l3"><a class="reference internal" href="pydis_core.utils.interactions.html">interactions</a></li> +<li class="toctree-l3"><a class="reference internal" href="pydis_core.utils.lock.html">lock</a></li>  <li class="toctree-l3"><a class="reference internal" href="pydis_core.utils.logging.html">logging</a></li>  <li class="toctree-l3"><a class="reference internal" href="pydis_core.utils.members.html">members</a></li>  <li class="toctree-l3 current current-page"><a class="current reference internal" href="#">messages</a></li> @@ -359,6 +360,10 @@                      </li>                      <li class="toctree-l2 "> +                        <a class="version_link reference internal" href="../../v10.7.0/output/pydis_core.utils.messages.html">v10.7.0</a> +                    </li> +                 +                    <li class="toctree-l2 ">                          <a class="version_link reference internal" href="../../v10.6.0/output/pydis_core.utils.messages.html">v10.6.0</a>                      </li> @@ -449,7 +454,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/c7b614025e9c3faf3b16bb019f28979e7ce74b26/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/07f517225fc59157233f74edb136ee39046fda00/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>  |