From cf16350107a4ffd6a48d258a47fffc0733c138b2 Mon Sep 17 00:00:00 2001 From: jb3 Date: Fri, 17 Oct 2025 18:04:11 +0000 Subject: Deploying to docs from @ python-discord/bot-core@9f0162c0869ee8e0ae158636c8f0eac96159a675 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/.buildinfo | 2 +- main/_static/documentation_options.js | 2 +- main/changelog.html | 23 ++- main/development.html | 10 +- main/genindex.html | 10 +- main/index.html | 10 +- main/index_redirect.html | 6 +- main/objects.inv | Bin 2754 -> 2754 bytes main/output/pydis_core.async_stats.html | 30 ++-- main/output/pydis_core.exts.html | 10 +- main/output/pydis_core.html | 188 ++++++++++----------- main/output/pydis_core.site_api.html | 82 ++++----- main/output/pydis_core.utils.caching.html | 28 +-- main/output/pydis_core.utils.channel.html | 34 ++-- main/output/pydis_core.utils.checks.html | 62 +++---- main/output/pydis_core.utils.commands.html | 20 +-- main/output/pydis_core.utils.cooldown.html | 34 ++-- ...dis_core.utils.error_handling.commands.abc.html | 26 +-- .../pydis_core.utils.error_handling.commands.html | 40 ++--- ...core.utils.error_handling.commands.manager.html | 24 +-- main/output/pydis_core.utils.error_handling.html | 18 +- main/output/pydis_core.utils.function.html | 68 ++++---- main/output/pydis_core.utils.html | 22 +-- main/output/pydis_core.utils.interactions.html | 60 +++---- main/output/pydis_core.utils.lock.html | 56 +++--- main/output/pydis_core.utils.logging.html | 30 ++-- main/output/pydis_core.utils.members.html | 30 ++-- main/output/pydis_core.utils.messages.html | 14 +- main/output/pydis_core.utils.pagination.html | 84 ++++----- main/output/pydis_core.utils.paste_service.html | 66 ++++---- main/output/pydis_core.utils.regex.html | 18 +- main/output/pydis_core.utils.scheduling.html | 80 ++++----- main/py-modindex.html | 10 +- main/search.html | 10 +- main/searchindex.js | 2 +- main/versions.html | 10 +- 36 files changed, 612 insertions(+), 607 deletions(-) (limited to 'main') diff --git a/main/.buildinfo b/main/.buildinfo index 69934d7c..dd7024fc 100644 --- a/main/.buildinfo +++ b/main/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file records the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 9eb24cc2e88b4c470859d190c32e7178 +config: 24500e0014163c3300d68fe8a7f6532f tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/main/_static/documentation_options.js b/main/_static/documentation_options.js index 1bf01aa7..a37b27a1 100644 --- a/main/_static/documentation_options.js +++ b/main/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '11.7.0', + VERSION: '11.8.0', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/main/changelog.html b/main/changelog.html index 6fb88cde..4ad7519b 100644 --- a/main/changelog.html +++ b/main/changelog.html @@ -6,12 +6,12 @@ - Changelog - Pydis Core Latest (11.7.0) + Changelog - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0)
- + diff --git a/main/development.html b/main/development.html index 2cc8a056..0d2c8141 100644 --- a/main/development.html +++ b/main/development.html @@ -6,12 +6,12 @@ - Local Development & Testing - Pydis Core Latest (11.7.0) + Local Development & Testing - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -603,7 +603,7 @@ to help you test out certain features. Use them as needed.

- + diff --git a/main/genindex.html b/main/genindex.html index 6114cadf..6f099b9a 100644 --- a/main/genindex.html +++ b/main/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core Latest (11.7.0) + Index - Pydis Core Latest (11.8.0) - + @@ -168,7 +168,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -195,7 +195,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -1343,7 +1343,7 @@
- + diff --git a/main/index.html b/main/index.html index 9255f312..120a4f72 100644 --- a/main/index.html +++ b/main/index.html @@ -6,12 +6,12 @@ - Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -621,7 +621,7 @@
- + diff --git a/main/index_redirect.html b/main/index_redirect.html index e972ec3f..d656ac7d 100644 --- a/main/index_redirect.html +++ b/main/index_redirect.html @@ -9,12 +9,12 @@ - Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) - + @@ -54,7 +54,7 @@ Please click here if you were not redirected to the latest build. - + diff --git a/main/objects.inv b/main/objects.inv index 452fafdb..44c9ed4e 100644 Binary files a/main/objects.inv and b/main/objects.inv differ diff --git a/main/output/pydis_core.async_stats.html b/main/output/pydis_core.async_stats.html index 85a12722..6f7f6501 100644 --- a/main/output/pydis_core.async_stats.html +++ b/main/output/pydis_core.async_stats.html @@ -6,12 +6,12 @@ - async_stats - Pydis Core Latest (11.7.0) + async_stats - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,21 +480,21 @@

An async transport method for statsd communication.

-class AsyncStatsClient(loop, host='localhost', port=8125, prefix=None)[source]
+class AsyncStatsClient(loop, host='localhost', port=8125, prefix=None)[source]

Bases: StatsClientBase

An async implementation of statsd.client.base.StatsClientBase that supports async stat communication.

-__init__(loop, host='localhost', port=8125, prefix=None)[source]
+__init__(loop, host='localhost', port=8125, prefix=None)[source]

Create a new AsyncStatsClient.

Parameters:
@@ -502,11 +502,11 @@
-async create_socket()[source]
-

Use asyncio.loop.create_datagram_endpoint from the loop given on init to create a socket.

+async create_socket()[source] +

Use asyncio.loop.create_datagram_endpoint from the loop given on init to create a socket.

Return type:
-

None

+

None

@@ -587,7 +587,7 @@
- + diff --git a/main/output/pydis_core.exts.html b/main/output/pydis_core.exts.html index 7b15e43e..a956ca42 100644 --- a/main/output/pydis_core.exts.html +++ b/main/output/pydis_core.exts.html @@ -6,12 +6,12 @@ - Exts - Pydis Core Latest (11.7.0) + Exts - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -529,7 +529,7 @@
- + diff --git a/main/output/pydis_core.html b/main/output/pydis_core.html index f64b593f..0c4debca 100644 --- a/main/output/pydis_core.html +++ b/main/output/pydis_core.html @@ -6,12 +6,12 @@ - Pydis Core - Pydis Core Latest (11.7.0) + Pydis Core - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,34 +480,34 @@

Useful utilities and tools for Discord bot development.

-class BotBase(*args, guild_id, allowed_roles, http_session, redis_session=None, api_client=None, statsd_url=None, **kwargs)[source]
-

Bases: Bot

+class BotBase(*args, guild_id, allowed_roles, http_session, redis_session=None, api_client=None, statsd_url=None, **kwargs)[source] +

Bases: Bot

A sub-class that implements many common features that Python Discord bots use.

-guild_id[source]
+guild_id[source]

ID of the guild that the bot belongs to.

Type:
-

int

+

int

-http_session[source]
+http_session[source]

The http session used for sending out HTTP requests.

Type:
-

aiohttp.ClientSession

+

aiohttp.ClientSession

-api_client[source]
+api_client[source]

The API client used for communications with the site service.

Type:
@@ -518,18 +518,18 @@
-statsd_url[source]
+statsd_url[source]

The url that statsd sends metrics to.

Type:
-

str

+

str

-redis_session[source]
+redis_session[source]

The redis session used to communicate with the Redis instance.

Type:
@@ -540,7 +540,7 @@
-stats[source]
+stats[source]

The statsd client that sends metrics.

Type:
@@ -551,29 +551,29 @@
-all_extensions[source]
+all_extensions[source]

All extensions that were found within the module passed to self.load_extensions. Use self.extensions to get the loaded extensions.

Type:
-

frozenset[str]

+

frozenset[str]

-__init__(*args, guild_id, allowed_roles, http_session, redis_session=None, api_client=None, statsd_url=None, **kwargs)[source]
+__init__(*args, guild_id, allowed_roles, http_session, redis_session=None, api_client=None, statsd_url=None, **kwargs)[source]

Initialise the base bot instance.

Parameters:
@@ -582,169 +582,169 @@ a dummy statsd client will be created.

-async add_cog(cog)[source]
+async add_cog(cog)[source]

Add the given cog to the bot and log the operation.

Return type:
-

None

+

None

-add_command(command)[source]
+add_command(command)[source]

Add command as normal and then add its root aliases to the bot.

Return type:
-

None

+

None

-clear()[source]
+clear()[source]

Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

Return type:
-

None

+

None

-async close()[source]
+async close()[source]

Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

Return type:
-

None

+

None

-async load_extensions(module, *, sync_app_commands=True)[source]
+async load_extensions(module, *, sync_app_commands=True)[source]

Load all the extensions within the given module and save them to self.all_extensions.

Parameters:
-

sync_app_commands (bool) – Whether to sync app commands after all extensions are loaded.

+

sync_app_commands (bool) – Whether to sync app commands after all extensions are loaded.

Return type:
-

None

+

None

-async log_to_dev_log(message)[source]
+async log_to_dev_log(message)[source]

Log the given message to #dev-log.

Return type:
-

None

+

None

-async on_guild_available(guild)[source]
+async on_guild_available(guild)[source]

Set the internal guild available event when self.guild_id becomes available.

If the cache appears to still be empty (no members, no channels, or no roles), the event will not be set and guild_available_but_cache_empty event will be emitted.

Return type:
-

None

+

None

-async on_guild_unavailable(guild)[source]
+async on_guild_unavailable(guild)[source]

Clear the internal guild available event when self.guild_id becomes unavailable.

Return type:
-

None

+

None

-async ping_services()[source]
+async ping_services()[source]

Ping all required services on setup to ensure they are up before starting.

Return type:
-

None

+

None

-async process_commands(message)[source]
+async process_commands(message)[source]

Overwrite default Discord.py behaviour to process commands only after ensuring extensions are loaded.

This extension check is only relevant for clients that make use of pydis_core.BotBase.load_extensions.

Return type:
-

None

+

None

-register_command_error_manager(manager)[source]
+register_command_error_manager(manager)[source]

Bind an instance of the command error manager to both the bot and the command tree.

The reason this doesn’t happen in the constructor is because error handlers might need an instance of the bot. So registration needs to happen once the bot instance has been created.

Return type:
-

None

+

None

-remove_command(name)[source]
+remove_command(name)[source]

Remove a command/alias as normal and then remove its root aliases from the bot.

Individual root aliases cannot be removed by this function. To remove them, either remove the entire command or manually edit bot.all_commands.

Return type:
-

Command | None

+

Command | None

-async setup_hook()[source]
+async setup_hook()[source]

An async init to startup generic services.

Connects to statsd, and calls AsyncStatsClient.create_socket and ping_services().

Return type:
-

None

+

None

-async wait_until_guild_available()[source]
+async wait_until_guild_available()[source]

Wait until the guild that matches the guild_id given at init is available (and the cache is ready).

The on_ready event is inadequate because it only waits 2 seconds for a GUILD_CREATE gateway event before giving up and thus not populating the cache for unavailable guilds.

Return type:
-

None

+

None

@@ -753,38 +753,38 @@ gateway event before giving up and thus not populating the cache for unavailable
-exception EmptyPaginatorEmbedError[source]
-

Bases: Exception

+exception EmptyPaginatorEmbedError[source] +

Bases: Exception

Raised when attempting to paginate with empty contents.

-class LinePaginator(prefix='```', suffix='```', max_size=4000, scale_to_size=4000, max_lines=None, linesep='\\n')[source]
-

Bases: Paginator

+class LinePaginator(prefix='```', suffix='```', max_size=4000, scale_to_size=4000, max_lines=None, linesep='\\n')[source] +

Bases: Paginator

A class that aids in paginating code blocks for Discord messages.

Parameters:
  • pagination_emojis (PaginationEmojis) – The emojis used to navigate pages.

  • -
  • 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_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.

  • -
  • max_lines (int) – The maximum amount of lines allowed in a 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_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.

  • +
  • max_lines (int) – The maximum amount of lines allowed in a page.

-__init__(prefix='```', suffix='```', max_size=4000, scale_to_size=4000, max_lines=None, linesep='\\n')[source]
+__init__(prefix='```', suffix='```', max_size=4000, scale_to_size=4000, max_lines=None, linesep='\\n')[source]

This function overrides the Paginator.__init__ from inside discord.ext.commands.

It overrides in order to allow us to configure the maximum number of lines per page.

-add_line(line='', *, empty=False)[source]
+add_line(line='', *, empty=False)[source]

Adds a line to the current page.

If a line on a page exceeds max_size characters, then max_size will go up to scale_to_size for a single line before creating a new page for the overflow words. If it @@ -800,19 +800,19 @@ page at a reasonable size.

Parameters:
    -
  • line (str) – The line to add to the paginated content.

  • -
  • empty (bool) – Indicates whether an empty line should be added at the end.

  • +
  • line (str) – The line to add to the paginated content.

  • +
  • empty (bool) – Indicates whether an empty line should be added at the end.

Return type:
-

None

+

None

-async classmethod paginate(pagination_emojis, lines, ctx, embed, *, prefix='', suffix='', max_lines=None, max_size=500, scale_to_size=4000, empty=True, restrict_to_user=None, timeout=300, footer_text=None, url=None, exception_on_empty_embed=False, reply=False, allowed_roles=None)[source]
+async classmethod paginate(pagination_emojis, lines, ctx, embed, *, prefix='', suffix='', max_lines=None, max_size=500, scale_to_size=4000, empty=True, restrict_to_user=None, timeout=300, footer_text=None, url=None, exception_on_empty_embed=False, reply=False, allowed_roles=None)[source]

Use a paginator and set of reactions to provide pagination over a set of lines.

The reactions are used to switch page, or to finish with pagination.

When used, this will send a message using ctx.send() and apply a set of reactions to it. These reactions may @@ -824,26 +824,26 @@ to any user with a moderation role.

Parameters:
  • 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.

  • -
  • 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.

  • -
  • 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.

  • -
  • exception_on_empty_embed (bool) – Indicates whether to raise an exception when no lines are provided.

  • -
  • reply (bool) – Indicates whether to send the page as a reply to the context’s message.

  • -
  • allowed_roles (Sequence[int]) – A list of role ids that are allowed to change 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.

  • +
  • 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.

  • +
  • 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.

  • +
  • exception_on_empty_embed (bool) – Indicates whether to raise an exception when no lines are provided.

  • +
  • reply (bool) – Indicates whether to send the page as a reply to the context’s message.

  • +
  • allowed_roles (Sequence[int]) – A list of role ids that are allowed to change pages.

Return type:
-

Message | None

+

Message | None

Example: @@ -856,8 +856,8 @@ to any user with a moderation role.

-class PaginationEmojis(**data)[source]
-

Bases: BaseModel

+class PaginationEmojis(**data)[source] +

Bases: BaseModel

The emojis that will be used for pagination.

@@ -885,7 +885,7 @@ to any user with a moderation role.

