diff options
| author | 2022-03-05 16:32:01 +0000 | |
|---|---|---|
| committer | 2022-03-05 16:32:01 +0000 | |
| commit | 451fbe23ff31a232ea68d2c1913153a4397ef6ce (patch) | |
| tree | 8016b0c3a3c8afa84cdd18307215773282595807 /output/botcore.utils.channel.html | |
| parent | Deploying to docs from @ python-discord/bot-core@a96f9e3c2120c4484726e01dd355... (diff) | |
Deploying to docs from @ python-discord/bot-core@f105af921d2e294e49388c4aff680912cf261ec6 🚀
Diffstat (limited to 'output/botcore.utils.channel.html')
| -rw-r--r-- | output/botcore.utils.channel.html | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/output/botcore.utils.channel.html b/output/botcore.utils.channel.html index 3c91c85c..1d3cbc56 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 v3.0.0</title> +        <title>channel - Bot Core v3.0.1</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 v3.0.0</div></a> +      <a href="../index.html"><div class="brand">Bot Core v3.0.1</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 v3.0.0</span> +  <span class="sidebar-brand-text">Bot Core v3.0.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"> @@ -214,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/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> +<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/f105af921d2e294e49388c4aff680912cf261ec6/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> @@ -241,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/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> +<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/f105af921d2e294e49388c4aff680912cf261ec6/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> | 
