diff options
| author | 2022-03-03 22:03:33 +0000 | |
|---|---|---|
| committer | 2022-03-03 22:03:33 +0000 | |
| commit | c7245e0b2b0b26920ca511552f5d4a4f6a715c6e (patch) | |
| tree | dd5d740c14d9f6387c362d724eb96d02047075dd /output/botcore.utils.channel.html | |
| parent | Deploying to docs from @ python-discord/bot-core@114db8556dd236fd5ba58061357e... (diff) | |
Deploying to docs from @ python-discord/bot-core@a96f9e3c2120c4484726e01dd355f775ac4eabcd 🚀
Diffstat (limited to 'output/botcore.utils.channel.html')
| -rw-r--r-- | output/botcore.utils.channel.html | 11 | 
1 files changed, 5 insertions, 6 deletions
| diff --git a/output/botcore.utils.channel.html b/output/botcore.utils.channel.html index aed83397..3c91c85c 100644 --- a/output/botcore.utils.channel.html +++ b/output/botcore.utils.channel.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="extensions" href="botcore.utils.extensions.html" /><link rel="prev" title="caching" href="botcore.utils.caching.html" />      <link rel="shortcut icon" href="https://raw.githubusercontent.com/python-discord/branding/main/logos/logo_full/logo_full.min.svg"/><meta name="generator" content="sphinx-4.4.0, furo 2022.02.23"/> -        <title>channel - Bot Core v2.1.0</title> +        <title>channel - Bot Core v3.0.0</title>        <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />      <link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?digest=3c656993158f05539f962c5cea52a5e6c184bb8c" />      <link rel="stylesheet" type="text/css" href="../_static/styles/furo-extensions.css?digest=25ceb02ed1c46dc30f2321ff83e92799f69dfdb9" /> @@ -122,7 +122,7 @@        </label>      </div>      <div class="header-center"> -      <a href="../index.html"><div class="brand">Bot Core v2.1.0</div></a> +      <a href="../index.html"><div class="brand">Bot Core v3.0.0</div></a>      </div>      <div class="header-right">        <div class="theme-toggle-container theme-toggle-header"> @@ -148,7 +148,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">Bot Core v2.1.0</span> +  <span class="sidebar-brand-text">Bot Core v3.0.0</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"> @@ -166,7 +166,6 @@  <li class="toctree-l3"><a class="reference internal" href="botcore.utils.extensions.html">extensions</a></li>  <li class="toctree-l3"><a class="reference internal" href="botcore.utils.logging.html">logging</a></li>  <li class="toctree-l3"><a class="reference internal" href="botcore.utils.members.html">members</a></li> -<li class="toctree-l3"><a class="reference internal" href="botcore.utils.monkey_patches.html">monkey_patches</a></li>  <li class="toctree-l3"><a class="reference internal" href="botcore.utils.regex.html">regex</a></li>  <li class="toctree-l3"><a class="reference internal" href="botcore.utils.scheduling.html">scheduling</a></li>  </ul> @@ -215,7 +214,7 @@  <p>Useful helper functions for interacting with various disnake channel objects.</p>  <dl class="py function">  <dt class="sig sig-object py" id="botcore.utils.channel.get_or_fetch_channel"> -<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_channel</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">bot</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">channel_id</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/114db8556dd236fd5ba58061357e7ae1e5e732b2/botcore/utils/channel.py#L25-L55"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.utils.channel.get_or_fetch_channel" title="Permalink to this definition">#</a></dt> +<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_channel</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">bot</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">channel_id</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/a96f9e3c2120c4484726e01dd355f775ac4eabcd/botcore/utils/channel.py#L25-L55"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.utils.channel.get_or_fetch_channel" title="Permalink to this definition">#</a></dt>  <dd><p>Attempt to get or fetch the given <code class="docutils literal notranslate"><span class="pre">channel_id</span></code> from the bots cache, and return it.</p>  <dl class="field-list simple">  <dt class="field-odd">Parameters</dt> @@ -242,7 +241,7 @@  </dd></dl>  <dl class="py function">  <dt class="sig sig-object py" id="botcore.utils.channel.is_in_category"> -<span class="sig-name descname"><span class="pre">is_in_category</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">channel</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">category_id</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/114db8556dd236fd5ba58061357e7ae1e5e732b2/botcore/utils/channel.py#L11-L23"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.utils.channel.is_in_category" title="Permalink to this definition">#</a></dt> +<span class="sig-name descname"><span class="pre">is_in_category</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">channel</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">category_id</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/python-discord/bot-core/blob/a96f9e3c2120c4484726e01dd355f775ac4eabcd/botcore/utils/channel.py#L11-L23"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#botcore.utils.channel.is_in_category" title="Permalink to this definition">#</a></dt>  <dd><p>Return whether the given <code class="docutils literal notranslate"><span class="pre">channel</span></code> in the the category with the id <code class="docutils literal notranslate"><span class="pre">category_id</span></code>.</p>  <dl class="field-list simple">  <dt class="field-odd">Parameters</dt> | 
