diff options
| author | 2023-03-02 23:02:13 +0000 | |
|---|---|---|
| committer | 2023-03-02 23:02:13 +0000 | |
| commit | c66eb62f0857d4f406ee0df67ded1e2be94817b4 (patch) | |
| tree | cddb25fd650caec36e208e24d804bf596fec20fb /v7.5.0/output/botcore.utils.html | |
| parent | Deploying to docs from @ python-discord/bot-core@19d75111d5e6b0237381bfd39d20... (diff) | |
Deploying to docs from @ python-discord/bot-core@79b8734b5cd5c1d9d884a0e21152c3349e196bff 🚀
Diffstat (limited to 'v7.5.0/output/botcore.utils.html')
| -rw-r--r-- | v7.5.0/output/botcore.utils.html | 21 | 
1 files changed, 11 insertions, 10 deletions
| diff --git a/v7.5.0/output/botcore.utils.html b/v7.5.0/output/botcore.utils.html index 5184f2a3..23d3db53 100644 --- a/v7.5.0/output/botcore.utils.html +++ b/v7.5.0/output/botcore.utils.html @@ -5,7 +5,7 @@      <meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />  <link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="caching" href="botcore.utils.caching.html" /><link rel="prev" title="Exts" href="botcore.exts.html" /> -    <link rel="shortcut icon" href="https://raw.githubusercontent.com/python-discord/branding/main/logos/logo_full/logo_full.min.svg"/><!-- Generated with Sphinx 5.3.0 and Furo 2022.12.07 --> +    <link rel="shortcut icon" href="https://raw.githubusercontent.com/python-discord/branding/main/logos/logo_full/logo_full.min.svg"/><!-- Generated with Sphinx 6.1.3 and Furo 2022.12.07 -->          <title>Utils - Pydis Core v7.5.0</title>        <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />      <link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?digest=91d0f0d1c444bdcb17a68e833c7a53903343c195" /> @@ -147,7 +147,7 @@    <aside class="sidebar-drawer">      <div class="sidebar-container"> -      <div class="sidebar-sticky"><a class="sidebar-brand centered" href="../index.html"> +      <div class="sidebar-sticky"><a class="sidebar-brand" href="../index.html">    <div class="sidebar-logo-container">      <img class="sidebar-logo" src="https://raw.githubusercontent.com/python-discord/branding/main/logos/logo_full/logo_full.min.svg" alt="Logo"/> @@ -207,6 +207,10 @@                      </li>                      <li class="toctree-l2 "> +                        <a class="version_link reference internal" href="../../v9.5.0/index.html">v9.5.0</a> +                    </li> +                 +                    <li class="toctree-l2 ">                          <a class="version_link reference internal" href="../../v9.4.1/index.html">v9.4.1</a>                      </li> @@ -372,6 +376,11 @@  <dt class="sig sig-object py" id="botcore.utils.apply_monkey_patches">  <span class="sig-name descname"><span class="pre">apply_monkey_patches</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/cfdc1b7c3dedae53f15ce696aee0c7141ba8c606/botcore/utils/__init__.py#L7-L21"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.utils.apply_monkey_patches" title="Permalink to this definition">#</a></dt>  <dd><p>Applies all common monkey patches for our bots.</p> +<dl class="field-list simple"> +<dt class="field-odd">Return type<span class="colon">:</span></dt> +<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></a></p> +</dd> +</dl>  <dl>  <dt>Patches <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Command" title="(in discord.py v2.3.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.ext.commands.Command</span></code></a> and <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Group" title="(in discord.py v2.3.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.ext.commands.Group</span></code></a> to support root aliases.</dt><dd><p>A <code class="docutils literal notranslate"><span class="pre">root_aliases</span></code> keyword argument is added to these two objects, which is a sequence of alias names  that will act as top-level groups rather than being aliases of the command’s group.</p> @@ -380,11 +389,6 @@ that will act as top-level groups rather than being aliases of the command’s g  <dt>Patches discord’s internal <code class="docutils literal notranslate"><span class="pre">send_typing</span></code> method so that it ignores 403 errors from Discord.</dt><dd><p>When under heavy load Discord has added a CloudFlare worker to this route, which causes 403 errors to be thrown.</p>  </dd>  </dl> -<dl class="field-list simple"> -<dt class="field-odd">Return type<span class="colon">:</span></dt> -<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.11)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></a></p> -</dd> -</dl>  </dd></dl>  <dl class="py function"> @@ -549,9 +553,6 @@ that will act as top-level groups rather than being aliases of the command’s g      </aside>    </div>  </div><script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script> -    <script src="../_static/jquery.js"></script> -    <script src="../_static/underscore.js"></script> -    <script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>      <script src="../_static/doctools.js"></script>      <script src="../_static/sphinx_highlight.js"></script>      <script src="../_static/scripts/furo.js"></script> | 
