From 4497a82c504818d61ab18c5251ae2bc42bae279e Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sat, 23 Nov 2024 18:47:50 +0000 Subject: Deploying to docs from @ python-discord/bot-core@bdaaa2e76d4cb32843754757532ef8d73ac97761 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v10.6.0/.buildinfo | 4 +- v10.6.0/_static/basic.css | 15 +-- v10.6.0/_static/doctools.js | 7 -- v10.6.0/_static/language_data.js | 7 -- v10.6.0/_static/searchtools.js | 38 ++++-- v10.6.0/changelog.html | 18 ++- v10.6.0/development.html | 14 ++- v10.6.0/genindex.html | 46 ++++--- v10.6.0/index.html | 18 ++- v10.6.0/index_redirect.html | 6 +- v10.6.0/objects.inv | Bin 2353 -> 2337 bytes v10.6.0/output/pydis_core.async_stats.html | 28 +++-- v10.6.0/output/pydis_core.exts.html | 14 ++- v10.6.0/output/pydis_core.html | 139 +++++++++++---------- v10.6.0/output/pydis_core.site_api.html | 60 +++++---- v10.6.0/output/pydis_core.utils.caching.html | 24 ++-- v10.6.0/output/pydis_core.utils.channel.html | 20 ++- v10.6.0/output/pydis_core.utils.checks.html | 42 ++++--- v10.6.0/output/pydis_core.utils.commands.html | 18 ++- v10.6.0/output/pydis_core.utils.cooldown.html | 26 ++-- .../output/pydis_core.utils.error_handling.html | 18 ++- v10.6.0/output/pydis_core.utils.function.html | 36 +++--- v10.6.0/output/pydis_core.utils.html | 32 +++-- v10.6.0/output/pydis_core.utils.interactions.html | 32 +++-- v10.6.0/output/pydis_core.utils.logging.html | 26 ++-- v10.6.0/output/pydis_core.utils.members.html | 22 ++-- v10.6.0/output/pydis_core.utils.messages.html | 16 ++- v10.6.0/output/pydis_core.utils.pagination.html | 101 ++++++++------- v10.6.0/output/pydis_core.utils.paste_service.html | 114 +++++++++-------- v10.6.0/output/pydis_core.utils.regex.html | 16 ++- v10.6.0/output/pydis_core.utils.scheduling.html | 66 +++++----- v10.6.0/py-modindex.html | 14 ++- v10.6.0/search.html | 14 ++- v10.6.0/searchindex.js | 2 +- v10.6.0/versions.html | 26 +++- 35 files changed, 645 insertions(+), 434 deletions(-) (limited to 'v10.6.0') diff --git a/v10.6.0/.buildinfo b/v10.6.0/.buildinfo index 094b5a55..091e891d 100644 --- a/v10.6.0/.buildinfo +++ b/v10.6.0/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 -# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 3153eacdb9e4dc6180e4648a50d4f3cf +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 546d2326daf13c190c5e9be01cbd5be4 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v10.6.0/_static/basic.css b/v10.6.0/_static/basic.css index f316efcb..7ebbd6d0 100644 --- a/v10.6.0/_static/basic.css +++ b/v10.6.0/_static/basic.css @@ -1,12 +1,5 @@ /* - * basic.css - * ~~~~~~~~~ - * * Sphinx stylesheet -- basic theme. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ /* -- main layout ----------------------------------------------------------- */ @@ -115,15 +108,11 @@ img { /* -- search page ----------------------------------------------------------- */ ul.search { - margin: 10px 0 0 20px; - padding: 0; + margin-top: 10px; } ul.search li { - padding: 5px 0 5px 20px; - background-image: url(file.png); - background-repeat: no-repeat; - background-position: 0 7px; + padding: 5px 0; } ul.search li a { diff --git a/v10.6.0/_static/doctools.js b/v10.6.0/_static/doctools.js index 4d67807d..0398ebb9 100644 --- a/v10.6.0/_static/doctools.js +++ b/v10.6.0/_static/doctools.js @@ -1,12 +1,5 @@ /* - * doctools.js - * ~~~~~~~~~~~ - * * Base JavaScript utilities for all Sphinx HTML documentation. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ "use strict"; diff --git a/v10.6.0/_static/language_data.js b/v10.6.0/_static/language_data.js index 367b8ed8..c7fe6c6f 100644 --- a/v10.6.0/_static/language_data.js +++ b/v10.6.0/_static/language_data.js @@ -1,13 +1,6 @@ /* - * language_data.js - * ~~~~~~~~~~~~~~~~ - * * This script contains the language-specific data used by searchtools.js, * namely the list of stopwords, stemmer, scorer and splitter. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"]; diff --git a/v10.6.0/_static/searchtools.js b/v10.6.0/_static/searchtools.js index b08d58c9..2c774d17 100644 --- a/v10.6.0/_static/searchtools.js +++ b/v10.6.0/_static/searchtools.js @@ -1,12 +1,5 @@ /* - * searchtools.js - * ~~~~~~~~~~~~~~~~ - * * Sphinx JavaScript utilities for the full-text search. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ "use strict"; @@ -20,7 +13,7 @@ if (typeof Scorer === "undefined") { // and returns the new score. /* score: result => { - const [docname, title, anchor, descr, score, filename] = result + const [docname, title, anchor, descr, score, filename, kind] = result return score }, */ @@ -47,6 +40,14 @@ if (typeof Scorer === "undefined") { }; } +// Global search result kind enum, used by themes to style search results. +class SearchResultKind { + static get index() { return "index"; } + static get object() { return "object"; } + static get text() { return "text"; } + static get title() { return "title"; } +} + const _removeChildren = (element) => { while (element && element.lastChild) element.removeChild(element.lastChild); }; @@ -64,9 +65,13 @@ const _displayItem = (item, searchTerms, highlightTerms) => { const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY; const contentRoot = document.documentElement.dataset.content_root; - const [docName, title, anchor, descr, score, _filename] = item; + const [docName, title, anchor, descr, score, _filename, kind] = item; let listItem = document.createElement("li"); + // Add a class representing the item's type: + // can be used by a theme's CSS selector for styling + // See SearchResultKind for the class names. + listItem.classList.add(`kind-${kind}`); let requestUrl; let linkUrl; if (docBuilder === "dirhtml") { @@ -115,8 +120,10 @@ const _finishSearch = (resultCount) => { "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories." ); else - Search.status.innerText = _( - "Search finished, found ${resultCount} page(s) matching the search query." + Search.status.innerText = Documentation.ngettext( + "Search finished, found one page matching the search query.", + "Search finished, found ${resultCount} pages matching the search query.", + resultCount, ).replace('${resultCount}', resultCount); }; const _displayNextItem = ( @@ -138,7 +145,7 @@ const _displayNextItem = ( else _finishSearch(resultCount); }; // Helper function used by query() to order search results. -// Each input is an array of [docname, title, anchor, descr, score, filename]. +// Each input is an array of [docname, title, anchor, descr, score, filename, kind]. // Order the results by score (in opposite order of appearance, since the // `_displayNextItem` function uses pop() to retrieve items) and then alphabetically. const _orderResultsByScoreThenName = (a, b) => { @@ -248,6 +255,7 @@ const Search = { searchSummary.classList.add("search-summary"); searchSummary.innerText = ""; const searchList = document.createElement("ul"); + searchList.setAttribute("role", "list"); searchList.classList.add("search"); const out = document.getElementById("search-results"); @@ -318,7 +326,7 @@ const Search = { const indexEntries = Search._index.indexentries; // Collect multiple result groups to be sorted separately and then ordered. - // Each is an array of [docname, title, anchor, descr, score, filename]. + // Each is an array of [docname, title, anchor, descr, score, filename, kind]. const normalResults = []; const nonMainIndexResults = []; @@ -337,6 +345,7 @@ const Search = { null, score + boost, filenames[file], + SearchResultKind.title, ]); } } @@ -354,6 +363,7 @@ const Search = { null, score, filenames[file], + SearchResultKind.index, ]; if (isMain) { normalResults.push(result); @@ -475,6 +485,7 @@ const Search = { descr, score, filenames[match[0]], + SearchResultKind.object, ]); }; Object.keys(objects).forEach((prefix) => @@ -585,6 +596,7 @@ const Search = { null, score, filenames[file], + SearchResultKind.text, ]); } return results; diff --git a/v10.6.0/changelog.html b/v10.6.0/changelog.html index f7a806b1..0b6e51ec 100644 --- a/v10.6.0/changelog.html +++ b/v10.6.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    10.6.0 30th January 2024

    @@ -553,7 +561,7 @@

    9.3.0 13th December 2022

    @@ -835,7 +843,7 @@ - + diff --git a/v10.6.0/development.html b/v10.6.0/development.html index 4b3321cd..c1e17217 100644 --- a/v10.6.0/development.html +++ b/v10.6.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -572,7 +580,7 @@ to help you test out certain features. Use them as needed.

    - + diff --git a/v10.6.0/genindex.html b/v10.6.0/genindex.html index f60411a9..8b3a3258 100644 --- a/v10.6.0/genindex.html +++ b/v10.6.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v10.6.0 + Index - Pydis Core v10.6.0 - + @@ -320,6 +320,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -496,6 +504,14 @@
  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_computed_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_core_schema__ (PaginationEmojis attribute), [1] @@ -530,6 +546,14 @@
  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_fields_set__ (PaginationEmojis attribute), [1] @@ -808,28 +832,12 @@
  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PaginationEmojis attribute), [1] - -
  • model_config (PaginationEmojis attribute), [1]
  • -
  • model_fields (PaginationEmojis attribute), [1] - -
  • @@ -1202,7 +1210,7 @@ - + diff --git a/v10.6.0/index.html b/v10.6.0/index.html index 27ac58f2..5b30ac66 100644 --- a/v10.6.0/index.html +++ b/v10.6.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -480,10 +488,12 @@
  • PaginationEmojis.__class_vars__
  • PaginationEmojis.__private_attributes__
  • PaginationEmojis.__pydantic_complete__
  • +
  • PaginationEmojis.__pydantic_computed_fields__
  • PaginationEmojis.__pydantic_core_schema__
  • PaginationEmojis.__pydantic_custom_init__
  • PaginationEmojis.__pydantic_decorators__
  • PaginationEmojis.__pydantic_extra__
  • +
  • PaginationEmojis.__pydantic_fields__
  • PaginationEmojis.__pydantic_fields_set__
  • PaginationEmojis.__pydantic_generic_metadata__
  • PaginationEmojis.__pydantic_parent_namespace__
  • @@ -492,9 +502,7 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -581,7 +589,7 @@ - + diff --git a/v10.6.0/index_redirect.html b/v10.6.0/index_redirect.html index cdad85c4..2ac2783a 100644 --- a/v10.6.0/index_redirect.html +++ b/v10.6.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v10.6.0 - + @@ -55,7 +55,7 @@ - + diff --git a/v10.6.0/objects.inv b/v10.6.0/objects.inv index 9d3bcf7f..d942d477 100644 Binary files a/v10.6.0/objects.inv and b/v10.6.0/objects.inv differ diff --git a/v10.6.0/output/pydis_core.async_stats.html b/v10.6.0/output/pydis_core.async_stats.html index 8052dcd6..ceb56a31 100644 --- a/v10.6.0/output/pydis_core.async_stats.html +++ b/v10.6.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -458,11 +466,11 @@
      Parameters:
      @@ -471,10 +479,10 @@
      async create_socket()[source]
      -

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

      +

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

      Return type:
      -

      None

      +

      None

      @@ -556,7 +564,7 @@ - + diff --git a/v10.6.0/output/pydis_core.exts.html b/v10.6.0/output/pydis_core.exts.html index ae0acd7c..5aed9e32 100644 --- a/v10.6.0/output/pydis_core.exts.html +++ b/v10.6.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -498,7 +506,7 @@ - + diff --git a/v10.6.0/output/pydis_core.html b/v10.6.0/output/pydis_core.html index 0d0cac2e..6a71d807 100644 --- a/v10.6.0/output/pydis_core.html +++ b/v10.6.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -458,12 +466,12 @@
      Parameters:
      @@ -476,7 +484,7 @@ a dummy statsd client will be created.

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

      Return type:
      -

      None

      +

      None

      @@ -487,7 +495,7 @@ a dummy statsd client will be created.

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

      Return type:
      -

      None

      +

      None

      @@ -498,7 +506,7 @@ a dummy statsd client will be created.

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

      Return type:
      -

      None

      +

      None

      @@ -509,7 +517,7 @@ a dummy statsd client will be created.

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

      Return type:
      -

      None

      +

      None

      @@ -520,10 +528,10 @@ a dummy statsd client will be created.

      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

      @@ -534,7 +542,7 @@ a dummy statsd client will be created.

      Log the given message to #dev-log.

      Return type:
      -

      None

      +

      None

      @@ -547,7 +555,7 @@ a dummy statsd client will be created.

      will not be set and guild_available_but_cache_empty event will be emitted.

      Return type:
      -

      None

      +

      None

      @@ -558,7 +566,7 @@ will not be set and guild_available_but_cache_empty event will be e

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

      Return type:
      -

      None

      +

      None

      @@ -569,7 +577,7 @@ will not be set and guild_available_but_cache_empty event will be e

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

      Return type:
      -

      None

      +

      None

      @@ -581,7 +589,7 @@ will not be set and guild_available_but_cache_empty event will be e

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

      Return type:
      -

      None

      +

      None

      @@ -594,7 +602,7 @@ will not be set and guild_available_but_cache_empty event will be e To remove them, either remove the entire command or manually edit bot.all_commands.

      Return type:
      -

      Command | None

      +

      Command | None

      @@ -608,7 +616,7 @@ To remove them, either remove the entire command or manually edit bot.all_ and ping_services().

      Return type:
      -

      None

      +

      None

      @@ -621,7 +629,7 @@ and
      Return type:
      -

      None

      +

      None

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

      Bases: Exception

      +

      Bases: Exception

      Raised when attempting to paginate with empty contents.

      @@ -644,11 +652,11 @@ gateway event before giving up and thus not populating the cache for unavailable
      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.

      @@ -677,12 +685,12 @@ 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

      @@ -701,26 +709,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.

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

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

      • +
      • 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: @@ -754,9 +762,15 @@ to any user with a moderation role.

      Whether model building is completed, or if there are still undefined fields.

      +
      +
      +__pydantic_computed_fields__: ClassVar[Dict[str, ComputedFieldInfo]] = {}
      +

      A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.

      +
      +
      -__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.pagination.PaginationEmojis'>, 'config': {'title': 'PaginationEmojis'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'pydis_core.utils.pagination.PaginationEmojis'>, title=None), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.pagination.PaginationEmojis'>>]}, 'ref': 'pydis_core.utils.pagination.PaginationEmojis:94516836251968', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'delete': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '<:trashcan:637136429717389331>', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'first': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '⏮', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'last': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '⏭', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'left': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '⬅', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'right': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, '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:94206856536048', '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.

      @@ -779,6 +793,13 @@ This replaces Model.__validators__ and Model.__root_validator

      A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

      +
      +
      +__pydantic_fields__: ClassVar[Dict[str, FieldInfo]] = {'delete': FieldInfo(annotation=str, required=False, default='<:trashcan:637136429717389331>'), 'first': FieldInfo(annotation=str, required=False, default='⏮'), 'last': FieldInfo(annotation=str, required=False, default='⏭'), 'left': FieldInfo(annotation=str, required=False, default='⬅'), 'right': FieldInfo(annotation=str, required=False, default='➡')}
      +

      A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects. +This replaces Model.__fields__ from Pydantic V1.

      +
      +
      __pydantic_fields_set__: set[str]
      @@ -812,13 +833,13 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
      -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055f66a733940,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007fcf6a3f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf649b45d0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fcf6a3d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf649b4670,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fcf6a3796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf649b4620,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fcf6a379730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf649b4580,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fcf6a760eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf649b46c0,                                         ),                                     ),                                     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(             0x000055ae3e381ff0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007ff250f797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24770c7b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007ff250fd2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24770c8a0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007ff250f797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24770c850,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007ff250ff47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24770c800,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007ff251360eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24770c8f0,                                         ),                                     ),                                     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(                                 0x00007fcf67624cf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fcf64492230,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a3f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf649b45d0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf6510c5b0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fcf644907b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fcf64491770,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a379730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf649b4580,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf6510c5b0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fcf64493f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fcf64493fb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a3796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf649b4620,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf6510c5b0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fcf64492fb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fcf644903f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a3d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf649b4670,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf6510c5b0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fcf64490b70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fcf64490c30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a760eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf649b46c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf6510c5b0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055f66a733940,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fcf6510c5b0,         ),         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(                                 0x00007ff24e29da30,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007ff247e427b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250ff47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24770c800,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff247e78500,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007ff247fe3cf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007ff246b157f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250f797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24770c7b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff247e78500,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007ff246b15c30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007ff246b16b70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250f797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24770c850,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff247e78500,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007ff246b156f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007ff246b17f70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250fd2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24770c8a0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff247e78500,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007ff246b15ab0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007ff246b158b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff251360eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24770c8f0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff247e78500,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055ae3e381ff0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007ff247e78500,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

      @@ -828,32 +849,18 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b

      The synthesized __init__ [Signature][inspect.Signature] of the model.

      -
      -
      -model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
      -

      A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

      -
      -
      model_config: ClassVar[ConfigDict] = {}

      Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

      -
      -
      -model_fields: ClassVar[Dict[str, FieldInfo]] = {'delete': FieldInfo(annotation=str, required=False, default='<:trashcan:637136429717389331>'), 'first': FieldInfo(annotation=str, required=False, default='⏮'), 'last': FieldInfo(annotation=str, required=False, default='⏭'), 'left': FieldInfo(annotation=str, required=False, default='⬅'), 'right': FieldInfo(annotation=str, required=False, default='➡')}
      -

      Metadata about the fields defined on the model, -mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

      -

      This replaces Model.__fields__ from Pydantic V1.

      -
      -
      exception StartupError(base)[source]
      -

      Bases: Exception

      +

      Bases: Exception

      Exception class for startup errors.

      @@ -1085,10 +1092,12 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
    • PaginationEmojis.__class_vars__
    • PaginationEmojis.__private_attributes__
    • PaginationEmojis.__pydantic_complete__
    • +
    • PaginationEmojis.__pydantic_computed_fields__
    • PaginationEmojis.__pydantic_core_schema__
    • PaginationEmojis.__pydantic_custom_init__
    • PaginationEmojis.__pydantic_decorators__
    • PaginationEmojis.__pydantic_extra__
    • +
    • PaginationEmojis.__pydantic_fields__
    • PaginationEmojis.__pydantic_fields_set__
    • PaginationEmojis.__pydantic_generic_metadata__
    • PaginationEmojis.__pydantic_parent_namespace__
    • @@ -1097,9 +1106,7 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
    • PaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • StartupError
      @@ -1120,7 +1127,7 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob - + diff --git a/v10.6.0/output/pydis_core.site_api.html b/v10.6.0/output/pydis_core.site_api.html index 91993c39..85f905c7 100644 --- a/v10.6.0/output/pydis_core.site_api.html +++ b/v10.6.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -449,7 +457,7 @@
      class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
      -

      Bases: object

      +

      Bases: object

      A wrapper for the Django Site API.

      @@ -458,9 +466,9 @@
      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.

      @@ -472,7 +480,7 @@

      Close the aiohttp session.

      Return type:
      -

      None

      +

      None

      @@ -483,7 +491,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -494,7 +502,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -506,15 +514,15 @@
      Parameters:
      Raises:

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

      Return type:
      -

      None

      +

      None

      @@ -525,7 +533,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -536,7 +544,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -547,7 +555,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -559,17 +567,17 @@
      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.

      @@ -582,7 +590,7 @@
      exception ResponseCodeError(response, response_json=None, response_text=None)[source]
      -

      Bases: ValueError

      +

      Bases: ValueError

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

      @@ -591,9 +599,9 @@
      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.

      @@ -694,7 +702,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.caching.html b/v10.6.0/output/pydis_core.utils.caching.html index c5dc5137..4497d261 100644 --- a/v10.6.0/output/pydis_core.utils.caching.html +++ b/v10.6.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -449,7 +457,7 @@
      class AsyncCache(max_size=128)[source]
      -

      Bases: object

      +

      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.

      @@ -459,10 +467,10 @@

      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.

      @@ -476,7 +484,7 @@

      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.

      @@ -487,7 +495,7 @@

      Clear cache instance.

      Return type:
      -

      None

      +

      None

      @@ -570,7 +578,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.channel.html b/v10.6.0/output/pydis_core.utils.channel.html index ea565ecc..f78badae 100644 --- a/v10.6.0/output/pydis_core.utils.channel.html +++ b/v10.6.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -454,7 +462,7 @@
      Parameters:
      • bot (Bot) – The discord.ext.commands.Bot instance to use for getting/fetching.

      • -
      • channel_id (int) – The channel to get/fetch.

      • +
      • channel_id (int) – The channel to get/fetch.

      Raises:
      @@ -482,11 +490,11 @@
      Parameters:
      • channel (TextChannel) – The channel to check.

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

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

      Return type:
      -

      bool

      +

      bool

      Returns:

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

      @@ -566,7 +574,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.checks.html b/v10.6.0/output/pydis_core.utils.checks.html index 278e17b0..208fdf45 100644 --- a/v10.6.0/output/pydis_core.utils.checks.html +++ b/v10.6.0/output/pydis_core.utils.checks.html @@ -5,13 +5,13 @@ - + checks - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -472,10 +480,10 @@
      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.

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

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

      Returns:
      @@ -485,7 +493,7 @@

      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.

      @@ -499,14 +507,14 @@
      Parameters:
      • ctx (discord.ext.commands.Context) – The context where the command is being invoked.

      • -
      • roles (Union[str, int], ...) – A collection of role IDs.

      • +
      • roles (Union[str, int], ...) – A collection of role IDs.

      Returns:

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

      Return type:
      -

      bool

      +

      bool

      @@ -520,14 +528,14 @@
      Parameters:
      • ctx (discord.ext.commands.Context) – The context where the command is being invoked.

      • -
      • roles (Union[str, int], ...) – A collection of role IDs.

      • +
      • roles (Union[str, int], ...) – A collection of role IDs.

      Returns:

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

      Return type:
      -

      bool

      +

      bool

      @@ -540,18 +548,18 @@
      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.

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

      @@ -638,7 +646,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.commands.html b/v10.6.0/output/pydis_core.utils.commands.html index 1aad3429..e8de887e 100644 --- a/v10.6.0/output/pydis_core.utils.commands.html +++ b/v10.6.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -453,14 +461,14 @@
      Parameters:
      • ctx (Context) – The command’s context

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

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

      Return type:
      -

      str

      +

      str

      Returns:

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

      @@ -539,7 +547,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.cooldown.html b/v10.6.0/output/pydis_core.utils.cooldown.html index 00d5f142..8077aab1 100644 --- a/v10.6.0/output/pydis_core.utils.cooldown.html +++ b/v10.6.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -449,7 +457,7 @@
      exception CommandOnCooldown(message, function, /, *args, **kwargs)[source]
      -

      Bases: CommandError, Generic[P, R]

      +

      Bases: CommandError, Generic[P, R]

      Raised when a command is invoked while on cooldown.

      @@ -462,7 +470,7 @@

      Run the command this cooldown blocked.

      Return type:
      -

      TypeVar(R)

      +

      TypeVar(R)

      Returns:

      The command’s return value.

      @@ -492,14 +500,14 @@
      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.

      @@ -589,7 +597,7 @@ its return value is then used to check for the cooldown instead of the raw argum - + diff --git a/v10.6.0/output/pydis_core.utils.error_handling.html b/v10.6.0/output/pydis_core.utils.error_handling.html index 0df32542..69008030 100644 --- a/v10.6.0/output/pydis_core.utils.error_handling.html +++ b/v10.6.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -453,11 +461,11 @@
      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.

      • +
      • message (Message | None) – The message to reply to and include in logs, if error is 90001 and message is provided.

      Return type:
      -

      None

      +

      None

      @@ -533,7 +541,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.function.html b/v10.6.0/output/pydis_core.utils.function.html index cd2b3cb3..e20a81c2 100644 --- a/v10.6.0/output/pydis_core.utils.function.html +++ b/v10.6.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -449,7 +457,7 @@
      exception GlobalNameConflictError[source]
      -

      Bases: Exception

      +

      Bases: Exception

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

      @@ -461,17 +469,17 @@
      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.

      @@ -492,9 +500,9 @@ changes won’t be reflected in the new function’s globals.

      Parameters:
      Raises:
      @@ -502,7 +510,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)]

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

      - + diff --git a/v10.6.0/output/pydis_core.utils.html b/v10.6.0/output/pydis_core.utils.html index 4456896d..cb6afe1c 100644 --- a/v10.6.0/output/pydis_core.utils.html +++ b/v10.6.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -452,7 +460,7 @@

      Applies all common monkey patches for our bots.

      Return type:
      -

      None

      +

      None

      @@ -471,10 +479,10 @@ that will act as top-level groups rather than being aliases of the command’s g

      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.

      @@ -582,10 +590,12 @@ that will act as top-level groups rather than being aliases of the command’s g
    • PaginationEmojis.__class_vars__
    • PaginationEmojis.__private_attributes__
    • PaginationEmojis.__pydantic_complete__
    • +
    • PaginationEmojis.__pydantic_computed_fields__
    • PaginationEmojis.__pydantic_core_schema__
    • PaginationEmojis.__pydantic_custom_init__
    • PaginationEmojis.__pydantic_decorators__
    • PaginationEmojis.__pydantic_extra__
    • +
    • PaginationEmojis.__pydantic_fields__
    • PaginationEmojis.__pydantic_fields_set__
    • PaginationEmojis.__pydantic_generic_metadata__
    • PaginationEmojis.__pydantic_parent_namespace__
    • @@ -594,9 +604,7 @@ that will act as top-level groups rather than being aliases of the command’s g
    • PaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • @@ -607,10 +615,12 @@ that will act as top-level groups rather than being aliases of the command’s g
  • PasteFile.__class_vars__
  • PasteFile.__private_attributes__
  • PasteFile.__pydantic_complete__
  • +
  • PasteFile.__pydantic_computed_fields__
  • PasteFile.__pydantic_core_schema__
  • PasteFile.__pydantic_custom_init__
  • PasteFile.__pydantic_decorators__
  • PasteFile.__pydantic_extra__
  • +
  • PasteFile.__pydantic_fields__
  • PasteFile.__pydantic_fields_set__
  • PasteFile.__pydantic_generic_metadata__
  • PasteFile.__pydantic_parent_namespace__
  • @@ -619,19 +629,19 @@ that will act as top-level groups rather than being aliases of the command’s g
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -747,7 +755,7 @@ that will act as top-level groups rather than being aliases of the command’s g - + diff --git a/v10.6.0/output/pydis_core.utils.interactions.html b/v10.6.0/output/pydis_core.utils.interactions.html index 34d2f9eb..245fcade 100644 --- a/v10.6.0/output/pydis_core.utils.interactions.html +++ b/v10.6.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    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.

    @@ -471,7 +479,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -486,11 +494,11 @@
    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.

    @@ -509,7 +517,7 @@ If None

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -520,7 +528,7 @@ If None

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -531,7 +539,7 @@ If None

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

    Return type:
    -

    None

    +

    None

    @@ -620,7 +628,7 @@ If None - + diff --git a/v10.6.0/output/pydis_core.utils.logging.html b/v10.6.0/output/pydis_core.utils.logging.html index 69bb474c..d3f79964 100644 --- a/v10.6.0/output/pydis_core.utils.logging.html +++ b/v10.6.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,8 +457,8 @@
    class CustomLogger(name, level=0)[source]
    -

    Bases: Logger

    -

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

    +

    Bases: Logger

    +

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

    trace(msg, *args, **kwargs)[source]
    @@ -462,13 +470,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

    @@ -481,7 +489,7 @@

    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

    @@ -495,7 +503,7 @@
    log_format[source]
    -

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

    +

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

    @@ -576,7 +584,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.members.html b/v10.6.0/output/pydis_core.utils.members.html index 5c91491a..080b0a90 100644 --- a/v10.6.0/output/pydis_core.utils.members.html +++ b/v10.6.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -452,10 +460,10 @@

    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.

    @@ -470,12 +478,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -552,7 +560,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.messages.html b/v10.6.0/output/pydis_core.utils.messages.html index 425486ac..253ea0c8 100644 --- a/v10.6.0/output/pydis_core.utils.messages.html +++ b/v10.6.0/output/pydis_core.utils.messages.html @@ -5,13 +5,13 @@ - + messages - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,7 @@ If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

    Return type:
    -

    bool

    +

    bool

    @@ -529,7 +537,7 @@ If allow_mods is True, allow users with moderator roles even if the - + diff --git a/v10.6.0/output/pydis_core.utils.pagination.html b/v10.6.0/output/pydis_core.utils.pagination.html index 6f3532a3..45d725a9 100644 --- a/v10.6.0/output/pydis_core.utils.pagination.html +++ b/v10.6.0/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - + pagination - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,7 +456,7 @@
    exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

    @@ -460,12 +468,12 @@
    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.

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

    @@ -494,12 +502,12 @@ 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

    @@ -517,27 +525,27 @@ 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.

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

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

    • +
    • 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: @@ -571,9 +579,15 @@ to any user with a moderation role.

    Whether model building is completed, or if there are still undefined fields.

    +
    +
    +__pydantic_computed_fields__: ClassVar[Dict[str, ComputedFieldInfo]] = {}
    +

    A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.

    +
    +
    -__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.pagination.PaginationEmojis'>, 'config': {'title': 'PaginationEmojis'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'pydis_core.utils.pagination.PaginationEmojis'>, title=None), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.pagination.PaginationEmojis'>>]}, 'ref': 'pydis_core.utils.pagination.PaginationEmojis:94516836211152', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'delete': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '<:trashcan:637136429717389331>', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'first': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '⏮', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'last': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '⏭', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'left': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '⬅', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'right': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, '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:94206856494912', '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.

    @@ -596,6 +610,13 @@ This replaces Model.__validators__ and Model.__root_validator

    A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

    +
    +
    +__pydantic_fields__: ClassVar[Dict[str, FieldInfo]] = {'delete': FieldInfo(annotation=str, required=False, default='<:trashcan:637136429717389331>'), 'first': FieldInfo(annotation=str, required=False, default='⏮'), 'last': FieldInfo(annotation=str, required=False, default='⏭'), 'left': FieldInfo(annotation=str, required=False, default='⬅'), 'right': FieldInfo(annotation=str, required=False, default='➡')}
    +

    A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects. +This replaces Model.__fields__ from Pydantic V1.

    +
    +
    __pydantic_fields_set__: set[str]
    @@ -629,13 +650,13 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055f66a7299d0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "last": SerField {                         key_py: Py(                             0x00007fcf6a3d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe8d0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fcf6a379730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe7e0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fcf6a3f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe830,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fcf6a760eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe920,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fcf6a3796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf64bbe880,                                         ),                                     ),                                     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(             0x000055ae3e377f40,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007ff250f797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771ea60,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007ff250ff47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771eab0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007ff251360eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771eba0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007ff250f797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771eb00,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007ff250fd2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff24771eb50,                                         ),                                     ),                                     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(                                 0x00007fcf64e57b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fcf647de1f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a3f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe830,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fcf647dc7b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fcf647dd6b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a379730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe7e0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fcf647dff30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fcf647dfe70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a3796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe880,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fcf647def70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fcf647dc3f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a3d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe8d0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fcf647dcb30,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fcf647dcbf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a760eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf64bbe920,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f26470,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055f66a7299d0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fcf68f26470,         ),         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(                                 0x00007ff24e29da30,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007ff247f7e130,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250ff47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771eab0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007ff246d35770,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007ff246d35eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250f797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771ea60,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007ff246d36b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007ff246d35670,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250f797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771eb00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007ff246d37f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007ff246d37fb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250fd2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771eb50,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007ff246d35a70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007ff246d35870,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff251360eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff24771eba0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e3c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055ae3e377f40,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007ff24fb4e3c0,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

    @@ -645,26 +666,12 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b

    The synthesized __init__ [Signature][inspect.Signature] of the model.

    -
    -
    -model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
    -

    A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

    -
    -
    model_config: ClassVar[ConfigDict] = {}

    Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

    -
    -
    -model_fields: ClassVar[Dict[str, FieldInfo]] = {'delete': FieldInfo(annotation=str, required=False, default='<:trashcan:637136429717389331>'), 'first': FieldInfo(annotation=str, required=False, default='⏮'), 'last': FieldInfo(annotation=str, required=False, default='⏭'), 'left': FieldInfo(annotation=str, required=False, default='⬅'), 'right': FieldInfo(annotation=str, required=False, default='➡')}
    -

    Metadata about the fields defined on the model, -mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

    -

    This replaces Model.__fields__ from Pydantic V1.

    -
    -
    @@ -736,10 +743,12 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
  • PaginationEmojis.__class_vars__
  • PaginationEmojis.__private_attributes__
  • PaginationEmojis.__pydantic_complete__
  • +
  • PaginationEmojis.__pydantic_computed_fields__
  • PaginationEmojis.__pydantic_core_schema__
  • PaginationEmojis.__pydantic_custom_init__
  • PaginationEmojis.__pydantic_decorators__
  • PaginationEmojis.__pydantic_extra__
  • +
  • PaginationEmojis.__pydantic_fields__
  • PaginationEmojis.__pydantic_fields_set__
  • PaginationEmojis.__pydantic_generic_metadata__
  • PaginationEmojis.__pydantic_parent_namespace__
  • @@ -748,9 +757,7 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -765,7 +772,7 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob - + diff --git a/v10.6.0/output/pydis_core.utils.paste_service.html b/v10.6.0/output/pydis_core.utils.paste_service.html index 1f8a3fec..a44741c5 100644 --- a/v10.6.0/output/pydis_core.utils.paste_service.html +++ b/v10.6.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -459,9 +467,9 @@
    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"

    @@ -483,9 +491,15 @@

    Whether model building is completed, or if there are still undefined fields.

    +
    +
    +__pydantic_computed_fields__: ClassVar[Dict[str, ComputedFieldInfo]] = {}
    +

    A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.

    +
    +
    -__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.paste_service.PasteFile'>, 'config': {'title': 'PasteFile'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'pydis_core.utils.paste_service.PasteFile'>, title=None), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.paste_service.PasteFile'>>]}, 'ref': 'pydis_core.utils.paste_service.PasteFile:94516838791968', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'content': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'type': 'str'}, 'type': 'model-field'}, 'lexer': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'python', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'name': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, '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:94206858751232', '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.

    @@ -508,6 +522,13 @@ This replaces Model.__validators__ and Model.__root_validator

    A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

    +
    +
    +__pydantic_fields__: ClassVar[Dict[str, FieldInfo]] = {'content': FieldInfo(annotation=str, required=True), 'lexer': FieldInfo(annotation=str, required=False, default='python'), 'name': FieldInfo(annotation=str, required=False, default='')}
    +

    A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects. +This replaces Model.__fields__ from Pydantic V1.

    +
    +
    __pydantic_fields_set__: set[str]
    @@ -541,13 +562,13 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055f66a99fb20,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "lexer": SerField {                         key_py: Py(                             0x00007fcf69f9c370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf69d044b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007fcf6a2679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007fcf6b156ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fcf6b1530c0,                                         ),                                     ),                                     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(             0x000055ae3e59ed00,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007ff250e679b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007ff251d56ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff251d530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007ff250ba4e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ff250909030,                                         ),                                     ),                                     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(                                 0x00007fcf683ba230,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fcf573ee7f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6a2679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fcf573ee870,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fcf573ee730,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6b156ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf6b1530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f265a0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fcf573ee7b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fcf573ee6f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf69f9c370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fcf69d044b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fcf68f265a0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055f66a99fb20,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fcf68f265a0,         ),         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(                                 0x00007ff246496830,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007ff246496f70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250e679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007ff246496db0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007ff246496e70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff251d56ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff251d530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e4f0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007ff246496ef0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007ff246496e30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff250ba4e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ff250909030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007ff24fb4e4f0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055ae3e59ed00,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007ff24fb4e4f0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -557,26 +578,12 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b

    The synthesized __init__ [Signature][inspect.Signature] of the model.

    -
    -
    -model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
    -

    A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

    -
    -
    model_config: ClassVar[ConfigDict] = {}

    Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

    -
    -
    -model_fields: ClassVar[Dict[str, FieldInfo]] = {'content': FieldInfo(annotation=str, required=True), 'lexer': FieldInfo(annotation=str, required=False, default='python'), 'name': FieldInfo(annotation=str, required=False, default='')}
    -

    Metadata about the fields defined on the model, -mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

    -

    This replaces Model.__fields__ from Pydantic V1.

    -
    -
    @@ -587,8 +594,8 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
    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.

    @@ -610,9 +617,15 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob

    Whether model building is completed, or if there are still undefined fields.

    +
    +
    +__pydantic_computed_fields__: ClassVar[Dict[str, ComputedFieldInfo]] = {}
    +

    A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.

    +
    +
    -__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'pydis_core.utils.paste_service.PasteResponse'>, 'config': {'title': 'PasteResponse'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'pydis_core.utils.paste_service.PasteResponse'>, title=None), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'pydis_core.utils.paste_service.PasteResponse'>>]}, 'ref': 'pydis_core.utils.paste_service.PasteResponse:94516838430512', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'link': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'type': 'str'}, 'type': 'model-field'}, 'removal': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, '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:94206858745360', '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.

    @@ -635,6 +648,13 @@ This replaces Model.__validators__ and Model.__root_validator

    A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

    +
    +
    +__pydantic_fields__: ClassVar[Dict[str, FieldInfo]] = {'link': FieldInfo(annotation=str, required=True), 'removal': FieldInfo(annotation=str, required=True)}
    +

    A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects. +This replaces Model.__fields__ from Pydantic V1.

    +
    +
    __pydantic_fields_set__: set[str]
    @@ -668,13 +688,13 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055f66a947730,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007fcf6484fd30,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007fcf6b0ac2a0,                         ),                         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(             0x000055ae3e59d610,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007ff251cac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007ff246d73d30,                         ),                         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(                                 0x00007fcf573ef4f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fcf573ef5f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6b0ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fcf573ef4b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fcf573ef430,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fcf6484fd30,                         ),                         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(             0x000055f66a947730,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fcf68f265a0,         ),         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(                                 0x00007ff246497d70,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007ff246497fb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff251cac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007ff246497e30,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007ff2464973b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007ff246d73d30,                         ),                         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(             0x000055ae3e59d610,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007ff24fb4e4f0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -684,46 +704,32 @@ __args__, __origin__, __parameters__ in typing-module generics. May eventually b

    The synthesized __init__ [Signature][inspect.Signature] of the model.

    -
    -
    -model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
    -

    A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

    -
    -
    model_config: ClassVar[ConfigDict] = {}

    Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

    -
    -
    -model_fields: ClassVar[Dict[str, FieldInfo]] = {'link': FieldInfo(annotation=str, required=True), 'removal': FieldInfo(annotation=str, required=True)}
    -

    Metadata about the fields defined on the model, -mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

    -

    This replaces Model.__fields__ from Pydantic V1.

    -
    -
    exception PasteTooLongError[source]
    -

    Bases: Exception

    +

    Bases: Exception

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

    exception PasteUnsupportedLexerError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when an unsupported lexer is used.

    exception PasteUploadError[source]
    -

    Bases: Exception

    +

    Bases: Exception

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

    @@ -734,15 +740,15 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
    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:
    @@ -819,10 +825,12 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
  • PasteFile.__class_vars__
  • PasteFile.__private_attributes__
  • PasteFile.__pydantic_complete__
  • +
  • PasteFile.__pydantic_computed_fields__
  • PasteFile.__pydantic_core_schema__
  • PasteFile.__pydantic_custom_init__
  • PasteFile.__pydantic_decorators__
  • PasteFile.__pydantic_extra__
  • +
  • PasteFile.__pydantic_fields__
  • PasteFile.__pydantic_fields_set__
  • PasteFile.__pydantic_generic_metadata__
  • PasteFile.__pydantic_parent_namespace__
  • @@ -831,19 +839,19 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -873,7 +879,7 @@ mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] ob - + diff --git a/v10.6.0/output/pydis_core.utils.regex.html b/v10.6.0/output/pydis_core.utils.regex.html index eafc9761..681a2c76 100644 --- a/v10.6.0/output/pydis_core.utils.regex.html +++ b/v10.6.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -454,7 +462,7 @@

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

    @@ -549,7 +557,7 @@ such as - + diff --git a/v10.6.0/output/pydis_core.utils.scheduling.html b/v10.6.0/output/pydis_core.utils.scheduling.html index dd208956..a4fd74af 100644 --- a/v10.6.0/output/pydis_core.utils.scheduling.html +++ b/v10.6.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@
    class Scheduler(name)[source]
    -

    Bases: object

    +

    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 @@ -463,16 +471,16 @@ the same ID used to schedule it.

    __contains__(task_id)[source]
    -

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

    +

    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.

    @@ -483,7 +491,7 @@ the same ID used to schedule it.

    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.

    @@ -494,10 +502,10 @@ the same ID used to schedule it.

    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

    @@ -508,7 +516,7 @@ the same ID used to schedule it.

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -522,12 +530,12 @@ prevents unawaited coroutine warnings. Don’t pass a coroutine that’ll be re-
    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

    @@ -544,13 +552,13 @@ 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

    @@ -564,13 +572,13 @@ prevents unawaited coroutine warnings. Don’t pass a coroutine that’ll be re-
    Parameters:
      -
    • delay (int | 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 (int | 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

    @@ -580,23 +588,23 @@ 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.

    +

    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

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

    - + diff --git a/v10.6.0/py-modindex.html b/v10.6.0/py-modindex.html index 0696b6c5..78b84852 100644 --- a/v10.6.0/py-modindex.html +++ b/v10.6.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v10.6.0 + Python Module Index - Pydis Core v10.6.0 - + @@ -320,6 +320,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -602,7 +610,7 @@ - + diff --git a/v10.6.0/search.html b/v10.6.0/search.html index 6bde0552..af8519dc 100644 --- a/v10.6.0/search.html +++ b/v10.6.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v10.6.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -481,7 +489,7 @@ - + diff --git a/v10.6.0/searchindex.js b/v10.6.0/searchindex.js index 242ec26d..3e6983b2 100644 --- a/v10.6.0/searchindex.js +++ b/v10.6.0/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"]], "Subpackages": [[3, "subpackages"]], "Utils": [[7, null]], "async_stats": [[4, null]], "caching": [[8, null]], "channel": [[9, null]], "checks": [[10, null]], "commands": [[11, null]], "cooldown": [[12, null]], "error_handling": [[13, null]], "function": [[14, null]], "interactions": [[15, null]], "logging": [[16, null]], "members": [[17, null]], "messages": [[18, null]], "pagination": [[19, null]], "paste_service": [[20, null]], "regex": [[21, null]], "scheduling": [[22, 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.function", "output/pydis_core.utils.interactions", "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": 63, "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.function.rst", "output/pydis_core.utils.interactions.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], [19, "pydis_core.utils.pagination.PaginationEmojis.__class_vars__", false]], "__class_vars__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.__contains__", 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__() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (contextcheckfailure method)": [[10, "pydis_core.utils.checks.ContextCheckFailure.__init__", false]], "__init__() (deletemessagebutton method)": [[15, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (linepaginator method)": [[3, "pydis_core.LinePaginator.__init__", false], [19, "pydis_core.utils.pagination.LinePaginator.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__private_attributes__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__private_attributes__", false]], "__private_attributes__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_complete__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_complete__", false]], "__pydantic_complete__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_core_schema__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_custom_init__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_decorators__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_decorators__", false]], "__pydantic_decorators__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_extra__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_extra__", false]], "__pydantic_extra__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields_set__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_generic_metadata__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_parent_namespace__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_post_init__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_post_init__", false]], "__pydantic_post_init__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_private__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_private__", false]], "__pydantic_private__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_serializer__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_serializer__", false]], "__pydantic_serializer__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_validator__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_validator__", false]], "__pydantic_validator__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__signature__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__signature__", false]], "__signature__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__signature__", false]], "__str__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__str__", 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], [19, "pydis_core.utils.pagination.LinePaginator.add_line", 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)": [[15, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[22, "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)": [[14, "pydis_core.utils.function.command_wraps", 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)": [[22, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[16, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[15, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[21, "pydis_core.utils.regex.DISCORD_INVITE", false]], "emptypaginatorembederror": [[3, "pydis_core.EmptyPaginatorEmbedError", false], [19, "pydis_core.utils.pagination.EmptyPaginatorEmbedError", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[21, "pydis_core.utils.regex.FORMATTED_CODE_REGEX", false]], "get() (apiclient method)": [[6, "pydis_core.site_api.APIClient.get", false]], "get_logger() (in module pydis_core.utils.logging)": [[16, "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)": [[17, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[14, "pydis_core.utils.function.GlobalNameConflictError", 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)": [[17, "pydis_core.utils.members.handle_role_change", 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]], "in_whitelist_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.in_whitelist_check", false]], "interaction_check() (viewwithuserandrolecheck method)": [[15, "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)": [[19, "pydis_core.utils.pagination.LinePaginator", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[16, "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)": [[20, "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_computed_fields (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_computed_fields", false], [19, "pydis_core.utils.pagination.PaginationEmojis.model_computed_fields", false]], "model_computed_fields (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_config", false], [19, "pydis_core.utils.pagination.PaginationEmojis.model_config", false]], "model_config (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_fields", false], [19, "pydis_core.utils.pagination.PaginationEmojis.model_fields", false]], "model_fields (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.model_fields", 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.function", false], [15, "module-pydis_core.utils.interactions", false], [16, "module-pydis_core.utils.logging", false], [17, "module-pydis_core.utils.members", false], [18, "module-pydis_core.utils.messages", false], [19, "module-pydis_core.utils.pagination", false], [20, "module-pydis_core.utils.paste_service", false], [21, "module-pydis_core.utils.regex", false], [22, "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)": [[15, "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], [19, "pydis_core.utils.pagination.LinePaginator.paginate", false]], "paginationemojis (class in pydis_core)": [[3, "pydis_core.PaginationEmojis", false]], "paginationemojis (class in pydis_core.utils.pagination)": [[19, "pydis_core.utils.pagination.PaginationEmojis", false]], "pastefile (class in pydis_core.utils.paste_service)": [[20, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[20, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[20, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[20, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[20, "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.function": [[14, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[15, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[16, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[17, "module-pydis_core.utils.members", false]], "pydis_core.utils.messages": [[18, "module-pydis_core.utils.messages", false]], "pydis_core.utils.pagination": [[19, "module-pydis_core.utils.pagination", false]], "pydis_core.utils.paste_service": [[20, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[21, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[22, "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)": [[21, "pydis_core.utils.regex.RAW_CODE_REGEX", false]], "reaction_check() (in module pydis_core.utils.messages)": [[18, "pydis_core.utils.messages.reaction_check", 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)": [[22, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[22, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[20, "pydis_core.utils.paste_service.send_to_paste_service", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "stop() (viewwithuserandrolecheck method)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[16, "pydis_core.utils.logging.CustomLogger.trace", false]], "unqualify() (in module pydis_core.utils)": [[7, "pydis_core.utils.unqualify", false]], "update_wrapper_globals() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck", 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, 3, 1, "", "EmptyPaginatorEmbedError"], [3, 1, 1, "", "LinePaginator"], [3, 1, 1, "", "PaginationEmojis"], [3, 3, 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, 2, 1, "", "clear"], [3, 2, 1, "", "close"], [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, 2, 1, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [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, 4, 1, "", "__class_vars__"], [3, 4, 1, "", "__private_attributes__"], [3, 4, 1, "", "__pydantic_complete__"], [3, 4, 1, "", "__pydantic_core_schema__"], [3, 4, 1, "", "__pydantic_custom_init__"], [3, 4, 1, "", "__pydantic_decorators__"], [3, 4, 1, "", "__pydantic_extra__"], [3, 4, 1, "", "__pydantic_fields_set__"], [3, 4, 1, "", "__pydantic_generic_metadata__"], [3, 4, 1, "", "__pydantic_parent_namespace__"], [3, 4, 1, "", "__pydantic_post_init__"], [3, 4, 1, "", "__pydantic_private__"], [3, 4, 1, "", "__pydantic_serializer__"], [3, 4, 1, "", "__pydantic_validator__"], [3, 4, 1, "", "__signature__"], [3, 4, 1, "", "model_computed_fields"], [3, 4, 1, "", "model_config"], [3, 4, 1, "", "model_fields"]], "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, 3, 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"], [14, 0, 0, "-", "function"], [15, 0, 0, "-", "interactions"], [16, 0, 0, "-", "logging"], [17, 0, 0, "-", "members"], [18, 0, 0, "-", "messages"], [19, 0, 0, "-", "pagination"], [20, 0, 0, "-", "paste_service"], [21, 0, 0, "-", "regex"], [22, 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, 3, 1, "", "ContextCheckFailure"], [10, 3, 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, 3, 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": [[13, 5, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[14, 3, 1, "", "GlobalNameConflictError"], [14, 5, 1, "", "command_wraps"], [14, 5, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[15, 1, 1, "", "DeleteMessageButton"], [15, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[15, 2, 1, "", "__init__"], [15, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[15, 2, 1, "", "__init__"], [15, 2, 1, "", "interaction_check"], [15, 2, 1, "", "on_timeout"], [15, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[16, 1, 1, "", "CustomLogger"], [16, 5, 1, "", "get_logger"], [16, 6, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[16, 2, 1, "", "trace"]], "pydis_core.utils.members": [[17, 5, 1, "", "get_or_fetch_member"], [17, 5, 1, "", "handle_role_change"]], "pydis_core.utils.messages": [[18, 5, 1, "", "reaction_check"]], "pydis_core.utils.pagination.LinePaginator": [[19, 2, 1, "", "__init__"], [19, 2, 1, "", "add_line"], [19, 2, 1, "", "paginate"]], "pydis_core.utils.pagination.PaginationEmojis": [[19, 4, 1, "", "__class_vars__"], [19, 4, 1, "", "__private_attributes__"], [19, 4, 1, "", "__pydantic_complete__"], [19, 4, 1, "", "__pydantic_core_schema__"], [19, 4, 1, "", "__pydantic_custom_init__"], [19, 4, 1, "", "__pydantic_decorators__"], [19, 4, 1, "", "__pydantic_extra__"], [19, 4, 1, "", "__pydantic_fields_set__"], [19, 4, 1, "", "__pydantic_generic_metadata__"], [19, 4, 1, "", "__pydantic_parent_namespace__"], [19, 4, 1, "", "__pydantic_post_init__"], [19, 4, 1, "", "__pydantic_private__"], [19, 4, 1, "", "__pydantic_serializer__"], [19, 4, 1, "", "__pydantic_validator__"], [19, 4, 1, "", "__signature__"], [19, 4, 1, "", "model_computed_fields"], [19, 4, 1, "", "model_config"], [19, 4, 1, "", "model_fields"]], "pydis_core.utils.paste_service": [[20, 6, 1, "", "MAX_PASTE_SIZE"], [20, 1, 1, "", "PasteFile"], [20, 1, 1, "", "PasteResponse"], [20, 3, 1, "", "PasteTooLongError"], [20, 3, 1, "", "PasteUnsupportedLexerError"], [20, 3, 1, "", "PasteUploadError"], [20, 5, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[20, 4, 1, "", "__class_vars__"], [20, 4, 1, "", "__private_attributes__"], [20, 4, 1, "", "__pydantic_complete__"], [20, 4, 1, "", "__pydantic_core_schema__"], [20, 4, 1, "", "__pydantic_custom_init__"], [20, 4, 1, "", "__pydantic_decorators__"], [20, 4, 1, "", "__pydantic_extra__"], [20, 4, 1, "", "__pydantic_fields_set__"], [20, 4, 1, "", "__pydantic_generic_metadata__"], [20, 4, 1, "", "__pydantic_parent_namespace__"], [20, 4, 1, "", "__pydantic_post_init__"], [20, 4, 1, "", "__pydantic_private__"], [20, 4, 1, "", "__pydantic_serializer__"], [20, 4, 1, "", "__pydantic_validator__"], [20, 4, 1, "", "__signature__"], [20, 4, 1, "", "model_computed_fields"], [20, 4, 1, "", "model_config"], [20, 4, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[20, 4, 1, "", "__class_vars__"], [20, 4, 1, "", "__private_attributes__"], [20, 4, 1, "", "__pydantic_complete__"], [20, 4, 1, "", "__pydantic_core_schema__"], [20, 4, 1, "", "__pydantic_custom_init__"], [20, 4, 1, "", "__pydantic_decorators__"], [20, 4, 1, "", "__pydantic_extra__"], [20, 4, 1, "", "__pydantic_fields_set__"], [20, 4, 1, "", "__pydantic_generic_metadata__"], [20, 4, 1, "", "__pydantic_parent_namespace__"], [20, 4, 1, "", "__pydantic_post_init__"], [20, 4, 1, "", "__pydantic_private__"], [20, 4, 1, "", "__pydantic_serializer__"], [20, 4, 1, "", "__pydantic_validator__"], [20, 4, 1, "", "__signature__"], [20, 4, 1, "", "model_computed_fields"], [20, 4, 1, "", "model_config"], [20, 4, 1, "", "model_fields"]], "pydis_core.utils.regex": [[21, 6, 1, "", "DISCORD_INVITE"], [21, 6, 1, "", "FORMATTED_CODE_REGEX"], [21, 6, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[22, 1, 1, "", "Scheduler"], [22, 5, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[22, 2, 1, "", "__contains__"], [22, 2, 1, "", "__init__"], [22, 2, 1, "", "cancel"], [22, 2, 1, "", "cancel_all"], [22, 2, 1, "", "schedule"], [22, 2, 1, "", "schedule_at"], [22, 2, 1, "", "schedule_later"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "exception", "Python exception"], "4": ["py", "attribute", "Python attribute"], "5": ["py", "function", "Python function"], "6": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:attribute", "5": "py:function", "6": "py:data"}, "terms": {"": [0, 1, 3, 7, 8, 10, 11, 12, 14, 15, 16, 18, 19, 20, 21, 22], "0": [0, 8, 10, 15, 16], "0a0": 0, "0eb3d26": 0, "0x000055f66a7299d0": 19, "0x000055f66a733940": 3, "0x000055f66a947730": 20, "0x000055f66a99fb20": 20, "0x00007fcf573ee6f0": 20, "0x00007fcf573ee730": 20, "0x00007fcf573ee7b0": 20, "0x00007fcf573ee7f0": 20, "0x00007fcf573ee870": 20, "0x00007fcf573ef430": 20, "0x00007fcf573ef4b0": 20, "0x00007fcf573ef4f0": 20, "0x00007fcf573ef5f0": 20, "0x00007fcf644903f0": 3, "0x00007fcf644907b0": 3, "0x00007fcf64490b70": 3, "0x00007fcf64490c30": 3, "0x00007fcf64491770": 3, "0x00007fcf64492230": 3, "0x00007fcf64492fb0": 3, "0x00007fcf64493f30": 3, "0x00007fcf64493fb0": 3, "0x00007fcf647dc3f0": 19, "0x00007fcf647dc7b0": 19, "0x00007fcf647dcb30": 19, "0x00007fcf647dcbf0": 19, "0x00007fcf647dd6b0": 19, "0x00007fcf647de1f0": 19, "0x00007fcf647def70": 19, "0x00007fcf647dfe70": 19, "0x00007fcf647dff30": 19, "0x00007fcf6484fd30": 20, "0x00007fcf649b4580": 3, "0x00007fcf649b45d0": 3, "0x00007fcf649b4620": 3, "0x00007fcf649b4670": 3, "0x00007fcf649b46c0": 3, "0x00007fcf64bbe7e0": 19, "0x00007fcf64bbe830": 19, "0x00007fcf64bbe880": 19, "0x00007fcf64bbe8d0": 19, "0x00007fcf64bbe920": 19, "0x00007fcf64e57b30": 19, "0x00007fcf6510c5b0": 3, "0x00007fcf67624cf0": 3, "0x00007fcf683ba230": 20, "0x00007fcf68f26470": 19, "0x00007fcf68f265a0": 20, "0x00007fcf69d044b0": 20, "0x00007fcf69f9c370": 20, "0x00007fcf6a2679f0": 20, "0x00007fcf6a3796f0": [3, 19], "0x00007fcf6a379730": [3, 19], "0x00007fcf6a3d2270": [3, 19], "0x00007fcf6a3f48b0": [3, 19], "0x00007fcf6a760eb0": [3, 19], "0x00007fcf6b0ac2a0": 20, "0x00007fcf6b1530c0": 20, "0x00007fcf6b156ea0": 20, "1": [0, 16], "10": 0, "101": 0, "103": 0, "104": 0, "106": 0, "107": 0, "108": 0, "10th": 0, "11": 0, "110": 0, "12": 0, "124": 0, "125": 0, "128": 8, "138": 0, "13th": 0, "14th": 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": 15, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "189": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "196": 0, "197": 0, "199": 0, "19th": 0, "2": [0, 3, 15, 20], "200": 0, "2021": 0, "2022": 0, "2023": 0, "2024": 0, "204": [0, 6], "20th": 0, "21st": 0, "22nd": 0, "23rd": 0, "24th": 0, "25th": 0, "26th": 0, "27th": 0, "28th": 0, "29": 0, "2nd": 0, "3": [0, 20], "30": 0, "300": [3, 19], "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "4000": [3, 19], "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 3, 12, 19], "500": [3, 19], "524288": 20, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "637136429717389331": [3, 19], "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, "94516836211152": 19, "94516836251968": 3, "94516838430512": 20, "94516838791968": 20, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 10, 12, 14, 15, 16, 19, 20, 22], "For": 14, "If": [3, 6, 10, 12, 14, 15, 18, 19, 22], "In": [3, 19], "It": [3, 7, 19], "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 22], "These": [3, 19], "To": [1, 3, 16], "_": 0, "__annotations__": 14, "__args__": [3, 19, 20], "__call__": [7, 8], "__class_vars__": [2, 3, 7, 19, 20], "__contains__": [7, 22], "__dict__": 14, "__doc__": 14, "__fields__": [3, 19, 20], "__get_pydantic_json_schema__": [3, 19, 20], "__global__": 14, "__init__": [0, 2, 3, 4, 6, 7, 8, 10, 12, 15, 19, 20, 22], "__module__": 14, "__name__": 14, "__origin__": [3, 19, 20], "__parameters__": [3, 19, 20], "__private_attributes__": [2, 3, 7, 19, 20], "__pydantic_complete__": [2, 3, 7, 19, 20], "__pydantic_core_schema__": [2, 3, 7, 19, 20], "__pydantic_custom_init__": [2, 3, 7, 19, 20], "__pydantic_decorators__": [2, 3, 7, 19, 20], "__pydantic_extra__": [2, 3, 7, 19, 20], "__pydantic_fields_set__": [2, 3, 7, 19, 20], "__pydantic_generic_metadata__": [2, 3, 7, 19, 20], "__pydantic_parent_namespace__": [2, 3, 7, 19, 20], "__pydantic_post_init__": [2, 3, 7, 19, 20], "__pydantic_private__": [2, 3, 7, 19, 20], "__pydantic_serializer__": [2, 3, 7, 19, 20], "__pydantic_validator__": [2, 3, 7, 19, 20], "__qualname__": 14, "__root_validators__": [3, 19, 20], "__signature__": [2, 3, 7, 19, 20], "__str__": [3, 6], "__validators__": [3, 19, 20], "_decor": [3, 19, 20], "_gener": [3, 19, 20], "_guild_avail": 0, "_p": 14, "_r": 14, "_transport": 0, "abc": 0, "abl": 0, "about": [3, 12, 19, 20], "abstract": 0, "abstracteventloop": [4, 22], "accept": 15, "across": [0, 3, 16, 19], "act": 7, "actual": 0, "ad": [0, 1, 3, 7, 15, 16, 19], "add": [0, 3, 10, 12, 19], "add_cog": [2, 3], "add_command": [2, 3], "add_lin": [2, 3, 7, 19], "add_rol": 17, "addit": 0, "after": [0, 3, 15, 19, 22], "again": 1, "aid": [3, 19], "aiodn": 0, "aiohttp": [0, 3, 6, 20], "alia": [3, 7, 12, 19, 20], "alias": [3, 7], "alias_pi": [3, 19, 20], "all": [0, 1, 3, 4, 7, 16, 22], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 15, 18, 19, 20], "allow_mod": 18, "allowed_emoji": 18, "allowed_rol": [1, 3, 15, 18, 19], "allowed_us": [15, 18], "alpha": 0, "alreadi": [3, 19, 22], "also": [0, 3, 7, 14, 15, 19], "alwai": 10, "amount": [3, 19], "an": [0, 1, 3, 4, 6, 7, 8, 9, 10, 16, 19, 20, 22], "ani": [3, 6, 10, 19, 20, 21, 22], "annot": [3, 14, 19, 20], "anymor": [3, 19], "anyth": [1, 20], "api": [0, 6, 17], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "append": [3, 19], "appli": [3, 7, 8, 10, 12, 19, 20], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 14, 15, 18, 19, 20, 21], "arg": [3, 12, 16, 19, 20], "arg_offset": 8, "args_preprocessor": 12, "argument": [6, 7, 8, 11, 12, 16, 17], "around": 6, "assign": 14, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 15, 17, 19, 20], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 22], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 17, 19], "attr": 0, "attribut": [3, 7, 14, 19, 20], "august": 0, "authent": 6, "author": [3, 10, 18, 19], "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 3, 19, 20], "avail": [0, 3], "avoid": [0, 3, 19], "await": [0, 3, 12, 15, 17, 19], "awar": 22, "back": 0, "backtick": [3, 19], "bad": 0, "badargu": 11, "base": [0, 3, 4, 6, 8, 10, 12, 14, 15, 16, 19, 20, 22], "basemodel": [3, 19, 20], "basic": [0, 15], "becaus": [3, 14], "becom": 3, "been": 0, "befor": [0, 3, 10, 15, 19, 22], "before_invok": 10, "behav": 14, "behavior": 10, "behaviour": [0, 3], "being": [0, 7, 10, 17], "below": 1, "best": [3, 19], "between": [0, 1, 14], "block": [0, 3, 12, 19, 21], "block_duplicate_invoc": [3, 7, 12], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 10, 12, 15, 18, 19, 20, 22], "bot": [0, 1, 3, 7, 9, 18], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 20], "bound": [3, 19, 20], "boundari": [3, 19], "break": [0, 3, 14, 19], "broke": 0, "buckettyp": 10, "bug": 0, "build": [3, 19, 20], "bump": 0, "button": [0, 15], "buttonstyl": 15, "bypass": 10, "bypass_rol": 10, "byte": 20, "cach": [0, 3, 7, 9, 17], "cache_str": [3, 19, 20], "calcul": 22, "call": [0, 3, 12, 14, 22], "call_without_cooldown": [7, 12], "callabl": [8, 10, 12, 14, 17], "callback": [7, 10, 15], "can": [0, 1, 3, 10, 15, 16, 19, 22], "cancel": [7, 22], "cancel_al": [7, 22], "cannot": [0, 3, 19], "captur": [0, 14, 21], "carri": 15, "case": [0, 3, 19], "categori": [9, 10], "category_id": 9, "caus": [3, 7, 19], "certain": [0, 1], "chang": [0, 1, 3, 14, 19], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 10, 12], "channel_id": 9, "charact": [0, 3, 19], "chardet": 0, "check": [0, 3, 6, 7, 9, 12, 13, 15, 18, 22], "checkfailur": 10, "chunk": 0, "ci": 0, "cl": [3, 19, 20], "class": [0, 3, 4, 6, 8, 12, 15, 16, 19, 20, 22], "classmethod": [3, 19], "classvar": [3, 19, 20], "clean": [0, 11], "clean_text_or_repli": [3, 7, 11], "clear": [2, 3, 7, 8], "click": 15, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 20], "close": [0, 2, 3, 6, 22], "cloudflar": 7, "code": [0, 1, 3, 6, 19, 21], "codepoint": [3, 19], "coerce_numbers_to_str": [3, 19, 20], "cog": [0, 3, 5], "collect": 10, "com": [0, 20], "comma": 1, "command": [0, 1, 3, 7, 9, 10, 12, 14, 19], "command_wrap": [3, 7, 14], "commanderror": 12, "commandoncooldown": [3, 7, 12], "commit": 0, "common": [0, 1, 3, 7, 16, 21], "commun": 4, "complet": [3, 19, 20], "compos": 1, "comput": [3, 19, 20], "computed_field": [3, 19, 20], "computedfield": [3, 19, 20], "computedfieldinfo": [3, 19, 20], "config": [3, 19, 20], "configdict": [3, 19, 20], "configur": [1, 3, 19, 20], "conflict": 14, "conform": [3, 19, 20], "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 3, 10, 15, 19, 20, 22], "content": [0, 3, 11, 19, 20], "context": [3, 10, 11, 19], "contextcheckfailur": [3, 7, 10], "continu": [3, 19], "cooldown": [3, 7, 10], "cooldown_dur": 12, "cooldown_with_role_bypass": [3, 7, 10], "copi": [1, 14], "copy_default": [3, 19, 20], "core": [0, 1, 19, 20], "coreschema": [3, 19, 20], "coro": [17, 22], "coroutin": [8, 17, 22], "correct": [0, 1], "correspond": [3, 19, 20], "could": 17, "crash": 0, "creat": [0, 3, 4, 8, 12, 14, 19, 22], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 22], "creation": 0, "criteria": 0, "ctx": [3, 10, 11, 15, 19], "current": [3, 19, 22], "custom": [0, 3, 8, 16, 19, 20], "custom_init": [3, 19, 20], "customlogg": [3, 7, 16], "cut": 0, "d": [1, 14], "dai": 0, "data": [3, 19, 20], "datetim": 22, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 3, 8, 10, 12, 14, 19, 20], "decoratorinfo": [3, 19, 20], "default": [0, 1, 3, 10, 19, 20], "defin": [3, 19, 20], "definit": [3, 19, 20], "delai": 22, "delet": [0, 3, 6, 8, 15, 19, 20], "deletemessagebutton": [0, 3, 7, 15], "depend": [0, 9], "deprec": 0, "describ": 10, "detail": 14, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [3, 6, 19, 20], "dictat": 0, "dictionari": [3, 19, 20], "did": 0, "directli": [0, 14], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 11, 13, 14, 17, 19, 21], "discord_invit": [0, 3, 7, 21], "disnak": 0, "distinguish": 22, "django": 6, "dm": 10, "do": [0, 1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": [10, 22], "don": [0, 10, 22], "done": [3, 15, 19, 22], "due": 0, "dummi": [0, 3], "dump": [3, 19, 20], "duplic": [0, 12], "durat": 10, "dure": [3, 19, 20], "dynam": 0, "e": [3, 19], "each": [0, 3, 19], "edit": 3, "effort": [3, 19], "either": 3, "els": 11, "elsewher": 22, "emb": [0, 3, 19], "emit": 3, "emoji": [0, 3, 18, 19], "empti": [3, 19], "emptypaginatorembederror": [2, 3, 7, 19], "enabl": 1, "encount": 20, "end": [3, 19], "endpoint": 6, "ensur": [0, 3, 15, 21], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 13, 17, 20], "error_handl": [3, 7], "etc": [1, 10], "evalu": 14, "even": 18, "event": [0, 3, 4, 22], "event_loop": 22, "eventu": [3, 19, 20], "everi": [3, 19], "exact": 1, "exampl": [3, 19], "exc_info": 16, "exce": [3, 8, 19], "exceed": [3, 19], "except": [3, 6, 10, 12, 14, 16, 19, 20, 22], "exception_on_empty_emb": [3, 19], "excess": [3, 19], "exclud": [3, 19, 20], "execut": 22, "exist": [0, 1, 22], "expect": 17, "expiri": 0, "explain": 0, "explicitli": [3, 19, 20], "express": 21, "ext": [0, 2, 3, 7, 9, 10, 11, 19], "extend": 0, "extens": [0, 3], "extra": [3, 6, 19, 20], "extra_behavior": [3, 19, 20], "extra_seri": [3, 19, 20], "extras_valid": [3, 19, 20], "facilit": 0, "fail": [9, 10, 20], "fail_sil": 10, "failur": 17, "fals": [3, 10, 12, 19, 20], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 17], "few": 1, "field": [3, 19, 20], "field_seri": [3, 19, 20], "field_valid": [3, 19, 20], "fieldinfo": [3, 19, 20], "fifo": 8, "file": [0, 1, 20], "filter": [0, 3, 19, 20], "finish": [3, 19], "first": [3, 19], "five": [3, 19], "fix": 0, "float": [10, 12, 15, 22], "folder": 1, "footer": [3, 19], "footer_text": [3, 19], "forbidden": [0, 9, 13], "format": [20, 21], "formatt": 16, "formatted_code_regex": [3, 7, 21], "forum": 0, "forwardref": 14, "found": [14, 17, 22], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 14, 15, 17, 19, 20, 22], "from_attribut": [3, 19, 20], "frozen": [3, 19, 20], "frozenset": 14, "function": [0, 3, 7, 8, 9, 12, 16, 17, 19, 20, 22], "functool": [3, 14, 19, 20], "futur": [10, 22], "g": [3, 19], "gatewai": 3, "gener": [0, 3, 12, 19, 20, 22], "generalfieldsseri": [3, 19, 20], "get": [0, 3, 6, 9, 17], "get_json_schema_update_func": [3, 19, 20], "get_logg": [3, 7, 16], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 17], "git": 1, "give": 3, "given": [3, 4, 7, 9, 11, 16, 17, 22], "global": 14, "globalnameconflicterror": [3, 7, 14], "go": [1, 3, 19], "greater": 20, "groundwork": 1, "group": [7, 21], "guild": [0, 1, 3, 10, 17], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 3, 7, 10, 19, 20], "handl": [0, 13, 17, 22], "handle_forbidden_from_block": [3, 7, 13], "handle_role_chang": [0, 3, 7, 17], "has_any_role_check": [3, 7, 10], "has_extra": [3, 19, 20], "has_no_roles_check": [3, 7, 10], "hashabl": 22, "have": [0, 9, 10, 14, 16], "heavi": 7, "help": [0, 1], "helper": [9, 12, 17], "hold": [3, 19], "hook": 0, "host": 4, "houston": 16, "how": [0, 8, 10, 14, 22], "howev": 1, "http": [0, 6, 20, 21], "http_session": [3, 20], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22], "icon": [3, 19], "icon_url": [3, 19], "id": [1, 3, 9, 10, 15, 19, 22], "identifi": 22, "ignor": [1, 3, 7, 14, 18, 19, 20], "ignored_conflict_nam": 14, "immedi": 22, "implement": [3, 4, 8, 15, 16], "import": 0, "in_whitelist": 10, "in_whitelist_check": [3, 7, 10], "inadequ": 3, "includ": [0, 1, 3, 13, 19, 20], "incorrect": 0, "index": 2, "indic": [3, 17, 19], "individu": 3, "info": [0, 1], "inform": [2, 16], "init": [0, 3, 4, 19, 20], "initi": [6, 22], "initialis": [3, 8], "input": 15, "insert": [3, 19], "insid": [3, 19], "inspect": [3, 19, 20], "instal": 1, "instanc": [0, 3, 6, 8, 9, 10, 16, 19, 20, 22], "instanti": [3, 15, 19, 20, 22], "instead": [3, 12, 22], "int": [3, 4, 8, 9, 10, 15, 19, 20, 22], "intend": 17, "intent": 1, "interact": [0, 3, 7, 9, 19], "interactin": 17, "interaction_check": [7, 15], "interest": 16, "intern": [3, 7], "intersphinx": 0, "introduc": 10, "invalid": 9, "invaliddata": 9, "invit": [0, 21], "invoc": [0, 12], "invok": [1, 10, 12, 15], "inwhitelistcheckfailur": [3, 7, 10], "is_in_categori": [3, 7, 9], "isn": 13, "issu": 10, "item": 8, "iter": [10, 12], "its": [0, 3, 12, 14], "itself": 15, "januari": 0, "json": 6, "json_schema_update_func": [3, 19, 20], "juli": 0, "june": 0, "keep": [3, 19, 22], "kei": [3, 8, 19, 20], "key_pi": [3, 19, 20], "keyword": [6, 7, 16], "known": 22, "kwarg": [3, 6, 12, 15, 16, 22], "label": [0, 15], "lancebot": 1, "larg": 20, "larger": 20, "last": [3, 10, 15, 19], "latest": 0, "lead": 0, "least": 10, "left": [3, 19], "length": [3, 12, 19], "level": [0, 7, 16], "lexer": [0, 20], "librari": [0, 1], "like": [1, 14], "limit": [3, 19], "line": [3, 19], "linepagin": [0, 2, 3, 7, 19], "linesep": [3, 19], "link": 20, "lint": 0, "list": [0, 1, 3, 19, 20], "listen": 15, "liter": [3, 19, 20], "ll": [1, 22], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": [3, 19, 20], "local": [2, 3, 19, 20], "localhost": 4, "log": [0, 3, 7, 13, 17, 22], "log_format": [0, 3, 7, 16], "log_to_dev_log": [2, 3], "logger": [0, 16], "logic": 0, "long": [10, 20, 22], "longer": [0, 15], "look": [14, 22], "lookup_kei": [3, 19, 20], "lookuppath": [3, 19, 20], "loop": [4, 22], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": [0, 18], "mai": [0, 3, 8, 19, 20], "main": 0, "make": [0, 1, 3, 16, 19], "mani": [0, 3, 8], "manipul": [0, 14], "manual": 3, "map": [3, 19, 20], "march": 0, "mark": 0, "match": [0, 3], "max": 20, "max_length": 20, "max_lin": [3, 19], "max_paste_s": [3, 7, 20], "max_siz": [3, 8, 19, 20], "maximum": [3, 8, 19, 20], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 17, "mention": [1, 3], "messag": [0, 3, 7, 11, 12, 13, 15, 16, 19, 22], "message_id": 18, "message_typ": 0, "metadata": [3, 19, 20], "method": [0, 3, 4, 6, 7, 16, 19, 20], "might": [1, 10], "migrat": 0, "minut": [3, 19], "miss": 0, "mod": 0, "mode": [3, 19, 20], "model": [3, 19, 20], "model_computed_field": [2, 3, 7, 19, 20], "model_config": [2, 3, 7, 19, 20], "model_field": [2, 3, 7, 19, 20], "model_nam": [3, 19, 20], "model_post_init": [3, 19, 20], "model_seri": [3, 19, 20], "model_valid": [3, 19, 20], "modelfield": [3, 19, 20], "modelfieldsvalid": [3, 19, 20], "modelprivateattr": [3, 19, 20], "modelseri": [3, 19, 20], "modelvalid": [3, 19, 20], "moder": [3, 15, 18, 19], "modifi": [1, 17], "modify_model_json_schema": [3, 19, 20], "modul": [0, 3, 7, 14, 19, 20, 22], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 3, 14, 19], "most": 1, "move": 0, "msg": 16, "multipl": 0, "multivers": 0, "must": [0, 22], "mypi": 16, "n": [3, 19], "name": [3, 7, 14, 16, 19, 20, 22], "name_pi": [3, 19, 20], "namespac": [0, 3, 19, 20, 22], "navig": [0, 1, 3, 19], "na\u00efv": 22, "need": [0, 1, 3, 19], "never": [3, 19, 20], "new": [0, 1, 3, 4, 6, 8, 14, 19, 22], "newer": 0, "newli": 0, "next": [3, 19], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22], "normal": 3, "notabl": 0, "note": 10, "notfound": 9, "notic": 0, "notifi": 12, "novemb": 0, "now": [0, 1, 22], "number": [0, 3, 10, 19, 20], "object": [3, 6, 7, 8, 9, 12, 17, 19, 20, 22], "occur": 15, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": [3, 19, 20], "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 15], "onc": [0, 8], "one": [0, 3, 10, 19], "ones": 1, "onli": [0, 3], "onto": [3, 19], "oper": [3, 19, 22], "option": [0, 8], "order": [3, 8, 19, 22], "origin": [3, 15, 19, 20], "other": [0, 1, 22], "otherwis": [10, 22], "our": [0, 1, 7], "out": [0, 1, 15], "output": 21, "over": [0, 3, 19], "overflow": [3, 19], "overrid": [3, 19], "overwrit": [0, 3], "own": [0, 14], "p": [3, 7, 12], "packag": [0, 7], "page": [2, 3, 19], "pagin": [0, 2, 3, 7], "pagination_emoji": [3, 19], "paginationemoji": [2, 3, 7, 19], "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 22], "paramspec": [12, 14], "parent": [0, 3, 15, 19, 20], "pars": 21, "partial": [3, 19, 20], "pass": [0, 6, 16, 17, 22], "past": [0, 20, 22], "paste_servic": [0, 3, 7], "paste_url": 20, "pastebin": 0, "pastefil": [0, 3, 7, 20], "pasterespons": [3, 7, 20], "pastetoolongerror": [3, 7, 20], "pasteunsupportedlexererror": [3, 7, 20], "pasteuploaderror": [3, 7, 20], "patch": [0, 3, 6, 7], "path": [1, 3, 19, 20], "pattern": 21, "per": [3, 10, 19], "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "place": [3, 19], "pleas": 21, "pluggableschemavalid": [3, 19, 20], "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 19, 20], "post_init": [3, 19, 20], "pre": 1, "predic": 0, "prefix": [1, 3, 4, 19], "prematur": 22, "press": 0, "prevent": [12, 22], "previous": 0, "privat": [3, 19, 20], "privatechannel": [0, 9], "problem": [10, 16], "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 16], "provid": [0, 1, 3, 8, 11, 13, 19, 22], "public": 0, "publish": 0, "purpos": [3, 17, 19, 20], "push": 0, "put": [3, 6], "py": [0, 3, 14, 19, 20], "py_kei": [3, 19, 20], "pydant": [3, 19, 20], "pydantic_js_annotation_funct": [3, 19, 20], "pydantic_js_funct": [3, 19, 20], "pydanticgenericmetadata": [3, 19, 20], "pydi": [0, 2], "pydis_cor": [0, 1, 3, 15, 16, 19, 20], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 20, 22], "pythondiscord": [0, 20], "qualifi": 7, "quot": 21, "r": [3, 7, 12], "rais": [3, 6, 9, 10, 11, 12, 13, 14, 17, 19, 20, 22], "raise_for_statu": 6, "rate": 10, "rather": 7, "raw": [12, 21], "raw_code_regex": [3, 7, 21], "rc2": 0, "re": [1, 3, 13, 18, 22], "reaction": [0, 3, 18, 19], "reaction_check": [0, 3, 7, 18], "read": 0, "readi": 3, "real": 0, "reason": [3, 19], "rebuild": [3, 19, 20], "receiv": [0, 6, 9], "recognis": 16, "reconnect": 0, "redi": 0, "redirect": 10, "redirect_channel": 10, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": [3, 19, 20], "refer": 0, "referenc": 0, "reflect": 14, "regex": [0, 3, 7], "regular": 21, "reinstal": 1, "reject": 20, "relat": [8, 16], "releas": 0, "relev": 3, "remain": [3, 19], "remov": [0, 3, 15, 18, 19, 20], "remove_command": [2, 3], "remove_rol": 17, "renam": 0, "replac": [3, 10, 14, 19, 20], "repli": [3, 11, 12, 13, 19], "repo": 0, "represent": 6, "request": [0, 3, 6, 21], "requir": [1, 3, 19, 20, 22], "required_field": [3, 19, 20], "resolut": 0, "resolv": [3, 14], "respons": [0, 6, 20], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "restrict": [3, 19], "restrict_to_us": [3, 19], "result": [0, 22], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22], "reusabl": 5, "revalid": [3, 19, 20], "revert": 0, "right": [0, 3, 19], "role": [0, 1, 3, 10, 15, 17, 18, 19], "root": [1, 3, 7], "root_alias": 7, "root_model": [3, 19, 20], "root_valid": [3, 19, 20], "rout": 7, "ruff": 0, "run": [0, 1, 12, 22], "safe": 0, "same": [12, 22], "sampl": 0, "sanitis": 21, "save": [0, 3, 20], "scale": [3, 19], "scale_to_s": [3, 19], "schedul": [0, 3, 7], "schedule_at": [7, 22], "schedule_lat": [7, 22], "schema": [3, 19, 20], "schemafilt": [3, 19, 20], "schemaseri": [3, 19, 20], "schemavalid": [3, 19, 20], "search": 2, "second": [3, 10, 12, 15, 19, 22], "secondari": 15, "see": [1, 14, 15], "self": [0, 3, 15], "send": [0, 3, 6, 15, 19], "send_notic": 12, "send_to_paste_servic": [0, 3, 7, 20], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [3, 7, 14, 15, 19], "serfield": [3, 19, 20], "serial": [3, 19, 20], "serv": [3, 19], "server": [3, 21], "servic": [0, 1, 3, 20], "session": [0, 3, 6, 20], "session_kwarg": 6, "set": [0, 1, 3, 12, 14, 15, 19, 20], "set_author": [3, 19], "setup": [0, 3], "setup_hook": [2, 3], "sever": 16, "share": [0, 14], "should": [0, 1, 3, 6, 15, 19, 20], "should_rais": 6, "signatur": [3, 12, 19, 20], "silent": 10, "similar": [3, 15, 19, 20, 21], "simpl": [3, 19, 20], "simpledict": [3, 19, 20], "sinc": 10, "singl": [0, 3, 19], "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [3, 8, 19, 20], "so": [0, 1, 7], "socket": 4, "sole": 17, "some": [0, 3, 19, 20], "someth": 21, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], "specif": [0, 10], "specifi": [0, 10, 12, 15], "sphinx": 0, "stabl": 0, "standardis": [0, 16], "start": [0, 3, 22], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 14, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 19, 20], "stop": [0, 7, 15], "store": [0, 3, 7, 8, 19], "str": [3, 4, 6, 7, 10, 11, 14, 15, 16, 19, 20, 22], "strict": [3, 19, 20], "string": [0, 6], "strserial": [3, 19, 20], "strvalid": [3, 19, 20], "style": 15, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 22, "success": [0, 20], "suffix": [3, 19], "suggest": 22, "support": [0, 4, 7, 22], "suppressed_except": 22, "sure": 1, "switch": [3, 19], "sync": [0, 3], "sync_app_command": 3, "synthes": [3, 19, 20], "system": [0, 1], "t": [0, 10, 11, 13, 14, 22], "target": 8, "task": [0, 22], "task_id": 22, "task_return": 22, "templat": 1, "test": 2, "text": [0, 3, 6, 11, 19, 20], "textchannel": 9, "than": [7, 20], "thei": [3, 14, 18], "them": [1, 3, 14, 22], "thi": [0, 1, 3, 7, 9, 10, 12, 14, 15, 17, 19, 20, 21, 22], "thread": [0, 9], "three": [3, 19], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 10, 22], "timeout": [0, 3, 15, 19], "timezon": 22, "titl": [3, 19, 20], "token": [1, 6], "toml": [0, 1], "too": 20, "tool": [3, 7], "top": 7, "total": [3, 19], "trace": [0, 7, 16], "track": 22, "transport": 4, "trashcan": [3, 19], "trigger": 10, "true": [3, 6, 10, 12, 16, 18, 19, 20, 22], "truncat": [3, 19], "tupl": 22, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22], "typeerror": 10, "typehint": 14, "typevar": [12, 14, 22], "u": [0, 3, 19], "ui": 15, "unavail": 3, "unawait": 22, "undefin": [3, 19, 20], "under": 7, "union": 10, "uniqu": 22, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 22, "unsupport": 20, "unti": [3, 19], "until": [0, 3, 21], "up": [0, 1, 3, 19], "updat": [0, 14], "update_wrapper_glob": [3, 7, 14], "upload": [0, 20], "upon": 0, "url": [0, 3, 6, 19, 20], "urllib": 21, "us": [0, 1, 3, 4, 6, 7, 9, 10, 12, 14, 16, 17, 19, 20, 21, 22], "user": [0, 3, 10, 12, 15, 18, 19], "utc": 22, "util": [0, 1, 2, 3, 8, 14, 15, 16, 19, 20], "v1": [0, 3, 19, 20], "valid": [0, 3, 19, 20], "validate_default": [3, 19, 20], "valu": [3, 12, 14, 16, 19, 20], "valueerror": [6, 20], "vari": 1, "variabl": [1, 3, 19, 20], "variou": 9, "verifi": 10, "version": [0, 11], "view": [0, 15], "viewwithuserandrolecheck": [0, 3, 7, 15], "wa": [0, 9, 10, 22], "wait": [0, 3, 22], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 22], "wasn": 11, "we": [16, 17], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 10, 12, 14, 19, 20, 22], "where": 10, "whether": [0, 3, 6, 9, 10, 19, 20], "which": [0, 1, 3, 7, 10, 12, 19, 22], "while": [3, 12, 19], "whitelist": 10, "whitespac": [0, 21], "who": 15, "whom": [3, 19], "withdefault": [3, 19, 20], "withdefaultseri": [3, 19, 20], "withdefaultvalid": [3, 19, 20], "within": [0, 3], "without": [0, 10], "won": 14, "word": [3, 19], "work": [0, 1], "worker": 7, "would": [3, 19], "wrap": [8, 14, 22], "wrapper": [0, 6, 12, 14, 22], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 21], "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", "function", "interactions", "logging", "members", "messages", "pagination", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "check": 10, "command": 11, "cooldown": 12, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 13, "ext": 5, "extra": 2, "function": 14, "interact": 15, "local": 1, "log": 16, "member": 17, "messag": 18, "modul": 2, "option": 1, "pagin": 19, "paste_servic": 20, "project": 2, "pydi": 3, "refer": 2, "regex": 21, "schedul": 22, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "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"]], "Subpackages": [[3, "subpackages"]], "Utils": [[7, null]], "async_stats": [[4, null]], "caching": [[8, null]], "channel": [[9, null]], "checks": [[10, null]], "commands": [[11, null]], "cooldown": [[12, null]], "error_handling": [[13, null]], "function": [[14, null]], "interactions": [[15, null]], "logging": [[16, null]], "members": [[17, null]], "messages": [[18, null]], "pagination": [[19, null]], "paste_service": [[20, null]], "regex": [[21, null]], "scheduling": [[22, 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.function", "output/pydis_core.utils.interactions", "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.function.rst", "output/pydis_core.utils.interactions.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], [19, "pydis_core.utils.pagination.PaginationEmojis.__class_vars__", false]], "__class_vars__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.__contains__", 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__() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (contextcheckfailure method)": [[10, "pydis_core.utils.checks.ContextCheckFailure.__init__", false]], "__init__() (deletemessagebutton method)": [[15, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (linepaginator method)": [[3, "pydis_core.LinePaginator.__init__", false], [19, "pydis_core.utils.pagination.LinePaginator.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__private_attributes__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__private_attributes__", false]], "__private_attributes__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_complete__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_complete__", false]], "__pydantic_complete__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_computed_fields__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_core_schema__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_custom_init__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_decorators__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_decorators__", false]], "__pydantic_decorators__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_extra__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_extra__", false]], "__pydantic_extra__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields__", false]], "__pydantic_fields__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields_set__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_generic_metadata__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_parent_namespace__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_post_init__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_post_init__", false]], "__pydantic_post_init__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_private__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_private__", false]], "__pydantic_private__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_serializer__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_serializer__", false]], "__pydantic_serializer__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_validator__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_validator__", false]], "__pydantic_validator__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__signature__", false], [19, "pydis_core.utils.pagination.PaginationEmojis.__signature__", false]], "__signature__ (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[20, "pydis_core.utils.paste_service.PasteResponse.__signature__", false]], "__str__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__str__", 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], [19, "pydis_core.utils.pagination.LinePaginator.add_line", 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)": [[15, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[22, "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)": [[14, "pydis_core.utils.function.command_wraps", 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)": [[22, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[16, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[15, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[21, "pydis_core.utils.regex.DISCORD_INVITE", false]], "emptypaginatorembederror": [[3, "pydis_core.EmptyPaginatorEmbedError", false], [19, "pydis_core.utils.pagination.EmptyPaginatorEmbedError", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[21, "pydis_core.utils.regex.FORMATTED_CODE_REGEX", false]], "get() (apiclient method)": [[6, "pydis_core.site_api.APIClient.get", false]], "get_logger() (in module pydis_core.utils.logging)": [[16, "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)": [[17, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[14, "pydis_core.utils.function.GlobalNameConflictError", 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)": [[17, "pydis_core.utils.members.handle_role_change", 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]], "in_whitelist_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.in_whitelist_check", false]], "interaction_check() (viewwithuserandrolecheck method)": [[15, "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)": [[19, "pydis_core.utils.pagination.LinePaginator", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[16, "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)": [[20, "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], [19, "pydis_core.utils.pagination.PaginationEmojis.model_config", false]], "model_config (pastefile attribute)": [[20, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[20, "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.function", false], [15, "module-pydis_core.utils.interactions", false], [16, "module-pydis_core.utils.logging", false], [17, "module-pydis_core.utils.members", false], [18, "module-pydis_core.utils.messages", false], [19, "module-pydis_core.utils.pagination", false], [20, "module-pydis_core.utils.paste_service", false], [21, "module-pydis_core.utils.regex", false], [22, "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)": [[15, "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], [19, "pydis_core.utils.pagination.LinePaginator.paginate", false]], "paginationemojis (class in pydis_core)": [[3, "pydis_core.PaginationEmojis", false]], "paginationemojis (class in pydis_core.utils.pagination)": [[19, "pydis_core.utils.pagination.PaginationEmojis", false]], "pastefile (class in pydis_core.utils.paste_service)": [[20, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[20, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[20, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[20, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[20, "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.function": [[14, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[15, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[16, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[17, "module-pydis_core.utils.members", false]], "pydis_core.utils.messages": [[18, "module-pydis_core.utils.messages", false]], "pydis_core.utils.pagination": [[19, "module-pydis_core.utils.pagination", false]], "pydis_core.utils.paste_service": [[20, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[21, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[22, "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)": [[21, "pydis_core.utils.regex.RAW_CODE_REGEX", false]], "reaction_check() (in module pydis_core.utils.messages)": [[18, "pydis_core.utils.messages.reaction_check", 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)": [[22, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[22, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[22, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[20, "pydis_core.utils.paste_service.send_to_paste_service", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "stop() (viewwithuserandrolecheck method)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[16, "pydis_core.utils.logging.CustomLogger.trace", false]], "unqualify() (in module pydis_core.utils)": [[7, "pydis_core.utils.unqualify", false]], "update_wrapper_globals() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck", 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, 3, 1, "", "EmptyPaginatorEmbedError"], [3, 1, 1, "", "LinePaginator"], [3, 1, 1, "", "PaginationEmojis"], [3, 3, 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, 2, 1, "", "clear"], [3, 2, 1, "", "close"], [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, 2, 1, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [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, 4, 1, "", "__class_vars__"], [3, 4, 1, "", "__private_attributes__"], [3, 4, 1, "", "__pydantic_complete__"], [3, 4, 1, "", "__pydantic_computed_fields__"], [3, 4, 1, "", "__pydantic_core_schema__"], [3, 4, 1, "", "__pydantic_custom_init__"], [3, 4, 1, "", "__pydantic_decorators__"], [3, 4, 1, "", "__pydantic_extra__"], [3, 4, 1, "", "__pydantic_fields__"], [3, 4, 1, "", "__pydantic_fields_set__"], [3, 4, 1, "", "__pydantic_generic_metadata__"], [3, 4, 1, "", "__pydantic_parent_namespace__"], [3, 4, 1, "", "__pydantic_post_init__"], [3, 4, 1, "", "__pydantic_private__"], [3, 4, 1, "", "__pydantic_serializer__"], [3, 4, 1, "", "__pydantic_validator__"], [3, 4, 1, "", "__signature__"], [3, 4, 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, 3, 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"], [14, 0, 0, "-", "function"], [15, 0, 0, "-", "interactions"], [16, 0, 0, "-", "logging"], [17, 0, 0, "-", "members"], [18, 0, 0, "-", "messages"], [19, 0, 0, "-", "pagination"], [20, 0, 0, "-", "paste_service"], [21, 0, 0, "-", "regex"], [22, 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, 3, 1, "", "ContextCheckFailure"], [10, 3, 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, 3, 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": [[13, 5, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[14, 3, 1, "", "GlobalNameConflictError"], [14, 5, 1, "", "command_wraps"], [14, 5, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[15, 1, 1, "", "DeleteMessageButton"], [15, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[15, 2, 1, "", "__init__"], [15, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[15, 2, 1, "", "__init__"], [15, 2, 1, "", "interaction_check"], [15, 2, 1, "", "on_timeout"], [15, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[16, 1, 1, "", "CustomLogger"], [16, 5, 1, "", "get_logger"], [16, 6, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[16, 2, 1, "", "trace"]], "pydis_core.utils.members": [[17, 5, 1, "", "get_or_fetch_member"], [17, 5, 1, "", "handle_role_change"]], "pydis_core.utils.messages": [[18, 5, 1, "", "reaction_check"]], "pydis_core.utils.pagination": [[19, 3, 1, "", "EmptyPaginatorEmbedError"], [19, 1, 1, "", "LinePaginator"], [19, 1, 1, "", "PaginationEmojis"]], "pydis_core.utils.pagination.LinePaginator": [[19, 2, 1, "", "__init__"], [19, 2, 1, "", "add_line"], [19, 2, 1, "", "paginate"]], "pydis_core.utils.pagination.PaginationEmojis": [[19, 4, 1, "", "__class_vars__"], [19, 4, 1, "", "__private_attributes__"], [19, 4, 1, "", "__pydantic_complete__"], [19, 4, 1, "", "__pydantic_computed_fields__"], [19, 4, 1, "", "__pydantic_core_schema__"], [19, 4, 1, "", "__pydantic_custom_init__"], [19, 4, 1, "", "__pydantic_decorators__"], [19, 4, 1, "", "__pydantic_extra__"], [19, 4, 1, "", "__pydantic_fields__"], [19, 4, 1, "", "__pydantic_fields_set__"], [19, 4, 1, "", "__pydantic_generic_metadata__"], [19, 4, 1, "", "__pydantic_parent_namespace__"], [19, 4, 1, "", "__pydantic_post_init__"], [19, 4, 1, "", "__pydantic_private__"], [19, 4, 1, "", "__pydantic_serializer__"], [19, 4, 1, "", "__pydantic_validator__"], [19, 4, 1, "", "__signature__"], [19, 4, 1, "", "model_config"]], "pydis_core.utils.paste_service": [[20, 6, 1, "", "MAX_PASTE_SIZE"], [20, 1, 1, "", "PasteFile"], [20, 1, 1, "", "PasteResponse"], [20, 3, 1, "", "PasteTooLongError"], [20, 3, 1, "", "PasteUnsupportedLexerError"], [20, 3, 1, "", "PasteUploadError"], [20, 5, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[20, 4, 1, "", "__class_vars__"], [20, 4, 1, "", "__private_attributes__"], [20, 4, 1, "", "__pydantic_complete__"], [20, 4, 1, "", "__pydantic_computed_fields__"], [20, 4, 1, "", "__pydantic_core_schema__"], [20, 4, 1, "", "__pydantic_custom_init__"], [20, 4, 1, "", "__pydantic_decorators__"], [20, 4, 1, "", "__pydantic_extra__"], [20, 4, 1, "", "__pydantic_fields__"], [20, 4, 1, "", "__pydantic_fields_set__"], [20, 4, 1, "", "__pydantic_generic_metadata__"], [20, 4, 1, "", "__pydantic_parent_namespace__"], [20, 4, 1, "", "__pydantic_post_init__"], [20, 4, 1, "", "__pydantic_private__"], [20, 4, 1, "", "__pydantic_serializer__"], [20, 4, 1, "", "__pydantic_validator__"], [20, 4, 1, "", "__signature__"], [20, 4, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[20, 4, 1, "", "__class_vars__"], [20, 4, 1, "", "__private_attributes__"], [20, 4, 1, "", "__pydantic_complete__"], [20, 4, 1, "", "__pydantic_computed_fields__"], [20, 4, 1, "", "__pydantic_core_schema__"], [20, 4, 1, "", "__pydantic_custom_init__"], [20, 4, 1, "", "__pydantic_decorators__"], [20, 4, 1, "", "__pydantic_extra__"], [20, 4, 1, "", "__pydantic_fields__"], [20, 4, 1, "", "__pydantic_fields_set__"], [20, 4, 1, "", "__pydantic_generic_metadata__"], [20, 4, 1, "", "__pydantic_parent_namespace__"], [20, 4, 1, "", "__pydantic_post_init__"], [20, 4, 1, "", "__pydantic_private__"], [20, 4, 1, "", "__pydantic_serializer__"], [20, 4, 1, "", "__pydantic_validator__"], [20, 4, 1, "", "__signature__"], [20, 4, 1, "", "model_config"]], "pydis_core.utils.regex": [[21, 6, 1, "", "DISCORD_INVITE"], [21, 6, 1, "", "FORMATTED_CODE_REGEX"], [21, 6, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[22, 1, 1, "", "Scheduler"], [22, 5, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[22, 2, 1, "", "__contains__"], [22, 2, 1, "", "__init__"], [22, 2, 1, "", "cancel"], [22, 2, 1, "", "cancel_all"], [22, 2, 1, "", "schedule"], [22, 2, 1, "", "schedule_at"], [22, 2, 1, "", "schedule_later"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "exception", "Python exception"], "4": ["py", "attribute", "Python attribute"], "5": ["py", "function", "Python function"], "6": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:attribute", "5": "py:function", "6": "py:data"}, "terms": {"": [0, 1, 3, 7, 8, 10, 11, 12, 14, 15, 16, 18, 19, 20, 21, 22], "0": [0, 8, 10, 15, 16], "0a0": 0, "0eb3d26": 0, "0x000055ae3e377f40": 19, "0x000055ae3e381ff0": 3, "0x000055ae3e59d610": 20, "0x000055ae3e59ed00": 20, "0x00007ff246496830": 20, "0x00007ff246496db0": 20, "0x00007ff246496e30": 20, "0x00007ff246496e70": 20, "0x00007ff246496ef0": 20, "0x00007ff246496f70": 20, "0x00007ff2464973b0": 20, "0x00007ff246497d70": 20, "0x00007ff246497e30": 20, "0x00007ff246497fb0": 20, "0x00007ff246b156f0": 3, "0x00007ff246b157f0": 3, "0x00007ff246b158b0": 3, "0x00007ff246b15ab0": 3, "0x00007ff246b15c30": 3, "0x00007ff246b16b70": 3, "0x00007ff246b17f70": 3, "0x00007ff246d35670": 19, "0x00007ff246d35770": 19, "0x00007ff246d35870": 19, "0x00007ff246d35a70": 19, "0x00007ff246d35eb0": 19, "0x00007ff246d36b30": 19, "0x00007ff246d37f30": 19, "0x00007ff246d37fb0": 19, "0x00007ff246d73d30": 20, "0x00007ff24770c7b0": 3, "0x00007ff24770c800": 3, "0x00007ff24770c850": 3, "0x00007ff24770c8a0": 3, "0x00007ff24770c8f0": 3, "0x00007ff24771ea60": 19, "0x00007ff24771eab0": 19, "0x00007ff24771eb00": 19, "0x00007ff24771eb50": 19, "0x00007ff24771eba0": 19, "0x00007ff247e427b0": 3, "0x00007ff247e78500": 3, "0x00007ff247f7e130": 19, "0x00007ff247fe3cf0": 3, "0x00007ff24e29da30": [3, 19], "0x00007ff24fb4e3c0": 19, "0x00007ff24fb4e4f0": 20, "0x00007ff250909030": 20, "0x00007ff250ba4e70": 20, "0x00007ff250e679b0": 20, "0x00007ff250f797b0": [3, 19], "0x00007ff250f797f0": [3, 19], "0x00007ff250fd2170": [3, 19], "0x00007ff250ff47b0": [3, 19], "0x00007ff251360eb0": [3, 19], "0x00007ff251cac2a0": 20, "0x00007ff251d530c0": 20, "0x00007ff251d56ea0": 20, "1": [0, 16], "10": 0, "101": 0, "103": 0, "104": 0, "106": 0, "107": 0, "108": 0, "10th": 0, "11": 0, "110": 0, "12": 0, "124": 0, "125": 0, "128": 8, "138": 0, "13th": 0, "14th": 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": 15, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "189": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "196": 0, "197": 0, "199": 0, "19th": 0, "2": [0, 3, 15, 20], "200": 0, "2021": 0, "2022": 0, "2023": 0, "2024": 0, "204": [0, 6], "20th": 0, "21st": 0, "22nd": 0, "23rd": 0, "24th": 0, "25th": 0, "26th": 0, "27th": 0, "28th": 0, "29": 0, "2nd": 0, "3": [0, 20], "30": 0, "300": [3, 19], "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "4000": [3, 19], "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 3, 12, 19], "500": [3, 19], "524288": 20, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "637136429717389331": [3, 19], "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, "94206856494912": 19, "94206856536048": 3, "94206858745360": 20, "94206858751232": 20, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 10, 12, 14, 15, 16, 19, 20, 22], "For": 14, "If": [3, 6, 10, 12, 14, 15, 18, 19, 22], "In": [3, 19], "It": [3, 7, 19], "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 22], "These": [3, 19], "To": [1, 3, 16], "_": 0, "__annotations__": 14, "__args__": [3, 19, 20], "__call__": [7, 8], "__class_vars__": [2, 3, 7, 19, 20], "__contains__": [7, 22], "__dict__": 14, "__doc__": 14, "__fields__": [3, 19, 20], "__get_pydantic_json_schema__": [3, 19, 20], "__global__": 14, "__init__": [0, 2, 3, 4, 6, 7, 8, 10, 12, 15, 19, 20, 22], "__module__": 14, "__name__": 14, "__origin__": [3, 19, 20], "__parameters__": [3, 19, 20], "__private_attributes__": [2, 3, 7, 19, 20], "__pydantic_complete__": [2, 3, 7, 19, 20], "__pydantic_computed_fields__": [2, 3, 7, 19, 20], "__pydantic_core_schema__": [2, 3, 7, 19, 20], "__pydantic_custom_init__": [2, 3, 7, 19, 20], "__pydantic_decorators__": [2, 3, 7, 19, 20], "__pydantic_extra__": [2, 3, 7, 19, 20], "__pydantic_fields__": [2, 3, 7, 19, 20], "__pydantic_fields_set__": [2, 3, 7, 19, 20], "__pydantic_generic_metadata__": [2, 3, 7, 19, 20], "__pydantic_parent_namespace__": [2, 3, 7, 19, 20], "__pydantic_post_init__": [2, 3, 7, 19, 20], "__pydantic_private__": [2, 3, 7, 19, 20], "__pydantic_serializer__": [2, 3, 7, 19, 20], "__pydantic_validator__": [2, 3, 7, 19, 20], "__qualname__": 14, "__root_validators__": [3, 19, 20], "__signature__": [2, 3, 7, 19, 20], "__str__": [3, 6], "__validators__": [3, 19, 20], "_decor": [3, 19, 20], "_gener": [3, 19, 20], "_guild_avail": 0, "_p": 14, "_r": 14, "_transport": 0, "abc": 0, "abl": 0, "about": [3, 12, 19, 20], "abstract": 0, "abstracteventloop": [4, 22], "accept": 15, "across": [0, 3, 16, 19], "act": 7, "actual": 0, "ad": [0, 1, 3, 7, 15, 16, 19], "add": [0, 3, 10, 12, 19], "add_cog": [2, 3], "add_command": [2, 3], "add_lin": [2, 3, 7, 19], "add_rol": 17, "addit": 0, "after": [0, 3, 15, 19, 22], "again": 1, "aid": [3, 19], "aiodn": 0, "aiohttp": [0, 3, 6, 20], "alia": [3, 7, 12, 19, 20], "alias": [3, 7], "alias_pi": [3, 19, 20], "all": [0, 1, 3, 4, 7, 16, 22], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 15, 18, 19, 20], "allow_mod": 18, "allowed_emoji": 18, "allowed_rol": [1, 3, 15, 18, 19], "allowed_us": [15, 18], "alpha": 0, "alreadi": [3, 19, 22], "also": [0, 3, 7, 14, 15, 19], "alwai": 10, "amount": [3, 19], "an": [0, 1, 3, 4, 6, 7, 8, 9, 10, 16, 19, 20, 22], "ani": [3, 6, 10, 19, 20, 21, 22], "annot": [3, 14, 19, 20], "anymor": [3, 19], "anyth": [1, 20], "api": [0, 6, 17], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "append": [3, 19], "appli": [3, 7, 8, 10, 12, 19, 20], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 14, 15, 18, 19, 20, 21], "arg": [3, 12, 16, 19, 20], "arg_offset": 8, "args_preprocessor": 12, "argument": [6, 7, 8, 11, 12, 16, 17], "around": 6, "assign": 14, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 15, 17, 19, 20], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 22], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 17, 19], "attr": 0, "attribut": [3, 7, 14, 19, 20], "august": 0, "authent": 6, "author": [3, 10, 18, 19], "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 3, 19, 20], "avail": [0, 3], "avoid": [0, 3, 19], "await": [0, 3, 12, 15, 17, 19], "awar": 22, "back": 0, "backtick": [3, 19], "bad": 0, "badargu": 11, "base": [0, 3, 4, 6, 8, 10, 12, 14, 15, 16, 19, 20, 22], "basemodel": [3, 19, 20], "basic": [0, 15], "becaus": [3, 14], "becom": 3, "been": 0, "befor": [0, 3, 10, 15, 19, 22], "before_invok": 10, "behav": 14, "behavior": 10, "behaviour": [0, 3], "being": [0, 7, 10, 17], "below": 1, "best": [3, 19], "between": [0, 1, 14], "block": [0, 3, 12, 19, 21], "block_duplicate_invoc": [3, 7, 12], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 10, 12, 15, 18, 19, 20, 22], "bot": [0, 1, 3, 7, 9, 18], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 20], "bound": [3, 19, 20], "boundari": [3, 19], "break": [0, 3, 14, 19], "broke": 0, "buckettyp": 10, "bug": 0, "build": [3, 19, 20], "bump": 0, "button": [0, 15], "buttonstyl": 15, "bypass": 10, "bypass_rol": 10, "byte": 20, "cach": [0, 3, 7, 9, 17], "cache_str": [3, 19, 20], "calcul": 22, "call": [0, 3, 12, 14, 22], "call_without_cooldown": [7, 12], "callabl": [8, 10, 12, 14, 17], "callback": [7, 10, 15], "can": [0, 1, 3, 10, 15, 16, 19, 22], "cancel": [7, 22], "cancel_al": [7, 22], "cannot": [0, 3, 19], "captur": [0, 14, 21], "carri": 15, "case": [0, 3, 19], "categori": [9, 10], "category_id": 9, "caus": [3, 7, 19], "certain": [0, 1], "chang": [0, 1, 3, 14, 19], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 10, 12], "channel_id": 9, "charact": [0, 3, 19], "chardet": 0, "check": [0, 3, 6, 7, 9, 12, 13, 15, 18, 22], "checkfailur": 10, "chunk": 0, "ci": 0, "cl": [3, 19, 20], "class": [0, 3, 4, 6, 8, 12, 15, 16, 19, 20, 22], "classmethod": [3, 19], "classvar": [3, 19, 20], "clean": [0, 11], "clean_text_or_repli": [3, 7, 11], "clear": [2, 3, 7, 8], "click": 15, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 20], "close": [0, 2, 3, 6, 22], "cloudflar": 7, "code": [0, 1, 3, 6, 19, 21], "codepoint": [3, 19], "coerce_numbers_to_str": [3, 19, 20], "cog": [0, 3, 5], "collect": 10, "com": [0, 20], "comma": 1, "command": [0, 1, 3, 7, 9, 10, 12, 14, 19], "command_wrap": [3, 7, 14], "commanderror": 12, "commandoncooldown": [3, 7, 12], "commit": 0, "common": [0, 1, 3, 7, 16, 21], "commun": 4, "complet": [3, 19, 20], "compos": 1, "comput": [3, 19, 20], "computed_field": [3, 19, 20], "computedfield": [3, 19, 20], "computedfieldinfo": [3, 19, 20], "config": [3, 19, 20], "configdict": [3, 19, 20], "configur": [1, 3, 19, 20], "conflict": 14, "conform": [3, 19, 20], "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 3, 10, 15, 19, 20, 22], "content": [0, 3, 11, 19, 20], "context": [3, 10, 11, 19], "contextcheckfailur": [3, 7, 10], "continu": [3, 19], "cooldown": [3, 7, 10], "cooldown_dur": 12, "cooldown_with_role_bypass": [3, 7, 10], "copi": [1, 14], "copy_default": [3, 19, 20], "core": [0, 1, 19, 20], "coreschema": [3, 19, 20], "coro": [17, 22], "coroutin": [8, 17, 22], "correct": [0, 1], "correspond": [3, 19, 20], "could": 17, "crash": 0, "creat": [0, 3, 4, 8, 12, 14, 19, 22], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 22], "creation": 0, "criteria": 0, "ctx": [3, 10, 11, 15, 19], "current": [3, 19, 22], "custom": [0, 3, 8, 16, 19, 20], "custom_init": [3, 19, 20], "customlogg": [3, 7, 16], "cut": 0, "d": [1, 14], "dai": 0, "data": [3, 19, 20], "datetim": 22, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 3, 8, 10, 12, 14, 19, 20], "decoratorinfo": [3, 19, 20], "default": [0, 1, 3, 10, 19, 20], "defin": [3, 19, 20], "definit": [3, 19, 20], "delai": 22, "delet": [0, 3, 6, 8, 15, 19, 20], "deletemessagebutton": [0, 3, 7, 15], "depend": [0, 9], "deprec": 0, "describ": 10, "detail": 14, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [3, 6, 19, 20], "dictat": 0, "dictionari": [3, 19, 20], "did": 0, "directli": [0, 14], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 11, 13, 14, 17, 19, 21], "discord_invit": [0, 3, 7, 21], "disnak": 0, "distinguish": 22, "django": 6, "dm": 10, "do": [0, 1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": [10, 22], "don": [0, 10, 22], "done": [3, 15, 19, 22], "due": 0, "dummi": [0, 3], "dump": [3, 19, 20], "duplic": [0, 12], "durat": 10, "dure": [3, 19, 20], "dynam": 0, "e": [3, 19], "each": [0, 3, 19], "edit": 3, "effort": [3, 19], "either": 3, "els": 11, "elsewher": 22, "emb": [0, 3, 19], "emit": 3, "emoji": [0, 3, 18, 19], "empti": [3, 19], "emptypaginatorembederror": [2, 3, 7, 19], "enabl": 1, "encount": 20, "end": [3, 19], "endpoint": 6, "ensur": [0, 3, 15, 21], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 13, 17, 20], "error_handl": [3, 7], "etc": [1, 10], "evalu": 14, "even": 18, "event": [0, 3, 4, 22], "event_loop": 22, "eventu": [3, 19, 20], "everi": [3, 19], "exact": 1, "exampl": [3, 19], "exc_info": 16, "exce": [3, 8, 19], "exceed": [3, 19], "except": [3, 6, 10, 12, 14, 16, 19, 20, 22], "exception_on_empty_emb": [3, 19], "excess": [3, 19], "exclud": [3, 19, 20], "execut": 22, "exist": [0, 1, 22], "expect": 17, "expiri": 0, "explain": 0, "explicitli": [3, 19, 20], "express": 21, "ext": [0, 2, 3, 7, 9, 10, 11, 19], "extend": 0, "extens": [0, 3], "extra": [3, 6, 19, 20], "extra_behavior": [3, 19, 20], "extra_seri": [3, 19, 20], "extras_valid": [3, 19, 20], "facilit": 0, "fail": [9, 10, 20], "fail_sil": 10, "failur": 17, "fals": [3, 10, 12, 19, 20], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 17], "few": 1, "field": [3, 19, 20], "field_seri": [3, 19, 20], "field_valid": [3, 19, 20], "fieldinfo": [3, 19, 20], "fifo": 8, "file": [0, 1, 20], "filter": [0, 3, 19, 20], "finish": [3, 19], "first": [3, 19], "five": [3, 19], "fix": 0, "float": [10, 12, 15, 22], "folder": 1, "footer": [3, 19], "footer_text": [3, 19], "forbidden": [0, 9, 13], "format": [20, 21], "formatt": 16, "formatted_code_regex": [3, 7, 21], "forum": 0, "forwardref": 14, "found": [14, 17, 22], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 14, 15, 17, 19, 20, 22], "from_attribut": [3, 19, 20], "frozen": [3, 19, 20], "frozenset": 14, "function": [0, 3, 7, 8, 9, 12, 16, 17, 19, 22], "functool": 14, "futur": [10, 22], "g": [3, 19], "gatewai": 3, "gener": [0, 3, 12, 19, 20, 22], "generalfieldsseri": [3, 19, 20], "generic_origin": [3, 19, 20], "get": [0, 3, 6, 9, 17], "get_logg": [3, 7, 16], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 17], "git": 1, "give": 3, "given": [3, 4, 7, 9, 11, 16, 17, 22], "global": 14, "globalnameconflicterror": [3, 7, 14], "go": [1, 3, 19], "greater": 20, "groundwork": 1, "group": [7, 21], "guild": [0, 1, 3, 10, 17], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 3, 7, 10, 19, 20], "handl": [0, 13, 17, 22], "handle_forbidden_from_block": [3, 7, 13], "handle_role_chang": [0, 3, 7, 17], "has_any_role_check": [3, 7, 10], "has_extra": [3, 19, 20], "has_no_roles_check": [3, 7, 10], "hashabl": 22, "have": [0, 9, 10, 14, 16], "heavi": 7, "help": [0, 1], "helper": [9, 12, 17], "hold": [3, 19], "hook": 0, "host": 4, "houston": 16, "how": [0, 8, 10, 14, 22], "howev": 1, "http": [0, 6, 20, 21], "http_session": [3, 20], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22], "icon": [3, 19], "icon_url": [3, 19], "id": [1, 3, 9, 10, 15, 19, 22], "identifi": 22, "ignor": [1, 3, 7, 14, 18, 19, 20], "ignored_conflict_nam": 14, "immedi": 22, "implement": [3, 4, 8, 15, 16], "import": 0, "in_whitelist": 10, "in_whitelist_check": [3, 7, 10], "inadequ": 3, "includ": [0, 1, 3, 13, 19, 20], "incorrect": 0, "index": 2, "indic": [3, 17, 19], "individu": 3, "info": [0, 1], "inform": [2, 16], "init": [0, 3, 4, 19, 20], "initi": [6, 22], "initialis": [3, 8], "input": 15, "insert": [3, 19], "insid": [3, 19], "inspect": [3, 19, 20], "instal": 1, "instanc": [0, 3, 6, 8, 9, 10, 16, 19, 20, 22], "instanti": [3, 15, 19, 20, 22], "instead": [3, 12, 22], "int": [3, 4, 8, 9, 10, 15, 19, 20, 22], "intend": 17, "intent": 1, "interact": [0, 3, 7, 9, 19], "interactin": 17, "interaction_check": [7, 15], "interest": 16, "intern": [3, 7], "intersphinx": 0, "introduc": 10, "invalid": 9, "invaliddata": 9, "invit": [0, 21], "invoc": [0, 12], "invok": [1, 10, 12, 15], "inwhitelistcheckfailur": [3, 7, 10], "is_in_categori": [3, 7, 9], "isn": 13, "issu": 10, "item": 8, "iter": [10, 12], "its": [0, 3, 12, 14], "itself": 15, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": [3, 19, 22], "kei": [3, 8, 19, 20], "key_pi": [3, 19, 20], "keyword": [6, 7, 16], "known": 22, "kwarg": [3, 6, 12, 15, 16, 22], "label": [0, 15], "lancebot": 1, "larg": 20, "larger": 20, "last": [3, 10, 15, 19], "latest": 0, "lead": 0, "least": 10, "left": [3, 19], "length": [3, 12, 19], "level": [0, 7, 16], "lexer": [0, 20], "librari": [0, 1], "like": [1, 14], "limit": [3, 19], "line": [3, 19], "linepagin": [0, 2, 3, 7, 19], "linesep": [3, 19], "link": 20, "lint": 0, "list": [0, 1, 3, 19, 20], "listen": 15, "liter": [3, 19, 20], "ll": [1, 22], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": [3, 19, 20], "local": 2, "localhost": 4, "log": [0, 3, 7, 13, 17, 22], "log_format": [0, 3, 7, 16], "log_to_dev_log": [2, 3], "logger": [0, 16], "logic": 0, "long": [10, 20, 22], "longer": [0, 15], "look": [14, 22], "lookup_kei": [3, 19, 20], "lookuppath": [3, 19, 20], "loop": [4, 22], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": [0, 18], "mai": [0, 3, 8, 19, 20], "main": 0, "make": [0, 1, 3, 16, 19], "mani": [0, 3, 8], "manipul": [0, 14], "manual": 3, "march": 0, "mark": 0, "match": [0, 3], "max": 20, "max_length": 20, "max_lin": [3, 19], "max_paste_s": [3, 7, 20], "max_siz": [3, 8, 19, 20], "maximum": [3, 8, 19, 20], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 17, "mention": [1, 3], "messag": [0, 3, 7, 11, 12, 13, 15, 16, 19, 22], "message_id": 18, "message_typ": 0, "metadata": [3, 19, 20], "method": [0, 3, 4, 6, 7, 16, 19, 20], "might": [1, 10], "migrat": 0, "minut": [3, 19], "miss": 0, "mod": 0, "mode": [3, 19, 20], "model": [3, 19, 20], "model_config": [2, 3, 7, 19, 20], "model_nam": [3, 19, 20], "model_post_init": [3, 19, 20], "model_seri": [3, 19, 20], "model_valid": [3, 19, 20], "modelfield": [3, 19, 20], "modelfieldsvalid": [3, 19, 20], "modelprivateattr": [3, 19, 20], "modelseri": [3, 19, 20], "modelvalid": [3, 19, 20], "moder": [3, 15, 18, 19], "modifi": [1, 17], "modul": [0, 3, 7, 14, 19, 20, 22], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 3, 14, 19], "most": 1, "move": 0, "msg": 16, "multipl": 0, "multivers": 0, "must": [0, 22], "mypi": 16, "n": [3, 19], "name": [3, 7, 14, 16, 19, 20, 22], "name_pi": [3, 19, 20], "namespac": [0, 3, 19, 20, 22], "navig": [0, 1, 3, 19], "na\u00efv": 22, "need": [0, 1, 3, 19], "never": [3, 19, 20], "new": [0, 1, 3, 4, 6, 8, 14, 19, 22], "newer": 0, "newli": 0, "next": [3, 19], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22], "normal": 3, "notabl": 0, "note": 10, "notfound": 9, "notic": 0, "notifi": 12, "novemb": 0, "now": [0, 1, 22], "number": [0, 3, 10, 19, 20], "object": [3, 6, 7, 8, 9, 12, 17, 19, 20, 22], "occur": 15, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": [3, 19, 20], "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 15], "onc": [0, 8], "one": [0, 3, 10, 19], "ones": 1, "onli": [0, 3], "onto": [3, 19], "oper": [3, 19, 22], "option": [0, 8], "order": [3, 8, 19, 22], "origin": [3, 15, 19, 20], "other": [0, 1, 22], "otherwis": [10, 22], "our": [0, 1, 7], "out": [0, 1, 15], "output": 21, "over": [0, 3, 19], "overflow": [3, 19], "overrid": [3, 19], "overwrit": [0, 3], "own": [0, 14], "p": [3, 7, 12], "packag": [0, 7], "page": [2, 3, 19], "pagin": [0, 2, 3, 7], "pagination_emoji": [3, 19], "paginationemoji": [2, 3, 7, 19], "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 22], "paramspec": [12, 14], "parent": [0, 3, 15, 19, 20], "pars": 21, "pass": [0, 6, 16, 17, 22], "past": [0, 20, 22], "paste_servic": [0, 3, 7], "paste_url": 20, "pastebin": 0, "pastefil": [0, 3, 7, 20], "pasterespons": [3, 7, 20], "pastetoolongerror": [3, 7, 20], "pasteunsupportedlexererror": [3, 7, 20], "pasteuploaderror": [3, 7, 20], "patch": [0, 3, 6, 7], "path": [1, 3, 19, 20], "pattern": 21, "per": [3, 10, 19], "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "place": [3, 19], "pleas": 21, "pluggableschemavalid": [3, 19, 20], "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 19, 20], "post_init": [3, 19, 20], "pre": 1, "predic": 0, "prefix": [1, 3, 4, 19], "prematur": 22, "press": 0, "prevent": [12, 22], "previous": 0, "privat": [3, 19, 20], "privatechannel": [0, 9], "problem": [10, 16], "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 16], "provid": [0, 1, 3, 8, 11, 13, 19, 22], "public": 0, "publish": 0, "purpos": [3, 17, 19, 20], "push": 0, "put": [3, 6], "py": [0, 3, 14, 19, 20], "py_kei": [3, 19, 20], "pydant": [3, 19, 20], "pydantic_js_funct": [3, 19, 20], "pydanticgenericmetadata": [3, 19, 20], "pydi": [0, 2], "pydis_cor": [0, 1, 3, 15, 16, 19, 20], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 20, 22], "pythondiscord": [0, 20], "qualifi": 7, "quot": 21, "r": [3, 7, 12], "rais": [3, 6, 9, 10, 11, 12, 13, 14, 17, 19, 20, 22], "raise_for_statu": 6, "rate": 10, "rather": 7, "raw": [12, 21], "raw_code_regex": [3, 7, 21], "rc2": 0, "re": [1, 3, 13, 18, 22], "reaction": [0, 3, 18, 19], "reaction_check": [0, 3, 7, 18], "read": 0, "readi": 3, "real": 0, "reason": [3, 19], "rebuild": [3, 19, 20], "receiv": [0, 6, 9], "recognis": 16, "reconnect": 0, "redi": 0, "redirect": 10, "redirect_channel": 10, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": [3, 19, 20], "refer": 0, "referenc": 0, "reflect": 14, "regex": [0, 3, 7], "regular": 21, "reinstal": 1, "reject": 20, "relat": [8, 16], "releas": 0, "relev": 3, "remain": [3, 19], "remov": [0, 3, 15, 18, 19, 20], "remove_command": [2, 3], "remove_rol": 17, "renam": 0, "replac": [3, 10, 14, 19, 20], "repli": [3, 11, 12, 13, 19], "repo": 0, "represent": 6, "request": [0, 3, 6, 21], "requir": [1, 3, 19, 20, 22], "required_field": [3, 19, 20], "resolut": 0, "resolv": [3, 14], "respons": [0, 6, 20], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "restrict": [3, 19], "restrict_to_us": [3, 19], "result": [0, 22], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22], "reusabl": 5, "revalid": [3, 19, 20], "revert": 0, "right": [0, 3, 19], "role": [0, 1, 3, 10, 15, 17, 18, 19], "root": [1, 3, 7], "root_alias": 7, "root_model": [3, 19, 20], "root_valid": [3, 19, 20], "rout": 7, "ruff": 0, "run": [0, 1, 12, 22], "safe": 0, "same": [12, 22], "sampl": 0, "sanitis": 21, "save": [0, 3, 20], "scale": [3, 19], "scale_to_s": [3, 19], "schedul": [0, 3, 7], "schedule_at": [7, 22], "schedule_lat": [7, 22], "schema": [3, 19, 20], "schemafilt": [3, 19, 20], "schemaseri": [3, 19, 20], "schemavalid": [3, 19, 20], "search": 2, "second": [3, 10, 12, 15, 19, 22], "secondari": 15, "see": [1, 14, 15], "self": [0, 3, 15], "send": [0, 3, 6, 15, 19], "send_notic": 12, "send_to_paste_servic": [0, 3, 7, 20], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [3, 7, 14, 15, 19], "serfield": [3, 19, 20], "serial": [3, 19, 20], "serv": [3, 19], "server": [3, 21], "servic": [0, 1, 3, 20], "session": [0, 3, 6, 20], "session_kwarg": 6, "set": [0, 1, 3, 12, 14, 15, 19, 20], "set_author": [3, 19], "setup": [0, 3], "setup_hook": [2, 3], "sever": 16, "share": [0, 14], "should": [0, 1, 3, 6, 15, 19, 20], "should_rais": 6, "signatur": [3, 12, 19, 20], "silent": 10, "similar": [3, 15, 19, 20, 21], "simpl": [3, 19, 20], "simpledict": [3, 19, 20], "sinc": 10, "singl": [0, 3, 19], "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [3, 8, 19, 20], "so": [0, 1, 7], "socket": 4, "sole": 17, "some": [0, 3, 19, 20], "someth": 21, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], "specif": [0, 10], "specifi": [0, 10, 12, 15], "sphinx": 0, "stabl": 0, "standardis": [0, 16], "start": [0, 3, 22], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 14, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 19, 20], "stop": [0, 7, 15], "store": [0, 3, 7, 8, 19], "str": [3, 4, 6, 7, 10, 11, 14, 15, 16, 19, 20, 22], "strict": [3, 19, 20], "string": [0, 6], "strserial": [3, 19, 20], "strvalid": [3, 19, 20], "style": 15, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 22, "success": [0, 20], "suffix": [3, 19], "suggest": 22, "support": [0, 4, 7, 22], "suppressed_except": 22, "sure": 1, "switch": [3, 19], "sync": [0, 3], "sync_app_command": 3, "synthes": [3, 19, 20], "system": [0, 1], "t": [0, 10, 11, 13, 14, 22], "target": 8, "task": [0, 22], "task_id": 22, "task_return": 22, "templat": 1, "test": 2, "text": [0, 3, 6, 11, 19, 20], "textchannel": 9, "than": [7, 20], "thei": [3, 14, 18], "them": [1, 3, 14, 22], "thi": [0, 1, 3, 7, 9, 10, 12, 14, 15, 17, 19, 20, 21, 22], "thread": [0, 9], "three": [3, 19], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 10, 22], "timeout": [0, 3, 15, 19], "timezon": 22, "titl": [3, 19, 20], "token": [1, 6], "toml": [0, 1], "too": 20, "tool": [3, 7], "top": 7, "total": [3, 19], "trace": [0, 7, 16], "track": 22, "transport": 4, "trashcan": [3, 19], "trigger": 10, "true": [3, 6, 10, 12, 16, 18, 19, 20, 22], "truncat": [3, 19], "tupl": 22, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22], "typeerror": 10, "typehint": 14, "typevar": [12, 14, 22], "u": [0, 3, 19], "ui": 15, "unavail": 3, "unawait": 22, "undefin": [3, 19, 20], "under": 7, "union": 10, "uniqu": 22, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 22, "unsupport": 20, "unti": [3, 19], "until": [0, 3, 21], "up": [0, 1, 3, 19], "updat": [0, 14], "update_wrapper_glob": [3, 7, 14], "upload": [0, 20], "upon": 0, "url": [0, 3, 6, 19, 20], "urllib": 21, "us": [0, 1, 3, 4, 6, 7, 9, 10, 12, 14, 16, 17, 19, 20, 21, 22], "user": [0, 3, 10, 12, 15, 18, 19], "utc": 22, "util": [0, 1, 2, 3, 8, 14, 15, 16, 19, 20], "v1": [0, 3, 19, 20], "valid": [0, 3, 19, 20], "validate_default": [3, 19, 20], "valu": [3, 12, 14, 16, 19, 20], "valueerror": [6, 20], "vari": 1, "variabl": [1, 3, 19, 20], "variou": 9, "verifi": 10, "version": [0, 11], "view": [0, 15], "viewwithuserandrolecheck": [0, 3, 7, 15], "wa": [0, 9, 10, 22], "wait": [0, 3, 22], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 22], "wasn": 11, "we": [16, 17], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 10, 12, 14, 19, 20, 22], "where": 10, "whether": [0, 3, 6, 9, 10, 19, 20], "which": [0, 1, 3, 7, 10, 12, 19, 22], "while": [3, 12, 19], "whitelist": 10, "whitespac": [0, 21], "who": 15, "whom": [3, 19], "withdefault": [3, 19, 20], "withdefaultseri": [3, 19, 20], "withdefaultvalid": [3, 19, 20], "within": [0, 3], "without": [0, 10], "won": 14, "word": [3, 19], "work": [0, 1], "worker": 7, "would": [3, 19], "wrap": [8, 14, 22], "wrapper": [0, 6, 12, 14, 22], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 21], "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", "function", "interactions", "logging", "members", "messages", "pagination", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "check": 10, "command": 11, "cooldown": 12, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 13, "ext": 5, "extra": 2, "function": 14, "interact": 15, "local": 1, "log": 16, "member": 17, "messag": 18, "modul": 2, "option": 1, "pagin": 19, "paste_servic": 20, "project": 2, "pydi": 3, "refer": 2, "regex": 21, "schedul": 22, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v10.6.0/versions.html b/v10.6.0/versions.html index dd243478..ee2d9108 100644 --- a/v10.6.0/versions.html +++ b/v10.6.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v10.6.0 - + @@ -321,6 +321,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -543,6 +551,18 @@ v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -670,7 +690,7 @@ - + -- cgit v1.2.3