diff options
| author | 2024-02-01 11:37:33 +0000 | |
|---|---|---|
| committer | 2024-02-01 11:37:33 +0000 | |
| commit | 88792740d69d2a8290468f9d0d67ac6b79c7a3fd (patch) | |
| tree | 17951222f8abc31c3785287a692b09da4bf74f50 /main/output/pydis_core.utils.channel.html | |
| parent | Deploying to docs from @ python-discord/bot-core@07f517225fc59157233f74edb136... (diff) | |
Deploying to docs from @ python-discord/bot-core@1546d7b235870e131733d6e2a498c43b2afe8231 🚀
Diffstat (limited to 'main/output/pydis_core.utils.channel.html')
| -rw-r--r-- | main/output/pydis_core.utils.channel.html | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/main/output/pydis_core.utils.channel.html b/main/output/pydis_core.utils.channel.html index 7210cf9d..d9b5b9ce 100644 --- a/main/output/pydis_core.utils.channel.html +++ b/main/output/pydis_core.utils.channel.html @@ -6,13 +6,13 @@  <link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="checks" href="pydis_core.utils.checks.html" /><link rel="prev" title="caching" href="pydis_core.utils.caching.html" />      <link rel="shortcut icon" href="https://raw.githubusercontent.com/python-discord/branding/main/logos/logo_full/logo_full.min.svg"/><!-- Generated with Sphinx 7.2.6 and Furo 2024.01.29 --> -        <title>channel - Pydis Core Latest (10.6.0)</title> +        <title>channel - Pydis Core Latest (10.7.0)</title>        <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />      <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/index.css?v=832e2368" />      <link rel="stylesheet" type="text/css" href="../_static/logo.css?v=41ebe54c" /> +    <link rel="stylesheet" type="text/css" href="../_static/index.css?v=832e2368" /> @@ -127,7 +127,7 @@        </label>      </div>      <div class="header-center"> -      <a href="../index.html"><div class="brand">Pydis Core Latest (10.6.0)</div></a> +      <a href="../index.html"><div class="brand">Pydis Core Latest (10.7.0)</div></a>      </div>      <div class="header-right">        <div class="theme-toggle-container theme-toggle-header"> @@ -153,7 +153,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">Pydis Core Latest (10.6.0)</span> +  <span class="sidebar-brand-text">Pydis Core Latest (10.7.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"> @@ -455,7 +455,7 @@  <p>Useful helper functions for interacting with various discord channel objects.</p>  <dl class="py function">  <dt class="sig sig-object py" id="pydis_core.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/07f517225fc59157233f74edb136ee39046fda00/pydis_core/utils/channel.py#L25-L58"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pydis_core.utils.channel.get_or_fetch_channel" title="Link 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/1546d7b235870e131733d6e2a498c43b2afe8231/pydis_core/utils/channel.py#L25-L58"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pydis_core.utils.channel.get_or_fetch_channel" title="Link 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<span class="colon">:</span></dt> @@ -483,7 +483,7 @@  <dl class="py function">  <dt class="sig sig-object py" id="pydis_core.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/07f517225fc59157233f74edb136ee39046fda00/pydis_core/utils/channel.py#L11-L23"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pydis_core.utils.channel.is_in_category" title="Link 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/1546d7b235870e131733d6e2a498c43b2afe8231/pydis_core/utils/channel.py#L11-L23"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pydis_core.utils.channel.is_in_category" title="Link 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<span class="colon">:</span></dt> @@ -572,7 +572,7 @@      </aside>    </div> -</div><script src="../_static/documentation_options.js?v=ccd73373"></script> +</div><script src="../_static/documentation_options.js?v=bd02792a"></script>      <script src="../_static/doctools.js?v=888ff710"></script>      <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>      <script src="../_static/scripts/furo.js?v=32e29ea5"></script> | 