-__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.pagination.PaginationEmojis'>, 'config': {'title': 'PaginationEmojis'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.pagination.PaginationEmojis'>>]}, 'ref': 'pydis_core.utils.pagination.PaginationEmojis:94630795533760', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'delete': {'metadata': {}, 'schema': {'default': '<:trashcan:637136429717389331>', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'first': {'metadata': {}, 'schema': {'default': '⏮', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'last': {'metadata': {}, 'schema': {'default': '⏭', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'left': {'metadata': {}, 'schema': {'default': '⬅', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'right': {'metadata': {}, 'schema': {'default': '➡', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PaginationEmojis', 'type': 'model-fields'}, 'type': 'model'}
+__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.pagination.PaginationEmojis'>, 'config': {'title': 'PaginationEmojis'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.pagination.PaginationEmojis'>>]}, 'ref': 'pydis_core.utils.pagination.PaginationEmojis:94652709835776', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'delete': {'metadata': {}, 'schema': {'default': '<:trashcan:637136429717389331>', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'first': {'metadata': {}, 'schema': {'default': '⏮', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'last': {'metadata': {}, 'schema': {'default': '⏭', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'left': {'metadata': {}, 'schema': {'default': '⬅', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'right': {'metadata': {}, 'schema': {'default': '➡', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PaginationEmojis', 'type': 'model-fields'}, 'type': 'model'}

The core schema of the model.

@@ -948,13 +948,13 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
-__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005610f2f3ddc0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "right": SerField {                         key_py: Py(                             0x00007fd25297c3b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ebd8710,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fd253078eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ebd87b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fd2529eb4b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ebd86c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fd2529ccf30,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ebd8760,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fd25297c3f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ebd8670,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 5,             },         ),         has_extra: false,         root_model: false,         name: "PaginationEmojis",     }, ), definitions=[])
+__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000056160d259400,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "right": SerField {                         key_py: Py(                             0x00007f9205f7c3b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9201064670,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f9205fccef0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f92010646c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f9205feb4b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9201064620,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f9206308eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9201064710,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f9205f7c3f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f92010645d0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 5,             },         ),         has_extra: false,         root_model: false,         name: "PaginationEmojis",     }, ), definitions=[])

The pydantic-core SchemaSerializer used to dump instances of the model.

-__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PaginationEmojis", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "first",                         lookup_key: Simple {                             key: "first",                             py_key: Py(                                 0x00007fd24f41a6f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fd24f419ab0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd2529eb4b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ebd86c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd24f5d0c70,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fd24fb3f5b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fd24c0f2430,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd25297c3f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ebd8670,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd24f5d0c70,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fd24c0f22f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fd24c0f1bb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd25297c3b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ebd8710,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd24f5d0c70,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fd24c0f3f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fd24c0f3ef0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd2529ccf30,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ebd8760,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd24f5d0c70,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fd24c0f1eb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fd24c0f2eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd253078eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ebd87b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd24f5d0c70,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005610f2f3ddc0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd24f5d0c70,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)
+__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PaginationEmojis", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "first",                         lookup_key: Simple {                             key: "first",                             py_key: Py(                                 0x00007f92018c20f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f920197e7f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9205feb4b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9201064620,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9201af0cf0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f9201750b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f92016ff630,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9205f7c3f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f92010645d0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9201af0cf0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f9200c72e30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f9200c735f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9205f7c3b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9201064670,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9201af0cf0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f9200c73c70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f9200c732f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9205fccef0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f92010646c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9201af0cf0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f9200c71f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f9200c71d70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9206308eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9201064710,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9201af0cf0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056160d259400,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f9201af0cf0,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

The pydantic-core SchemaValidator used to validate instances of the model.

@@ -974,12 +974,12 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
-exception StartupError(base)[source]
-

Bases: Exception

+exception StartupError(base)[source] +

Bases: Exception

Exception class for startup errors.

-__init__(base)[source]
+__init__(base)[source]
@@ -1264,7 +1264,7 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
- + diff --git a/main/output/pydis_core.site_api.html b/main/output/pydis_core.site_api.html index 168673b9..ee49bb7b 100644 --- a/main/output/pydis_core.site_api.html +++ b/main/output/pydis_core.site_api.html @@ -6,12 +6,12 @@ - site_api - Pydis Core Latest (11.7.0) + site_api - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,19 +480,19 @@

An API wrapper around the Site API.

-class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
-

Bases: object

+class APIClient(site_api_url, site_api_token, **session_kwargs)[source] +

Bases: object

A wrapper for the Django Site API.

-__init__(site_api_url, site_api_token, **session_kwargs)[source]
+__init__(site_api_url, site_api_token, **session_kwargs)[source]

Initialize a new APIClient instance.

Parameters:
    -
  • site_api_url (str) – The URL of the site API.

  • -
  • site_api_token (str) – The token to use for authentication.

  • -
  • session_kwargs – Keyword arguments to pass to the aiohttp.ClientSession constructor.

  • +
  • site_api_url (str) – The URL of the site API.

  • +
  • site_api_token (str) – The token to use for authentication.

  • +
  • session_kwargs – Keyword arguments to pass to the aiohttp.ClientSession constructor.

@@ -500,108 +500,108 @@
-async close()[source]
+async close()[source]

Close the aiohttp session.

Return type:
-

None

+

None

-async delete(endpoint, *, raise_for_status=True, **kwargs)[source]
+async delete(endpoint, *, raise_for_status=True, **kwargs)[source]

Equivalent to APIClient.request() with DELETE passed as the method.

Return type:
-

dict | None

+

dict | None

-async get(endpoint, *, raise_for_status=True, **kwargs)[source]
+async get(endpoint, *, raise_for_status=True, **kwargs)[source]

Equivalent to APIClient.request() with GET passed as the method.

Return type:
-

dict | None

+

dict | None

-async static maybe_raise_for_status(response, *, should_raise)[source]
+async static maybe_raise_for_status(response, *, should_raise)[source]

Raise ResponseCodeError for non-OK response if an exception should be raised.

Parameters:
Raises:

ResponseCodeError – If the response is not OK and should_raise is True.

Return type:
-

None

+

None

-async patch(endpoint, *, raise_for_status=True, **kwargs)[source]
+async patch(endpoint, *, raise_for_status=True, **kwargs)[source]

Equivalent to APIClient.request() with PATCH passed as the method.

Return type:
-

dict | None

+

dict | None

-async post(endpoint, *, raise_for_status=True, **kwargs)[source]
+async post(endpoint, *, raise_for_status=True, **kwargs)[source]

Equivalent to APIClient.request() with POST passed as the method.

Return type:
-

dict | None

+

dict | None

-async put(endpoint, *, raise_for_status=True, **kwargs)[source]
+async put(endpoint, *, raise_for_status=True, **kwargs)[source]

Equivalent to APIClient.request() with PUT passed as the method.

Return type:
-

dict | None

+

dict | None

-async request(method, endpoint, *, raise_for_status=True, **kwargs)[source]
+async request(method, endpoint, *, raise_for_status=True, **kwargs)[source]

Send an HTTP request to the site API and return the JSON response.

Parameters:
    -
  • method (str) – The HTTP method to use.

  • -
  • endpoint (str) – The endpoint to send the request to.

  • -
  • raise_for_status (bool) – Whether or not to raise an exception if the response is not OK.

  • -
  • **kwargs – Any extra keyword arguments to pass to aiohttp.request().

  • +
  • method (str) – The HTTP method to use.

  • +
  • endpoint (str) – The endpoint to send the request to.

  • +
  • raise_for_status (bool) – Whether or not to raise an exception if the response is not OK.

  • +
  • **kwargs – Any extra keyword arguments to pass to aiohttp.request().

Return type:
-

dict | None

+

dict | None

Returns:
-

The JSON response the API returns, or None if the response code is 204.

+

The JSON response the API returns, or None if the response code is 204.

Raises:

ResponseCodeError – If the response is not OK and raise_for_status is True.

@@ -613,19 +613,19 @@
-exception ResponseCodeError(response, response_json=None, response_text=None)[source]
-

Bases: ValueError

+exception ResponseCodeError(response, response_json=None, response_text=None)[source] +

Bases: ValueError

Raised in APIClient.request() when a non-OK HTTP response is received.

-__init__(response, response_json=None, response_text=None)[source]
+__init__(response, response_json=None, response_text=None)[source]

Initialize a new ResponseCodeError instance.

Parameters:
    -
  • response (aiohttp.ClientResponse) – The response object from the request.

  • -
  • response_json (dict | None) – The JSON response returned from the request, if any.

  • -
  • response_text (str | None) – The text of the request, if any.

  • +
  • response (aiohttp.ClientResponse) – The response object from the request.

  • +
  • response_json (dict | None) – The JSON response returned from the request, if any.

  • +
  • response_text (str | None) – The text of the request, if any.

@@ -633,7 +633,7 @@
-__str__()[source]
+__str__()[source]

Return a string representation of the error.

@@ -725,7 +725,7 @@
- + diff --git a/main/output/pydis_core.utils.caching.html b/main/output/pydis_core.utils.caching.html index 441cf5d2..1bace954 100644 --- a/main/output/pydis_core.utils.caching.html +++ b/main/output/pydis_core.utils.caching.html @@ -6,12 +6,12 @@ - caching - Pydis Core Latest (11.7.0) + caching - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,21 +480,21 @@

Utilities related to custom caches.

-class AsyncCache(max_size=128)[source]
-

Bases: object

+class AsyncCache(max_size=128)[source] +

Bases: object

LRU cache implementation for coroutines.

Once the cache exceeds the maximum size, keys are deleted in FIFO order.

An offset may be optionally provided to be applied to the coroutine’s arguments when creating the cache key.

-__call__(arg_offset=0)[source]
+__call__(arg_offset=0)[source]

Decorator for async cache.

Parameters:
-

arg_offset (int) – The offset for the position of the key argument.

+

arg_offset (int) – The offset for the position of the key argument.

Return type:
-

Callable

+

Callable

Returns:

A decorator to wrap the target function.

@@ -504,22 +504,22 @@
-__init__(max_size=128)[source]
+__init__(max_size=128)[source]

Initialise a new AsyncCache instance.

Parameters:
-

max_size (int) – How many items to store in the cache.

+

max_size (int) – How many items to store in the cache.

-clear()[source]
+clear()[source]

Clear cache instance.

Return type:
-

None

+

None

@@ -601,7 +601,7 @@
- + diff --git a/main/output/pydis_core.utils.channel.html b/main/output/pydis_core.utils.channel.html index 8df60b14..7d2c940c 100644 --- a/main/output/pydis_core.utils.channel.html +++ b/main/output/pydis_core.utils.channel.html @@ -6,12 +6,12 @@ - channel - Pydis Core Latest (11.7.0) + channel - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,25 +480,25 @@

Useful helper functions for interacting with various discord channel objects.

-async get_or_fetch_channel(bot, channel_id)[source]
+async get_or_fetch_channel(bot, channel_id)[source]

Attempt to get or fetch the given channel_id from the bots cache, and return it.

Parameters:
Raises:
Return type:
-

GuildChannel | PrivateChannel | Thread

+

GuildChannel | PrivateChannel | Thread

Returns:

The channel from the ID.

@@ -508,17 +508,17 @@
-is_in_category(channel, category_id)[source]
+is_in_category(channel, category_id)[source]

Return whether the given channel in the the category with the id category_id.

Parameters:
    -
  • channel (TextChannel) – The channel to check.

  • -
  • category_id (int) – The category to check for.

  • +
  • channel (TextChannel) – The channel to check.

  • +
  • category_id (int) – The category to check for.

Return type:
-

bool

+

bool

Returns:

A bool depending on whether the channel is in the category.

@@ -597,7 +597,7 @@
- + diff --git a/main/output/pydis_core.utils.checks.html b/main/output/pydis_core.utils.checks.html index 0ecea56e..cc654f15 100644 --- a/main/output/pydis_core.utils.checks.html +++ b/main/output/pydis_core.utils.checks.html @@ -6,12 +6,12 @@ - checks - Pydis Core Latest (11.7.0) + checks - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,35 +479,35 @@

checks

-exception ContextCheckFailure(redirect_channel)[source]
-

Bases: CheckFailure

+exception ContextCheckFailure(redirect_channel)[source] +

Bases: CheckFailure

Raised when a context-specific check fails.

-__init__(redirect_channel)[source]
+__init__(redirect_channel)[source]
-exception InWhitelistCheckFailure(redirect_channel)[source]
+exception InWhitelistCheckFailure(redirect_channel)[source]

Bases: ContextCheckFailure

Raised when the in_whitelist check fails.

-cooldown_with_role_bypass(rate, per, type_=('default', 0), *, bypass_roles)[source]
+cooldown_with_role_bypass(rate, per, type_=('default', 0), *, bypass_roles)[source]

Decorate a command to have a cooldown, which can be bypassed by users with specified roles.

Note: This replaces the Command.before_invoke callback, which might introduce problems in the future.

Parameters:
    -
  • 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.).

  • -
  • bypass_roles (Iterable[int]) – An iterable of role IDs that bypass the cooldown.

  • +
  • 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.).

  • +
  • bypass_roles (Iterable[int]) – An iterable of role IDs that bypass the cooldown.

Returns:
@@ -517,73 +517,73 @@

Callable

Raises:
-

TypeError – If the decorator is not applied to an instance of Command.

+

TypeError – If the decorator is not applied to an instance of Command.

-async has_any_role_check(ctx, *roles)[source]
+async has_any_role_check(ctx, *roles)[source]

Verify if the context’s author has any of the specified roles.

This check will always fail if the context is a DM, since DMs don’t have roles.

Parameters:
Returns:

True if the context’s author has at least one of the specified roles; False otherwise.

Return type:
-

bool

+

bool

-async has_no_roles_check(ctx, *roles)[source]
+async has_no_roles_check(ctx, *roles)[source]

Verify if the context’s author doesn’t have any of the specified roles.

This check will always fail if the context is a DM, since DMs don’t have roles.

Parameters:
Returns:

True if the context’s author doesn’t have any of the specified roles; False otherwise.

Return type:
-

bool

+

bool

-in_whitelist_check(ctx, redirect, channels=(), categories=(), roles=(), *, fail_silently=False)[source]
+in_whitelist_check(ctx, redirect, channels=(), categories=(), roles=(), *, fail_silently=False)[source]

Check if a command was issued in a context that is whitelisted by channel, category, or roles.

Parameters:
    -
  • 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 ().

  • -
  • roles (Container[int]) – Whitelisted role IDs. Defaults to ().

  • -
  • fail_silently (bool) – Whether to fail silently without raising an exception. Defaults to False.

  • +
  • 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 ().

  • +
  • roles (Container[int]) – Whitelisted role IDs. Defaults to ().

  • +
  • fail_silently (bool) – Whether to fail silently without raising an exception. Defaults to False.

Returns:

True if the command is used in a whitelisted context; False otherwise.

Return type:
-

bool

+

bool

Raises:

InWhitelistCheckFailure – If the context is not whitelisted and fail_silently is False.

@@ -669,7 +669,7 @@
- + diff --git a/main/output/pydis_core.utils.commands.html b/main/output/pydis_core.utils.commands.html index b909e118..f18f7fe4 100644 --- a/main/output/pydis_core.utils.commands.html +++ b/main/output/pydis_core.utils.commands.html @@ -6,12 +6,12 @@ - commands - Pydis Core Latest (11.7.0) + commands - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,20 +479,20 @@

commands

-async clean_text_or_reply(ctx, text=None)[source]
+async clean_text_or_reply(ctx, text=None)[source]

Cleans a text argument or replied message’s content.

Parameters:
    -
  • ctx (Context) – The command’s context

  • -
  • text (str | None) – The provided text argument of the command (if given)

  • +
  • ctx (Context) – The command’s context

  • +
  • text (str | None) – The provided text argument of the command (if given)

Raises:
-

discord.ext.commands.BadArgumenttext wasn’t provided and there’s no reply message / reply message content.

+

discord.ext.commands.BadArgumenttext wasn’t provided and there’s no reply message / reply message content.

Return type:
-

str

+

str

Returns:

The cleaned version of text, if given, else replied message.

@@ -570,7 +570,7 @@
- + diff --git a/main/output/pydis_core.utils.cooldown.html b/main/output/pydis_core.utils.cooldown.html index 7afdee25..16cc50bf 100644 --- a/main/output/pydis_core.utils.cooldown.html +++ b/main/output/pydis_core.utils.cooldown.html @@ -6,12 +6,12 @@ - cooldown - Pydis Core Latest (11.7.0) + cooldown - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,21 +480,21 @@

Helpers for setting a cooldown on commands.

-exception CommandOnCooldown(message, function, /, *args, **kwargs)[source]
-

Bases: CommandError, Generic[P, R]

+exception CommandOnCooldown(message, function, /, *args, **kwargs)[source] +

Bases: CommandError, Generic[P, R]

Raised when a command is invoked while on cooldown.

-__init__(message, function, /, *args, **kwargs)[source]
+__init__(message, function, /, *args, **kwargs)[source]
-async call_without_cooldown()[source]
+async call_without_cooldown()[source]

Run the command this cooldown blocked.

Return type:
-

TypeVar(R)

+

TypeVar(R)

Returns:

The command’s return value.

@@ -506,32 +506,32 @@
-P = ~P[source]
+P = ~P[source]

The command’s signature.

-class R[source]
+class R[source]

The command’s return value.

alias of TypeVar(‘R’)

-block_duplicate_invocations(*, cooldown_duration=5, send_notice=False, args_preprocessor=None)[source]
+block_duplicate_invocations(*, cooldown_duration=5, send_notice=False, args_preprocessor=None)[source]

Prevent duplicate invocations of a command with the same arguments in a channel for cooldown_duration seconds.

Parameters:
    -
  • cooldown_duration (float) – Length of the cooldown in seconds.

  • -
  • send_notice (bool) – If True, notify the user about the cooldown with a reply.

  • -
  • args_preprocessor (Callable[[ParamSpec(P)], Iterable[object]] | None) – If specified, this function is called with the args and kwargs the function is called with, +

  • cooldown_duration (float) – Length of the cooldown in seconds.

  • +
  • send_notice (bool) – If True, notify the user about the cooldown with a reply.

  • +
  • args_preprocessor (Callable[[ParamSpec(P)], Iterable[object]] | None) – If specified, this function is called with the args and kwargs the function is called with, its return value is then used to check for the cooldown instead of the raw arguments.

Return type:
-

Callable[[Callable[[ParamSpec(P)], Awaitable[TypeVar(R)]]], Callable[[ParamSpec(P)], Awaitable[TypeVar(R)]]]

+

Callable[[Callable[[ParamSpec(P)], Awaitable[TypeVar(R)]]], Callable[[ParamSpec(P)], Awaitable[TypeVar(R)]]]

Returns:

A decorator that adds a wrapper which applies the cooldowns.

@@ -620,7 +620,7 @@ its return value is then used to check for the cooldown instead of the raw argum
- + diff --git a/main/output/pydis_core.utils.error_handling.commands.abc.html b/main/output/pydis_core.utils.error_handling.commands.abc.html index a5e3cd62..eab57dcd 100644 --- a/main/output/pydis_core.utils.error_handling.commands.abc.html +++ b/main/output/pydis_core.utils.error_handling.commands.abc.html @@ -6,12 +6,12 @@ - abc - Pydis Core Latest (11.7.0) + abc - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,38 +479,38 @@

abc

-class AbstractCommandErrorHandler[source]
-

Bases: ABC

+class AbstractCommandErrorHandler[source] +

Bases: ABC

An abstract command error handler.

-abstract async handle_app_command_error(interaction, error)[source]
+abstract async handle_app_command_error(interaction, error)[source]

Handle error raised in the context of app commands.

Return type:
-

NoReturn

+

NoReturn

-abstract async handle_text_command_error(context, error)[source]
+abstract async handle_text_command_error(context, error)[source]

Handle error raised in the context of text commands.

Return type:
-

NoReturn

+

NoReturn

-abstract async should_handle_error(error)[source]
+abstract async should_handle_error(error)[source]

A predicate that determines whether the error should be handled.

Return type:
-

bool

+

bool

@@ -592,7 +592,7 @@
- + diff --git a/main/output/pydis_core.utils.error_handling.commands.html b/main/output/pydis_core.utils.error_handling.commands.html index 46412222..a9b49949 100644 --- a/main/output/pydis_core.utils.error_handling.commands.html +++ b/main/output/pydis_core.utils.error_handling.commands.html @@ -6,12 +6,12 @@ - commands package - Pydis Core Latest (11.7.0) + commands package - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,38 +479,38 @@

commands package

-class AbstractCommandErrorHandler[source]
-

Bases: ABC

+class AbstractCommandErrorHandler[source] +

Bases: ABC

An abstract command error handler.

-abstract async handle_app_command_error(interaction, error)[source]
+abstract async handle_app_command_error(interaction, error)[source]

Handle error raised in the context of app commands.

Return type:
-

NoReturn

+

NoReturn

-abstract async handle_text_command_error(context, error)[source]
+abstract async handle_text_command_error(context, error)[source]

Handle error raised in the context of text commands.

Return type:
-

NoReturn

+

NoReturn

-abstract async should_handle_error(error)[source]
+abstract async should_handle_error(error)[source]

A predicate that determines whether the error should be handled.

Return type:
-

bool

+

bool

@@ -519,34 +519,34 @@
-class CommandErrorManager(default)[source]
-

Bases: object

+class CommandErrorManager(default)[source] +

Bases: object

A class that registers error handlers and handles all command related errors.

-__init__(default)[source]
+__init__(default)[source]
-async handle_error(error, context_or_interaction)[source]
+async handle_error(error, context_or_interaction)[source]

Handle a Discord exception.

Iterate through available handlers by registration order, and choose the first one capable of handling the error as determined by should_handle_error; there is no priority system.

Return type:
-

None

+

None

-register_handler(handler)[source]
+register_handler(handler)[source]

Register a command error handler.

Return type:
-

None

+

None

@@ -660,7 +660,7 @@ the error as determined by should_handle_error; there is no priorit
- + diff --git a/main/output/pydis_core.utils.error_handling.commands.manager.html b/main/output/pydis_core.utils.error_handling.commands.manager.html index ed105f82..55d3c378 100644 --- a/main/output/pydis_core.utils.error_handling.commands.manager.html +++ b/main/output/pydis_core.utils.error_handling.commands.manager.html @@ -6,12 +6,12 @@ - manager - Pydis Core Latest (11.7.0) + manager - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,34 +479,34 @@

manager

-class CommandErrorManager(default)[source]
-

Bases: object

+class CommandErrorManager(default)[source] +

Bases: object

A class that registers error handlers and handles all command related errors.

-__init__(default)[source]
+__init__(default)[source]
-async handle_error(error, context_or_interaction)[source]
+async handle_error(error, context_or_interaction)[source]

Handle a Discord exception.

Iterate through available handlers by registration order, and choose the first one capable of handling the error as determined by should_handle_error; there is no priority system.

Return type:
-

None

+

None

-register_handler(handler)[source]
+register_handler(handler)[source]

Register a command error handler.

Return type:
-

None

+

None

@@ -588,7 +588,7 @@ the error as determined by should_handle_error; there is no priorit
- + diff --git a/main/output/pydis_core.utils.error_handling.html b/main/output/pydis_core.utils.error_handling.html index 386ba244..1d34d28d 100644 --- a/main/output/pydis_core.utils.error_handling.html +++ b/main/output/pydis_core.utils.error_handling.html @@ -6,12 +6,12 @@ - error_handling package - Pydis Core Latest (11.7.0) + error_handling package - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,17 +479,17 @@

error_handling package

-async handle_forbidden_from_block(error, message=None)[source]
+async handle_forbidden_from_block(error, message=None)[source]

Handles discord.Forbidden 90001 errors, or re-raises if error isn’t a 90001 error.

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:
-

None

+

None

@@ -598,7 +598,7 @@
- + diff --git a/main/output/pydis_core.utils.function.html b/main/output/pydis_core.utils.function.html index ec0d381d..30bfc496 100644 --- a/main/output/pydis_core.utils.function.html +++ b/main/output/pydis_core.utils.function.html @@ -6,12 +6,12 @@ - function - Pydis Core Latest (11.7.0) + function - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,30 +480,30 @@

Utils for manipulating functions.

-exception GlobalNameConflictError[source]
-

Bases: Exception

+exception GlobalNameConflictError[source] +

Bases: Exception

Raised on a conflict between the globals used to resolve annotations of a wrapped function and its wrapper.

-command_wraps(wrapped, assigned=('__module__', '__name__', '__qualname__', '__doc__', '__annotations__'), updated=('__dict__',), *, ignored_conflict_names=frozenset({}))[source]
+command_wraps(wrapped, assigned=('__module__', '__name__', '__qualname__', '__doc__', '__annotations__'), updated=('__dict__',), *, ignored_conflict_names=frozenset({}))[source]

Update the decorated function to look like wrapped, and update globals for discord.py forwardref evaluation.

See update_wrapper_globals() for more details on how the globals are updated.

Parameters:
    -
  • wrapped (Callable[[ParamSpec(_P)], TypeVar(_R)]) – The function to wrap with.

  • -
  • assigned (Sequence[str]) – Sequence of attribute names that are directly assigned from wrapped to wrapper.

  • -
  • updated (Sequence[str]) – Sequence of attribute names that are .update``d on ``wrapper from the attributes on wrapped.

  • -
  • ignored_conflict_names (Set[str]) – A set of names to ignore if a conflict between them is found.

  • +
  • wrapped (Callable[[ParamSpec(_P)], TypeVar(_R)]) – The function to wrap with.

  • +
  • assigned (Sequence[str]) – Sequence of attribute names that are directly assigned from wrapped to wrapper.

  • +
  • updated (Sequence[str]) – Sequence of attribute names that are .update``d on ``wrapper from the attributes on wrapped.

  • +
  • ignored_conflict_names (Set[str]) – A set of names to ignore if a conflict between them is found.

Return type:
-

Callable[[Callable[[ParamSpec(_P)], TypeVar(_R)]], Callable[[ParamSpec(_P)], TypeVar(_R)]]

+

Callable[[Callable[[ParamSpec(_P)], TypeVar(_R)]], Callable[[ParamSpec(_P)], TypeVar(_R)]]

Returns:
-

A decorator that behaves like functools.wraps(), +

A decorator that behaves like functools.wraps(), with the wrapper replaced with the function update_wrapper_globals() returned.

@@ -511,22 +511,22 @@ with the wrapper replaced with the function
-get_arg_value(name_or_pos, arguments)[source]
+get_arg_value(name_or_pos, arguments)[source]

Return a value from arguments based on a name or position.

Parameters:
-

arguments (OrderedDict[str, Any]) – An ordered mapping of parameter names to argument values.

+

arguments (OrderedDict[str, Any]) – An ordered mapping of parameter names to argument values.

Return type:
-

Any

+

Any

Returns:

Value from arguments based on a name or position.

Raises:
    -
  • TypeErrorname_or_pos isn’t a str or int.

  • -
  • ValueErrorname_or_pos does not match any argument.

  • +
  • TypeErrorname_or_pos isn’t a str or int.

  • +
  • ValueErrorname_or_pos does not match any argument.

@@ -534,19 +534,19 @@ with the wrapper replaced with the function
-get_arg_value_wrapper(decorator_func, name_or_pos, func=None)[source]
+get_arg_value_wrapper(decorator_func, name_or_pos, func=None)[source]

Call decorator_func with the value of the arg at the given name/position.

Parameters:
Return type:
-

Callable[[Callable], Callable]

+

Callable[[Callable], Callable]

Returns:

The decorator returned by decorator_func.

@@ -556,19 +556,19 @@ parameter names to argument values of the function it’s decorating.

-get_bound_args(func, args, kwargs)[source]
+get_bound_args(func, args, kwargs)[source]

Bind args and kwargs to func and return a mapping of parameter names to argument values.

Default parameter values are also set.

Parameters:
    -
  • args (tuple) – The arguments to bind to func

  • -
  • kwargs (dict[str, Any]) – The keyword arguments to bind to func

  • -
  • func (Callable) – The function to bind args and kwargs to

  • +
  • args (tuple) – The arguments to bind to func

  • +
  • kwargs (dict[str, Any]) – The keyword arguments to bind to func

  • +
  • func (Callable) – The function to bind args and kwargs to

Return type:
-

OrderedDict[str, Any]

+

OrderedDict[str, Any]

Returns:

A mapping of parameter names to argument values.

@@ -578,7 +578,7 @@ parameter names to argument values of the function it’s decorating.

-update_wrapper_globals(wrapper, wrapped, *, ignored_conflict_names=frozenset({}))[source]
+update_wrapper_globals(wrapper, wrapped, *, ignored_conflict_names=frozenset({}))[source]

Create a copy of wrapper, the copy’s globals are updated with wrapped's globals.

For forwardrefs in command annotations, discord.py uses the __global__ attribute of the function to resolve their values. This breaks for decorators that replace the function because they have @@ -591,9 +591,9 @@ changes won’t be reflected in the new function’s globals.

Parameters:
Raises:
@@ -601,7 +601,7 @@ changes won’t be reflected in the new function’s globals.

and is not in ignored_conflict_names.

Return type:
-

Callable[[ParamSpec(_P)], TypeVar(_R)]

+

Callable[[ParamSpec(_P)], TypeVar(_R)]

@@ -681,7 +681,7 @@ changes won’t be reflected in the new function’s globals.

- + diff --git a/main/output/pydis_core.utils.html b/main/output/pydis_core.utils.html index dac63818..03559851 100644 --- a/main/output/pydis_core.utils.html +++ b/main/output/pydis_core.utils.html @@ -6,12 +6,12 @@ - Utils - Pydis Core Latest (11.7.0) + Utils - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,15 +480,15 @@

Useful utilities and tools for Discord bot development.

-apply_monkey_patches()[source]
+apply_monkey_patches()[source]

Applies all common monkey patches for our bots.

Return type:
-

None

+

None

-
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

@@ -499,14 +499,14 @@ that will act as top-level groups rather than being aliases of the command’s g
-unqualify(name)[source]
+unqualify(name)[source]

Return an unqualified name given a qualified module/package name.

Parameters:
-

name (str) – The module name to unqualify.

+

name (str) – The module name to unqualify.

Return type:
-

str

+

str

Returns:

The unqualified module name.

@@ -817,7 +817,7 @@ that will act as top-level groups rather than being aliases of the command’s g
- + diff --git a/main/output/pydis_core.utils.interactions.html b/main/output/pydis_core.utils.interactions.html index fa05ccad..e2c76192 100644 --- a/main/output/pydis_core.utils.interactions.html +++ b/main/output/pydis_core.utils.interactions.html @@ -6,12 +6,12 @@ - interactions - Pydis Core Latest (11.7.0) + interactions - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.7.0)
+
Pydis Core Latest (11.8.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,8 +479,8 @@

interactions

-class DeleteMessageButton(*, style=('secondary', 2), label='Delete', **kwargs)[source]
-

Bases: Button

+class DeleteMessageButton(*, style=('secondary', 2), label='Delete', **kwargs)[source] +

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.

@@ -488,22 +488,22 @@
Parameters:
  • style (ButtonStyle) – The style of the button, set to ButtonStyle.secondary if not specified.

  • -
  • label (str) – The label of the button, set to “Delete” if not specified.

  • +
  • label (str) – The label of the button, set to “Delete” if not specified.

-__init__(*, style=('secondary', 2), label='Delete', **kwargs)[source]
+__init__(*, style=('secondary', 2), label='Delete', **kwargs)[source]
-async callback(interaction)[source]
+async callback(interaction)[source]

Delete the original message on button click.

Return type:
-

None

+

None

@@ -512,58 +512,58 @@
-class ViewWithUserAndRoleCheck(*, allowed_users, allowed_roles, timeout=180.0, message=None)[source]
-

Bases: View

+class ViewWithUserAndRoleCheck(*, allowed_users, allowed_roles, timeout=180.0, message=None)[source] +

Bases: View

A view that allows only allows the specified users, or users with the specified roles, to interact with it.

Parameters:
    -
  • allowed_users (Sequence[int]) – A sequence of user’s ids who are allowed to interact with the view.

  • -
  • 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. +

  • allowed_users (Sequence[int]) – A sequence of user’s ids who are allowed to interact with the view.

  • +
  • 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.

-__init__(*, allowed_users, allowed_roles, timeout=180.0, message=None)[source]
+__init__(*, allowed_users, allowed_roles, timeout=180.0, message=None)[source]
-async interaction_check(interaction)[source]
+async interaction_check(interaction)[source]

Ensure 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

+

bool

-async on_timeout()[source]
+async on_timeout()[source]

Remove the view from self.message if set.

Return type:
-

None

+

None

-stop()[source]
+stop()[source]

Stop listening for interactions, and remove the view from self.message if set.

Return type:
-

None

+

None

@@ -572,18 +572,18 @@ If None
-user_has_access(user, *, allowed_users=(), allowed_roles=())[source]
+user_has_access(user, *, allowed_users=(), allowed_roles=())[source]

Return whether the user is in the allowed_users list, or has a role from allowed_roles.

Parameters:
    -
  • user (User | Member) – The user to check

  • -
  • allowed_users (Sequence[int]) – A sequence of user ids that are allowed access

  • -
  • allowed_roles (Sequence[int]) – A sequence of role ids that are allowed access

  • +
  • user (User | Member) – The user to check

  • +
  • allowed_users (Sequence[int]) – A sequence of user ids that are allowed access

  • +
  • allowed_roles (Sequence[int]) – A sequence of role ids that are allowed access

Return type:
-

bool

+

bool

@@ -670,7 +670,7 @@ If None
- + diff --git a/main/output/pydis_core.utils.lock.html b/main/output/pydis_core.utils.lock.html index 4e50aff4..5a100eaf 100644 --- a/main/output/pydis_core.utils.lock.html +++ b/main/output/pydis_core.utils.lock.html @@ -6,12 +6,12 @@ - lock - Pydis Core Latest (11.7.0) + lock - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,69 +479,69 @@

lock

-exception LockedResourceError(resource_type, resource_id)[source]
-

Bases: RuntimeError

+exception LockedResourceError(resource_type, resource_id)[source] +

Bases: RuntimeError

Exception raised when an operation is attempted on a locked resource.

-type[source]
+type[source]

Name of the locked resource’s type

Type:
-

str

+

str

-id[source]
+id[source]

ID of the locked resource

Type:
-

Hashable

+

Hashable

-__init__(resource_type, resource_id)[source]
+__init__(resource_type, resource_id)[source]
-class SharedEvent[source]
-

Bases: object

+class SharedEvent[source] +

Bases: object

Context manager managing an internal event exposed through the wait coro.

While any code is executing in this context manager, the underlying event will not be set; when all of the holders finish the event will be set.

-__enter__()[source]
+__enter__()[source]

Increment the count of the active holders and clear the internal event.

-__exit__(_exc_type, _exc_val, _exc_tb)[source]
+__exit__(_exc_type, _exc_val, _exc_tb)[source]

Decrement the count of the active holders; if 0 is reached set the internal event.

-__init__()[source]
+__init__()[source]
-async wait()[source]
+async wait()[source]

Wait for all active holders to exit.

Return type:
-

None

+

None

@@ -550,18 +550,18 @@ when all of the holders finish the event will be set.

-lock(namespace, resource_id, *, raise_error=False, wait=False)[source]
+lock(namespace, resource_id, *, raise_error=False, wait=False)[source]

Turn the decorated coroutine function into a mutually exclusive operation on a resource_id.

If decorating a command, this decorator must go before (below) the command decorator.

Parameters:
    -
  • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

  • -
  • resource_id (Hashable | Callable[[OrderedDict[str, Any]], Hashable | Awaitable[Hashable]]) – identifies a resource on which to perform a mutually exclusive operation. +

  • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

  • +
  • resource_id (Hashable | Callable[[OrderedDict[str, Any]], Hashable | Awaitable[Hashable]]) – identifies a resource on which to perform a mutually exclusive operation. It may also be a callable or awaitable which will return the resource ID given an ordered mapping of the parameters’ names to arguments’ values.

  • -
  • raise_error (bool) – If True, raise LockedResourceError if the lock cannot be acquired.

  • -
  • wait (bool) – If True, wait until the lock becomes available. Otherwise, if any other mutually +

  • raise_error (bool) – If True, raise LockedResourceError if the lock cannot be acquired.

  • +
  • wait (bool) – If True, wait until the lock becomes available. Otherwise, if any other mutually exclusive function currently holds the lock for a resource, do not run the decorated function and return None.

@@ -570,22 +570,22 @@ and return None.

LockedResourceError – If the lock can’t be acquired and raise_error is set to True.

Return type:
-

Callable

+

Callable

-lock_arg(namespace, name_or_pos, func=None, *, raise_error=False, wait=False)[source]
+lock_arg(namespace, name_or_pos, func=None, *, raise_error=False, wait=False)[source]

Apply the lock decorator using the value of the arg at the given name/position as the ID.

See lock docs for more information.

Parameters:
-

func (Callable[[Any], Hashable | Awaitable[Hashable]] | None) – An optional callable or awaitable which will return the ID given the argument value.

+

func (Callable[[Any], Hashable | Awaitable[Hashable]] | None) – An optional callable or awaitable which will return the ID given the argument value.

Return type:
-

Callable

+

Callable

@@ -674,7 +674,7 @@ and return None.

- + diff --git a/main/output/pydis_core.utils.logging.html b/main/output/pydis_core.utils.logging.html index 74154132..721517a8 100644 --- a/main/output/pydis_core.utils.logging.html +++ b/main/output/pydis_core.utils.logging.html @@ -6,12 +6,12 @@ - logging - Pydis Core Latest (11.7.0) + logging - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,12 +480,12 @@

Common logging related functions.

-class CustomLogger(name, level=0)[source]
-

Bases: Logger

-

Custom implementation of the logging.Logger class with an added trace method.

+class CustomLogger(name, level=0)[source] +

Bases: Logger

+

Custom implementation of the logging.Logger class with an added trace method.

-trace(msg, *args, **kwargs)[source]
+trace(msg, *args, **kwargs)[source]

Log the given message with the severity "TRACE".

To pass exception information, use the keyword argument exc_info with a true value:

logger.trace("Houston, we have an %s", "interesting problem", exc_info=1)
@@ -494,13 +494,13 @@
 
Parameters:
    -
  • msg (str) – The message to be logged.

  • +
  • msg (str) – The message to be logged.

  • args – Passed to the base log function as is.

  • kwargs – Passed to the base log function as is.

Return type:
-

None

+

None

@@ -509,11 +509,11 @@
-get_logger(name=None)[source]
+get_logger(name=None)[source]

Utility to make mypy recognise that logger is of type CustomLogger.

Parameters:
-

name (str | None) – The name given to the logger.

+

name (str | None) – The name given to the logger.

Return type:

CustomLogger

@@ -526,8 +526,8 @@
-log_format[source]
-

A logging.Formatter that can be used to standardise logging across all projects using pydis_core.

+log_format[source] +

A logging.Formatter that can be used to standardise logging across all projects using pydis_core.

@@ -607,7 +607,7 @@
- + diff --git a/main/output/pydis_core.utils.members.html b/main/output/pydis_core.utils.members.html index 4fc16b16..da44c679 100644 --- a/main/output/pydis_core.utils.members.html +++ b/main/output/pydis_core.utils.members.html @@ -6,12 +6,12 @@ - members - Pydis Core Latest (11.7.0) + members - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -477,37 +477,37 @@

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]
+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.

-async handle_role_change(member, coro, role)[source]
+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:
-

None

+

None

@@ -583,7 +583,7 @@
- + diff --git a/main/output/pydis_core.utils.messages.html b/main/output/pydis_core.utils.messages.html index bab39fec..448aba06 100644 --- a/main/output/pydis_core.utils.messages.html +++ b/main/output/pydis_core.utils.messages.html @@ -6,12 +6,12 @@ - messages - Pydis Core Latest (11.7.0) + messages - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,13 +479,13 @@

messages

-reaction_check(reaction, user, *, message_id, allowed_emoji, allowed_users, allowed_roles=None)[source]
+reaction_check(reaction, user, *, message_id, allowed_emoji, allowed_users, allowed_roles=None)[source]

Check if a reaction’s emoji and author are allowed and the message is message_id.

If the user is not allowed, remove the reaction. Ignore reactions made by the bot. If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

Return type:
-

bool

+

bool

@@ -560,7 +560,7 @@ If allow_mods is True, allow users with moderator roles even if the
- + diff --git a/main/output/pydis_core.utils.pagination.html b/main/output/pydis_core.utils.pagination.html index 1cad1ebb..72479b4a 100644 --- a/main/output/pydis_core.utils.pagination.html +++ b/main/output/pydis_core.utils.pagination.html @@ -6,12 +6,12 @@ - pagination - Pydis Core Latest (11.7.0) + pagination - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,38 +479,38 @@

pagination

-exception EmptyPaginatorEmbedError[source]
-

Bases: Exception

+exception EmptyPaginatorEmbedError[source] +

Bases: Exception

Raised when attempting to paginate with empty contents.

-class LinePaginator(prefix='```', suffix='```', max_size=4000, scale_to_size=4000, max_lines=None, linesep='\\n')[source]
-

Bases: Paginator

+class LinePaginator(prefix='```', suffix='```', max_size=4000, scale_to_size=4000, max_lines=None, linesep='\\n')[source] +

Bases: Paginator

A class that aids in paginating code blocks for Discord messages.

Parameters:
  • pagination_emojis (PaginationEmojis) – The emojis used to navigate pages.

  • -
  • 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_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.

  • -
  • max_lines (int) – The maximum amount of lines allowed in a 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_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.

  • +
  • max_lines (int) – The maximum amount of lines allowed in a page.

-__init__(prefix='```', suffix='```', max_size=4000, scale_to_size=4000, max_lines=None, linesep='\\n')[source]
+__init__(prefix='```', suffix='```', max_size=4000, scale_to_size=4000, max_lines=None, linesep='\\n')[source]

This function overrides the Paginator.__init__ from inside discord.ext.commands.

It overrides in order to allow us to configure the maximum number of lines per page.

-add_line(line='', *, empty=False)[source]
+add_line(line='', *, empty=False)[source]

Adds a line to the current page.

If a line on a page exceeds max_size characters, then max_size will go up to scale_to_size for a single line before creating a new page for the overflow words. If it @@ -526,19 +526,19 @@ page at a reasonable size.

Parameters:
    -
  • line (str) – The line to add to the paginated content.

  • -
  • empty (bool) – Indicates whether an empty line should be added at the end.

  • +
  • line (str) – The line to add to the paginated content.

  • +
  • empty (bool) – Indicates whether an empty line should be added at the end.

Return type:
-

None

+

None

-async classmethod paginate(pagination_emojis, lines, ctx, embed, *, prefix='', suffix='', max_lines=None, max_size=500, scale_to_size=4000, empty=True, restrict_to_user=None, timeout=300, footer_text=None, url=None, exception_on_empty_embed=False, reply=False, allowed_roles=None)[source]
+async classmethod paginate(pagination_emojis, lines, ctx, embed, *, prefix='', suffix='', max_lines=None, max_size=500, scale_to_size=4000, empty=True, restrict_to_user=None, timeout=300, footer_text=None, url=None, exception_on_empty_embed=False, reply=False, allowed_roles=None)[source]

Use a paginator and set of reactions to provide pagination over a set of lines.

The reactions are used to switch page, or to finish with pagination.

When used, this will send a message using ctx.send() and apply a set of reactions to it. These reactions may @@ -550,26 +550,26 @@ to any user with a moderation role.

Parameters:
  • 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.

  • -
  • 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.

  • -
  • 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.

  • -
  • exception_on_empty_embed (bool) – Indicates whether to raise an exception when no lines are provided.

  • -
  • reply (bool) – Indicates whether to send the page as a reply to the context’s message.

  • -
  • allowed_roles (Sequence[int]) – A list of role ids that are allowed to change 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.

  • +
  • 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.

  • +
  • 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.

  • +
  • exception_on_empty_embed (bool) – Indicates whether to raise an exception when no lines are provided.

  • +
  • reply (bool) – Indicates whether to send the page as a reply to the context’s message.

  • +
  • allowed_roles (Sequence[int]) – A list of role ids that are allowed to change pages.

Return type:
-

Message | None

+

Message | None

Example: @@ -582,8 +582,8 @@ to any user with a moderation role.

-class PaginationEmojis(**data)[source]
-

Bases: BaseModel

+class PaginationEmojis(**data)[source] +

Bases: BaseModel

The emojis that will be used for pagination.

@@ -611,7 +611,7 @@ to any user with a moderation role.

-__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.pagination.PaginationEmojis'>, 'config': {'title': 'PaginationEmojis'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.pagination.PaginationEmojis'>>]}, 'ref': 'pydis_core.utils.pagination.PaginationEmojis:94630795674304', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'delete': {'metadata': {}, 'schema': {'default': '<:trashcan:637136429717389331>', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'first': {'metadata': {}, 'schema': {'default': '⏮', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'last': {'metadata': {}, 'schema': {'default': '⏭', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'left': {'metadata': {}, 'schema': {'default': '⬅', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'right': {'metadata': {}, 'schema': {'default': '➡', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PaginationEmojis', 'type': 'model-fields'}, 'type': 'model'}
+__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.pagination.PaginationEmojis'>, 'config': {'title': 'PaginationEmojis'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.pagination.PaginationEmojis'>>]}, 'ref': 'pydis_core.utils.pagination.PaginationEmojis:94652709802560', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'delete': {'metadata': {}, 'schema': {'default': '<:trashcan:637136429717389331>', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'first': {'metadata': {}, 'schema': {'default': '⏮', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'last': {'metadata': {}, 'schema': {'default': '⏭', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'left': {'metadata': {}, 'schema': {'default': '⬅', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'right': {'metadata': {}, 'schema': {'default': '➡', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PaginationEmojis', 'type': 'model-fields'}, 'type': 'model'}

The core schema of the model.

@@ -674,13 +674,13 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
-__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005610f2f602c0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "right": SerField {                         key_py: Py(                             0x00007fd25297c3b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ef852a0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fd25297c3f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ef85200,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fd2529eb4b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ef85250,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fd253078eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ef85340,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fd2529ccf30,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd24ef852f0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 5,             },         ),         has_extra: false,         root_model: false,         name: "PaginationEmojis",     }, ), definitions=[])
+__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000056160d251240,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007f9205feb4b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9201421070,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f9205f7c3f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9201421020,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f9205f7c3b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f92014210c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f9205fccef0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9201421110,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f9206308eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9201421160,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 5,             },         ),         has_extra: false,         root_model: false,         name: "PaginationEmojis",     }, ), definitions=[])

The pydantic-core SchemaSerializer used to dump instances of the model.

-__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PaginationEmojis", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "first",                         lookup_key: Simple {                             key: "first",                             py_key: Py(                                 0x00007fd24fb3f5b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fd24eb7f530,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd2529eb4b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ef85250,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd2514623e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fd24ea46130,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fd24ea45f70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd25297c3f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ef85200,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd2514623e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fd24ea459b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fd24ea45830,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd25297c3b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ef852a0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd2514623e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fd24ea47f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fd24ea47af0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd2529ccf30,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ef852f0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd2514623e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fd24ea463f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fd24ea46e30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd253078eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd24ef85340,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd2514623e0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005610f2f602c0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd2514623e0,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)
+__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PaginationEmojis", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "first",                         lookup_key: Simple {                             key: "first",                             py_key: Py(                                 0x00007f92019190b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f9202ecc470,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9205feb4b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9201421070,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f92047663e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f9201ab92b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f9200222df0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9205f7c3f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9201421020,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f92047663e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f92002235f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f9200223f70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9205f7c3b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f92014210c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f92047663e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f9200223eb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f92002232f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9205fccef0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9201421110,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f92047663e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f9200221f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f9200221db0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9206308eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9201421160,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f92047663e0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056160d251240,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f92047663e0,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

The pydantic-core SchemaValidator used to validate instances of the model.

@@ -795,7 +795,7 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
- + diff --git a/main/output/pydis_core.utils.paste_service.html b/main/output/pydis_core.utils.paste_service.html index b527592c..2dc2e935 100644 --- a/main/output/pydis_core.utils.paste_service.html +++ b/main/output/pydis_core.utils.paste_service.html @@ -6,12 +6,12 @@ - paste_service - Pydis Core Latest (11.7.0) + paste_service - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -479,21 +479,21 @@

paste_service

-MAX_PASTE_SIZE = 524288[source]
+MAX_PASTE_SIZE = 524288[source]

The maximum allows size of a paste, in bytes.

-class PasteFile(**data)[source]
-

Bases: BaseModel

+class PasteFile(**data)[source] +

Bases: BaseModel

A file to be pasted to the paste service.

Parameters:
    -
  • content (str) – The content of the file.

  • -
  • name (str) – The name of the file to upload. Defaults to ""

  • -
  • lexer (str) – The lexer to use when applying text formatting. Defaults to "python"

  • +
  • content (str) – The content of the file.

  • +
  • name (str) – The name of the file to upload. Defaults to ""

  • +
  • lexer (str) – The lexer to use when applying text formatting. Defaults to "python"

@@ -523,7 +523,7 @@
-__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.paste_service.PasteFile'>, 'config': {'title': 'PasteFile'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.paste_service.PasteFile'>>]}, 'ref': 'pydis_core.utils.paste_service.PasteFile:94630797578352', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'content': {'metadata': {}, 'schema': {'type': 'str'}, 'type': 'model-field'}, 'lexer': {'metadata': {}, 'schema': {'default': 'python', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'name': {'metadata': {}, 'schema': {'default': '', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PasteFile', 'type': 'model-fields'}, 'type': 'model'}
+__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.paste_service.PasteFile'>, 'config': {'title': 'PasteFile'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.paste_service.PasteFile'>>]}, 'ref': 'pydis_core.utils.paste_service.PasteFile:94652711855456', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'content': {'metadata': {}, 'schema': {'type': 'str'}, 'type': 'model-field'}, 'lexer': {'metadata': {}, 'schema': {'default': 'python', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'name': {'metadata': {}, 'schema': {'default': '', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PasteFile', 'type': 'model-fields'}, 'type': 'model'}

The core schema of the model.

@@ -586,13 +586,13 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
-__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005610f3131070,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007fd2528c8fb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007fd253743980,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd25373fba0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007fd2525a4330,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd252315030,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 3,             },         ),         has_extra: false,         root_model: false,         name: "PasteFile",     }, ), definitions=[])
+__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000056160d446560,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007f9206943980,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f920693fba0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007f9205bc8ff0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f92058a4270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9205674ef0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 3,             },         ),         has_extra: false,         root_model: false,         name: "PasteFile",     }, ), definitions=[])

The pydantic-core SchemaSerializer used to dump instances of the model.

-__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PasteFile", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "content",                         lookup_key: Simple {                             key: "content",                             py_key: Py(                                 0x00007fd23f4a10b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fd23f4a1070,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd2528c8fb0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fd23f4a1130,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fd23f4a10f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd253743980,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd25373fba0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd2514624f0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fd23f4a1170,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fd23f4a11b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd2525a4330,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd252315030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd2514624f0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005610f3131070,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd2514624f0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)
+__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PasteFile", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "content",                         lookup_key: Simple {                             key: "content",                             py_key: Py(                                 0x00007f9201664f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f9201664ef0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9205bc8ff0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f9201664fb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f9201664f70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9206943980,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f920693fba0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9204766510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f9201664ff0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f9201665030,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f92058a4270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9205674ef0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9204766510,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056160d446560,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f9204766510,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

The pydantic-core SchemaValidator used to validate instances of the model.

@@ -612,14 +612,14 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
-class PasteResponse(**data)[source]
-

Bases: BaseModel

+class PasteResponse(**data)[source] +

Bases: BaseModel

A successful response from the paste service.

Parameters:
    -
  • link (str) – The URL to the saved paste.

  • -
  • removal (str) – The URL to delete the saved paste.

  • +
  • link (str) – The URL to the saved paste.

  • +
  • removal (str) – The URL to delete the saved paste.

@@ -649,7 +649,7 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
-__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.paste_service.PasteResponse'>, 'config': {'title': 'PasteResponse'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.paste_service.PasteResponse'>>]}, 'ref': 'pydis_core.utils.paste_service.PasteResponse:94630790259456', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'link': {'metadata': {}, 'schema': {'type': 'str'}, 'type': 'model-field'}, 'removal': {'metadata': {}, 'schema': {'type': 'str'}, 'type': 'model-field'}}, 'model_name': 'PasteResponse', 'type': 'model-fields'}, 'type': 'model'}
+__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.paste_service.PasteResponse'>, 'config': {'title': 'PasteResponse'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.paste_service.PasteResponse'>>]}, 'ref': 'pydis_core.utils.paste_service.PasteResponse:94652711497920', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'link': {'metadata': {}, 'schema': {'type': 'str'}, 'type': 'model-field'}, 'removal': {'metadata': {}, 'schema': {'type': 'str'}, 'type': 'model-field'}}, 'model_name': 'PasteResponse', 'type': 'model-fields'}, 'type': 'model'}

The core schema of the model.

@@ -712,13 +712,13 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
-__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005610f2a36300,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007fd2536982a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007fd23fcac1b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 2,             },         ),         has_extra: false,         root_model: false,         name: "PasteResponse",     }, ), definitions=[])
+__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000056160d3ef0c0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f92068982a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f92000bb930,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 2,             },         ),         has_extra: false,         root_model: false,         name: "PasteResponse",     }, ), definitions=[])

