From 03157db62f6bfad9862564a9d230de707254b57b Mon Sep 17 00:00:00 2001
From: ChrisLovering
Date: Sat, 22 Jun 2024 11:10:12 +0000
Subject: Deploying to docs from @
python-discord/bot-core@3fe3eaefc11cd8e5c2ca17fe9e99fe3ef5639933 π
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
v10.6.0/.buildinfo | 2 +-
v10.6.0/_static/pygments.css | 12 ++++++------
v10.6.0/changelog.html | 4 ++--
v10.6.0/output/pydis_core.html | 14 +++++++-------
v10.6.0/output/pydis_core.utils.channel.html | 14 +++++++-------
v10.6.0/output/pydis_core.utils.checks.html | 10 +++++-----
v10.6.0/output/pydis_core.utils.commands.html | 4 ++--
v10.6.0/output/pydis_core.utils.cooldown.html | 2 +-
v10.6.0/output/pydis_core.utils.error_handling.html | 4 ++--
v10.6.0/output/pydis_core.utils.html | 2 +-
v10.6.0/output/pydis_core.utils.interactions.html | 8 ++++----
v10.6.0/output/pydis_core.utils.members.html | 14 +++++++-------
v10.6.0/output/pydis_core.utils.pagination.html | 10 +++++-----
13 files changed, 50 insertions(+), 50 deletions(-)
(limited to 'v10.6.0')
diff --git a/v10.6.0/.buildinfo b/v10.6.0/.buildinfo
index 53f8223c..f3a0974a 100644
--- a/v10.6.0/.buildinfo
+++ b/v10.6.0/.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: fa82e6868e6c51f883ec36d522cef334
+config: 2a00fc8abca949bea03bd909e9b0d695
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/v10.6.0/_static/pygments.css b/v10.6.0/_static/pygments.css
index c2e07c71..02b4b128 100644
--- a/v10.6.0/_static/pygments.css
+++ b/v10.6.0/_static/pygments.css
@@ -106,17 +106,17 @@ body[data-theme="dark"] .highlight .cp { color: #ff3a3a; font-weight: bold } /*
body[data-theme="dark"] .highlight .cpf { color: #ababab; font-style: italic } /* Comment.PreprocFile */
body[data-theme="dark"] .highlight .c1 { color: #ababab; font-style: italic } /* Comment.Single */
body[data-theme="dark"] .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
-body[data-theme="dark"] .highlight .gd { color: #d22323 } /* Generic.Deleted */
+body[data-theme="dark"] .highlight .gd { color: #ff3a3a } /* Generic.Deleted */
body[data-theme="dark"] .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
body[data-theme="dark"] .highlight .ges { color: #d0d0d0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
-body[data-theme="dark"] .highlight .gr { color: #d22323 } /* Generic.Error */
+body[data-theme="dark"] .highlight .gr { color: #ff3a3a } /* Generic.Error */
body[data-theme="dark"] .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
body[data-theme="dark"] .highlight .gi { color: #589819 } /* Generic.Inserted */
body[data-theme="dark"] .highlight .go { color: #cccccc } /* Generic.Output */
body[data-theme="dark"] .highlight .gp { color: #aaaaaa } /* Generic.Prompt */
body[data-theme="dark"] .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
body[data-theme="dark"] .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
-body[data-theme="dark"] .highlight .gt { color: #d22323 } /* Generic.Traceback */
+body[data-theme="dark"] .highlight .gt { color: #ff3a3a } /* Generic.Traceback */
body[data-theme="dark"] .highlight .kc { color: #6ebf26; font-weight: bold } /* Keyword.Constant */
body[data-theme="dark"] .highlight .kd { color: #6ebf26; font-weight: bold } /* Keyword.Declaration */
body[data-theme="dark"] .highlight .kn { color: #6ebf26; font-weight: bold } /* Keyword.Namespace */
@@ -192,17 +192,17 @@ body:not([data-theme="light"]) .highlight .cp { color: #ff3a3a; font-weight: bol
body:not([data-theme="light"]) .highlight .cpf { color: #ababab; font-style: italic } /* Comment.PreprocFile */
body:not([data-theme="light"]) .highlight .c1 { color: #ababab; font-style: italic } /* Comment.Single */
body:not([data-theme="light"]) .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
-body:not([data-theme="light"]) .highlight .gd { color: #d22323 } /* Generic.Deleted */
+body:not([data-theme="light"]) .highlight .gd { color: #ff3a3a } /* Generic.Deleted */
body:not([data-theme="light"]) .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
body:not([data-theme="light"]) .highlight .ges { color: #d0d0d0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
-body:not([data-theme="light"]) .highlight .gr { color: #d22323 } /* Generic.Error */
+body:not([data-theme="light"]) .highlight .gr { color: #ff3a3a } /* Generic.Error */
body:not([data-theme="light"]) .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
body:not([data-theme="light"]) .highlight .gi { color: #589819 } /* Generic.Inserted */
body:not([data-theme="light"]) .highlight .go { color: #cccccc } /* Generic.Output */
body:not([data-theme="light"]) .highlight .gp { color: #aaaaaa } /* Generic.Prompt */
body:not([data-theme="light"]) .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
body:not([data-theme="light"]) .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
-body:not([data-theme="light"]) .highlight .gt { color: #d22323 } /* Generic.Traceback */
+body:not([data-theme="light"]) .highlight .gt { color: #ff3a3a } /* Generic.Traceback */
body:not([data-theme="light"]) .highlight .kc { color: #6ebf26; font-weight: bold } /* Keyword.Constant */
body:not([data-theme="light"]) .highlight .kd { color: #6ebf26; font-weight: bold } /* Keyword.Declaration */
body:not([data-theme="light"]) .highlight .kn { color: #6ebf26; font-weight: bold } /* Keyword.Namespace */
diff --git a/v10.6.0/changelog.html b/v10.6.0/changelog.html
index 0bc2dc16..0ced18ee 100644
--- a/v10.6.0/changelog.html
+++ b/v10.6.0/changelog.html
@@ -482,14 +482,14 @@
diff --git a/v10.6.0/output/pydis_core.html b/v10.6.0/output/pydis_core.html
index 1a6b9491..36937683 100644
--- a/v10.6.0/output/pydis_core.html
+++ b/v10.6.0/output/pydis_core.html
@@ -450,7 +450,7 @@
-
class BotBase(*args, guild_id, allowed_roles, http_session, redis_session=None, api_client=None, statsd_url=None, **kwargs)[source]
-Bases: Bot
+Bases: Bot
A sub-class that implements many common features that Python Discord bots use.
-
@@ -595,7 +595,7 @@ will not be set and guild_available_but_cache_empty event will be e
To remove them, either remove the entire command or manually edit bot.all_commands.
- Return type:
-Command | None
+Command | None
@@ -639,7 +639,7 @@ gateway event before giving up and thus not populating the cache for unavailable
-
class LinePaginator(prefix='```', suffix='```', max_size=4000, scale_to_size=4000, max_lines=None, linesep='\\n')[source]
-Bases: Paginator
+Bases: Paginator
A class that aids in paginating code blocks for Discord messages.
- Parameters:
@@ -703,15 +703,15 @@ to any user with a moderation role.
pagination_emojis (PaginationEmojis) β The emojis used to navigate pages.
lines (list[str]) β A list of lines to be added to the paginated content.
-ctx (discord.ext.commands.Context) β The context in which the pagination is needed.
-embed (discord.Embed) β The embed that holds the content, it serves as the page.
+ctx (discord.ext.commands.Context) β The context in which the pagination is needed.
+embed (discord.Embed) β The embed that holds the content, it serves as the page.
prefix (str) β The prefix inserted to every page. e.g. three backticks.
suffix (str) β The suffix appended at the end of every page. e.g. three backticks.
max_lines (int) β The maximum amount of lines allowed in a page.
max_size (int) β The maximum amount of codepoints allowed in a page.
scale_to_size (int) β The maximum amount of characters a single line can scale up to.
empty (bool) β Indicates whether an empty line should be added to each provided line.
-restrict_to_user (discord.User) β The user to whom interaction with the pages should be restricted.
+restrict_to_user (discord.User) β The user to whom interaction with the pages should be restricted.
timeout (int) β The timeout after which users cannot change pages anymore.
footer_text (str) β Text to be added as a footer for each page.
url (str) β The url to be set for the pagination embed.
@@ -721,7 +721,7 @@ to any user with a moderation role.
- Return type:
-Message | None
+Message | None
Example:
diff --git a/v10.6.0/output/pydis_core.utils.channel.html b/v10.6.0/output/pydis_core.utils.channel.html
index d3892743..e8791826 100644
--- a/v10.6.0/output/pydis_core.utils.channel.html
+++ b/v10.6.0/output/pydis_core.utils.channel.html
@@ -454,20 +454,20 @@
- Parameters:
-
- Raises:
-
- Return type:
-GuildChannel | PrivateChannel | Thread
+GuildChannel | PrivateChannel | Thread
- Returns:
The channel from the ID.
@@ -482,7 +482,7 @@
- Parameters:
-channel (TextChannel) β The channel to check.
+channel (TextChannel) β The channel to check.
category_id (int) β The category to check for.
diff --git a/v10.6.0/output/pydis_core.utils.checks.html b/v10.6.0/output/pydis_core.utils.checks.html
index db1fe9f9..228232af 100644
--- a/v10.6.0/output/pydis_core.utils.checks.html
+++ b/v10.6.0/output/pydis_core.utils.checks.html
@@ -449,7 +449,7 @@
-
exception ContextCheckFailure(redirect_channel)[source]
-Bases: CheckFailure
+Bases: CheckFailure
Raised when a context-specific check fails.
-
@@ -475,7 +475,7 @@
rate (int) β Number of times a command can be used before triggering a cooldown.
per (float) β The duration (in seconds) for how long the cooldown lasts.
-type (discord.ext.commands.BucketType) β The type of cooldown (per user, per channel, per guild, etc.).
+type (discord.ext.commands.BucketType) β The type of cooldown (per user, per channel, per guild, etc.).
bypass_roles (Iterable[int]) β An iterable of role IDs that bypass the cooldown.
@@ -499,7 +499,7 @@
- Parameters:
-
@@ -520,7 +520,7 @@
- Parameters:
-
@@ -540,7 +540,7 @@
- Parameters:
-ctx (discord.ext.commands.Context) β The context in which the command is being invoked.
+ctx (discord.ext.commands.Context) β The context in which the command is being invoked.
redirect (int | None) β The channel ID to redirect the user to, if any.
channels (Container[int]) β Whitelisted channel IDs. Defaults to ().
categories (Container[int]) β Whitelisted category IDs. Defaults to ().
diff --git a/v10.6.0/output/pydis_core.utils.commands.html b/v10.6.0/output/pydis_core.utils.commands.html
index d454cb46..a50a7688 100644
--- a/v10.6.0/output/pydis_core.utils.commands.html
+++ b/v10.6.0/output/pydis_core.utils.commands.html
@@ -453,12 +453,12 @@
- Parameters:
-ctx (Context) β The commandβs context
+ctx (Context) β The commandβs context
text (str | None) β The provided text argument of the command (if given)
- Raises:
-discord.ext.commands.BadArgument β text wasnβt provided and thereβs no reply message / reply message content.
+discord.ext.commands.BadArgument β text wasnβt provided and thereβs no reply message / reply message content.
- Return type:
str
diff --git a/v10.6.0/output/pydis_core.utils.cooldown.html b/v10.6.0/output/pydis_core.utils.cooldown.html
index aae99238..c87a6728 100644
--- a/v10.6.0/output/pydis_core.utils.cooldown.html
+++ b/v10.6.0/output/pydis_core.utils.cooldown.html
@@ -450,7 +450,7 @@
-
exception CommandOnCooldown(message, function, /, *args, **kwargs)[source]
-Bases: CommandError, Generic[P, R]
+Bases: CommandError, Generic[P, R]
Raised when a command is invoked while on cooldown.
-
diff --git a/v10.6.0/output/pydis_core.utils.error_handling.html b/v10.6.0/output/pydis_core.utils.error_handling.html
index 17a5f25d..42390b17 100644
--- a/v10.6.0/output/pydis_core.utils.error_handling.html
+++ b/v10.6.0/output/pydis_core.utils.error_handling.html
@@ -453,8 +453,8 @@
- Parameters:
-error (Forbidden) β The raised discord.Forbidden to check.
-message (Message | None) β The message to reply to and include in logs, if error is 90001 and message is provided.
+error (Forbidden) β The raised discord.Forbidden to check.
+message (Message | None) β The message to reply to and include in logs, if error is 90001 and message is provided.
- Return type:
diff --git a/v10.6.0/output/pydis_core.utils.html b/v10.6.0/output/pydis_core.utils.html
index e6094fd1..959b4f7f 100644
--- a/v10.6.0/output/pydis_core.utils.html
+++ b/v10.6.0/output/pydis_core.utils.html
@@ -457,7 +457,7 @@
-- Patches
discord.ext.commands.Command and discord.ext.commands.Group to support root aliases. A root_aliases keyword argument is added to these two objects, which is a sequence of alias names
+
- Patches
discord.ext.commands.Command and discord.ext.commands.Group to support root aliases. A root_aliases 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.
Itβs stored as an attribute also named root_aliases
diff --git a/v10.6.0/output/pydis_core.utils.interactions.html b/v10.6.0/output/pydis_core.utils.interactions.html
index 9369966a..1e4642cc 100644
--- a/v10.6.0/output/pydis_core.utils.interactions.html
+++ b/v10.6.0/output/pydis_core.utils.interactions.html
@@ -449,7 +449,7 @@
-
class DeleteMessageButton(*, style=('secondary', 2), label='Delete', **kwargs)[source]
-Bases: Button
+Bases: Button
A button that can be added to a view to delete the message containing the view on click.
This button itself carries out no interaction checks, these should be done by the parent view.
See pydis_core.utils.interactions.ViewWithUserAndRoleCheck for a view that implements basic checks.
@@ -482,7 +482,7 @@
-
class ViewWithUserAndRoleCheck(*, allowed_users, allowed_roles, timeout=180.0, message=None)[source]
-Bases: View
+Bases: View
A view that allows the original invoker and moderators to interact with it.
- Parameters:
@@ -491,7 +491,7 @@
allowed_roles (Sequence[int]) β A sequence of role ids that are allowed to interact with the view.
timeout (float | None) β Timeout in seconds from last interaction with the UI before no longer accepting input.
If None then there is no timeout.
-message (Message | None) β The message to remove the view from on timeout. This can also be set with
+
message (Message | None) β The message to remove the view from on timeout. This can also be set with
view.message = await ctx.send( ... )` , or similar, after the view is instantiated.
@@ -507,7 +507,7 @@ If NoneEnsure the user clicking the button is the view invoker, or a moderator.
- Parameters:
-interaction (Interaction) β The interaction that occurred.
+interaction (Interaction) β The interaction that occurred.
- Return type:
bool
diff --git a/v10.6.0/output/pydis_core.utils.members.html b/v10.6.0/output/pydis_core.utils.members.html
index 03ea50e7..1891f8fc 100644
--- a/v10.6.0/output/pydis_core.utils.members.html
+++ b/v10.6.0/output/pydis_core.utils.members.html
@@ -446,17 +446,17 @@
members
-Useful helper functions for interactin with discord.Member objects.
+Useful helper functions for interactin with discord.Member objects.
-
async get_or_fetch_member(guild, member_id)[source]
Attempt to get a member from cache; on failure fetch from the API.
- Return type:
-Member | None
+Member | None
- Returns:
-The discord.Member or None to indicate the member could not be found.
+The discord.Member or None to indicate the member could not be found.
@@ -466,13 +466,13 @@
async handle_role_change(member, coro, role)[source]
Await the given coro with role as the sole argument.
Handle errors that we expect to be raised from
-discord.Member.add_roles and discord.Member.remove_roles.
+discord.Member.add_roles and discord.Member.remove_roles.
- Parameters:
-
- Return type:
diff --git a/v10.6.0/output/pydis_core.utils.pagination.html b/v10.6.0/output/pydis_core.utils.pagination.html
index 0da58388..441512ef 100644
--- a/v10.6.0/output/pydis_core.utils.pagination.html
+++ b/v10.6.0/output/pydis_core.utils.pagination.html
@@ -456,7 +456,7 @@
-Bases: Paginator
+Bases: Paginator
A class that aids in paginating code blocks for Discord messages.
- Parameters:
@@ -520,15 +520,15 @@ to any user with a moderation role.
pagination_emojis (PaginationEmojis) β The emojis used to navigate pages.
lines (list[str]) β A list of lines to be added to the paginated content.
-ctx (discord.ext.commands.Context) β The context in which the pagination is needed.
-embed (discord.Embed) β The embed that holds the content, it serves as the page.
+ctx (discord.ext.commands.Context) β The context in which the pagination is needed.
+embed (discord.Embed) β The embed that holds the content, it serves as the page.
prefix (str) β The prefix inserted to every page. e.g. three backticks.
suffix (str) β The suffix appended at the end of every page. e.g. three backticks.
max_lines (int) β The maximum amount of lines allowed in a page.
max_size (int) β The maximum amount of codepoints allowed in a page.
scale_to_size (int) β The maximum amount of characters a single line can scale up to.
empty (bool) β Indicates whether an empty line should be added to each provided line.
-restrict_to_user (discord.User) β The user to whom interaction with the pages should be restricted.
+restrict_to_user (discord.User) β The user to whom interaction with the pages should be restricted.
timeout (int) β The timeout after which users cannot change pages anymore.
footer_text (str) β Text to be added as a footer for each page.
url (str) β The url to be set for the pagination embed.
@@ -538,7 +538,7 @@ to any user with a moderation role.
- Return type:
-Message | None
+Message | None
Example:
--
cgit v1.2.3