aboutsummaryrefslogtreecommitdiffstats
path: root/main/output/botcore.utils.channel.html
diff options
context:
space:
mode:
authorGravatar HassanAbouelela <[email protected]>2022-06-28 12:11:54 +0000
committerGravatar HassanAbouelela <[email protected]>2022-06-28 12:11:54 +0000
commit05394fec96b65e6f97d53a5b4d5fe47b07fcebc2 (patch)
tree402ced04f0bf0608a8557e9f4f62fd058058f6b7 /main/output/botcore.utils.channel.html
parentDeploying to docs from @ python-discord/bot-core@149e278d3b6111a6f45f31e99311... (diff)
Deploying to docs from @ python-discord/bot-core@28be7e1e8b712084a883a9199028c0cab876361c 🚀
Diffstat (limited to 'main/output/botcore.utils.channel.html')
-rw-r--r--main/output/botcore.utils.channel.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/output/botcore.utils.channel.html b/main/output/botcore.utils.channel.html
index 89f188aa..120ee4d4 100644
--- a/main/output/botcore.utils.channel.html
+++ b/main/output/botcore.utils.channel.html
@@ -205,7 +205,7 @@
</li>
<li class="toctree-l2 ">
- <a class="version_link reference internal" href="../../v7.2.0-alpha/output/botcore.utils.channel.html">v7.2.0-alpha</a>
+ <a class="version_link reference internal" href="../../v7.2.0/output/botcore.utils.channel.html">v7.2.0</a>
</li>
<li class="toctree-l2 ">
@@ -279,7 +279,7 @@
<p>Useful helper functions for interacting with various discord 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/149e278d3b6111a6f45f31e993114b38745bb545/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/28be7e1e8b712084a883a9199028c0cab876361c/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<span class="colon">:</span></dt>
@@ -307,7 +307,7 @@
<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/149e278d3b6111a6f45f31e993114b38745bb545/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/28be7e1e8b712084a883a9199028c0cab876361c/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<span class="colon">:</span></dt>