The pydantic-core SchemaSerializer used to dump instances of the model.

-__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PasteResponse", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "link",                         lookup_key: Simple {                             key: "link",                             py_key: Py(                                 0x00007fd23f493df0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fd23f493db0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd2536982a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fd23f493e70,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fd23f493e30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd23fcac1b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteResponse",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005610f2a36300,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd2514624f0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)
+__pydantic_validator__: ClassVar[SchemaValidator | PluggableSchemaValidator] = SchemaValidator(title="PasteResponse", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "link",                         lookup_key: Simple {                             key: "link",                             py_key: Py(                                 0x00007f9201683c70,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f9201683c30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f92068982a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f9201683cf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f9201683cb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f92000bb930,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteResponse",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056160d3ef0c0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f9204766510,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

The pydantic-core SchemaValidator used to validate instances of the model.

@@ -738,41 +738,41 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
-exception PasteTooLongError[source]
-

Bases: Exception

+exception PasteTooLongError[source] +

Bases: Exception

Raised when content is too large to upload to the paste service.

-exception PasteUnsupportedLexerError[source]
-

Bases: Exception

+exception PasteUnsupportedLexerError[source] +

Bases: Exception

Raised when an unsupported lexer is used.

-exception PasteUploadError[source]
-

Bases: Exception

+exception PasteUploadError[source] +

Bases: Exception

Raised when an error is encountered uploading to the paste service.

-async send_to_paste_service(*, files, http_session, paste_url='https://paste.pythondiscord.com', max_size=524288)[source]
+async send_to_paste_service(*, files, http_session, paste_url='https://paste.pythondiscord.com', max_size=524288)[source]

Upload some contents to the paste service.

Parameters:
    -
  • files (list[PasteFile]) – The files to be uploaded to the paste service.

  • -
  • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

  • -
  • paste_url (str) – The base url to the paste service.

  • -
  • max_size (int) – The max number of bytes to be allowed. Anything larger than MAX_PASTE_SIZE will be rejected.

  • +
  • files (list[PasteFile]) – The files to be uploaded to the paste service.

  • +
  • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

  • +
  • paste_url (str) – The base url to the paste service.

  • +
  • max_size (int) – The max number of bytes to be allowed. Anything larger than MAX_PASTE_SIZE will be rejected.

Raises:
@@ -902,7 +902,7 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
- + diff --git a/main/output/pydis_core.utils.regex.html b/main/output/pydis_core.utils.regex.html index 777c74d1..5d6f6cef 100644 --- a/main/output/pydis_core.utils.regex.html +++ b/main/output/pydis_core.utils.regex.html @@ -6,12 +6,12 @@ - regex - Pydis Core Latest (11.7.0) + regex - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,13 +480,13 @@

Common regular expressions.

-DISCORD_INVITE[source]
+DISCORD_INVITE[source]

Regex for Discord server invites.

Warning

This regex pattern will capture until a whitespace, if you are to use the ‘invite’ capture group in any HTTP requests or similar. Please ensure you sanitise the output using something -such as urllib.parse.quote().

+such as urllib.parse.quote().

@@ -494,7 +494,7 @@ such as
-FORMATTED_CODE_REGEX[source]
+FORMATTED_CODE_REGEX[source]

Regex for formatted code, using Discord’s code blocks.

@@ -502,7 +502,7 @@ such as
-RAW_CODE_REGEX[source]
+RAW_CODE_REGEX[source]

Regex for raw code, not using Discord’s code blocks.

@@ -580,7 +580,7 @@ such as +
diff --git a/main/output/pydis_core.utils.scheduling.html b/main/output/pydis_core.utils.scheduling.html index 69cf1ff8..fda375cd 100644 --- a/main/output/pydis_core.utils.scheduling.html +++ b/main/output/pydis_core.utils.scheduling.html @@ -6,12 +6,12 @@ - scheduling - Pydis Core Latest (11.7.0) + scheduling - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -480,8 +480,8 @@

Generic python scheduler.

-class Scheduler(name)[source]
-

Bases: object

+class Scheduler(name)[source] +

Bases: object

Schedule the execution of coroutines and keep track of them.

When instantiating a Scheduler, a name must be provided. This name is used to distinguish the instance’s log messages from other instances. Using the name of the class or module containing @@ -494,79 +494,79 @@ the same ID used to schedule it.

Any exception raised in a scheduled task is logged when the task is done.

-__contains__(task_id)[source]
-

Return True if a task with the given task_id is currently scheduled.

+__contains__(task_id)[source] +

Return True if a task with the given task_id is currently scheduled.

Parameters:
-

task_id (Hashable) – The task to look for.

+

task_id (Hashable) – The task to look for.

Return type:
-

bool

+

bool

Returns:
-

True if the task was found.

+

True if the task was found.

-__init__(name)[source]
+__init__(name)[source]

Initialize a new Scheduler instance.

Parameters:
-

name (str) – The name of the Scheduler. Used in logging, and namespacing.

+

name (str) – The name of the Scheduler. Used in logging, and namespacing.

-cancel(task_id)[source]
+cancel(task_id)[source]

Unschedule the task identified by task_id. Log a warning if the task doesn’t exist.

Parameters:
-

task_id (Hashable) – The task’s unique ID.

+

task_id (Hashable) – The task’s unique ID.

Return type:
-

None

+

None

-cancel_all()[source]
+cancel_all()[source]

Unschedule all known tasks.

Return type:
-

None

+

None

-schedule(task_id, coroutine)[source]
+schedule(task_id, coroutine)[source]

Schedule the execution of a coroutine.

If a task with task_id already exists, close coroutine instead of scheduling it. This prevents unawaited coroutine warnings. Don’t pass a coroutine that’ll be re-used elsewhere.

Parameters:
    -
  • task_id (Hashable) – A unique ID to create the task with.

  • -
  • coroutine (Coroutine) – The function to be called.

  • +
  • task_id (Hashable) – A unique ID to create the task with.

  • +
  • coroutine (Coroutine) – The function to be called.

Return type:
-

None

+

None

-schedule_at(time, task_id, coroutine)[source]
+schedule_at(time, task_id, coroutine)[source]

Schedule coroutine to be executed at the given time.

If time is timezone aware, then use that timezone to calculate now() when subtracting. If time is naïve, then use UTC.

@@ -576,33 +576,33 @@ prevents unawaited coroutine warnings. Don’t pass a coroutine that’ll be re-
Parameters:
    -
  • time (datetime) – The time to start the task.

  • -
  • task_id (Hashable) – A unique ID to create the task with.

  • -
  • coroutine (Coroutine) – The function to be called.

  • +
  • time (datetime) – The time to start the task.

  • +
  • task_id (Hashable) – A unique ID to create the task with.

  • +
  • coroutine (Coroutine) – The function to be called.

Return type:
-

None

+

None

-schedule_later(delay, task_id, coroutine)[source]
+schedule_later(delay, task_id, coroutine)[source]

Schedule coroutine to be executed after delay seconds.

If a task with task_id already exists, close coroutine instead of scheduling it. This prevents unawaited coroutine warnings. Don’t pass a coroutine that’ll be re-used elsewhere.

Parameters:
    -
  • delay (float) – How long to wait before starting the task.

  • -
  • task_id (Hashable) – A unique ID to create the task with.

  • -
  • coroutine (Coroutine) – The function to be called.

  • +
  • delay (float) – How long to wait before starting the task.

  • +
  • task_id (Hashable) – A unique ID to create the task with.

  • +
  • coroutine (Coroutine) – The function to be called.

Return type:
-

None

+

None

@@ -611,24 +611,24 @@ prevents unawaited coroutine warnings. Don’t pass a coroutine that’ll be re-
-create_task(coro, *, suppressed_exceptions=(), event_loop=None, **kwargs)[source]
-

Wrapper for creating an asyncio.Task which logs exceptions raised in the task.

+create_task(coro, *, suppressed_exceptions=(), event_loop=None, **kwargs)[source] +

Wrapper for creating an asyncio.Task which logs exceptions raised in the task.

If the event_loop kwarg is provided, the task is created from that event loop, otherwise the running loop is used.

Parameters:
Returns:

The wrapped task.

Return type:
-

asyncio.Task

+

asyncio.Task

@@ -713,7 +713,7 @@ otherwise the running loop is used.

- + diff --git a/main/py-modindex.html b/main/py-modindex.html index e912c9d2..3326b2dc 100644 --- a/main/py-modindex.html +++ b/main/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core Latest (11.7.0) + Python Module Index - Pydis Core Latest (11.8.0) - + @@ -168,7 +168,7 @@
@@ -195,7 +195,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -657,7 +657,7 @@
- + diff --git a/main/search.html b/main/search.html index 5ed52f50..4c46f749 100644 --- a/main/search.html +++ b/main/search.html @@ -7,11 +7,11 @@ -Search - Pydis Core Latest (11.7.0) +Search - Pydis Core Latest (11.8.0) - + @@ -170,7 +170,7 @@
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -512,7 +512,7 @@
- + diff --git a/main/searchindex.js b/main/searchindex.js index f7ff42c3..396e399e 100644 --- a/main/searchindex.js +++ b/main/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"Bot Core Project Documentation": [[2, null]], "Changelog": [[0, null]], "Extras": [[2, "extras"]], "Exts": [[5, null]], "Local Development & Testing": [[1, null]], "Modules:": [[2, null]], "Option 1": [[1, "option-1"]], "Option 2": [[1, "option-2"]], "Pydis Core": [[3, null]], "Reference": [[2, "reference"]], "Submodules": [[3, "submodules"], [7, "submodules"], [14, "submodules"]], "Subpackages": [[3, "subpackages"], [7, "subpackages"], [13, "subpackages"]], "Utils": [[7, null]], "abc": [[15, null]], "async_stats": [[4, null]], "caching": [[8, null]], "channel": [[9, null]], "checks": [[10, null]], "commands": [[11, null]], "commands package": [[14, null]], "cooldown": [[12, null]], "error_handling package": [[13, null]], "function": [[17, null]], "interactions": [[18, null]], "lock": [[19, null]], "logging": [[20, null]], "manager": [[16, null]], "members": [[21, null]], "messages": [[22, null]], "pagination": [[23, null]], "paste_service": [[24, null]], "regex": [[25, null]], "scheduling": [[26, null]], "site_api": [[6, null]]}, "docnames": ["changelog", "development", "index", "output/pydis_core", "output/pydis_core.async_stats", "output/pydis_core.exts", "output/pydis_core.site_api", "output/pydis_core.utils", "output/pydis_core.utils.caching", "output/pydis_core.utils.channel", "output/pydis_core.utils.checks", "output/pydis_core.utils.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.error_handling", "output/pydis_core.utils.error_handling.commands", "output/pydis_core.utils.error_handling.commands.abc", "output/pydis_core.utils.error_handling.commands.manager", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.lock", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "output/pydis_core.utils.messages", "output/pydis_core.utils.pagination", "output/pydis_core.utils.paste_service", "output/pydis_core.utils.regex", "output/pydis_core.utils.scheduling"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2}, "filenames": ["changelog.rst", "development.rst", "index.rst", "output/pydis_core.rst", "output/pydis_core.async_stats.rst", "output/pydis_core.exts.rst", "output/pydis_core.site_api.rst", "output/pydis_core.utils.rst", "output/pydis_core.utils.caching.rst", "output/pydis_core.utils.channel.rst", "output/pydis_core.utils.checks.rst", "output/pydis_core.utils.commands.rst", "output/pydis_core.utils.cooldown.rst", "output/pydis_core.utils.error_handling.rst", "output/pydis_core.utils.error_handling.commands.rst", "output/pydis_core.utils.error_handling.commands.abc.rst", "output/pydis_core.utils.error_handling.commands.manager.rst", "output/pydis_core.utils.function.rst", "output/pydis_core.utils.interactions.rst", "output/pydis_core.utils.lock.rst", "output/pydis_core.utils.logging.rst", "output/pydis_core.utils.members.rst", "output/pydis_core.utils.messages.rst", "output/pydis_core.utils.pagination.rst", "output/pydis_core.utils.paste_service.rst", "output/pydis_core.utils.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__class_vars__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__class_vars__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__class_vars__", false]], "__class_vars__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.__contains__", false]], "__enter__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__enter__", false]], "__exit__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__exit__", false]], "__init__() (apiclient method)": [[6, "pydis_core.site_api.APIClient.__init__", false]], "__init__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__init__", false]], "__init__() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.__init__", false]], "__init__() (botbase method)": [[3, "pydis_core.BotBase.__init__", false]], "__init__() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.__init__", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.__init__", false]], "__init__() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (contextcheckfailure method)": [[10, "pydis_core.utils.checks.ContextCheckFailure.__init__", false]], "__init__() (deletemessagebutton method)": [[18, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (linepaginator method)": [[3, "pydis_core.LinePaginator.__init__", false], [23, "pydis_core.utils.pagination.LinePaginator.__init__", false]], "__init__() (lockedresourceerror method)": [[19, "pydis_core.utils.lock.LockedResourceError.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__private_attributes__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__private_attributes__", false]], "__private_attributes__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_complete__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_complete__", false]], "__pydantic_complete__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_computed_fields__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_core_schema__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_custom_init__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_decorators__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_decorators__", false]], "__pydantic_decorators__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_extra__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_extra__", false]], "__pydantic_extra__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields__", false]], "__pydantic_fields__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields_set__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_generic_metadata__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_parent_namespace__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_post_init__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_post_init__", false]], "__pydantic_post_init__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_private__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_private__", false]], "__pydantic_private__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_serializer__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_serializer__", false]], "__pydantic_serializer__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_validator__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_validator__", false]], "__pydantic_validator__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__signature__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__signature__", false]], "__signature__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__signature__", false]], "__str__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__str__", false]], "abstractcommanderrorhandler (class in pydis_core.utils.error_handling.commands)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler", false]], "abstractcommanderrorhandler (class in pydis_core.utils.error_handling.commands.abc)": [[15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler", false]], "add_cog() (botbase method)": [[3, "pydis_core.BotBase.add_cog", false]], "add_command() (botbase method)": [[3, "pydis_core.BotBase.add_command", false]], "add_line() (linepaginator method)": [[3, "pydis_core.LinePaginator.add_line", false], [23, "pydis_core.utils.pagination.LinePaginator.add_line", false]], "all_extensions (botbase attribute)": [[3, "pydis_core.BotBase.all_extensions", false]], "api_client (botbase attribute)": [[3, "pydis_core.BotBase.api_client", false]], "apiclient (class in pydis_core.site_api)": [[6, "pydis_core.site_api.APIClient", false]], "apply_monkey_patches() (in module pydis_core.utils)": [[7, "pydis_core.utils.apply_monkey_patches", false]], "asynccache (class in pydis_core.utils.caching)": [[8, "pydis_core.utils.caching.AsyncCache", false]], "asyncstatsclient (class in pydis_core.async_stats)": [[4, "pydis_core.async_stats.AsyncStatsClient", false]], "block_duplicate_invocations() (in module pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[18, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[11, "pydis_core.utils.commands.clean_text_or_reply", false]], "clear() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.clear", false]], "clear() (botbase method)": [[3, "pydis_core.BotBase.clear", false]], "close() (apiclient method)": [[6, "pydis_core.site_api.APIClient.close", false]], "close() (botbase method)": [[3, "pydis_core.BotBase.close", false]], "command_wraps() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.command_wraps", false]], "commanderrormanager (class in pydis_core.utils.error_handling.commands)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager", false]], "commanderrormanager (class in pydis_core.utils.error_handling.commands.manager)": [[16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager", false]], "commandoncooldown": [[12, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "contextcheckfailure": [[10, "pydis_core.utils.checks.ContextCheckFailure", false]], "cooldown_with_role_bypass() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.cooldown_with_role_bypass", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[26, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.DISCORD_INVITE", false]], "emptypaginatorembederror": [[3, "pydis_core.EmptyPaginatorEmbedError", false], [23, "pydis_core.utils.pagination.EmptyPaginatorEmbedError", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.FORMATTED_CODE_REGEX", false]], "get() (apiclient method)": [[6, "pydis_core.site_api.APIClient.get", false]], "get_arg_value() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_arg_value", false]], "get_arg_value_wrapper() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_arg_value_wrapper", false]], "get_bound_args() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_bound_args", false]], "get_logger() (in module pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.get_logger", false]], "get_or_fetch_channel() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.get_or_fetch_channel", false]], "get_or_fetch_member() (in module pydis_core.utils.members)": [[21, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[17, "pydis_core.utils.function.GlobalNameConflictError", false]], "guild_id (botbase attribute)": [[3, "pydis_core.BotBase.guild_id", false]], "handle_app_command_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.handle_app_command_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.handle_app_command_error", false]], "handle_error() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.handle_error", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.handle_error", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[13, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[21, "pydis_core.utils.members.handle_role_change", false]], "handle_text_command_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.handle_text_command_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.handle_text_command_error", false]], "has_any_role_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.has_any_role_check", false]], "has_no_roles_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.has_no_roles_check", false]], "http_session (botbase attribute)": [[3, "pydis_core.BotBase.http_session", false]], "id (lockedresourceerror attribute)": [[19, "pydis_core.utils.lock.LockedResourceError.id", false]], "in_whitelist_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.in_whitelist_check", false]], "interaction_check() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "inwhitelistcheckfailure": [[10, "pydis_core.utils.checks.InWhitelistCheckFailure", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "linepaginator (class in pydis_core)": [[3, "pydis_core.LinePaginator", false]], "linepaginator (class in pydis_core.utils.pagination)": [[23, "pydis_core.utils.pagination.LinePaginator", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "lock() (in module pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.lock", false]], "lock_arg() (in module pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.lock_arg", false]], "lockedresourceerror": [[19, "pydis_core.utils.lock.LockedResourceError", false]], "log_format (in module pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.log_format", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "max_paste_size (in module pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.MAX_PASTE_SIZE", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", false]], "model_config (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_config", false], [23, "pydis_core.utils.pagination.PaginationEmojis.model_config", false]], "model_config (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "module": [[3, "module-pydis_core", false], [4, "module-pydis_core.async_stats", false], [5, "module-pydis_core.exts", false], [6, "module-pydis_core.site_api", false], [7, "module-pydis_core.utils", false], [8, "module-pydis_core.utils.caching", false], [9, "module-pydis_core.utils.channel", false], [10, "module-pydis_core.utils.checks", false], [11, "module-pydis_core.utils.commands", false], [12, "module-pydis_core.utils.cooldown", false], [13, "module-pydis_core.utils.error_handling", false], [14, "module-pydis_core.utils.error_handling.commands", false], [15, "module-pydis_core.utils.error_handling.commands.abc", false], [16, "module-pydis_core.utils.error_handling.commands.manager", false], [17, "module-pydis_core.utils.function", false], [18, "module-pydis_core.utils.interactions", false], [19, "module-pydis_core.utils.lock", false], [20, "module-pydis_core.utils.logging", false], [21, "module-pydis_core.utils.members", false], [22, "module-pydis_core.utils.messages", false], [23, "module-pydis_core.utils.pagination", false], [24, "module-pydis_core.utils.paste_service", false], [25, "module-pydis_core.utils.regex", false], [26, "module-pydis_core.utils.scheduling", false]], "on_guild_available() (botbase method)": [[3, "pydis_core.BotBase.on_guild_available", false]], "on_guild_unavailable() (botbase method)": [[3, "pydis_core.BotBase.on_guild_unavailable", false]], "on_timeout() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.P", false]], "paginate() (linepaginator class method)": [[3, "pydis_core.LinePaginator.paginate", false], [23, "pydis_core.utils.pagination.LinePaginator.paginate", false]], "paginationemojis (class in pydis_core)": [[3, "pydis_core.PaginationEmojis", false]], "paginationemojis (class in pydis_core.utils.pagination)": [[23, "pydis_core.utils.pagination.PaginationEmojis", false]], "pastefile (class in pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[24, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[24, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[24, "pydis_core.utils.paste_service.PasteUploadError", false]], "patch() (apiclient method)": [[6, "pydis_core.site_api.APIClient.patch", false]], "ping_services() (botbase method)": [[3, "pydis_core.BotBase.ping_services", false]], "post() (apiclient method)": [[6, "pydis_core.site_api.APIClient.post", false]], "process_commands() (botbase method)": [[3, "pydis_core.BotBase.process_commands", false]], "put() (apiclient method)": [[6, "pydis_core.site_api.APIClient.put", false]], "pydis_core": [[3, "module-pydis_core", false]], "pydis_core.async_stats": [[4, "module-pydis_core.async_stats", false]], "pydis_core.exts": [[5, "module-pydis_core.exts", false]], "pydis_core.site_api": [[6, "module-pydis_core.site_api", false]], "pydis_core.utils": [[7, "module-pydis_core.utils", false]], "pydis_core.utils.caching": [[8, "module-pydis_core.utils.caching", false]], "pydis_core.utils.channel": [[9, "module-pydis_core.utils.channel", false]], "pydis_core.utils.checks": [[10, "module-pydis_core.utils.checks", false]], "pydis_core.utils.commands": [[11, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[12, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[13, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.error_handling.commands": [[14, "module-pydis_core.utils.error_handling.commands", false]], "pydis_core.utils.error_handling.commands.abc": [[15, "module-pydis_core.utils.error_handling.commands.abc", false]], "pydis_core.utils.error_handling.commands.manager": [[16, "module-pydis_core.utils.error_handling.commands.manager", false]], "pydis_core.utils.function": [[17, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[18, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.lock": [[19, "module-pydis_core.utils.lock", false]], "pydis_core.utils.logging": [[20, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[21, "module-pydis_core.utils.members", false]], "pydis_core.utils.messages": [[22, "module-pydis_core.utils.messages", false]], "pydis_core.utils.pagination": [[23, "module-pydis_core.utils.pagination", false]], "pydis_core.utils.paste_service": [[24, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[25, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[26, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.RAW_CODE_REGEX", false]], "reaction_check() (in module pydis_core.utils.messages)": [[22, "pydis_core.utils.messages.reaction_check", false]], "redis_session (botbase attribute)": [[3, "pydis_core.BotBase.redis_session", false]], "register_command_error_manager() (botbase method)": [[3, "pydis_core.BotBase.register_command_error_manager", false]], "register_handler() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.register_handler", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.register_handler", false]], "remove_command() (botbase method)": [[3, "pydis_core.BotBase.remove_command", false]], "request() (apiclient method)": [[6, "pydis_core.site_api.APIClient.request", false]], "responsecodeerror": [[6, "pydis_core.site_api.ResponseCodeError", false]], "schedule() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[26, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.send_to_paste_service", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "sharedevent (class in pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.SharedEvent", false]], "should_handle_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.should_handle_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.should_handle_error", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "stats (botbase attribute)": [[3, "pydis_core.BotBase.stats", false]], "statsd_url (botbase attribute)": [[3, "pydis_core.BotBase.statsd_url", false]], "stop() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[20, "pydis_core.utils.logging.CustomLogger.trace", false]], "type (lockedresourceerror attribute)": [[19, "pydis_core.utils.lock.LockedResourceError.type", false]], "unqualify() (in module pydis_core.utils)": [[7, "pydis_core.utils.unqualify", false]], "update_wrapper_globals() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.update_wrapper_globals", false]], "user_has_access() (in module pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.user_has_access", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck", false]], "wait() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.wait", false]], "wait_until_guild_available() (botbase method)": [[3, "pydis_core.BotBase.wait_until_guild_available", false]]}, "objects": {"": [[3, 0, 0, "-", "pydis_core"]], "pydis_core": [[3, 1, 1, "", "BotBase"], [3, 4, 1, "", "EmptyPaginatorEmbedError"], [3, 1, 1, "", "LinePaginator"], [3, 1, 1, "", "PaginationEmojis"], [3, 4, 1, "", "StartupError"], [4, 0, 0, "-", "async_stats"], [5, 0, 0, "-", "exts"], [6, 0, 0, "-", "site_api"], [7, 0, 0, "-", "utils"]], "pydis_core.BotBase": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_cog"], [3, 2, 1, "", "add_command"], [3, 3, 1, "", "all_extensions"], [3, 3, 1, "", "api_client"], [3, 2, 1, "", "clear"], [3, 2, 1, "", "close"], [3, 3, 1, "", "guild_id"], [3, 3, 1, "", "http_session"], [3, 2, 1, "", "load_extensions"], [3, 2, 1, "", "log_to_dev_log"], [3, 2, 1, "", "on_guild_available"], [3, 2, 1, "", "on_guild_unavailable"], [3, 2, 1, "", "ping_services"], [3, 2, 1, "", "process_commands"], [3, 3, 1, "", "redis_session"], [3, 2, 1, "", "register_command_error_manager"], [3, 2, 1, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 3, 1, "", "stats"], [3, 3, 1, "", "statsd_url"], [3, 2, 1, "", "wait_until_guild_available"]], "pydis_core.LinePaginator": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_line"], [3, 2, 1, "", "paginate"]], "pydis_core.PaginationEmojis": [[3, 3, 1, "", "__class_vars__"], [3, 3, 1, "", "__private_attributes__"], [3, 3, 1, "", "__pydantic_complete__"], [3, 3, 1, "", "__pydantic_computed_fields__"], [3, 3, 1, "", "__pydantic_core_schema__"], [3, 3, 1, "", "__pydantic_custom_init__"], [3, 3, 1, "", "__pydantic_decorators__"], [3, 3, 1, "", "__pydantic_extra__"], [3, 3, 1, "", "__pydantic_fields__"], [3, 3, 1, "", "__pydantic_fields_set__"], [3, 3, 1, "", "__pydantic_generic_metadata__"], [3, 3, 1, "", "__pydantic_parent_namespace__"], [3, 3, 1, "", "__pydantic_post_init__"], [3, 3, 1, "", "__pydantic_private__"], [3, 3, 1, "", "__pydantic_serializer__"], [3, 3, 1, "", "__pydantic_validator__"], [3, 3, 1, "", "__signature__"], [3, 3, 1, "", "model_config"]], "pydis_core.StartupError": [[3, 2, 1, "", "__init__"]], "pydis_core.async_stats": [[4, 1, 1, "", "AsyncStatsClient"]], "pydis_core.async_stats.AsyncStatsClient": [[4, 2, 1, "", "__init__"], [4, 2, 1, "", "create_socket"]], "pydis_core.site_api": [[6, 1, 1, "", "APIClient"], [6, 4, 1, "", "ResponseCodeError"]], "pydis_core.site_api.APIClient": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "close"], [6, 2, 1, "", "delete"], [6, 2, 1, "", "get"], [6, 2, 1, "", "maybe_raise_for_status"], [6, 2, 1, "", "patch"], [6, 2, 1, "", "post"], [6, 2, 1, "", "put"], [6, 2, 1, "", "request"]], "pydis_core.site_api.ResponseCodeError": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "__str__"]], "pydis_core.utils": [[7, 5, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "checks"], [11, 0, 0, "-", "commands"], [12, 0, 0, "-", "cooldown"], [13, 0, 0, "-", "error_handling"], [17, 0, 0, "-", "function"], [18, 0, 0, "-", "interactions"], [19, 0, 0, "-", "lock"], [20, 0, 0, "-", "logging"], [21, 0, 0, "-", "members"], [22, 0, 0, "-", "messages"], [23, 0, 0, "-", "pagination"], [24, 0, 0, "-", "paste_service"], [25, 0, 0, "-", "regex"], [26, 0, 0, "-", "scheduling"], [7, 5, 1, "", "unqualify"]], "pydis_core.utils.caching": [[8, 1, 1, "", "AsyncCache"]], "pydis_core.utils.caching.AsyncCache": [[8, 2, 1, "", "__call__"], [8, 2, 1, "", "__init__"], [8, 2, 1, "", "clear"]], "pydis_core.utils.channel": [[9, 5, 1, "", "get_or_fetch_channel"], [9, 5, 1, "", "is_in_category"]], "pydis_core.utils.checks": [[10, 4, 1, "", "ContextCheckFailure"], [10, 4, 1, "", "InWhitelistCheckFailure"], [10, 5, 1, "", "cooldown_with_role_bypass"], [10, 5, 1, "", "has_any_role_check"], [10, 5, 1, "", "has_no_roles_check"], [10, 5, 1, "", "in_whitelist_check"]], "pydis_core.utils.checks.ContextCheckFailure": [[10, 2, 1, "", "__init__"]], "pydis_core.utils.commands": [[11, 5, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[12, 4, 1, "", "CommandOnCooldown"], [12, 6, 1, "", "P"], [12, 1, 1, "", "R"], [12, 5, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[12, 2, 1, "", "__init__"], [12, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[14, 0, 0, "-", "commands"], [13, 5, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.error_handling.commands": [[14, 1, 1, "", "AbstractCommandErrorHandler"], [14, 1, 1, "", "CommandErrorManager"], [15, 0, 0, "-", "abc"], [16, 0, 0, "-", "manager"]], "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler": [[14, 2, 1, "", "handle_app_command_error"], [14, 2, 1, "", "handle_text_command_error"], [14, 2, 1, "", "should_handle_error"]], "pydis_core.utils.error_handling.commands.CommandErrorManager": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "handle_error"], [14, 2, 1, "", "register_handler"]], "pydis_core.utils.error_handling.commands.abc": [[15, 1, 1, "", "AbstractCommandErrorHandler"]], "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler": [[15, 2, 1, "", "handle_app_command_error"], [15, 2, 1, "", "handle_text_command_error"], [15, 2, 1, "", "should_handle_error"]], "pydis_core.utils.error_handling.commands.manager": [[16, 1, 1, "", "CommandErrorManager"]], "pydis_core.utils.error_handling.commands.manager.CommandErrorManager": [[16, 2, 1, "", "__init__"], [16, 2, 1, "", "handle_error"], [16, 2, 1, "", "register_handler"]], "pydis_core.utils.function": [[17, 4, 1, "", "GlobalNameConflictError"], [17, 5, 1, "", "command_wraps"], [17, 5, 1, "", "get_arg_value"], [17, 5, 1, "", "get_arg_value_wrapper"], [17, 5, 1, "", "get_bound_args"], [17, 5, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[18, 1, 1, "", "DeleteMessageButton"], [18, 1, 1, "", "ViewWithUserAndRoleCheck"], [18, 5, 1, "", "user_has_access"]], "pydis_core.utils.interactions.DeleteMessageButton": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "interaction_check"], [18, 2, 1, "", "on_timeout"], [18, 2, 1, "", "stop"]], "pydis_core.utils.lock": [[19, 4, 1, "", "LockedResourceError"], [19, 1, 1, "", "SharedEvent"], [19, 5, 1, "", "lock"], [19, 5, 1, "", "lock_arg"]], "pydis_core.utils.lock.LockedResourceError": [[19, 2, 1, "", "__init__"], [19, 3, 1, "", "id"], [19, 3, 1, "", "type"]], "pydis_core.utils.lock.SharedEvent": [[19, 2, 1, "", "__enter__"], [19, 2, 1, "", "__exit__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "wait"]], "pydis_core.utils.logging": [[20, 1, 1, "", "CustomLogger"], [20, 5, 1, "", "get_logger"], [20, 6, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[20, 2, 1, "", "trace"]], "pydis_core.utils.members": [[21, 5, 1, "", "get_or_fetch_member"], [21, 5, 1, "", "handle_role_change"]], "pydis_core.utils.messages": [[22, 5, 1, "", "reaction_check"]], "pydis_core.utils.pagination": [[23, 4, 1, "", "EmptyPaginatorEmbedError"], [23, 1, 1, "", "LinePaginator"], [23, 1, 1, "", "PaginationEmojis"]], "pydis_core.utils.pagination.LinePaginator": [[23, 2, 1, "", "__init__"], [23, 2, 1, "", "add_line"], [23, 2, 1, "", "paginate"]], "pydis_core.utils.pagination.PaginationEmojis": [[23, 3, 1, "", "__class_vars__"], [23, 3, 1, "", "__private_attributes__"], [23, 3, 1, "", "__pydantic_complete__"], [23, 3, 1, "", "__pydantic_computed_fields__"], [23, 3, 1, "", "__pydantic_core_schema__"], [23, 3, 1, "", "__pydantic_custom_init__"], [23, 3, 1, "", "__pydantic_decorators__"], [23, 3, 1, "", "__pydantic_extra__"], [23, 3, 1, "", "__pydantic_fields__"], [23, 3, 1, "", "__pydantic_fields_set__"], [23, 3, 1, "", "__pydantic_generic_metadata__"], [23, 3, 1, "", "__pydantic_parent_namespace__"], [23, 3, 1, "", "__pydantic_post_init__"], [23, 3, 1, "", "__pydantic_private__"], [23, 3, 1, "", "__pydantic_serializer__"], [23, 3, 1, "", "__pydantic_validator__"], [23, 3, 1, "", "__signature__"], [23, 3, 1, "", "model_config"]], "pydis_core.utils.paste_service": [[24, 6, 1, "", "MAX_PASTE_SIZE"], [24, 1, 1, "", "PasteFile"], [24, 1, 1, "", "PasteResponse"], [24, 4, 1, "", "PasteTooLongError"], [24, 4, 1, "", "PasteUnsupportedLexerError"], [24, 4, 1, "", "PasteUploadError"], [24, 5, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[24, 3, 1, "", "__class_vars__"], [24, 3, 1, "", "__private_attributes__"], [24, 3, 1, "", "__pydantic_complete__"], [24, 3, 1, "", "__pydantic_computed_fields__"], [24, 3, 1, "", "__pydantic_core_schema__"], [24, 3, 1, "", "__pydantic_custom_init__"], [24, 3, 1, "", "__pydantic_decorators__"], [24, 3, 1, "", "__pydantic_extra__"], [24, 3, 1, "", "__pydantic_fields__"], [24, 3, 1, "", "__pydantic_fields_set__"], [24, 3, 1, "", "__pydantic_generic_metadata__"], [24, 3, 1, "", "__pydantic_parent_namespace__"], [24, 3, 1, "", "__pydantic_post_init__"], [24, 3, 1, "", "__pydantic_private__"], [24, 3, 1, "", "__pydantic_serializer__"], [24, 3, 1, "", "__pydantic_validator__"], [24, 3, 1, "", "__signature__"], [24, 3, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[24, 3, 1, "", "__class_vars__"], [24, 3, 1, "", "__private_attributes__"], [24, 3, 1, "", "__pydantic_complete__"], [24, 3, 1, "", "__pydantic_computed_fields__"], [24, 3, 1, "", "__pydantic_core_schema__"], [24, 3, 1, "", "__pydantic_custom_init__"], [24, 3, 1, "", "__pydantic_decorators__"], [24, 3, 1, "", "__pydantic_extra__"], [24, 3, 1, "", "__pydantic_fields__"], [24, 3, 1, "", "__pydantic_fields_set__"], [24, 3, 1, "", "__pydantic_generic_metadata__"], [24, 3, 1, "", "__pydantic_parent_namespace__"], [24, 3, 1, "", "__pydantic_post_init__"], [24, 3, 1, "", "__pydantic_private__"], [24, 3, 1, "", "__pydantic_serializer__"], [24, 3, 1, "", "__pydantic_validator__"], [24, 3, 1, "", "__signature__"], [24, 3, 1, "", "model_config"]], "pydis_core.utils.regex": [[25, 6, 1, "", "DISCORD_INVITE"], [25, 6, 1, "", "FORMATTED_CODE_REGEX"], [25, 6, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[26, 1, 1, "", "Scheduler"], [26, 5, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[26, 2, 1, "", "__contains__"], [26, 2, 1, "", "__init__"], [26, 2, 1, "", "cancel"], [26, 2, 1, "", "cancel_all"], [26, 2, 1, "", "schedule"], [26, 2, 1, "", "schedule_at"], [26, 2, 1, "", "schedule_later"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "exception", "Python exception"], "5": ["py", "function", "Python function"], "6": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:exception", "5": "py:function", "6": "py:data"}, "terms": {"": [0, 1, 3, 7, 8, 10, 11, 12, 17, 18, 19, 20, 22, 23, 24, 25, 26], "0": [0, 8, 10, 18, 19, 20], "0a0": 0, "0eb3d26": 0, "0x00005610f2a36300": 24, "0x00005610f2f3ddc0": 3, "0x00005610f2f602c0": 23, "0x00005610f3131070": 24, "0x00007fd23f493db0": 24, "0x00007fd23f493df0": 24, "0x00007fd23f493e30": 24, "0x00007fd23f493e70": 24, "0x00007fd23f4a1070": 24, "0x00007fd23f4a10b0": 24, "0x00007fd23f4a10f0": 24, "0x00007fd23f4a1130": 24, "0x00007fd23f4a1170": 24, "0x00007fd23f4a11b0": 24, "0x00007fd23fcac1b0": 24, "0x00007fd24c0f1bb0": 3, "0x00007fd24c0f1eb0": 3, "0x00007fd24c0f22f0": 3, "0x00007fd24c0f2430": 3, "0x00007fd24c0f2eb0": 3, "0x00007fd24c0f3ef0": 3, "0x00007fd24c0f3f70": 3, "0x00007fd24ea45830": 23, "0x00007fd24ea459b0": 23, "0x00007fd24ea45f70": 23, "0x00007fd24ea46130": 23, "0x00007fd24ea463f0": 23, "0x00007fd24ea46e30": 23, "0x00007fd24ea47af0": 23, "0x00007fd24ea47f70": 23, "0x00007fd24eb7f530": 23, "0x00007fd24ebd8670": 3, "0x00007fd24ebd86c0": 3, "0x00007fd24ebd8710": 3, "0x00007fd24ebd8760": 3, "0x00007fd24ebd87b0": 3, "0x00007fd24ef85200": 23, "0x00007fd24ef85250": 23, "0x00007fd24ef852a0": 23, "0x00007fd24ef852f0": 23, "0x00007fd24ef85340": 23, "0x00007fd24f419ab0": 3, "0x00007fd24f41a6f0": 3, "0x00007fd24f5d0c70": 3, "0x00007fd24fb3f5b0": [3, 23], "0x00007fd2514623e0": 23, "0x00007fd2514624f0": 24, "0x00007fd252315030": 24, "0x00007fd2525a4330": 24, "0x00007fd2528c8fb0": 24, "0x00007fd25297c3b0": [3, 23], "0x00007fd25297c3f0": [3, 23], "0x00007fd2529ccf30": [3, 23], "0x00007fd2529eb4b0": [3, 23], "0x00007fd253078eb0": [3, 23], "0x00007fd2536982a0": 24, "0x00007fd25373fba0": 24, "0x00007fd253743980": 24, "1": [0, 20], "10": 0, "101": 0, "103": 0, "104": 0, "106": 0, "107": 0, "108": 0, "10th": 0, "11": 0, "110": 0, "11th": 0, "12": 0, "124": 0, "125": 0, "128": 8, "138": 0, "13th": 0, "14th": 0, "15": 0, "151": 0, "157": 0, "158": 0, "162": 0, "169": 0, "16th": 0, "170": 0, "171": 0, "172": 0, "173": 0, "174": 0, "175": 0, "176": 0, "177": 0, "179": 0, "17th": 0, "180": 18, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "189": 0, "18th": 0, "190": 0, "192": 0, "194": 0, "195": 0, "196": 0, "197": 0, "199": 0, "19th": 0, "2": [0, 3, 18, 24], "200": 0, "202": 0, "2021": 0, "2022": 0, "2023": 0, "2024": 0, "2025": 0, "204": [0, 6], "205": 0, "206": 0, "207": 0, "208": 0, "209": 0, "20th": 0, "210": 0, "21st": 0, "22nd": 0, "23rd": 0, "244": 0, "24th": 0, "254": 0, "25th": 0, "269": 0, "26th": 0, "27th": 0, "282": 0, "28th": 0, "29": 0, "295": 0, "2nd": 0, "3": [0, 24], "30": 0, "300": [3, 23], "302": 0, "303": 0, "304": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "4000": [3, 23], "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 3, 12, 23], "500": [3, 23], "524288": 24, "54": 0, "56": 0, "561": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "637136429717389331": [3, 23], "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "6th": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "90001": [0, 13], "91": 0, "93": 0, "94630790259456": 24, "94630795533760": 3, "94630795674304": 23, "94630797578352": 24, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 23, 24, 26], "As": 0, "Be": 0, "For": 17, "If": [3, 6, 10, 12, 17, 18, 19, 22, 23, 26], "In": [3, 23], "It": [3, 7, 19, 23], "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 20, 21, 23, 24, 26], "These": [3, 23], "To": [1, 3, 20], "_": 0, "__annotations__": 17, "__args__": [3, 23, 24], "__call__": [7, 8], "__class_vars__": [2, 3, 7, 23, 24], "__contains__": [7, 26], "__dict__": 17, "__doc__": 17, "__enter__": [7, 19], "__exit__": [7, 19], "__fields__": [3, 23, 24], "__get_pydantic_json_schema__": [3, 23, 24], "__global__": 17, "__init__": [0, 2, 3, 4, 6, 7, 8, 10, 12, 13, 14, 16, 18, 19, 23, 24, 26], "__module__": 17, "__name__": 17, "__origin__": [3, 23, 24], "__parameters__": [3, 23, 24], "__private_attributes__": [2, 3, 7, 23, 24], "__pydantic_complete__": [2, 3, 7, 23, 24], "__pydantic_computed_fields__": [2, 3, 7, 23, 24], "__pydantic_core_schema__": [2, 3, 7, 23, 24], "__pydantic_custom_init__": [2, 3, 7, 23, 24], "__pydantic_decorators__": [2, 3, 7, 23, 24], "__pydantic_extra__": [2, 3, 7, 23, 24], "__pydantic_fields__": [2, 3, 7, 23, 24], "__pydantic_fields_set__": [2, 3, 7, 23, 24], "__pydantic_generic_metadata__": [2, 3, 7, 23, 24], "__pydantic_parent_namespace__": [2, 3, 7, 23, 24], "__pydantic_post_init__": [2, 3, 7, 23, 24], "__pydantic_private__": [2, 3, 7, 23, 24], "__pydantic_serializer__": [2, 3, 7, 23, 24], "__pydantic_validator__": [2, 3, 7, 23, 24], "__qualname__": 17, "__root_validators__": [3, 23, 24], "__signature__": [2, 3, 7, 23, 24], "__str__": [3, 6], "__validators__": [3, 23, 24], "_decor": [3, 23, 24], "_exc_tb": 19, "_exc_typ": 19, "_exc_val": 19, "_gener": [3, 23, 24], "_guild_avail": 0, "_p": 17, "_r": 17, "_transport": 0, "abc": [0, 13, 14], "abl": 0, "about": [3, 12, 23, 24], "abstract": [0, 14, 15], "abstractcommanderrorhandl": [0, 7, 13, 14, 15], "abstracteventloop": [4, 26], "accept": [17, 18], "access": 18, "acquir": 19, "across": [0, 3, 20, 23], "act": 7, "action": 0, "activ": 19, "actual": 0, "ad": [0, 1, 3, 7, 18, 20, 23], "add": [0, 3, 10, 12, 23], "add_cog": [2, 3], "add_command": [2, 3], "add_lin": [2, 3, 7, 23], "add_rol": 21, "addit": 0, "after": [0, 3, 18, 23, 26], "again": 1, "aid": [3, 23], "aiodn": 0, "aiohttp": [0, 3, 6, 24], "alia": [3, 7, 12, 23, 24], "alias": [3, 7], "alias_pi": [3, 23, 24], "all": [0, 1, 3, 4, 7, 14, 16, 19, 20, 26], "all_command": 3, "all_extens": [2, 3], "allow": [0, 1, 3, 18, 22, 23, 24], "allow_mod": 22, "allowed_emoji": 22, "allowed_rol": [0, 1, 3, 18, 22, 23], "allowed_us": [0, 18, 22], "alpha": 0, "alreadi": [3, 23, 26], "also": [0, 3, 7, 17, 18, 19, 23], "alwai": 10, "among": 19, "amount": [3, 23], "an": [0, 1, 3, 4, 6, 7, 8, 9, 10, 14, 15, 17, 19, 20, 23, 24, 26], "ani": [3, 6, 10, 17, 19, 23, 24, 25, 26], "annot": [3, 17, 23, 24], "anymor": [3, 23], "anyth": [1, 24], "api": [0, 3, 6, 21], "api_cli": [0, 2, 3], "apicli": [0, 2, 3, 6], "app": [0, 3, 14, 15], "appear": 3, "append": [3, 23], "appli": [3, 7, 8, 10, 12, 19, 23, 24], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 17, 18, 22, 23, 24, 25], "arg": [3, 12, 17, 19, 20, 23, 24], "arg_offset": 8, "args_preprocessor": 12, "argument": [6, 7, 8, 11, 12, 17, 19, 20, 21], "around": 6, "assign": 17, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21, 23, 24], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 26], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 19, 21, 23], "attr": 0, "attribut": [0, 3, 7, 17, 23, 24], "august": 0, "authent": 6, "author": [3, 10, 22, 23], "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 3, 23, 24], "avail": [0, 3, 14, 16, 19], "avoid": [0, 3, 23], "await": [0, 3, 12, 18, 19, 21, 23], "awar": [0, 26], "back": 0, "backslash": 0, "backtick": [3, 23], "bad": 0, "badargu": 11, "base": [0, 3, 4, 6, 8, 10, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 26], "basemodel": [3, 23, 24], "basic": [0, 18], "becaus": [3, 17], "becom": [3, 19], "been": [0, 3], "befor": [0, 3, 10, 18, 19, 23, 26], "before_invok": 10, "behav": 17, "behavior": 10, "behaviour": [0, 3], "being": [0, 7, 10, 21], "belong": 3, "below": [1, 19], "best": [3, 23], "between": [0, 1, 17], "bind": [3, 17], "block": [0, 3, 12, 23, 25], "block_duplicate_invoc": [3, 7, 12], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 10, 12, 14, 15, 18, 19, 22, 23, 24, 26], "bot": [0, 1, 3, 7, 9, 22], "bot_token": 1, "botbas": [0, 2, 3], "both": [0, 1, 3, 24], "bound": [3, 23, 24], "boundari": [3, 23], "break": [0, 3, 17, 23], "broke": 0, "buckettyp": 10, "bug": 0, "build": [3, 23, 24], "bump": 0, "button": [0, 18], "buttonstyl": 18, "bypass": 10, "bypass_rol": 10, "byte": 24, "cach": [0, 3, 7, 9, 21], "cache_str": [3, 23, 24], "calcul": 26, "call": [0, 3, 12, 17, 26], "call_without_cooldown": [7, 12], "callabl": [8, 10, 12, 17, 19, 21], "callback": [7, 10, 18], "can": [0, 1, 3, 10, 18, 19, 20, 23, 26], "cancel": [7, 26], "cancel_al": [7, 26], "cannot": [0, 3, 19, 23], "capabl": [14, 16], "captur": [0, 17, 25], "carri": 18, "case": [0, 3, 23], "categori": [9, 10], "category_id": 9, "caus": [3, 7, 23], "certain": [0, 1], "chang": [0, 1, 3, 17, 23], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 10, 12], "channel_id": 9, "charact": [0, 3, 23], "chardet": 0, "check": [0, 3, 6, 7, 9, 12, 13, 18, 22, 26], "checkfailur": 10, "choos": [14, 16], "chunk": 0, "ci": 0, "cl": [3, 23, 24], "class": [0, 3, 4, 6, 8, 12, 14, 15, 16, 18, 19, 20, 23, 24, 26], "classmethod": [3, 23], "classvar": [3, 23, 24], "clean": [0, 11], "clean_text_or_repli": [3, 7, 11], "clear": [2, 3, 7, 8, 19], "click": 18, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 24], "close": [0, 2, 3, 6, 26], "cloudflar": 7, "code": [0, 1, 3, 6, 19, 23, 25], "codepoint": [3, 23], "coerce_numbers_to_str": [3, 23, 24], "cog": [0, 3, 5], "collect": 10, "collis": 19, "com": [0, 24], "comma": 1, "command": [0, 1, 3, 7, 9, 10, 12, 13, 15, 16, 17, 19, 23], "command_wrap": [3, 7, 17], "commanderror": 12, "commanderrormanag": [0, 7, 13, 14, 16], "commandinvokeerror": 0, "commandoncooldown": [3, 7, 12], "commit": 0, "common": [0, 1, 3, 7, 20, 25], "commun": [3, 4], "complet": [3, 23, 24], "complianc": 0, "compos": 1, "comput": [3, 23, 24], "computed_field": [3, 23, 24], "computedfield": [3, 23, 24], "computedfieldinfo": [3, 23, 24], "concurr": 0, "config": [0, 3, 23, 24], "configdict": [3, 23, 24], "configur": [1, 3, 23, 24], "conflict": 17, "conform": [3, 23, 24], "connect": [0, 3, 4], "connector": 3, "constructor": [3, 6], "contain": [1, 3, 10, 18, 23, 24, 26], "content": [0, 3, 11, 23, 24], "context": [3, 10, 11, 14, 15, 19, 23], "context_or_interact": [14, 16], "contextcheckfailur": [3, 7, 10], "continu": [3, 23], "control": 0, "cooldown": [3, 7, 10], "cooldown_dur": 12, "cooldown_with_role_bypass": [3, 7, 10], "copi": [1, 17], "copy_default": [3, 23, 24], "core": [0, 1, 23, 24], "coreschema": [3, 23, 24], "coro": [19, 21, 26], "coroutin": [8, 19, 21, 26], "correct": [0, 1], "correspond": [3, 23, 24], "could": [0, 21], "count": 19, "cover": 0, "crash": 0, "creat": [0, 3, 4, 8, 12, 17, 23, 26], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 26], "creation": 0, "criteria": 0, "ctx": [3, 10, 11, 18, 23], "current": [0, 3, 19, 23, 26], "custom": [0, 3, 8, 20, 23, 24], "custom_init": [3, 23, 24], "customlogg": [3, 7, 20], "cut": 0, "d": [1, 17], "dai": 0, "data": [3, 23, 24], "datetim": 26, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 3, 8, 10, 12, 17, 19, 23, 24], "decorator_func": 17, "decoratorinfo": [3, 23, 24], "decrement": 19, "default": [0, 1, 3, 10, 14, 16, 17, 23, 24], "defin": [3, 23, 24], "definit": [3, 23, 24], "delai": 26, "delet": [0, 3, 6, 8, 18, 23, 24], "deletemessagebutton": [0, 3, 7, 18], "depend": [0, 9], "deprec": 0, "describ": 10, "detail": 17, "detect": 0, "determin": [14, 15, 16], "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [3, 6, 17, 23, 24], "dictat": 0, "dictionari": [3, 23, 24], "did": 0, "directli": [0, 17], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 11, 13, 14, 16, 17, 21, 23, 25], "discord_invit": [0, 3, 7, 25], "disnak": 0, "distinguish": 26, "django": 6, "dm": 10, "do": [0, 1, 9, 19], "doc": [0, 19], "docker": 1, "docstr": 0, "document": 0, "doe": [0, 17], "doesn": [3, 10, 26], "don": [0, 10, 26], "done": [3, 18, 23, 26], "drop": 0, "due": 0, "dummi": [0, 3], "dump": [3, 23, 24], "duplic": [0, 12], "durat": 10, "dure": [3, 23, 24], "dynam": 0, "e": [3, 23], "each": [0, 3, 23], "edg": 0, "edit": 3, "effort": [3, 23], "either": [0, 3], "els": 11, "elsewher": 26, "emb": [0, 3, 23], "emit": 3, "emoji": [0, 3, 22, 23], "empti": [3, 23], "emptypaginatorembederror": [2, 3, 7, 23], "enabl": [0, 1], "encount": 24, "end": [3, 23], "endpoint": 6, "ensur": [0, 3, 18, 25], "entir": [0, 3], "env": 1, "environ": [0, 1], "equival": 6, "error": [0, 3, 6, 7, 13, 14, 15, 16, 21, 24], "error_handl": [0, 3, 7], "etc": [1, 10], "evalu": 17, "even": 22, "event": [0, 3, 4, 19, 26], "event_loop": 26, "eventu": [3, 23, 24], "everi": [3, 23], "exact": 1, "exampl": [3, 23], "exc_info": 20, "exce": [3, 8, 23], "exceed": [3, 23], "except": [3, 6, 10, 12, 14, 16, 17, 19, 20, 23, 24, 26], "exception_on_empty_emb": [3, 23], "excess": [3, 23], "exclud": [3, 23, 24], "exclus": 19, "execut": [19, 26], "exist": [0, 1, 26], "exit": 19, "expect": 21, "expiri": 0, "explain": 0, "explicitli": [3, 23, 24], "expos": 19, "express": 25, "ext": [0, 2, 3, 7, 9, 10, 11, 23], "extend": 0, "extens": [0, 3], "extra": [0, 3, 6, 23, 24], "extra_behavior": [3, 23, 24], "extra_seri": [3, 23, 24], "extract": 0, "extras_valid": [3, 23, 24], "facilit": 0, "fail": [9, 10, 24], "fail_sil": 10, "failur": 21, "fakeredi": 0, "fals": [3, 10, 12, 19, 23, 24], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 21], "few": 1, "field": [3, 23, 24], "field_seri": [3, 23, 24], "field_valid": [3, 23, 24], "fieldinfo": [3, 23, 24], "fifo": 8, "file": [0, 1, 24], "filter": [0, 3, 23, 24], "finish": [3, 19, 23], "first": [3, 14, 16, 23], "five": [3, 23], "fix": 0, "float": [10, 12, 18, 26], "folder": 1, "footer": [3, 23], "footer_text": [3, 23], "forbidden": [0, 9, 13], "format": [24, 25], "formatt": 20, "formatted_code_regex": [3, 7, 25], "forum": 0, "forwardref": 17, "found": [3, 17, 21, 26], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 17, 18, 21, 23, 24, 26], "from_attribut": [3, 23, 24], "frozen": [3, 23, 24], "frozenset": [3, 17], "func": [17, 19], "function": [0, 3, 7, 8, 9, 12, 19, 20, 21, 23, 26], "functool": 17, "futur": [10, 26], "g": [3, 23], "gatewai": 3, "gener": [0, 3, 12, 23, 24, 26], "generalfieldsseri": [3, 23, 24], "generic_origin": [3, 23, 24], "get": [0, 3, 6, 9, 17, 21], "get_arg_valu": [3, 7, 17], "get_arg_value_wrapp": [3, 7, 17], "get_bound_arg": [3, 7, 17], "get_logg": [3, 7, 20], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 21], "git": 1, "github": 0, "give": 3, "given": [0, 3, 4, 7, 9, 11, 17, 19, 20, 21, 26], "global": 17, "globalnameconflicterror": [3, 7, 17], "go": [1, 3, 19, 23], "greater": 24, "groundwork": 1, "group": [7, 25], "guild": [0, 1, 3, 10, 21], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 2, 3], "guildchannel": 9, "ha": [0, 3, 7, 10, 18, 23, 24], "handl": [0, 13, 14, 15, 16, 21, 26], "handle_app_command_error": [13, 14, 15], "handle_error": [13, 14, 16], "handle_forbidden_from_block": [3, 7, 13], "handle_role_chang": [0, 3, 7, 21], "handle_text_command_error": [13, 14, 15], "handler": [0, 3, 14, 15, 16], "happen": 3, "has_any_role_check": [3, 7, 10], "has_extra": [3, 23, 24], "has_no_roles_check": [3, 7, 10], "hashabl": [19, 26], "have": [0, 9, 10, 17, 20], "heavi": 7, "help": [0, 1], "helper": [0, 9, 12, 21], "hold": [3, 19, 23], "holder": 19, "hook": 0, "host": 4, "houston": 20, "how": [0, 8, 10, 17, 26], "howev": 1, "http": [0, 3, 6, 24, 25], "http_session": [2, 3, 24], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 10, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "icon": [3, 23], "icon_url": [3, 23], "id": [1, 3, 7, 9, 10, 18, 19, 23, 26], "identifi": [19, 26], "ignor": [1, 3, 7, 17, 22, 23, 24], "ignored_conflict_nam": 17, "immedi": 26, "implement": [0, 3, 4, 8, 18, 20], "import": 0, "in_whitelist": 10, "in_whitelist_check": [3, 7, 10], "inadequ": 3, "includ": [0, 1, 3, 13, 23, 24], "incorrect": 0, "increment": 19, "independantli": 0, "index": 2, "indic": [3, 21, 23], "individu": 3, "info": [0, 1], "inform": [2, 19, 20], "init": [0, 3, 4, 23, 24], "initi": [6, 26], "initialis": [3, 8], "input": 18, "insert": [3, 23], "insid": [3, 23], "inspect": [3, 23, 24], "instal": [0, 1], "instanc": [0, 3, 6, 8, 9, 10, 20, 23, 24, 26], "instanti": [3, 18, 23, 24, 26], "instead": [3, 12, 26], "int": [3, 4, 8, 9, 10, 17, 18, 23, 24], "intend": 21, "intent": 1, "interact": [0, 3, 7, 9, 14, 15, 23], "interactin": 21, "interaction_check": [7, 18], "interest": 20, "intern": [3, 7, 19], "intersphinx": 0, "introduc": 10, "invalid": 9, "invaliddata": 9, "invit": [0, 25], "invoc": [0, 12], "invok": [1, 10, 12, 18], "inwhitelistcheckfailur": [3, 7, 10], "is_in_categori": [3, 7, 9], "isn": [0, 13, 17], "issu": 10, "item": 8, "iter": [10, 12, 14, 16], "its": [0, 3, 12, 17], "itself": 18, "januari": 0, "json": 6, "juli": 0, "june": 0, "just": 0, "keep": [3, 23, 26], "kei": [3, 8, 23, 24], "key_pi": [3, 23, 24], "keyword": [6, 7, 17, 20], "known": 26, "kwarg": [3, 6, 12, 17, 18, 20, 26], "label": [0, 18], "lancebot": 1, "larg": 24, "larger": 24, "last": [3, 10, 18, 23], "latest": 0, "lead": 0, "least": 10, "left": [3, 23], "length": [3, 12, 23], "level": [0, 7, 20], "lexer": [0, 24], "librari": [0, 1], "like": [1, 17], "limit": [3, 23], "line": [3, 23], "linepagin": [0, 2, 3, 7, 23], "linesep": [3, 23], "link": 24, "lint": 0, "list": [0, 1, 3, 18, 23, 24], "listen": 18, "liter": [3, 23, 24], "ll": [1, 26], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": [3, 23, 24], "local": 2, "localhost": 4, "lock": [0, 3, 7], "lock_arg": [3, 7, 19], "lockedresourceerror": [3, 7, 19], "log": [0, 3, 7, 13, 21, 26], "log_format": [0, 3, 7, 20], "log_to_dev_log": [2, 3], "logger": [0, 20], "logic": 0, "long": [10, 24, 26], "longer": [0, 18], "look": [17, 26], "lookup_kei": [3, 23, 24], "lookuppath": [3, 23, 24], "loop": [4, 26], "lot": 0, "lru": 8, "lua": 0, "lupa": 0, "m": 1, "machin": 1, "made": [0, 22], "mai": [0, 3, 8, 19, 23, 24], "main": 0, "make": [0, 1, 3, 20, 23], "manag": [0, 3, 13, 14, 19], "mani": [0, 3, 8], "manipul": [0, 17], "manual": 3, "map": [17, 19], "march": 0, "mark": 0, "match": [0, 3, 17], "max": 24, "max_length": 24, "max_lin": [3, 23], "max_paste_s": [3, 7, 24], "max_siz": [3, 8, 23, 24], "maximum": [3, 8, 23, 24], "maybe_raise_for_statu": [3, 6], "mean": 1, "meant": 0, "member": [0, 3, 7, 18], "member_id": 21, "mention": [1, 3], "messag": [0, 3, 7, 11, 12, 13, 18, 20, 23, 26], "message_id": 22, "message_typ": 0, "metadata": [3, 23, 24], "method": [0, 3, 4, 6, 7, 20, 23, 24], "metric": 3, "might": [1, 3, 10], "migrat": 0, "minut": [3, 23], "miss": 0, "mod": 0, "mode": [3, 23, 24], "model": [3, 23, 24], "model_config": [2, 3, 7, 23, 24], "model_nam": [3, 23, 24], "model_post_init": [3, 23, 24], "model_seri": [3, 23, 24], "model_valid": [3, 23, 24], "modelfield": [3, 23, 24], "modelfieldsvalid": [3, 23, 24], "modelprivateattr": [3, 23, 24], "modelseri": [3, 23, 24], "modelvalid": [3, 23, 24], "moder": [3, 18, 22, 23], "modifi": [1, 21], "modul": [0, 3, 7, 17, 23, 24, 26], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [0, 1, 3, 17, 19, 23], "most": 1, "move": 0, "msg": 20, "multipl": 0, "multivers": 0, "must": [0, 17, 19, 26], "mutual": 19, "mypi": 20, "n": [3, 23], "name": [3, 7, 17, 19, 20, 23, 24, 26], "name_or_po": [17, 19], "name_pi": [3, 23, 24], "namespac": [0, 3, 19, 23, 24, 26], "navig": [0, 1, 3, 23], "na\u00efv": 26, "need": [0, 1, 3, 23], "never": [3, 23, 24], "new": [0, 1, 3, 4, 6, 8, 17, 23, 26], "newer": 0, "newli": 0, "next": [3, 23], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "noreturn": [14, 15], "normal": 3, "notabl": 0, "note": [0, 10], "notfound": 9, "notic": 0, "notifi": 12, "novemb": 0, "now": [0, 1, 26], "number": [0, 3, 10, 23, 24], "object": [3, 6, 7, 8, 9, 12, 14, 16, 19, 21, 23, 24, 26], "occur": 18, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": [3, 23, 24], "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 18], "onc": [0, 3, 8], "one": [0, 3, 10, 14, 16, 23], "ones": 1, "onli": [0, 3, 18], "onto": [3, 23], "oper": [3, 19, 23, 26], "option": [0, 8, 17, 19], "order": [3, 8, 14, 16, 17, 19, 23, 26], "ordereddict": [17, 19], "origin": [0, 3, 18, 23, 24], "other": [0, 1, 19, 26], "otherwis": [10, 19, 26], "our": [0, 1, 7], "out": [0, 1, 3, 18], "output": 25, "over": [0, 3, 23], "overflow": [3, 23], "overli": 0, "overrid": [3, 23], "overwrit": [0, 3], "own": [0, 17], "p": [3, 7, 12], "packag": [0, 3, 7], "page": [2, 3, 23], "pagin": [0, 2, 3, 7], "pagination_emoji": [3, 23], "paginationemoji": [2, 3, 7, 23], "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 19, 20, 21, 23, 24, 26], "paramspec": [12, 17], "parent": [0, 3, 18, 23, 24], "pars": 25, "pass": [0, 3, 6, 17, 20, 21, 26], "past": [0, 24, 26], "paste_servic": [0, 3, 7], "paste_url": 24, "pastebin": 0, "pastefil": [0, 3, 7, 24], "pasterespons": [3, 7, 24], "pastetoolongerror": [3, 7, 24], "pasteunsupportedlexererror": [3, 7, 24], "pasteuploaderror": [3, 7, 24], "patch": [0, 3, 6, 7], "path": [1, 3, 23, 24], "pattern": 25, "pep": 0, "per": [3, 10, 23], "perform": 19, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "place": [3, 23], "pleas": 25, "pluggableschemavalid": [3, 23, 24], "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": [8, 17, 19], "possibl": 1, "post": [3, 6, 23, 24], "post_init": [3, 23, 24], "pre": 1, "predic": [0, 14, 15], "prefix": [1, 3, 4, 23], "prematur": 26, "press": 0, "prevent": [12, 19, 26], "previous": 0, "prioriti": [14, 16], "privat": [3, 23, 24], "privatechannel": [0, 9], "problem": [10, 20], "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 20], "protocol": 0, "provid": [0, 1, 3, 8, 11, 13, 23, 26], "public": 0, "publish": 0, "purpos": [3, 21, 23, 24], "push": 0, "put": [3, 6], "py": [0, 3, 17, 23, 24], "py_kei": [3, 23, 24], "pydant": [0, 3, 23, 24], "pydantic_js_funct": [3, 23, 24], "pydanticgenericmetadata": [3, 23, 24], "pydi": [0, 2], "pydis_cor": [0, 1, 3, 18, 20, 23, 24], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 24, 26], "pythondiscord": [0, 24], "qualifi": 7, "quot": 25, "r": [3, 7, 12], "rais": [3, 6, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21, 23, 24, 26], "raise_error": 19, "raise_for_statu": 6, "rate": 10, "rather": 7, "raw": [12, 25], "raw_code_regex": [3, 7, 25], "rc2": 0, "re": [1, 3, 13, 22, 26], "reach": 19, "reaction": [0, 3, 22, 23], "reaction_check": [0, 3, 7, 22], "read": 0, "readi": 3, "real": 0, "reason": [3, 23], "rebuild": [3, 23, 24], "receiv": [0, 6, 9], "recognis": 20, "reconnect": 0, "redi": [0, 3], "redirect": 10, "redirect_channel": 10, "redis_sess": [2, 3], "rediscach": 0, "redissess": 3, "ref": [3, 23, 24], "refer": 0, "referenc": 0, "reflect": 17, "regex": [0, 3, 7], "regist": [0, 14, 16], "register_command_error_manag": [2, 3], "register_handl": [13, 14, 16], "registr": [3, 14, 16], "regular": 25, "reinstal": 1, "reject": 24, "relat": [8, 14, 16, 20], "releas": 0, "relev": 3, "reli": 0, "remain": [3, 23], "remov": [0, 3, 18, 22, 23, 24], "remove_command": [2, 3], "remove_rol": 21, "renam": 0, "replac": [3, 10, 17, 23, 24], "repli": [3, 11, 12, 13, 23], "repo": 0, "represent": 6, "request": [0, 3, 6, 25], "requir": [0, 1, 3, 23, 24, 26], "required_field": [3, 23, 24], "resolut": 0, "resolv": [3, 17], "resourc": 19, "resource_id": 19, "resource_typ": 19, "respons": [0, 6, 24], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "restrict": [0, 3, 23], "restrict_to_us": [3, 23], "result": [0, 26], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "reusabl": 5, "revalid": [3, 23, 24], "revert": 0, "right": [0, 3, 23], "role": [0, 1, 3, 10, 18, 21, 22, 23], "root": [1, 3, 7], "root_alias": 7, "root_model": [3, 23, 24], "root_valid": [3, 23, 24], "rout": 7, "ruff": 0, "rule": 0, "run": [0, 1, 12, 19, 26], "runtimeerror": 19, "safe": 0, "same": [12, 26], "sampl": 0, "sanitis": 25, "save": [0, 3, 24], "scale": [3, 23], "scale_to_s": [3, 23], "schedul": [0, 3, 7], "schedule_at": [7, 26], "schedule_lat": [7, 26], "schema": [3, 23, 24], "schemafilt": [3, 23, 24], "schemaseri": [3, 23, 24], "schemavalid": [3, 23, 24], "script": 0, "search": 2, "second": [3, 10, 12, 18, 23, 26], "secondari": 18, "see": [0, 1, 17, 18, 19], "self": [0, 3, 18], "send": [0, 3, 6, 18, 23], "send_notic": 12, "send_to_paste_servic": [0, 3, 7, 24], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [3, 7, 17, 18, 23], "serfield": [3, 23, 24], "serial": [3, 23, 24], "serv": [3, 23], "server": [3, 25], "servic": [0, 1, 3, 24], "session": [0, 3, 6, 24], "session_kwarg": 6, "set": [0, 1, 3, 12, 17, 18, 19, 23, 24], "set_author": [3, 23], "setup": [0, 3], "setup_hook": [2, 3], "sever": 20, "share": [0, 17], "sharedev": [3, 7, 19], "should": [0, 1, 3, 6, 14, 15, 18, 23, 24], "should_handle_error": [13, 14, 15, 16], "should_rais": 6, "signatur": [3, 12, 23, 24], "silent": 10, "similar": [3, 18, 23, 24, 25], "simpl": [3, 23, 24], "simpledict": [3, 23, 24], "sinc": 10, "singl": [0, 3, 23], "sir": 1, "site": [0, 3, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [3, 8, 23, 24], "slash": 0, "so": [0, 1, 3, 7], "socket": 4, "sole": 21, "some": [0, 3, 23, 24], "someth": 25, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "specif": [0, 10], "specifi": [0, 10, 12, 18], "sphinx": 0, "split": 0, "stabl": 0, "standardis": [0, 20], "start": [0, 3, 26], "startup": 3, "startuperror": [2, 3], "stat": [0, 2, 3, 4], "state": 17, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 2, 3], "step": 1, "still": [3, 23, 24], "stop": [0, 7, 18], "store": [0, 3, 7, 8, 23], "str": [3, 4, 6, 7, 10, 11, 17, 18, 19, 20, 23, 24, 26], "strict": [0, 3, 23, 24], "string": [0, 6], "strserial": [3, 23, 24], "strvalid": [3, 23, 24], "style": 18, "sub": [0, 3], "submodul": [2, 13], "subpackag": 2, "subtract": 26, "success": [0, 24], "suffix": [3, 23], "suggest": 26, "support": [0, 4, 7, 26], "suppressed_except": 26, "sure": 1, "switch": [3, 23], "sync": [0, 3], "sync_app_command": 3, "synthes": [3, 23, 24], "system": [0, 1, 14, 16], "t": [0, 3, 10, 11, 13, 17, 19, 26], "target": [0, 8], "task": [0, 26], "task_id": 26, "task_return": 26, "templat": 1, "test": 2, "text": [0, 3, 6, 11, 14, 15, 23, 24], "textchannel": 9, "than": [7, 24], "thei": [3, 17, 22], "them": [1, 3, 17, 26], "thi": [0, 1, 3, 7, 9, 10, 12, 17, 18, 19, 21, 23, 24, 25, 26], "thread": [0, 9], "three": [3, 23], "through": [14, 16, 19], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 10, 26], "timeout": [0, 3, 18, 23], "timezon": 26, "titl": [3, 23, 24], "token": [1, 6], "toml": [0, 1], "too": 24, "tool": [3, 7], "top": 7, "total": [3, 23], "trace": [0, 7, 20], "track": 26, "transport": 4, "trashcan": [3, 23], "tree": 3, "trigger": 10, "true": [3, 6, 10, 12, 19, 20, 22, 23, 24, 26], "truncat": [3, 23], "tupl": [17, 26], "turn": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "type_": 10, "typeerror": [10, 17], "typehint": 17, "typevar": [12, 17, 26], "u": [0, 3, 23], "ui": 18, "unavail": 3, "unawait": 26, "undefin": [3, 23, 24], "under": 7, "underli": 19, "union": 10, "uniqu": 26, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 26, "unsupport": 24, "unti": [3, 23], "until": [0, 3, 19, 25], "up": [0, 1, 3, 23], "updat": [0, 17], "update_wrapper_glob": [3, 7, 17], "upload": [0, 24], "upon": 0, "url": [0, 3, 6, 23, 24], "urllib": 25, "us": [0, 1, 3, 4, 6, 7, 9, 10, 12, 17, 19, 20, 21, 23, 24, 25, 26], "usag": 0, "user": [0, 3, 10, 12, 18, 22, 23], "user_has_access": [0, 3, 7, 18], "utc": 26, "util": [0, 1, 2, 3, 8, 17, 18, 20, 23, 24], "v1": [0, 3, 23, 24], "valid": [0, 3, 23, 24], "validate_default": [3, 23, 24], "valu": [3, 12, 17, 19, 20, 23, 24], "valueerror": [6, 17, 24], "vari": 1, "variabl": [1, 3, 23, 24], "variou": [0, 9], "verifi": 10, "version": [0, 11], "view": [0, 18], "viewwithuserandrolecheck": [0, 3, 7, 18], "wa": [0, 9, 10, 26], "wait": [0, 3, 7, 19, 26], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 26], "wasn": 11, "we": [20, 21], "websocket": 0, "were": 3, "what": 1, "when": [0, 3, 4, 6, 7, 8, 10, 12, 17, 19, 23, 24, 26], "where": 10, "whether": [0, 3, 6, 9, 10, 14, 15, 18, 23, 24], "which": [0, 1, 3, 7, 10, 12, 17, 19, 23, 26], "while": [3, 12, 19, 23], "whitelist": 10, "whitespac": [0, 25], "who": [0, 18], "whom": [3, 23], "withdefault": [3, 23, 24], "withdefaultseri": [3, 23, 24], "withdefaultvalid": [3, 23, 24], "within": [0, 3], "without": [0, 10], "won": 17, "word": [3, 23], "work": [0, 1], "worker": 7, "workflow": 0, "would": [3, 23], "wrap": [8, 17, 26], "wrapper": [0, 6, 12, 17, 26], "write": [0, 1], "wrong": 0, "www": 0, "x": 0, "you": [0, 1, 9, 25], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "checks", "commands", "cooldown", "error_handling package", "commands package", "abc", "manager", "function", "interactions", "lock", "logging", "members", "messages", "pagination", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "abc": 15, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "check": 10, "command": [11, 14], "cooldown": 12, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 13, "ext": 5, "extra": 2, "function": 17, "interact": 18, "local": 1, "lock": 19, "log": 20, "manag": 16, "member": 21, "messag": 22, "modul": 2, "option": 1, "packag": [13, 14], "pagin": 23, "paste_servic": 24, "project": 2, "pydi": 3, "refer": 2, "regex": 25, "schedul": 26, "site_api": 6, "submodul": [3, 7, 14], "subpackag": [3, 7, 13], "test": 1, "util": 7}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Bot Core Project Documentation": [[2, null]], "Changelog": [[0, null]], "Extras": [[2, "extras"]], "Exts": [[5, null]], "Local Development & Testing": [[1, null]], "Modules:": [[2, null]], "Option 1": [[1, "option-1"]], "Option 2": [[1, "option-2"]], "Pydis Core": [[3, null]], "Reference": [[2, "reference"]], "Submodules": [[3, "submodules"], [7, "submodules"], [14, "submodules"]], "Subpackages": [[3, "subpackages"], [7, "subpackages"], [13, "subpackages"]], "Utils": [[7, null]], "abc": [[15, null]], "async_stats": [[4, null]], "caching": [[8, null]], "channel": [[9, null]], "checks": [[10, null]], "commands": [[11, null]], "commands package": [[14, null]], "cooldown": [[12, null]], "error_handling package": [[13, null]], "function": [[17, null]], "interactions": [[18, null]], "lock": [[19, null]], "logging": [[20, null]], "manager": [[16, null]], "members": [[21, null]], "messages": [[22, null]], "pagination": [[23, null]], "paste_service": [[24, null]], "regex": [[25, null]], "scheduling": [[26, null]], "site_api": [[6, null]]}, "docnames": ["changelog", "development", "index", "output/pydis_core", "output/pydis_core.async_stats", "output/pydis_core.exts", "output/pydis_core.site_api", "output/pydis_core.utils", "output/pydis_core.utils.caching", "output/pydis_core.utils.channel", "output/pydis_core.utils.checks", "output/pydis_core.utils.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.error_handling", "output/pydis_core.utils.error_handling.commands", "output/pydis_core.utils.error_handling.commands.abc", "output/pydis_core.utils.error_handling.commands.manager", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.lock", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "output/pydis_core.utils.messages", "output/pydis_core.utils.pagination", "output/pydis_core.utils.paste_service", "output/pydis_core.utils.regex", "output/pydis_core.utils.scheduling"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2}, "filenames": ["changelog.rst", "development.rst", "index.rst", "output/pydis_core.rst", "output/pydis_core.async_stats.rst", "output/pydis_core.exts.rst", "output/pydis_core.site_api.rst", "output/pydis_core.utils.rst", "output/pydis_core.utils.caching.rst", "output/pydis_core.utils.channel.rst", "output/pydis_core.utils.checks.rst", "output/pydis_core.utils.commands.rst", "output/pydis_core.utils.cooldown.rst", "output/pydis_core.utils.error_handling.rst", "output/pydis_core.utils.error_handling.commands.rst", "output/pydis_core.utils.error_handling.commands.abc.rst", "output/pydis_core.utils.error_handling.commands.manager.rst", "output/pydis_core.utils.function.rst", "output/pydis_core.utils.interactions.rst", "output/pydis_core.utils.lock.rst", "output/pydis_core.utils.logging.rst", "output/pydis_core.utils.members.rst", "output/pydis_core.utils.messages.rst", "output/pydis_core.utils.pagination.rst", "output/pydis_core.utils.paste_service.rst", "output/pydis_core.utils.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__class_vars__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__class_vars__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__class_vars__", false]], "__class_vars__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.__contains__", false]], "__enter__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__enter__", false]], "__exit__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__exit__", false]], "__init__() (apiclient method)": [[6, "pydis_core.site_api.APIClient.__init__", false]], "__init__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__init__", false]], "__init__() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.__init__", false]], "__init__() (botbase method)": [[3, "pydis_core.BotBase.__init__", false]], "__init__() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.__init__", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.__init__", false]], "__init__() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (contextcheckfailure method)": [[10, "pydis_core.utils.checks.ContextCheckFailure.__init__", false]], "__init__() (deletemessagebutton method)": [[18, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (linepaginator method)": [[3, "pydis_core.LinePaginator.__init__", false], [23, "pydis_core.utils.pagination.LinePaginator.__init__", false]], "__init__() (lockedresourceerror method)": [[19, "pydis_core.utils.lock.LockedResourceError.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__private_attributes__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__private_attributes__", false]], "__private_attributes__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_complete__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_complete__", false]], "__pydantic_complete__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_computed_fields__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_core_schema__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_custom_init__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_decorators__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_decorators__", false]], "__pydantic_decorators__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_extra__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_extra__", false]], "__pydantic_extra__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields__", false]], "__pydantic_fields__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields_set__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_generic_metadata__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_parent_namespace__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_post_init__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_post_init__", false]], "__pydantic_post_init__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_private__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_private__", false]], "__pydantic_private__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_serializer__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_serializer__", false]], "__pydantic_serializer__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_validator__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_validator__", false]], "__pydantic_validator__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__signature__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__signature__", false]], "__signature__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__signature__", false]], "__str__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__str__", false]], "abstractcommanderrorhandler (class in pydis_core.utils.error_handling.commands)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler", false]], "abstractcommanderrorhandler (class in pydis_core.utils.error_handling.commands.abc)": [[15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler", false]], "add_cog() (botbase method)": [[3, "pydis_core.BotBase.add_cog", false]], "add_command() (botbase method)": [[3, "pydis_core.BotBase.add_command", false]], "add_line() (linepaginator method)": [[3, "pydis_core.LinePaginator.add_line", false], [23, "pydis_core.utils.pagination.LinePaginator.add_line", false]], "all_extensions (botbase attribute)": [[3, "pydis_core.BotBase.all_extensions", false]], "api_client (botbase attribute)": [[3, "pydis_core.BotBase.api_client", false]], "apiclient (class in pydis_core.site_api)": [[6, "pydis_core.site_api.APIClient", false]], "apply_monkey_patches() (in module pydis_core.utils)": [[7, "pydis_core.utils.apply_monkey_patches", false]], "asynccache (class in pydis_core.utils.caching)": [[8, "pydis_core.utils.caching.AsyncCache", false]], "asyncstatsclient (class in pydis_core.async_stats)": [[4, "pydis_core.async_stats.AsyncStatsClient", false]], "block_duplicate_invocations() (in module pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[18, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[11, "pydis_core.utils.commands.clean_text_or_reply", false]], "clear() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.clear", false]], "clear() (botbase method)": [[3, "pydis_core.BotBase.clear", false]], "close() (apiclient method)": [[6, "pydis_core.site_api.APIClient.close", false]], "close() (botbase method)": [[3, "pydis_core.BotBase.close", false]], "command_wraps() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.command_wraps", false]], "commanderrormanager (class in pydis_core.utils.error_handling.commands)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager", false]], "commanderrormanager (class in pydis_core.utils.error_handling.commands.manager)": [[16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager", false]], "commandoncooldown": [[12, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "contextcheckfailure": [[10, "pydis_core.utils.checks.ContextCheckFailure", false]], "cooldown_with_role_bypass() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.cooldown_with_role_bypass", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[26, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.DISCORD_INVITE", false]], "emptypaginatorembederror": [[3, "pydis_core.EmptyPaginatorEmbedError", false], [23, "pydis_core.utils.pagination.EmptyPaginatorEmbedError", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.FORMATTED_CODE_REGEX", false]], "get() (apiclient method)": [[6, "pydis_core.site_api.APIClient.get", false]], "get_arg_value() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_arg_value", false]], "get_arg_value_wrapper() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_arg_value_wrapper", false]], "get_bound_args() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_bound_args", false]], "get_logger() (in module pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.get_logger", false]], "get_or_fetch_channel() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.get_or_fetch_channel", false]], "get_or_fetch_member() (in module pydis_core.utils.members)": [[21, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[17, "pydis_core.utils.function.GlobalNameConflictError", false]], "guild_id (botbase attribute)": [[3, "pydis_core.BotBase.guild_id", false]], "handle_app_command_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.handle_app_command_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.handle_app_command_error", false]], "handle_error() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.handle_error", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.handle_error", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[13, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[21, "pydis_core.utils.members.handle_role_change", false]], "handle_text_command_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.handle_text_command_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.handle_text_command_error", false]], "has_any_role_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.has_any_role_check", false]], "has_no_roles_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.has_no_roles_check", false]], "http_session (botbase attribute)": [[3, "pydis_core.BotBase.http_session", false]], "id (lockedresourceerror attribute)": [[19, "pydis_core.utils.lock.LockedResourceError.id", false]], "in_whitelist_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.in_whitelist_check", false]], "interaction_check() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "inwhitelistcheckfailure": [[10, "pydis_core.utils.checks.InWhitelistCheckFailure", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "linepaginator (class in pydis_core)": [[3, "pydis_core.LinePaginator", false]], "linepaginator (class in pydis_core.utils.pagination)": [[23, "pydis_core.utils.pagination.LinePaginator", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "lock() (in module pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.lock", false]], "lock_arg() (in module pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.lock_arg", false]], "lockedresourceerror": [[19, "pydis_core.utils.lock.LockedResourceError", false]], "log_format (in module pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.log_format", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "max_paste_size (in module pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.MAX_PASTE_SIZE", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", false]], "model_config (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_config", false], [23, "pydis_core.utils.pagination.PaginationEmojis.model_config", false]], "model_config (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "module": [[3, "module-pydis_core", false], [4, "module-pydis_core.async_stats", false], [5, "module-pydis_core.exts", false], [6, "module-pydis_core.site_api", false], [7, "module-pydis_core.utils", false], [8, "module-pydis_core.utils.caching", false], [9, "module-pydis_core.utils.channel", false], [10, "module-pydis_core.utils.checks", false], [11, "module-pydis_core.utils.commands", false], [12, "module-pydis_core.utils.cooldown", false], [13, "module-pydis_core.utils.error_handling", false], [14, "module-pydis_core.utils.error_handling.commands", false], [15, "module-pydis_core.utils.error_handling.commands.abc", false], [16, "module-pydis_core.utils.error_handling.commands.manager", false], [17, "module-pydis_core.utils.function", false], [18, "module-pydis_core.utils.interactions", false], [19, "module-pydis_core.utils.lock", false], [20, "module-pydis_core.utils.logging", false], [21, "module-pydis_core.utils.members", false], [22, "module-pydis_core.utils.messages", false], [23, "module-pydis_core.utils.pagination", false], [24, "module-pydis_core.utils.paste_service", false], [25, "module-pydis_core.utils.regex", false], [26, "module-pydis_core.utils.scheduling", false]], "on_guild_available() (botbase method)": [[3, "pydis_core.BotBase.on_guild_available", false]], "on_guild_unavailable() (botbase method)": [[3, "pydis_core.BotBase.on_guild_unavailable", false]], "on_timeout() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.P", false]], "paginate() (linepaginator class method)": [[3, "pydis_core.LinePaginator.paginate", false], [23, "pydis_core.utils.pagination.LinePaginator.paginate", false]], "paginationemojis (class in pydis_core)": [[3, "pydis_core.PaginationEmojis", false]], "paginationemojis (class in pydis_core.utils.pagination)": [[23, "pydis_core.utils.pagination.PaginationEmojis", false]], "pastefile (class in pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[24, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[24, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[24, "pydis_core.utils.paste_service.PasteUploadError", false]], "patch() (apiclient method)": [[6, "pydis_core.site_api.APIClient.patch", false]], "ping_services() (botbase method)": [[3, "pydis_core.BotBase.ping_services", false]], "post() (apiclient method)": [[6, "pydis_core.site_api.APIClient.post", false]], "process_commands() (botbase method)": [[3, "pydis_core.BotBase.process_commands", false]], "put() (apiclient method)": [[6, "pydis_core.site_api.APIClient.put", false]], "pydis_core": [[3, "module-pydis_core", false]], "pydis_core.async_stats": [[4, "module-pydis_core.async_stats", false]], "pydis_core.exts": [[5, "module-pydis_core.exts", false]], "pydis_core.site_api": [[6, "module-pydis_core.site_api", false]], "pydis_core.utils": [[7, "module-pydis_core.utils", false]], "pydis_core.utils.caching": [[8, "module-pydis_core.utils.caching", false]], "pydis_core.utils.channel": [[9, "module-pydis_core.utils.channel", false]], "pydis_core.utils.checks": [[10, "module-pydis_core.utils.checks", false]], "pydis_core.utils.commands": [[11, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[12, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[13, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.error_handling.commands": [[14, "module-pydis_core.utils.error_handling.commands", false]], "pydis_core.utils.error_handling.commands.abc": [[15, "module-pydis_core.utils.error_handling.commands.abc", false]], "pydis_core.utils.error_handling.commands.manager": [[16, "module-pydis_core.utils.error_handling.commands.manager", false]], "pydis_core.utils.function": [[17, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[18, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.lock": [[19, "module-pydis_core.utils.lock", false]], "pydis_core.utils.logging": [[20, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[21, "module-pydis_core.utils.members", false]], "pydis_core.utils.messages": [[22, "module-pydis_core.utils.messages", false]], "pydis_core.utils.pagination": [[23, "module-pydis_core.utils.pagination", false]], "pydis_core.utils.paste_service": [[24, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[25, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[26, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.RAW_CODE_REGEX", false]], "reaction_check() (in module pydis_core.utils.messages)": [[22, "pydis_core.utils.messages.reaction_check", false]], "redis_session (botbase attribute)": [[3, "pydis_core.BotBase.redis_session", false]], "register_command_error_manager() (botbase method)": [[3, "pydis_core.BotBase.register_command_error_manager", false]], "register_handler() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.register_handler", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.register_handler", false]], "remove_command() (botbase method)": [[3, "pydis_core.BotBase.remove_command", false]], "request() (apiclient method)": [[6, "pydis_core.site_api.APIClient.request", false]], "responsecodeerror": [[6, "pydis_core.site_api.ResponseCodeError", false]], "schedule() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[26, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.send_to_paste_service", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "sharedevent (class in pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.SharedEvent", false]], "should_handle_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.should_handle_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.should_handle_error", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "stats (botbase attribute)": [[3, "pydis_core.BotBase.stats", false]], "statsd_url (botbase attribute)": [[3, "pydis_core.BotBase.statsd_url", false]], "stop() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[20, "pydis_core.utils.logging.CustomLogger.trace", false]], "type (lockedresourceerror attribute)": [[19, "pydis_core.utils.lock.LockedResourceError.type", false]], "unqualify() (in module pydis_core.utils)": [[7, "pydis_core.utils.unqualify", false]], "update_wrapper_globals() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.update_wrapper_globals", false]], "user_has_access() (in module pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.user_has_access", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck", false]], "wait() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.wait", false]], "wait_until_guild_available() (botbase method)": [[3, "pydis_core.BotBase.wait_until_guild_available", false]]}, "objects": {"": [[3, 0, 0, "-", "pydis_core"]], "pydis_core": [[3, 1, 1, "", "BotBase"], [3, 4, 1, "", "EmptyPaginatorEmbedError"], [3, 1, 1, "", "LinePaginator"], [3, 1, 1, "", "PaginationEmojis"], [3, 4, 1, "", "StartupError"], [4, 0, 0, "-", "async_stats"], [5, 0, 0, "-", "exts"], [6, 0, 0, "-", "site_api"], [7, 0, 0, "-", "utils"]], "pydis_core.BotBase": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_cog"], [3, 2, 1, "", "add_command"], [3, 3, 1, "", "all_extensions"], [3, 3, 1, "", "api_client"], [3, 2, 1, "", "clear"], [3, 2, 1, "", "close"], [3, 3, 1, "", "guild_id"], [3, 3, 1, "", "http_session"], [3, 2, 1, "", "load_extensions"], [3, 2, 1, "", "log_to_dev_log"], [3, 2, 1, "", "on_guild_available"], [3, 2, 1, "", "on_guild_unavailable"], [3, 2, 1, "", "ping_services"], [3, 2, 1, "", "process_commands"], [3, 3, 1, "", "redis_session"], [3, 2, 1, "", "register_command_error_manager"], [3, 2, 1, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 3, 1, "", "stats"], [3, 3, 1, "", "statsd_url"], [3, 2, 1, "", "wait_until_guild_available"]], "pydis_core.LinePaginator": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_line"], [3, 2, 1, "", "paginate"]], "pydis_core.PaginationEmojis": [[3, 3, 1, "", "__class_vars__"], [3, 3, 1, "", "__private_attributes__"], [3, 3, 1, "", "__pydantic_complete__"], [3, 3, 1, "", "__pydantic_computed_fields__"], [3, 3, 1, "", "__pydantic_core_schema__"], [3, 3, 1, "", "__pydantic_custom_init__"], [3, 3, 1, "", "__pydantic_decorators__"], [3, 3, 1, "", "__pydantic_extra__"], [3, 3, 1, "", "__pydantic_fields__"], [3, 3, 1, "", "__pydantic_fields_set__"], [3, 3, 1, "", "__pydantic_generic_metadata__"], [3, 3, 1, "", "__pydantic_parent_namespace__"], [3, 3, 1, "", "__pydantic_post_init__"], [3, 3, 1, "", "__pydantic_private__"], [3, 3, 1, "", "__pydantic_serializer__"], [3, 3, 1, "", "__pydantic_validator__"], [3, 3, 1, "", "__signature__"], [3, 3, 1, "", "model_config"]], "pydis_core.StartupError": [[3, 2, 1, "", "__init__"]], "pydis_core.async_stats": [[4, 1, 1, "", "AsyncStatsClient"]], "pydis_core.async_stats.AsyncStatsClient": [[4, 2, 1, "", "__init__"], [4, 2, 1, "", "create_socket"]], "pydis_core.site_api": [[6, 1, 1, "", "APIClient"], [6, 4, 1, "", "ResponseCodeError"]], "pydis_core.site_api.APIClient": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "close"], [6, 2, 1, "", "delete"], [6, 2, 1, "", "get"], [6, 2, 1, "", "maybe_raise_for_status"], [6, 2, 1, "", "patch"], [6, 2, 1, "", "post"], [6, 2, 1, "", "put"], [6, 2, 1, "", "request"]], "pydis_core.site_api.ResponseCodeError": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "__str__"]], "pydis_core.utils": [[7, 5, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "checks"], [11, 0, 0, "-", "commands"], [12, 0, 0, "-", "cooldown"], [13, 0, 0, "-", "error_handling"], [17, 0, 0, "-", "function"], [18, 0, 0, "-", "interactions"], [19, 0, 0, "-", "lock"], [20, 0, 0, "-", "logging"], [21, 0, 0, "-", "members"], [22, 0, 0, "-", "messages"], [23, 0, 0, "-", "pagination"], [24, 0, 0, "-", "paste_service"], [25, 0, 0, "-", "regex"], [26, 0, 0, "-", "scheduling"], [7, 5, 1, "", "unqualify"]], "pydis_core.utils.caching": [[8, 1, 1, "", "AsyncCache"]], "pydis_core.utils.caching.AsyncCache": [[8, 2, 1, "", "__call__"], [8, 2, 1, "", "__init__"], [8, 2, 1, "", "clear"]], "pydis_core.utils.channel": [[9, 5, 1, "", "get_or_fetch_channel"], [9, 5, 1, "", "is_in_category"]], "pydis_core.utils.checks": [[10, 4, 1, "", "ContextCheckFailure"], [10, 4, 1, "", "InWhitelistCheckFailure"], [10, 5, 1, "", "cooldown_with_role_bypass"], [10, 5, 1, "", "has_any_role_check"], [10, 5, 1, "", "has_no_roles_check"], [10, 5, 1, "", "in_whitelist_check"]], "pydis_core.utils.checks.ContextCheckFailure": [[10, 2, 1, "", "__init__"]], "pydis_core.utils.commands": [[11, 5, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[12, 4, 1, "", "CommandOnCooldown"], [12, 6, 1, "", "P"], [12, 1, 1, "", "R"], [12, 5, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[12, 2, 1, "", "__init__"], [12, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[14, 0, 0, "-", "commands"], [13, 5, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.error_handling.commands": [[14, 1, 1, "", "AbstractCommandErrorHandler"], [14, 1, 1, "", "CommandErrorManager"], [15, 0, 0, "-", "abc"], [16, 0, 0, "-", "manager"]], "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler": [[14, 2, 1, "", "handle_app_command_error"], [14, 2, 1, "", "handle_text_command_error"], [14, 2, 1, "", "should_handle_error"]], "pydis_core.utils.error_handling.commands.CommandErrorManager": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "handle_error"], [14, 2, 1, "", "register_handler"]], "pydis_core.utils.error_handling.commands.abc": [[15, 1, 1, "", "AbstractCommandErrorHandler"]], "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler": [[15, 2, 1, "", "handle_app_command_error"], [15, 2, 1, "", "handle_text_command_error"], [15, 2, 1, "", "should_handle_error"]], "pydis_core.utils.error_handling.commands.manager": [[16, 1, 1, "", "CommandErrorManager"]], "pydis_core.utils.error_handling.commands.manager.CommandErrorManager": [[16, 2, 1, "", "__init__"], [16, 2, 1, "", "handle_error"], [16, 2, 1, "", "register_handler"]], "pydis_core.utils.function": [[17, 4, 1, "", "GlobalNameConflictError"], [17, 5, 1, "", "command_wraps"], [17, 5, 1, "", "get_arg_value"], [17, 5, 1, "", "get_arg_value_wrapper"], [17, 5, 1, "", "get_bound_args"], [17, 5, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[18, 1, 1, "", "DeleteMessageButton"], [18, 1, 1, "", "ViewWithUserAndRoleCheck"], [18, 5, 1, "", "user_has_access"]], "pydis_core.utils.interactions.DeleteMessageButton": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "interaction_check"], [18, 2, 1, "", "on_timeout"], [18, 2, 1, "", "stop"]], "pydis_core.utils.lock": [[19, 4, 1, "", "LockedResourceError"], [19, 1, 1, "", "SharedEvent"], [19, 5, 1, "", "lock"], [19, 5, 1, "", "lock_arg"]], "pydis_core.utils.lock.LockedResourceError": [[19, 2, 1, "", "__init__"], [19, 3, 1, "", "id"], [19, 3, 1, "", "type"]], "pydis_core.utils.lock.SharedEvent": [[19, 2, 1, "", "__enter__"], [19, 2, 1, "", "__exit__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "wait"]], "pydis_core.utils.logging": [[20, 1, 1, "", "CustomLogger"], [20, 5, 1, "", "get_logger"], [20, 6, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[20, 2, 1, "", "trace"]], "pydis_core.utils.members": [[21, 5, 1, "", "get_or_fetch_member"], [21, 5, 1, "", "handle_role_change"]], "pydis_core.utils.messages": [[22, 5, 1, "", "reaction_check"]], "pydis_core.utils.pagination": [[23, 4, 1, "", "EmptyPaginatorEmbedError"], [23, 1, 1, "", "LinePaginator"], [23, 1, 1, "", "PaginationEmojis"]], "pydis_core.utils.pagination.LinePaginator": [[23, 2, 1, "", "__init__"], [23, 2, 1, "", "add_line"], [23, 2, 1, "", "paginate"]], "pydis_core.utils.pagination.PaginationEmojis": [[23, 3, 1, "", "__class_vars__"], [23, 3, 1, "", "__private_attributes__"], [23, 3, 1, "", "__pydantic_complete__"], [23, 3, 1, "", "__pydantic_computed_fields__"], [23, 3, 1, "", "__pydantic_core_schema__"], [23, 3, 1, "", "__pydantic_custom_init__"], [23, 3, 1, "", "__pydantic_decorators__"], [23, 3, 1, "", "__pydantic_extra__"], [23, 3, 1, "", "__pydantic_fields__"], [23, 3, 1, "", "__pydantic_fields_set__"], [23, 3, 1, "", "__pydantic_generic_metadata__"], [23, 3, 1, "", "__pydantic_parent_namespace__"], [23, 3, 1, "", "__pydantic_post_init__"], [23, 3, 1, "", "__pydantic_private__"], [23, 3, 1, "", "__pydantic_serializer__"], [23, 3, 1, "", "__pydantic_validator__"], [23, 3, 1, "", "__signature__"], [23, 3, 1, "", "model_config"]], "pydis_core.utils.paste_service": [[24, 6, 1, "", "MAX_PASTE_SIZE"], [24, 1, 1, "", "PasteFile"], [24, 1, 1, "", "PasteResponse"], [24, 4, 1, "", "PasteTooLongError"], [24, 4, 1, "", "PasteUnsupportedLexerError"], [24, 4, 1, "", "PasteUploadError"], [24, 5, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[24, 3, 1, "", "__class_vars__"], [24, 3, 1, "", "__private_attributes__"], [24, 3, 1, "", "__pydantic_complete__"], [24, 3, 1, "", "__pydantic_computed_fields__"], [24, 3, 1, "", "__pydantic_core_schema__"], [24, 3, 1, "", "__pydantic_custom_init__"], [24, 3, 1, "", "__pydantic_decorators__"], [24, 3, 1, "", "__pydantic_extra__"], [24, 3, 1, "", "__pydantic_fields__"], [24, 3, 1, "", "__pydantic_fields_set__"], [24, 3, 1, "", "__pydantic_generic_metadata__"], [24, 3, 1, "", "__pydantic_parent_namespace__"], [24, 3, 1, "", "__pydantic_post_init__"], [24, 3, 1, "", "__pydantic_private__"], [24, 3, 1, "", "__pydantic_serializer__"], [24, 3, 1, "", "__pydantic_validator__"], [24, 3, 1, "", "__signature__"], [24, 3, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[24, 3, 1, "", "__class_vars__"], [24, 3, 1, "", "__private_attributes__"], [24, 3, 1, "", "__pydantic_complete__"], [24, 3, 1, "", "__pydantic_computed_fields__"], [24, 3, 1, "", "__pydantic_core_schema__"], [24, 3, 1, "", "__pydantic_custom_init__"], [24, 3, 1, "", "__pydantic_decorators__"], [24, 3, 1, "", "__pydantic_extra__"], [24, 3, 1, "", "__pydantic_fields__"], [24, 3, 1, "", "__pydantic_fields_set__"], [24, 3, 1, "", "__pydantic_generic_metadata__"], [24, 3, 1, "", "__pydantic_parent_namespace__"], [24, 3, 1, "", "__pydantic_post_init__"], [24, 3, 1, "", "__pydantic_private__"], [24, 3, 1, "", "__pydantic_serializer__"], [24, 3, 1, "", "__pydantic_validator__"], [24, 3, 1, "", "__signature__"], [24, 3, 1, "", "model_config"]], "pydis_core.utils.regex": [[25, 6, 1, "", "DISCORD_INVITE"], [25, 6, 1, "", "FORMATTED_CODE_REGEX"], [25, 6, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[26, 1, 1, "", "Scheduler"], [26, 5, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[26, 2, 1, "", "__contains__"], [26, 2, 1, "", "__init__"], [26, 2, 1, "", "cancel"], [26, 2, 1, "", "cancel_all"], [26, 2, 1, "", "schedule"], [26, 2, 1, "", "schedule_at"], [26, 2, 1, "", "schedule_later"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "exception", "Python exception"], "5": ["py", "function", "Python function"], "6": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:exception", "5": "py:function", "6": "py:data"}, "terms": {"": [0, 1, 3, 7, 8, 10, 11, 12, 17, 18, 19, 20, 22, 23, 24, 25, 26], "0": [0, 8, 10, 18, 19, 20], "0a0": 0, "0eb3d26": 0, "0x000056160d251240": 23, "0x000056160d259400": 3, "0x000056160d3ef0c0": 24, "0x000056160d446560": 24, "0x00007f92000bb930": 24, "0x00007f9200221db0": 23, "0x00007f9200221f70": 23, "0x00007f9200222df0": 23, "0x00007f92002232f0": 23, "0x00007f92002235f0": 23, "0x00007f9200223eb0": 23, "0x00007f9200223f70": 23, "0x00007f9200c71d70": 3, "0x00007f9200c71f30": 3, "0x00007f9200c72e30": 3, "0x00007f9200c732f0": 3, "0x00007f9200c735f0": 3, "0x00007f9200c73c70": 3, "0x00007f92010645d0": 3, "0x00007f9201064620": 3, "0x00007f9201064670": 3, "0x00007f92010646c0": 3, "0x00007f9201064710": 3, "0x00007f9201421020": 23, "0x00007f9201421070": 23, "0x00007f92014210c0": 23, "0x00007f9201421110": 23, "0x00007f9201421160": 23, "0x00007f9201664ef0": 24, "0x00007f9201664f30": 24, "0x00007f9201664f70": 24, "0x00007f9201664fb0": 24, "0x00007f9201664ff0": 24, "0x00007f9201665030": 24, "0x00007f9201683c30": 24, "0x00007f9201683c70": 24, "0x00007f9201683cb0": 24, "0x00007f9201683cf0": 24, "0x00007f92016ff630": 3, "0x00007f9201750b30": 3, "0x00007f92018c20f0": 3, "0x00007f92019190b0": 23, "0x00007f920197e7f0": 3, "0x00007f9201ab92b0": 23, "0x00007f9201af0cf0": 3, "0x00007f9202ecc470": 23, "0x00007f92047663e0": 23, "0x00007f9204766510": 24, "0x00007f9205674ef0": 24, "0x00007f92058a4270": 24, "0x00007f9205bc8ff0": 24, "0x00007f9205f7c3b0": [3, 23], "0x00007f9205f7c3f0": [3, 23], "0x00007f9205fccef0": [3, 23], "0x00007f9205feb4b0": [3, 23], "0x00007f9206308eb0": [3, 23], "0x00007f92068982a0": 24, "0x00007f920693fba0": 24, "0x00007f9206943980": 24, "1": [0, 20], "10": 0, "101": 0, "103": 0, "104": 0, "106": 0, "107": 0, "108": 0, "10th": 0, "11": 0, "110": 0, "11th": 0, "12": 0, "124": 0, "125": 0, "128": 8, "138": 0, "13th": 0, "14th": 0, "15": 0, "151": 0, "157": 0, "158": 0, "162": 0, "169": 0, "16th": 0, "170": 0, "171": 0, "172": 0, "173": 0, "174": 0, "175": 0, "176": 0, "177": 0, "179": 0, "17th": 0, "180": 18, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "189": 0, "18th": 0, "190": 0, "192": 0, "194": 0, "195": 0, "196": 0, "197": 0, "199": 0, "19th": 0, "2": [0, 3, 18, 24], "200": 0, "202": 0, "2021": 0, "2022": 0, "2023": 0, "2024": 0, "2025": 0, "204": [0, 6], "205": 0, "206": 0, "207": 0, "208": 0, "209": 0, "20th": 0, "210": 0, "21st": 0, "22nd": 0, "23rd": 0, "244": 0, "24th": 0, "254": 0, "25th": 0, "269": 0, "26th": 0, "27th": 0, "282": 0, "28th": 0, "29": 0, "295": 0, "2nd": 0, "3": [0, 24], "30": 0, "300": [3, 23], "302": 0, "303": 0, "304": 0, "305": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "4000": [3, 23], "403": 7, "42": 0, "4cbe8f5": 0, "4th": 0, "5": [0, 3, 12, 23], "500": [3, 23], "524288": 24, "54": 0, "56": 0, "561": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "637136429717389331": [3, 23], "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "6th": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "90001": [0, 13], "91": 0, "93": 0, "94652709802560": 23, "94652709835776": 3, "94652711497920": 24, "94652711855456": 24, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 23, 24, 26], "As": 0, "Be": 0, "For": 17, "If": [3, 6, 10, 12, 17, 18, 19, 22, 23, 26], "In": [3, 23], "It": [3, 7, 19, 23], "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 20, 21, 23, 24, 26], "These": [3, 23], "To": [1, 3, 20], "_": 0, "__annotations__": 17, "__args__": [3, 23, 24], "__call__": [7, 8], "__class_vars__": [2, 3, 7, 23, 24], "__contains__": [7, 26], "__dict__": 17, "__doc__": 17, "__enter__": [7, 19], "__exit__": [7, 19], "__fields__": [3, 23, 24], "__get_pydantic_json_schema__": [3, 23, 24], "__global__": 17, "__init__": [0, 2, 3, 4, 6, 7, 8, 10, 12, 13, 14, 16, 18, 19, 23, 24, 26], "__module__": 17, "__name__": 17, "__origin__": [3, 23, 24], "__parameters__": [3, 23, 24], "__private_attributes__": [2, 3, 7, 23, 24], "__pydantic_complete__": [2, 3, 7, 23, 24], "__pydantic_computed_fields__": [2, 3, 7, 23, 24], "__pydantic_core_schema__": [2, 3, 7, 23, 24], "__pydantic_custom_init__": [2, 3, 7, 23, 24], "__pydantic_decorators__": [2, 3, 7, 23, 24], "__pydantic_extra__": [2, 3, 7, 23, 24], "__pydantic_fields__": [2, 3, 7, 23, 24], "__pydantic_fields_set__": [2, 3, 7, 23, 24], "__pydantic_generic_metadata__": [2, 3, 7, 23, 24], "__pydantic_parent_namespace__": [2, 3, 7, 23, 24], "__pydantic_post_init__": [2, 3, 7, 23, 24], "__pydantic_private__": [2, 3, 7, 23, 24], "__pydantic_serializer__": [2, 3, 7, 23, 24], "__pydantic_validator__": [2, 3, 7, 23, 24], "__qualname__": 17, "__root_validators__": [3, 23, 24], "__signature__": [2, 3, 7, 23, 24], "__str__": [3, 6], "__validators__": [3, 23, 24], "_decor": [3, 23, 24], "_exc_tb": 19, "_exc_typ": 19, "_exc_val": 19, "_gener": [3, 23, 24], "_guild_avail": 0, "_p": 17, "_r": 17, "_transport": 0, "abc": [0, 13, 14], "abl": 0, "about": [3, 12, 23, 24], "abstract": [0, 14, 15], "abstractcommanderrorhandl": [0, 7, 13, 14, 15], "abstracteventloop": [4, 26], "accept": [17, 18], "access": 18, "acquir": 19, "across": [0, 3, 20, 23], "act": 7, "action": 0, "activ": 19, "actual": 0, "ad": [0, 1, 3, 7, 18, 20, 23], "add": [0, 3, 10, 12, 23], "add_cog": [2, 3], "add_command": [2, 3], "add_lin": [2, 3, 7, 23], "add_rol": 21, "addit": 0, "after": [0, 3, 18, 23, 26], "again": 1, "against": 0, "aid": [3, 23], "aiodn": 0, "aiohttp": [0, 3, 6, 24], "alia": [3, 7, 12, 23, 24], "alias": [3, 7], "alias_pi": [3, 23, 24], "all": [0, 1, 3, 4, 7, 14, 16, 19, 20, 26], "all_command": 3, "all_extens": [2, 3], "allow": [0, 1, 3, 18, 22, 23, 24], "allow_mod": 22, "allowed_emoji": 22, "allowed_rol": [0, 1, 3, 18, 22, 23], "allowed_us": [0, 18, 22], "alpha": 0, "alreadi": [3, 23, 26], "also": [0, 3, 7, 17, 18, 19, 23], "alwai": 10, "among": 19, "amount": [3, 23], "an": [0, 1, 3, 4, 6, 7, 8, 9, 10, 14, 15, 17, 19, 20, 23, 24, 26], "ani": [3, 6, 10, 17, 19, 23, 24, 25, 26], "annot": [3, 17, 23, 24], "anymor": [3, 23], "anyth": [1, 24], "api": [0, 3, 6, 21], "api_cli": [0, 2, 3], "apicli": [0, 2, 3, 6], "app": [0, 3, 14, 15], "appear": 3, "append": [3, 23], "appli": [3, 7, 8, 10, 12, 19, 23, 24], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 17, 18, 22, 23, 24, 25], "arg": [3, 12, 17, 19, 20, 23, 24], "arg_offset": 8, "args_preprocessor": 12, "argument": [6, 7, 8, 11, 12, 17, 19, 20, 21], "around": 6, "assign": 17, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21, 23, 24], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 26], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 19, 21, 23], "attr": 0, "attribut": [0, 3, 7, 17, 23, 24], "august": 0, "authent": 6, "author": [3, 10, 22, 23], "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 3, 23, 24], "avail": [0, 3, 14, 16, 19], "avoid": [0, 3, 23], "await": [0, 3, 12, 18, 19, 21, 23], "awar": [0, 26], "back": 0, "backslash": 0, "backtick": [3, 23], "bad": 0, "badargu": 11, "base": [0, 3, 4, 6, 8, 10, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 26], "basemodel": [3, 23, 24], "basic": [0, 18], "becaus": [3, 17], "becom": [3, 19], "been": [0, 3], "befor": [0, 3, 10, 18, 19, 23, 26], "before_invok": 10, "behav": 17, "behavior": 10, "behaviour": [0, 3], "being": [0, 7, 10, 21], "belong": 3, "below": [1, 19], "best": [3, 23], "between": [0, 1, 17], "bind": [3, 17], "block": [0, 3, 12, 23, 25], "block_duplicate_invoc": [3, 7, 12], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 10, 12, 14, 15, 18, 19, 22, 23, 24, 26], "bot": [0, 1, 3, 7, 9, 22], "bot_token": 1, "botbas": [0, 2, 3], "both": [0, 1, 3, 24], "bound": [3, 23, 24], "boundari": [3, 23], "break": [0, 3, 17, 23], "broke": 0, "buckettyp": 10, "bug": 0, "build": [3, 23, 24], "bump": 0, "button": [0, 18], "buttonstyl": 18, "bypass": 10, "bypass_rol": 10, "byte": 24, "cach": [0, 3, 7, 9, 21], "cache_str": [3, 23, 24], "calcul": 26, "call": [0, 3, 12, 17, 26], "call_without_cooldown": [7, 12], "callabl": [8, 10, 12, 17, 19, 21], "callback": [7, 10, 18], "can": [0, 1, 3, 10, 18, 19, 20, 23, 26], "cancel": [7, 26], "cancel_al": [7, 26], "cannot": [0, 3, 19, 23], "capabl": [14, 16], "captur": [0, 17, 25], "carri": 18, "case": [0, 3, 23], "categori": [9, 10], "category_id": 9, "caus": [3, 7, 23], "certain": [0, 1], "chang": [0, 1, 3, 17, 23], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 10, 12], "channel_id": 9, "charact": [0, 3, 23], "chardet": 0, "check": [0, 3, 6, 7, 9, 12, 13, 18, 22, 26], "checkfailur": 10, "choos": [14, 16], "chunk": 0, "ci": 0, "cl": [3, 23, 24], "class": [0, 3, 4, 6, 8, 12, 14, 15, 16, 18, 19, 20, 23, 24, 26], "classmethod": [3, 23], "classvar": [3, 23, 24], "clean": [0, 11], "clean_text_or_repli": [3, 7, 11], "clear": [2, 3, 7, 8, 19], "click": 18, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 24], "close": [0, 2, 3, 6, 26], "cloudflar": 7, "code": [0, 1, 3, 6, 19, 23, 25], "codepoint": [3, 23], "coerce_numbers_to_str": [3, 23, 24], "cog": [0, 3, 5], "collect": 10, "collis": 19, "com": [0, 24], "comma": 1, "command": [0, 1, 3, 7, 9, 10, 12, 13, 15, 16, 17, 19, 23], "command_wrap": [3, 7, 17], "commanderror": 12, "commanderrormanag": [0, 7, 13, 14, 16], "commandinvokeerror": 0, "commandoncooldown": [3, 7, 12], "commit": 0, "common": [0, 1, 3, 7, 20, 25], "commun": [3, 4], "complet": [3, 23, 24], "complianc": 0, "compos": 1, "comput": [3, 23, 24], "computed_field": [3, 23, 24], "computedfield": [3, 23, 24], "computedfieldinfo": [3, 23, 24], "concurr": 0, "config": [0, 3, 23, 24], "configdict": [3, 23, 24], "configur": [1, 3, 23, 24], "conflict": 17, "conform": [3, 23, 24], "connect": [0, 3, 4], "connector": 3, "constructor": [3, 6], "contain": [1, 3, 10, 18, 23, 24, 26], "content": [0, 3, 11, 23, 24], "context": [3, 10, 11, 14, 15, 19, 23], "context_or_interact": [14, 16], "contextcheckfailur": [3, 7, 10], "continu": [3, 23], "control": 0, "cooldown": [3, 7, 10], "cooldown_dur": 12, "cooldown_with_role_bypass": [3, 7, 10], "copi": [1, 17], "copy_default": [3, 23, 24], "core": [0, 1, 23, 24], "coreschema": [3, 23, 24], "coro": [19, 21, 26], "coroutin": [8, 19, 21, 26], "correct": [0, 1], "correspond": [3, 23, 24], "could": [0, 21], "count": 19, "cover": 0, "crash": 0, "creat": [0, 3, 4, 8, 12, 17, 23, 26], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 26], "creation": 0, "criteria": 0, "ctx": [0, 3, 10, 11, 18, 23], "current": [0, 3, 19, 23, 26], "custom": [0, 3, 8, 20, 23, 24], "custom_init": [3, 23, 24], "customlogg": [3, 7, 20], "cut": 0, "d": [1, 17], "dai": 0, "data": [3, 23, 24], "datetim": 26, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 3, 8, 10, 12, 17, 19, 23, 24], "decorator_func": 17, "decoratorinfo": [3, 23, 24], "decrement": 19, "default": [0, 1, 3, 10, 14, 16, 17, 23, 24], "defin": [3, 23, 24], "definit": [3, 23, 24], "delai": 26, "delet": [0, 3, 6, 8, 18, 23, 24], "deletemessagebutton": [0, 3, 7, 18], "depend": [0, 9], "deprec": 0, "describ": 10, "detail": 17, "detect": 0, "determin": [14, 15, 16], "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [3, 6, 17, 23, 24], "dictat": 0, "dictionari": [3, 23, 24], "did": 0, "directli": [0, 17], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 11, 13, 14, 16, 17, 21, 23, 25], "discord_invit": [0, 3, 7, 25], "disnak": 0, "distinguish": 26, "django": 6, "dm": 10, "do": [0, 1, 9, 19], "doc": [0, 19], "docker": 1, "docstr": 0, "document": 0, "doe": [0, 17], "doesn": [3, 10, 26], "don": [0, 10, 26], "done": [3, 18, 23, 26], "drop": 0, "due": 0, "dummi": [0, 3], "dump": [3, 23, 24], "duplic": [0, 12], "durat": 10, "dure": [3, 23, 24], "dynam": 0, "e": [3, 23], "each": [0, 3, 23], "edg": 0, "edit": 3, "effort": [3, 23], "either": [0, 3], "els": 11, "elsewher": 26, "emb": [0, 3, 23], "emit": 3, "emoji": [0, 3, 22, 23], "empti": [3, 23], "emptypaginatorembederror": [2, 3, 7, 23], "enabl": [0, 1], "encount": 24, "end": [3, 23], "endpoint": 6, "ensur": [0, 3, 18, 25], "entir": [0, 3], "env": 1, "environ": [0, 1], "equival": 6, "error": [0, 3, 6, 7, 13, 14, 15, 16, 21, 24], "error_handl": [0, 3, 7], "etc": [1, 10], "evalu": 17, "even": 22, "event": [0, 3, 4, 19, 26], "event_loop": 26, "eventu": [3, 23, 24], "everi": [3, 23], "exact": 1, "exampl": [3, 23], "exc_info": 20, "exce": [3, 8, 23], "exceed": [3, 23], "except": [3, 6, 10, 12, 14, 16, 17, 19, 20, 23, 24, 26], "exception_on_empty_emb": [3, 23], "excess": [3, 23], "exclud": [3, 23, 24], "exclus": 19, "execut": [19, 26], "exist": [0, 1, 26], "exit": 19, "expect": 21, "expiri": 0, "explain": 0, "explicitli": [3, 23, 24], "expos": 19, "express": 25, "ext": [0, 2, 3, 7, 9, 10, 11, 23], "extend": 0, "extens": [0, 3], "extra": [0, 3, 6, 23, 24], "extra_behavior": [3, 23, 24], "extra_seri": [3, 23, 24], "extract": 0, "extras_valid": [3, 23, 24], "facilit": 0, "fail": [9, 10, 24], "fail_sil": 10, "failur": 21, "fakeredi": 0, "fals": [3, 10, 12, 19, 23, 24], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 21], "few": 1, "field": [3, 23, 24], "field_seri": [3, 23, 24], "field_valid": [3, 23, 24], "fieldinfo": [3, 23, 24], "fifo": 8, "file": [0, 1, 24], "filter": [0, 3, 23, 24], "finish": [3, 19, 23], "first": [3, 14, 16, 23], "five": [3, 23], "fix": 0, "float": [10, 12, 18, 26], "folder": 1, "footer": [3, 23], "footer_text": [3, 23], "forbidden": [0, 9, 13], "format": [24, 25], "formatt": 20, "formatted_code_regex": [3, 7, 25], "forum": 0, "forwardref": 17, "found": [3, 17, 21, 26], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 17, 18, 21, 23, 24, 26], "from_attribut": [3, 23, 24], "frozen": [3, 23, 24], "frozenset": [3, 17], "func": [17, 19], "function": [0, 3, 7, 8, 9, 12, 19, 20, 21, 23, 26], "functool": 17, "futur": [10, 26], "g": [3, 23], "gatewai": 3, "gener": [0, 3, 12, 23, 24, 26], "generalfieldsseri": [3, 23, 24], "generic_origin": [3, 23, 24], "get": [0, 3, 6, 9, 17, 21], "get_arg_valu": [3, 7, 17], "get_arg_value_wrapp": [3, 7, 17], "get_bound_arg": [3, 7, 17], "get_logg": [3, 7, 20], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 21], "git": 1, "github": 0, "give": 3, "given": [0, 3, 4, 7, 9, 11, 17, 19, 20, 21, 26], "global": 17, "globalnameconflicterror": [3, 7, 17], "go": [1, 3, 19, 23], "greater": 24, "groundwork": 1, "group": [7, 25], "guild": [0, 1, 3, 10, 21], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 2, 3], "guildchannel": 9, "ha": [0, 3, 7, 10, 18, 23, 24], "handl": [0, 13, 14, 15, 16, 21, 26], "handle_app_command_error": [13, 14, 15], "handle_error": [13, 14, 16], "handle_forbidden_from_block": [3, 7, 13], "handle_role_chang": [0, 3, 7, 21], "handle_text_command_error": [13, 14, 15], "handler": [0, 3, 14, 15, 16], "happen": 3, "has_any_role_check": [3, 7, 10], "has_extra": [3, 23, 24], "has_no_roles_check": [3, 7, 10], "hashabl": [19, 26], "have": [0, 9, 10, 17, 20], "heavi": 7, "help": [0, 1], "helper": [0, 9, 12, 21], "hold": [3, 19, 23], "holder": 19, "hook": 0, "host": 4, "houston": 20, "how": [0, 8, 10, 17, 26], "howev": 1, "http": [0, 3, 6, 24, 25], "http_session": [2, 3, 24], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 10, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "icon": [3, 23], "icon_url": [3, 23], "id": [0, 1, 3, 7, 9, 10, 18, 19, 23, 26], "identifi": [19, 26], "ignor": [1, 3, 7, 17, 22, 23, 24], "ignored_conflict_nam": 17, "immedi": 26, "implement": [0, 3, 4, 8, 18, 20], "import": 0, "in_whitelist": 10, "in_whitelist_check": [0, 3, 7, 10], "inadequ": 3, "includ": [0, 1, 3, 13, 23, 24], "incorrect": 0, "increment": 19, "independantli": 0, "index": 2, "indic": [3, 21, 23], "individu": 3, "info": [0, 1], "inform": [2, 19, 20], "init": [0, 3, 4, 23, 24], "initi": [6, 26], "initialis": [3, 8], "input": 18, "insert": [3, 23], "insid": [3, 23], "inspect": [3, 23, 24], "instal": [0, 1], "instanc": [0, 3, 6, 8, 9, 10, 20, 23, 24, 26], "instanti": [3, 18, 23, 24, 26], "instead": [0, 3, 12, 26], "int": [3, 4, 8, 9, 10, 17, 18, 23, 24], "intend": 21, "intent": 1, "interact": [0, 3, 7, 9, 14, 15, 23], "interactin": 21, "interaction_check": [7, 18], "interest": 20, "intern": [3, 7, 19], "intersphinx": 0, "introduc": 10, "invalid": 9, "invaliddata": 9, "invit": [0, 25], "invoc": [0, 12], "invok": [1, 10, 12, 18], "inwhitelistcheckfailur": [3, 7, 10], "is_in_categori": [3, 7, 9], "isn": [0, 13, 17], "issu": 10, "item": 8, "iter": [10, 12, 14, 16], "its": [0, 3, 12, 17], "itself": 18, "januari": 0, "json": 6, "juli": 0, "june": 0, "just": 0, "keep": [3, 23, 26], "kei": [3, 8, 23, 24], "key_pi": [3, 23, 24], "keyword": [6, 7, 17, 20], "known": 26, "kwarg": [3, 6, 12, 17, 18, 20, 26], "label": [0, 18], "lancebot": 1, "larg": 24, "larger": 24, "last": [3, 10, 18, 23], "latest": 0, "lead": 0, "least": 10, "left": [3, 23], "length": [3, 12, 23], "level": [0, 7, 20], "lexer": [0, 24], "librari": [0, 1], "like": [1, 17], "limit": [3, 23], "line": [3, 23], "linepagin": [0, 2, 3, 7, 23], "linesep": [3, 23], "link": 24, "lint": 0, "list": [0, 1, 3, 18, 23, 24], "listen": 18, "liter": [3, 23, 24], "ll": [1, 26], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": [3, 23, 24], "local": 2, "localhost": 4, "lock": [0, 3, 7], "lock_arg": [3, 7, 19], "lockedresourceerror": [3, 7, 19], "log": [0, 3, 7, 13, 21, 26], "log_format": [0, 3, 7, 20], "log_to_dev_log": [2, 3], "logger": [0, 20], "logic": 0, "long": [10, 24, 26], "longer": [0, 18], "look": [17, 26], "lookup_kei": [3, 23, 24], "lookuppath": [3, 23, 24], "loop": [4, 26], "lot": 0, "lru": 8, "lua": 0, "lupa": 0, "m": 1, "machin": 1, "made": [0, 22], "mai": [0, 3, 8, 19, 23, 24], "main": 0, "make": [0, 1, 3, 20, 23], "manag": [0, 3, 13, 14, 19], "mani": [0, 3, 8], "manipul": [0, 17], "manual": 3, "map": [17, 19], "march": 0, "mark": 0, "match": [0, 3, 17], "max": 24, "max_length": 24, "max_lin": [3, 23], "max_paste_s": [3, 7, 24], "max_siz": [3, 8, 23, 24], "maximum": [3, 8, 23, 24], "maybe_raise_for_statu": [3, 6], "mean": 1, "meant": 0, "member": [0, 3, 7, 18], "member_id": 21, "mention": [1, 3], "messag": [0, 3, 7, 11, 12, 13, 18, 20, 23, 26], "message_id": 22, "message_typ": 0, "metadata": [3, 23, 24], "method": [0, 3, 4, 6, 7, 20, 23, 24], "metric": 3, "might": [1, 3, 10], "migrat": 0, "minut": [3, 23], "miss": 0, "mod": 0, "mode": [3, 23, 24], "model": [3, 23, 24], "model_config": [2, 3, 7, 23, 24], "model_nam": [3, 23, 24], "model_post_init": [3, 23, 24], "model_seri": [3, 23, 24], "model_valid": [3, 23, 24], "modelfield": [3, 23, 24], "modelfieldsvalid": [3, 23, 24], "modelprivateattr": [3, 23, 24], "modelseri": [3, 23, 24], "modelvalid": [3, 23, 24], "moder": [3, 18, 22, 23], "modifi": [1, 21], "modul": [0, 3, 7, 17, 23, 24, 26], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [0, 1, 3, 17, 19, 23], "most": 1, "move": 0, "msg": 20, "multipl": 0, "multivers": 0, "must": [0, 17, 19, 26], "mutual": 19, "mypi": 20, "n": [3, 23], "name": [3, 7, 17, 19, 20, 23, 24, 26], "name_or_po": [17, 19], "name_pi": [3, 23, 24], "namespac": [0, 3, 19, 23, 24, 26], "navig": [0, 1, 3, 23], "na\u00efv": 26, "need": [0, 1, 3, 23], "never": [3, 23, 24], "new": [0, 1, 3, 4, 6, 8, 17, 23, 26], "newer": 0, "newli": 0, "next": [3, 23], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "noreturn": [14, 15], "normal": 3, "notabl": 0, "note": [0, 10], "notfound": 9, "notic": 0, "notifi": 12, "novemb": 0, "now": [0, 1, 26], "number": [0, 3, 10, 23, 24], "object": [3, 6, 7, 8, 9, 12, 14, 16, 19, 21, 23, 24, 26], "occur": 18, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": [3, 23, 24], "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 18], "onc": [0, 3, 8], "one": [0, 3, 10, 14, 16, 23], "ones": 1, "onli": [0, 3, 18], "onto": [3, 23], "oper": [3, 19, 23, 26], "option": [0, 8, 17, 19], "order": [3, 8, 14, 16, 17, 19, 23, 26], "ordereddict": [17, 19], "origin": [0, 3, 18, 23, 24], "other": [0, 1, 19, 26], "otherwis": [10, 19, 26], "our": [0, 1, 7], "out": [0, 1, 3, 18], "output": 25, "over": [0, 3, 23], "overflow": [3, 23], "overli": 0, "overrid": [3, 23], "overwrit": [0, 3], "own": [0, 17], "p": [3, 7, 12], "packag": [0, 3, 7], "page": [2, 3, 23], "pagin": [0, 2, 3, 7], "pagination_emoji": [3, 23], "paginationemoji": [2, 3, 7, 23], "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 19, 20, 21, 23, 24, 26], "paramspec": [12, 17], "parent": [0, 3, 18, 23, 24], "pars": 25, "pass": [0, 3, 6, 17, 20, 21, 26], "past": [0, 24, 26], "paste_servic": [0, 3, 7], "paste_url": 24, "pastebin": 0, "pastefil": [0, 3, 7, 24], "pasterespons": [3, 7, 24], "pastetoolongerror": [3, 7, 24], "pasteunsupportedlexererror": [3, 7, 24], "pasteuploaderror": [3, 7, 24], "patch": [0, 3, 6, 7], "path": [1, 3, 23, 24], "pattern": 25, "pep": 0, "per": [3, 10, 23], "perform": 19, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "place": [3, 23], "pleas": 25, "pluggableschemavalid": [3, 23, 24], "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": [8, 17, 19], "possibl": 1, "post": [3, 6, 23, 24], "post_init": [3, 23, 24], "pre": 1, "predic": [0, 14, 15], "prefix": [1, 3, 4, 23], "prematur": 26, "press": 0, "prevent": [12, 19, 26], "previous": 0, "prioriti": [14, 16], "privat": [3, 23, 24], "privatechannel": [0, 9], "problem": [10, 20], "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 20], "protocol": 0, "provid": [0, 1, 3, 8, 11, 13, 23, 26], "public": 0, "publish": 0, "purpos": [3, 21, 23, 24], "push": 0, "put": [3, 6], "py": [0, 3, 17, 23, 24], "py_kei": [3, 23, 24], "pydant": [0, 3, 23, 24], "pydantic_js_funct": [3, 23, 24], "pydanticgenericmetadata": [3, 23, 24], "pydi": [0, 2], "pydis_cor": [0, 1, 3, 18, 20, 23, 24], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 24, 26], "pythondiscord": [0, 24], "qualifi": 7, "quot": 25, "r": [3, 7, 12], "rais": [3, 6, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21, 23, 24, 26], "raise_error": 19, "raise_for_statu": 6, "rate": 10, "rather": 7, "raw": [12, 25], "raw_code_regex": [3, 7, 25], "rc2": 0, "re": [1, 3, 13, 22, 26], "reach": 19, "reaction": [0, 3, 22, 23], "reaction_check": [0, 3, 7, 22], "read": 0, "readi": 3, "real": 0, "reason": [3, 23], "rebuild": [3, 23, 24], "receiv": [0, 6, 9], "recognis": 20, "reconnect": 0, "redi": [0, 3], "redirect": 10, "redirect_channel": 10, "redis_sess": [2, 3], "rediscach": 0, "redissess": 3, "ref": [3, 23, 24], "refer": 0, "referenc": 0, "reflect": 17, "regex": [0, 3, 7], "regist": [0, 14, 16], "register_command_error_manag": [2, 3], "register_handl": [13, 14, 16], "registr": [3, 14, 16], "regular": 25, "reinstal": 1, "reject": 24, "relat": [8, 14, 16, 20], "releas": 0, "relev": 3, "reli": 0, "remain": [3, 23], "remov": [0, 3, 18, 22, 23, 24], "remove_command": [2, 3], "remove_rol": 21, "renam": 0, "replac": [3, 10, 17, 23, 24], "repli": [3, 11, 12, 13, 23], "repo": 0, "represent": 6, "request": [0, 3, 6, 25], "requir": [0, 1, 3, 23, 24, 26], "required_field": [3, 23, 24], "resolut": 0, "resolv": [3, 17], "resourc": 19, "resource_id": 19, "resource_typ": 19, "respons": [0, 6, 24], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "restrict": [0, 3, 23], "restrict_to_us": [3, 23], "result": [0, 26], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "reusabl": 5, "revalid": [3, 23, 24], "revert": 0, "right": [0, 3, 23], "role": [0, 1, 3, 10, 18, 21, 22, 23], "root": [1, 3, 7], "root_alias": 7, "root_model": [3, 23, 24], "root_valid": [3, 23, 24], "rout": 7, "ruff": 0, "rule": 0, "run": [0, 1, 12, 19, 26], "runtimeerror": 19, "safe": 0, "same": [12, 26], "sampl": 0, "sanitis": 25, "save": [0, 3, 24], "scale": [3, 23], "scale_to_s": [3, 23], "schedul": [0, 3, 7], "schedule_at": [7, 26], "schedule_lat": [7, 26], "schema": [3, 23, 24], "schemafilt": [3, 23, 24], "schemaseri": [3, 23, 24], "schemavalid": [3, 23, 24], "script": 0, "search": 2, "second": [3, 10, 12, 18, 23, 26], "secondari": 18, "see": [0, 1, 17, 18, 19], "self": [0, 3, 18], "send": [0, 3, 6, 18, 23], "send_notic": 12, "send_to_paste_servic": [0, 3, 7, 24], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [3, 7, 17, 18, 23], "serfield": [3, 23, 24], "serial": [3, 23, 24], "serv": [3, 23], "server": [3, 25], "servic": [0, 1, 3, 24], "session": [0, 3, 6, 24], "session_kwarg": 6, "set": [0, 1, 3, 12, 17, 18, 19, 23, 24], "set_author": [3, 23], "setup": [0, 3], "setup_hook": [2, 3], "sever": 20, "share": [0, 17], "sharedev": [3, 7, 19], "should": [0, 1, 3, 6, 14, 15, 18, 23, 24], "should_handle_error": [13, 14, 15, 16], "should_rais": 6, "signatur": [3, 12, 23, 24], "silent": 10, "similar": [3, 18, 23, 24, 25], "simpl": [3, 23, 24], "simpledict": [3, 23, 24], "sinc": 10, "singl": [0, 3, 23], "sir": 1, "site": [0, 3, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [3, 8, 23, 24], "slash": 0, "so": [0, 1, 3, 7], "socket": 4, "sole": 21, "some": [0, 3, 23, 24], "someth": 25, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "specif": [0, 10], "specifi": [0, 10, 12, 18], "sphinx": 0, "split": 0, "stabl": 0, "standardis": [0, 20], "start": [0, 3, 26], "startup": 3, "startuperror": [2, 3], "stat": [0, 2, 3, 4], "state": 17, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 2, 3], "step": 1, "still": [3, 23, 24], "stop": [0, 7, 18], "store": [0, 3, 7, 8, 23], "str": [3, 4, 6, 7, 10, 11, 17, 18, 19, 20, 23, 24, 26], "strict": [0, 3, 23, 24], "string": [0, 6], "strserial": [3, 23, 24], "strvalid": [3, 23, 24], "style": 18, "sub": [0, 3], "submodul": [2, 13], "subpackag": 2, "subtract": 26, "success": [0, 24], "suffix": [3, 23], "suggest": 26, "support": [0, 4, 7, 26], "suppressed_except": 26, "sure": 1, "switch": [3, 23], "sync": [0, 3], "sync_app_command": 3, "synthes": [3, 23, 24], "system": [0, 1, 14, 16], "t": [0, 3, 10, 11, 13, 17, 19, 26], "target": [0, 8], "task": [0, 26], "task_id": 26, "task_return": 26, "templat": 1, "test": 2, "text": [0, 3, 6, 11, 14, 15, 23, 24], "textchannel": 9, "than": [7, 24], "thei": [3, 17, 22], "them": [1, 3, 17, 26], "thi": [0, 1, 3, 7, 9, 10, 12, 17, 18, 19, 21, 23, 24, 25, 26], "thread": [0, 9], "three": [3, 23], "through": [14, 16, 19], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 10, 26], "timeout": [0, 3, 18, 23], "timezon": 26, "titl": [3, 23, 24], "token": [1, 6], "toml": [0, 1], "too": 24, "tool": [3, 7], "top": 7, "total": [3, 23], "trace": [0, 7, 20], "track": 26, "transport": 4, "trashcan": [3, 23], "tree": 3, "trigger": 10, "true": [3, 6, 10, 12, 19, 20, 22, 23, 24, 26], "truncat": [3, 23], "tupl": [17, 26], "turn": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "type_": 10, "typeerror": [10, 17], "typehint": 17, "typevar": [12, 17, 26], "u": [0, 3, 23], "ui": 18, "unavail": 3, "unawait": 26, "undefin": [3, 23, 24], "under": 7, "underli": 19, "union": 10, "uniqu": 26, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 26, "unsupport": 24, "unti": [3, 23], "until": [0, 3, 19, 25], "up": [0, 1, 3, 23], "updat": [0, 17], "update_wrapper_glob": [3, 7, 17], "upload": [0, 24], "upon": 0, "url": [0, 3, 6, 23, 24], "urllib": 25, "us": [0, 1, 3, 4, 6, 7, 9, 10, 12, 17, 19, 20, 21, 23, 24, 25, 26], "usag": 0, "user": [0, 3, 10, 12, 18, 22, 23], "user_has_access": [0, 3, 7, 18], "utc": 26, "util": [0, 1, 2, 3, 8, 17, 18, 20, 23, 24], "v1": [0, 3, 23, 24], "valid": [0, 3, 23, 24], "validate_default": [3, 23, 24], "valu": [3, 12, 17, 19, 20, 23, 24], "valueerror": [6, 17, 24], "vari": 1, "variabl": [1, 3, 23, 24], "variou": [0, 9], "verifi": 10, "version": [0, 11], "view": [0, 18], "viewwithuserandrolecheck": [0, 3, 7, 18], "wa": [0, 9, 10, 26], "wait": [0, 3, 7, 19, 26], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 26], "wasn": 11, "we": [20, 21], "websocket": 0, "were": 3, "what": 1, "when": [0, 3, 4, 6, 7, 8, 10, 12, 17, 19, 23, 24, 26], "where": 10, "whether": [0, 3, 6, 9, 10, 14, 15, 18, 23, 24], "which": [0, 1, 3, 7, 10, 12, 17, 19, 23, 26], "while": [3, 12, 19, 23], "whitelist": 10, "whitespac": [0, 25], "who": [0, 18], "whom": [3, 23], "withdefault": [3, 23, 24], "withdefaultseri": [3, 23, 24], "withdefaultvalid": [3, 23, 24], "within": [0, 3], "without": [0, 10], "won": 17, "word": [3, 23], "work": [0, 1], "worker": 7, "workflow": 0, "would": [3, 23], "wrap": [8, 17, 26], "wrapper": [0, 6, 12, 17, 26], "write": [0, 1], "wrong": 0, "www": 0, "x": 0, "you": [0, 1, 9, 25], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "checks", "commands", "cooldown", "error_handling package", "commands package", "abc", "manager", "function", "interactions", "lock", "logging", "members", "messages", "pagination", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "abc": 15, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "check": 10, "command": [11, 14], "cooldown": 12, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 13, "ext": 5, "extra": 2, "function": 17, "interact": 18, "local": 1, "lock": 19, "log": 20, "manag": 16, "member": 21, "messag": 22, "modul": 2, "option": 1, "packag": [13, 14], "pagin": 23, "paste_servic": 24, "project": 2, "pydi": 3, "refer": 2, "regex": 25, "schedul": 26, "site_api": 6, "submodul": [3, 7, 14], "subpackag": [3, 7, 13], "test": 1, "util": 7}}) \ No newline at end of file diff --git a/main/versions.html b/main/versions.html index 4ba9361e..6f454570 100644 --- a/main/versions.html +++ b/main/versions.html @@ -5,12 +5,12 @@ - Versions - Pydis Core Latest (11.7.0) + Versions - Pydis Core Latest (11.8.0) - + @@ -169,7 +169,7 @@
@@ -196,7 +196,7 @@
- Pydis Core Latest (11.7.0) + Pydis Core Latest (11.8.0) @@ -737,7 +737,7 @@
- + -- cgit v1.2.3