diff options
Diffstat (limited to 'v8.0.0-beta.4')
39 files changed, 113 insertions, 24 deletions
diff --git a/v8.0.0-beta.4/.buildinfo b/v8.0.0-beta.4/.buildinfo index 12669eb7..97ee1a96 100644 --- a/v8.0.0-beta.4/.buildinfo +++ b/v8.0.0-beta.4/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 0cc605c20438f7cab98dd24f0e4451a0 +config: 70bd697eb4ceeac26d09df3a88268723 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v8.0.0-beta.4/.doctrees/changelog.doctree b/v8.0.0-beta.4/.doctrees/changelog.doctree Binary files differindex bfe0e588..900b56fc 100644 --- a/v8.0.0-beta.4/.doctrees/changelog.doctree +++ b/v8.0.0-beta.4/.doctrees/changelog.doctree diff --git a/v8.0.0-beta.4/.doctrees/development.doctree b/v8.0.0-beta.4/.doctrees/development.doctree Binary files differindex 8bea3c32..419dc24f 100644 --- a/v8.0.0-beta.4/.doctrees/development.doctree +++ b/v8.0.0-beta.4/.doctrees/development.doctree diff --git a/v8.0.0-beta.4/.doctrees/environment.pickle b/v8.0.0-beta.4/.doctrees/environment.pickle Binary files differindex bdddb38a..ac2c6b9a 100644 --- a/v8.0.0-beta.4/.doctrees/environment.pickle +++ b/v8.0.0-beta.4/.doctrees/environment.pickle diff --git a/v8.0.0-beta.4/.doctrees/index.doctree b/v8.0.0-beta.4/.doctrees/index.doctree Binary files differindex 122efe0d..b8349095 100644 --- a/v8.0.0-beta.4/.doctrees/index.doctree +++ b/v8.0.0-beta.4/.doctrees/index.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.async_stats.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.async_stats.doctree Binary files differindex ae851127..51a233a2 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.async_stats.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.async_stats.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.doctree Binary files differindex cb57aa25..f4ce8149 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.exts.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.exts.doctree Binary files differindex e0709f45..075c840b 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.exts.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.exts.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.site_api.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.site_api.doctree Binary files differindex 628923bd..f3b6d052 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.site_api.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.site_api.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.utils.caching.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.utils.caching.doctree Binary files differindex d2b5c931..b4e5a3a5 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.utils.caching.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.utils.caching.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.utils.channel.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.utils.channel.doctree Binary files differindex c99e60c3..5a0f516c 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.utils.channel.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.utils.channel.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.utils.commands.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.utils.commands.doctree Binary files differindex 15c38346..4651ec3f 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.utils.commands.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.utils.commands.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.utils.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.utils.doctree Binary files differindex d1aae8cd..2ac7a4f3 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.utils.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.utils.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.utils.interactions.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.utils.interactions.doctree Binary files differindex a3c97b93..ef626f21 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.utils.interactions.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.utils.interactions.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.utils.logging.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.utils.logging.doctree Binary files differindex ffd4896b..e4d489f8 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.utils.logging.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.utils.logging.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.utils.members.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.utils.members.doctree Binary files differindex 217ab76f..60b45190 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.utils.members.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.utils.members.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.utils.regex.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.utils.regex.doctree Binary files differindex 0bb5f328..9b994689 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.utils.regex.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.utils.regex.doctree diff --git a/v8.0.0-beta.4/.doctrees/output/botcore.utils.scheduling.doctree b/v8.0.0-beta.4/.doctrees/output/botcore.utils.scheduling.doctree Binary files differindex 34af33db..8cf8bbb2 100644 --- a/v8.0.0-beta.4/.doctrees/output/botcore.utils.scheduling.doctree +++ b/v8.0.0-beta.4/.doctrees/output/botcore.utils.scheduling.doctree diff --git a/v8.0.0-beta.4/_static/pygments.css b/v8.0.0-beta.4/_static/pygments.css index 053cfd3d..75471509 100644 --- a/v8.0.0-beta.4/_static/pygments.css +++ b/v8.0.0-beta.4/_static/pygments.css @@ -54,6 +54,7 @@ .highlight .nt { color: #204a87; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #000000 } /* Name.Variable */ .highlight .ow { color: #204a87; font-weight: bold } /* Operator.Word */ +.highlight .pm { color: #000000; font-weight: bold } /* Punctuation.Marker */ .highlight .w { color: #f8f8f8 } /* Text.Whitespace */ .highlight .mb { color: #0000cf; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000cf; font-weight: bold } /* Literal.Number.Float */ @@ -138,6 +139,7 @@ body[data-theme="dark"] .highlight .py { color: #d0d0d0 } /* Name.Property */ body[data-theme="dark"] .highlight .nt { color: #6ebf26; font-weight: bold } /* Name.Tag */ body[data-theme="dark"] .highlight .nv { color: #40ffff } /* Name.Variable */ body[data-theme="dark"] .highlight .ow { color: #6ebf26; font-weight: bold } /* Operator.Word */ +body[data-theme="dark"] .highlight .pm { color: #d0d0d0 } /* Punctuation.Marker */ body[data-theme="dark"] .highlight .w { color: #666666 } /* Text.Whitespace */ body[data-theme="dark"] .highlight .mb { color: #51b2fd } /* Literal.Number.Bin */ body[data-theme="dark"] .highlight .mf { color: #51b2fd } /* Literal.Number.Float */ @@ -222,6 +224,7 @@ body:not([data-theme="light"]) .highlight .py { color: #d0d0d0 } /* Name.Propert body:not([data-theme="light"]) .highlight .nt { color: #6ebf26; font-weight: bold } /* Name.Tag */ body:not([data-theme="light"]) .highlight .nv { color: #40ffff } /* Name.Variable */ body:not([data-theme="light"]) .highlight .ow { color: #6ebf26; font-weight: bold } /* Operator.Word */ +body:not([data-theme="light"]) .highlight .pm { color: #d0d0d0 } /* Punctuation.Marker */ body:not([data-theme="light"]) .highlight .w { color: #666666 } /* Text.Whitespace */ body:not([data-theme="light"]) .highlight .mb { color: #51b2fd } /* Literal.Number.Bin */ body:not([data-theme="light"]) .highlight .mf { color: #51b2fd } /* Literal.Number.Float */ diff --git a/v8.0.0-beta.4/changelog.html b/v8.0.0-beta.4/changelog.html index 1202a22b..ac52995a 100644 --- a/v8.0.0-beta.4/changelog.html +++ b/v8.0.0-beta.4/changelog.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../main/changelog.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../v8.1.0/changelog.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="changelog.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/development.html b/v8.0.0-beta.4/development.html index c3a73e9b..751ead78 100644 --- a/v8.0.0-beta.4/development.html +++ b/v8.0.0-beta.4/development.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../main/development.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../v8.1.0/development.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="development.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/genindex.html b/v8.0.0-beta.4/genindex.html index 88220a74..13b1ba23 100644 --- a/v8.0.0-beta.4/genindex.html +++ b/v8.0.0-beta.4/genindex.html @@ -205,6 +205,10 @@ <a class="version_link reference internal" href="../main/index.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../v8.1.0/index.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="genindex.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/index.html b/v8.0.0-beta.4/index.html index a1f4895f..77ede642 100644 --- a/v8.0.0-beta.4/index.html +++ b/v8.0.0-beta.4/index.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../main/index.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../v8.1.0/index.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="index.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/output/botcore.async_stats.html b/v8.0.0-beta.4/output/botcore.async_stats.html index 0ef88b31..5f2f7555 100644 --- a/v8.0.0-beta.4/output/botcore.async_stats.html +++ b/v8.0.0-beta.4/output/botcore.async_stats.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.async_stats.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.async_stats.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.async_stats.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/output/botcore.exts.html b/v8.0.0-beta.4/output/botcore.exts.html index 0e25b534..39b15045 100644 --- a/v8.0.0-beta.4/output/botcore.exts.html +++ b/v8.0.0-beta.4/output/botcore.exts.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.exts.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.exts.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.exts.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/output/botcore.html b/v8.0.0-beta.4/output/botcore.html index 56fea8d2..5fba30da 100644 --- a/v8.0.0-beta.4/output/botcore.html +++ b/v8.0.0-beta.4/output/botcore.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.html">v8.0.0-beta.4</a> </li> @@ -331,7 +335,7 @@ <dl class="py class"> <dt class="sig sig-object py" id="botcore.BotBase"> <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">BotBase</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">args</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">guild_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">allowed_roles</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">http_session</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">redis_session</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">api_client</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">statsd_url</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/9c36ea812da7af116e126054bc9891c0fa44fc49/botcore/_bot.py#L36-L289"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.BotBase" title="Permalink to this definition">#</a></dt> -<dd><p>Bases: <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Bot" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Bot</span></code></a></p> +<dd><p>Bases: <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Bot" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Bot</span></code></a></p> <p>A sub-class that implements many common features that Python Discord bots use.</p> <dl class="py method"> <dt class="sig sig-object py" id="botcore.BotBase.__init__"> @@ -462,7 +466,7 @@ will not be set and <cite>guild_available_but_cache_empty</cite> event will be e To remove them, either remove the entire command or manually edit <cite>bot.all_commands</cite>.</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/typing.html#typing.Optional" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code></a>[<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Command" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Command</span></code></a>]</p> +<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Optional" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code></a>[<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Command" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Command</span></code></a>]</p> </dd> </dl> </dd></dl> diff --git a/v8.0.0-beta.4/output/botcore.site_api.html b/v8.0.0-beta.4/output/botcore.site_api.html index 6bdc0c73..1010eb8e 100644 --- a/v8.0.0-beta.4/output/botcore.site_api.html +++ b/v8.0.0-beta.4/output/botcore.site_api.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.site_api.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.site_api.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.site_api.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/output/botcore.utils.caching.html b/v8.0.0-beta.4/output/botcore.utils.caching.html index 8ef3607b..0e2a5778 100644 --- a/v8.0.0-beta.4/output/botcore.utils.caching.html +++ b/v8.0.0-beta.4/output/botcore.utils.caching.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.utils.caching.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.utils.caching.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.utils.caching.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/output/botcore.utils.channel.html b/v8.0.0-beta.4/output/botcore.utils.channel.html index 4f8db159..c785d19d 100644 --- a/v8.0.0-beta.4/output/botcore.utils.channel.html +++ b/v8.0.0-beta.4/output/botcore.utils.channel.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.utils.channel.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.utils.channel.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.utils.channel.html">v8.0.0-beta.4</a> </li> @@ -335,20 +339,20 @@ <dl class="field-list simple"> <dt class="field-odd">Parameters<span class="colon">:</span></dt> <dd class="field-odd"><ul class="simple"> -<li><p><strong>bot</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Bot" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Bot</span></code></a>) – The <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Bot" title="(in discord.py v2.0.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.ext.commands.Bot</span></code></a> instance to use for getting/fetching.</p></li> +<li><p><strong>bot</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Bot" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Bot</span></code></a>) – The <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Bot" title="(in discord.py v2.1.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.ext.commands.Bot</span></code></a> instance to use for getting/fetching.</p></li> <li><p><strong>channel_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code></a>) – The channel to get/fetch.</p></li> </ul> </dd> <dt class="field-even">Raises<span class="colon">:</span></dt> <dd class="field-even"><ul class="simple"> -<li><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.InvalidData" title="(in discord.py v2.0.0a)"><strong>discord.InvalidData</strong></a> – An unknown channel type was received from Discord.</p></li> -<li><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.HTTPException" title="(in discord.py v2.0.0a)"><strong>discord.HTTPException</strong></a> – Retrieving the channel failed.</p></li> -<li><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.NotFound" title="(in discord.py v2.0.0a)"><strong>discord.NotFound</strong></a> – Invalid Channel ID.</p></li> -<li><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Forbidden" title="(in discord.py v2.0.0a)"><strong>discord.Forbidden</strong></a> – You do not have permission to fetch this channel.</p></li> +<li><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.InvalidData" title="(in discord.py v2.1.0a)"><strong>discord.InvalidData</strong></a> – An unknown channel type was received from Discord.</p></li> +<li><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.HTTPException" title="(in discord.py v2.1.0a)"><strong>discord.HTTPException</strong></a> – Retrieving the channel failed.</p></li> +<li><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.NotFound" title="(in discord.py v2.1.0a)"><strong>discord.NotFound</strong></a> – Invalid Channel ID.</p></li> +<li><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Forbidden" title="(in discord.py v2.1.0a)"><strong>discord.Forbidden</strong></a> – You do not have permission to fetch this channel.</p></li> </ul> </dd> <dt class="field-odd">Return type<span class="colon">:</span></dt> -<dd class="field-odd"><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.abc.GuildChannel" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">GuildChannel</span></code></a></p> +<dd class="field-odd"><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.abc.GuildChannel" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">GuildChannel</span></code></a></p> </dd> <dt class="field-even">Returns<span class="colon">:</span></dt> <dd class="field-even"><p>The channel from the ID.</p> @@ -363,7 +367,7 @@ <dl class="field-list simple"> <dt class="field-odd">Parameters<span class="colon">:</span></dt> <dd class="field-odd"><ul class="simple"> -<li><p><strong>channel</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.TextChannel" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">TextChannel</span></code></a>) – The channel to check.</p></li> +<li><p><strong>channel</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.TextChannel" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">TextChannel</span></code></a>) – The channel to check.</p></li> <li><p><strong>category_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code></a>) – The category to check for.</p></li> </ul> </dd> diff --git a/v8.0.0-beta.4/output/botcore.utils.commands.html b/v8.0.0-beta.4/output/botcore.utils.commands.html index f9b6b6c3..667baa8f 100644 --- a/v8.0.0-beta.4/output/botcore.utils.commands.html +++ b/v8.0.0-beta.4/output/botcore.utils.commands.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.utils.commands.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.utils.commands.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.utils.commands.html">v8.0.0-beta.4</a> </li> @@ -334,12 +338,12 @@ <dl class="field-list simple"> <dt class="field-odd">Parameters<span class="colon">:</span></dt> <dd class="field-odd"><ul class="simple"> -<li><p><strong>ctx</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Context" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Context</span></code></a>) – The command’s context</p></li> +<li><p><strong>ctx</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Context" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Context</span></code></a>) – The command’s context</p></li> <li><p><strong>text</strong> (<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Optional" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code></a>[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></a>]) – The provided text argument of the command (if given)</p></li> </ul> </dd> <dt class="field-even">Raises<span class="colon">:</span></dt> -<dd class="field-even"><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.BadArgument" title="(in discord.py v2.0.0a)"><strong>discord.ext.commands.BadArgument</strong></a> – <cite>text</cite> wasn’t provided and there’s no reply message / reply message content.</p> +<dd class="field-even"><p><a class="reference external" href="https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.BadArgument" title="(in discord.py v2.1.0a)"><strong>discord.ext.commands.BadArgument</strong></a> – <cite>text</cite> wasn’t provided and there’s no reply message / reply message content.</p> </dd> <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/stdtypes.html#str" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></a></p> diff --git a/v8.0.0-beta.4/output/botcore.utils.html b/v8.0.0-beta.4/output/botcore.utils.html index 68153252..cf23a514 100644 --- a/v8.0.0-beta.4/output/botcore.utils.html +++ b/v8.0.0-beta.4/output/botcore.utils.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.utils.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.utils.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.utils.html">v8.0.0-beta.4</a> </li> @@ -333,7 +337,7 @@ <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/9c36ea812da7af116e126054bc9891c0fa44fc49/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> -<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.0.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.0.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 +<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.1.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.1.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> <p>It’s stored as an attribute also named <code class="docutils literal notranslate"><span class="pre">root_aliases</span></code></p> </dd> diff --git a/v8.0.0-beta.4/output/botcore.utils.interactions.html b/v8.0.0-beta.4/output/botcore.utils.interactions.html index e4e28dc3..7ca6e7ba 100644 --- a/v8.0.0-beta.4/output/botcore.utils.interactions.html +++ b/v8.0.0-beta.4/output/botcore.utils.interactions.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.utils.interactions.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.utils.interactions.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.utils.interactions.html">v8.0.0-beta.4</a> </li> @@ -330,7 +334,7 @@ <dl class="py class"> <dt class="sig sig-object py" id="botcore.utils.interactions.DeleteMessageButton"> <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">DeleteMessageButton</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">style=<ButtonStyle.secondary:</span> <span class="pre">2></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">label='Delete'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">**kwargs</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/9c36ea812da7af116e126054bc9891c0fa44fc49/botcore/utils/interactions.py#L73-L99"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.utils.interactions.DeleteMessageButton" title="Permalink to this definition">#</a></dt> -<dd><p>Bases: <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/interactions/api.html#discord.ui.Button" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Button</span></code></a></p> +<dd><p>Bases: <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/interactions/api.html#discord.ui.Button" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Button</span></code></a></p> <p>A button that can be added to a view to delete the message containing the view on click.</p> <p>This button itself carries out no interaction checks, these should be done by the parent view.</p> <p>See <a class="reference internal" href="#botcore.utils.interactions.ViewWithUserAndRoleCheck" title="botcore.utils.interactions.ViewWithUserAndRoleCheck"><code class="xref py py-obj docutils literal notranslate"><span class="pre">botcore.utils.interactions.ViewWithUserAndRoleCheck</span></code></a> for a view that implements basic checks.</p> @@ -363,7 +367,7 @@ <dl class="py class"> <dt class="sig sig-object py" id="botcore.utils.interactions.ViewWithUserAndRoleCheck"> <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">ViewWithUserAndRoleCheck</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</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></em>, <em class="sig-param"><span class="n"><span class="pre">timeout</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">180.0</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">message</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/9c36ea812da7af116e126054bc9891c0fa44fc49/botcore/utils/interactions.py#L11-L71"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.utils.interactions.ViewWithUserAndRoleCheck" title="Permalink to this definition">#</a></dt> -<dd><p>Bases: <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/interactions/api.html#discord.ui.View" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">View</span></code></a></p> +<dd><p>Bases: <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/interactions/api.html#discord.ui.View" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">View</span></code></a></p> <p>A view that allows the original invoker and moderators to interact with it.</p> <dl class="field-list simple"> <dt class="field-odd">Parameters<span class="colon">:</span></dt> @@ -372,7 +376,7 @@ <li><p><strong>allowed_roles</strong> (<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Sequence" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Sequence</span></code></a>[<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code></a>]) – A sequence of role ids that are allowed to interact with the view.</p></li> <li><p><strong>timeout</strong> (<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Optional" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code></a>[<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code></a>]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If <code class="docutils literal notranslate"><span class="pre">None</span></code> then there is no timeout.</p></li> -<li><p><strong>message</strong> (<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Optional" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code></a>[<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Message" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Message</span></code></a>]) – The message to remove the view from on timeout. This can also be set with +<li><p><strong>message</strong> (<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Optional" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code></a>[<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Message" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Message</span></code></a>]) – The message to remove the view from on timeout. This can also be set with <code class="docutils literal notranslate"><span class="pre">view.message</span> <span class="pre">=</span> <span class="pre">await</span> <span class="pre">ctx.send(</span> <span class="pre">...</span> <span class="pre">)`</span></code> , or similar, after the view is instantiated.</p></li> </ul> </dd> @@ -388,7 +392,7 @@ If <code class="docutils literal notranslate"><span class="pre">None</span></cod <dd><p>Ensure the user clicking the button is the view invoker, or a moderator.</p> <dl class="field-list simple"> <dt class="field-odd">Parameters<span class="colon">:</span></dt> -<dd class="field-odd"><p><strong>interaction</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/interactions/api.html#discord.Interaction" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Interaction</span></code></a>) – The interaction that occurred.</p> +<dd class="field-odd"><p><strong>interaction</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/interactions/api.html#discord.Interaction" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Interaction</span></code></a>) – The interaction that occurred.</p> </dd> <dt class="field-even">Return type<span class="colon">:</span></dt> <dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code></a></p> diff --git a/v8.0.0-beta.4/output/botcore.utils.logging.html b/v8.0.0-beta.4/output/botcore.utils.logging.html index 6234ee50..a89e65d8 100644 --- a/v8.0.0-beta.4/output/botcore.utils.logging.html +++ b/v8.0.0-beta.4/output/botcore.utils.logging.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.utils.logging.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.utils.logging.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.utils.logging.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/output/botcore.utils.members.html b/v8.0.0-beta.4/output/botcore.utils.members.html index 0f9ea042..55c24f10 100644 --- a/v8.0.0-beta.4/output/botcore.utils.members.html +++ b/v8.0.0-beta.4/output/botcore.utils.members.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.utils.members.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.utils.members.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.utils.members.html">v8.0.0-beta.4</a> </li> @@ -327,17 +331,17 @@ <article role="main"> <section id="module-botcore.utils.members"> <span id="members"></span><h1>members<a class="headerlink" href="#module-botcore.utils.members" title="Permalink to this heading">#</a></h1> -<p>Useful helper functions for interactin with <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member" title="(in discord.py v2.0.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member</span></code></a> objects.</p> +<p>Useful helper functions for interactin with <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member" title="(in discord.py v2.1.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member</span></code></a> objects.</p> <dl class="py function"> <dt class="sig sig-object py" id="botcore.utils.members.get_or_fetch_member"> <em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">get_or_fetch_member</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">guild</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">member_id</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/9c36ea812da7af116e126054bc9891c0fa44fc49/botcore/utils/members.py#L12-L29"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.utils.members.get_or_fetch_member" title="Permalink to this definition">#</a></dt> <dd><p>Attempt to get a member from cache; on failure fetch from the API.</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/typing.html#typing.Optional" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code></a>[<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Member</span></code></a>]</p> +<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Optional" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code></a>[<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Member</span></code></a>]</p> </dd> <dt class="field-even">Returns<span class="colon">:</span></dt> -<dd class="field-even"><p>The <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member" title="(in discord.py v2.0.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member</span></code></a> or <a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.10)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></a> to indicate the member could not be found.</p> +<dd class="field-even"><p>The <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member" title="(in discord.py v2.1.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member</span></code></a> or <a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.10)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></a> to indicate the member could not be found.</p> </dd> </dl> </dd></dl> @@ -347,13 +351,13 @@ <em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">handle_role_change</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">member</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">coro</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">role</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/9c36ea812da7af116e126054bc9891c0fa44fc49/botcore/utils/members.py#L31-L58"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.utils.members.handle_role_change" title="Permalink to this definition">#</a></dt> <dd><p>Await the given <code class="docutils literal notranslate"><span class="pre">coro</span></code> with <code class="docutils literal notranslate"><span class="pre">role</span></code> as the sole argument.</p> <p>Handle errors that we expect to be raised from -<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member.add_roles" title="(in discord.py v2.0.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member.add_roles</span></code></a> and <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member.remove_roles" title="(in discord.py v2.0.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member.remove_roles</span></code></a>.</p> +<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member.add_roles" title="(in discord.py v2.1.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member.add_roles</span></code></a> and <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member.remove_roles" title="(in discord.py v2.1.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member.remove_roles</span></code></a>.</p> <dl class="field-list simple"> <dt class="field-odd">Parameters<span class="colon">:</span></dt> <dd class="field-odd"><ul class="simple"> -<li><p><strong>member</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Member</span></code></a>) – The member that is being modified for logging purposes.</p></li> -<li><p><strong>coro</strong> (<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Callable" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Callable</span></code></a>[[<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Role" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Role</span></code></a>], <a class="reference external" href="https://docs.python.org/3/library/collections.abc.html#collections.abc.Coroutine" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Coroutine</span></code></a>]) – This is intended to be <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member.add_roles" title="(in discord.py v2.0.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member.add_roles</span></code></a> or <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member.remove_roles" title="(in discord.py v2.0.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member.remove_roles</span></code></a>.</p></li> -<li><p><strong>role</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Role" title="(in discord.py v2.0.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Role</span></code></a>) – The role to be passed to <code class="docutils literal notranslate"><span class="pre">coro</span></code>.</p></li> +<li><p><strong>member</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Member</span></code></a>) – The member that is being modified for logging purposes.</p></li> +<li><p><strong>coro</strong> (<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Callable" title="(in Python v3.10)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Callable</span></code></a>[[<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Role" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Role</span></code></a>], <a class="reference external" href="https://docs.python.org/3/library/collections.abc.html#collections.abc.Coroutine" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Coroutine</span></code></a>]) – This is intended to be <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member.add_roles" title="(in discord.py v2.1.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member.add_roles</span></code></a> or <a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Member.remove_roles" title="(in discord.py v2.1.0a)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">discord.Member.remove_roles</span></code></a>.</p></li> +<li><p><strong>role</strong> (<a class="reference external" href="https://discordpy.readthedocs.io/en/latest/api.html#discord.Role" title="(in discord.py v2.1.0a)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Role</span></code></a>) – The role to be passed to <code class="docutils literal notranslate"><span class="pre">coro</span></code>.</p></li> </ul> </dd> <dt class="field-even">Return type<span class="colon">:</span></dt> diff --git a/v8.0.0-beta.4/output/botcore.utils.regex.html b/v8.0.0-beta.4/output/botcore.utils.regex.html index 5066e615..b970718d 100644 --- a/v8.0.0-beta.4/output/botcore.utils.regex.html +++ b/v8.0.0-beta.4/output/botcore.utils.regex.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.utils.regex.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.utils.regex.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.utils.regex.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/output/botcore.utils.scheduling.html b/v8.0.0-beta.4/output/botcore.utils.scheduling.html index d7d92878..8be3f799 100644 --- a/v8.0.0-beta.4/output/botcore.utils.scheduling.html +++ b/v8.0.0-beta.4/output/botcore.utils.scheduling.html @@ -207,6 +207,10 @@ <a class="version_link reference internal" href="../../main/output/botcore.utils.scheduling.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../../v8.1.0/output/botcore.utils.scheduling.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="botcore.utils.scheduling.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/py-modindex.html b/v8.0.0-beta.4/py-modindex.html index d53d4516..5e389c9e 100644 --- a/v8.0.0-beta.4/py-modindex.html +++ b/v8.0.0-beta.4/py-modindex.html @@ -205,6 +205,10 @@ <a class="version_link reference internal" href="../main/index.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../v8.1.0/index.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="py-modindex.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/search.html b/v8.0.0-beta.4/search.html index 16d3ef5e..8707d370 100644 --- a/v8.0.0-beta.4/search.html +++ b/v8.0.0-beta.4/search.html @@ -204,6 +204,10 @@ <a class="version_link reference internal" href="../main/index.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../v8.1.0/index.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="search.html">v8.0.0-beta.4</a> </li> diff --git a/v8.0.0-beta.4/versions.html b/v8.0.0-beta.4/versions.html index 3e9eedd2..bf3a216c 100644 --- a/v8.0.0-beta.4/versions.html +++ b/v8.0.0-beta.4/versions.html @@ -206,6 +206,10 @@ <a class="version_link reference internal" href="../main/index.html">main</a> </li> + <li class="toctree-l2 "> + <a class="version_link reference internal" href="../v8.1.0/index.html">v8.1.0</a> + </li> + <li class="toctree-l2 current-page"> <a class="version_link reference internal" href="versions.html">v8.0.0-beta.4</a> </li> @@ -338,6 +342,12 @@ </li> <li> + <a class="reference internal" href="../v8.1.0/index.html">v8.1.0</a> + + + </li> + + <li> <a class="reference internal" href="versions.html">v8.0.0-beta.4</a> (current) |