From 4497a82c504818d61ab18c5251ae2bc42bae279e Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sat, 23 Nov 2024 18:47:50 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20docs=20from=20@=20python-disco?= =?UTF-8?q?rd/bot-core@bdaaa2e76d4cb32843754757532ef8d73ac97761=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _static/basic.css | 15 +- _static/doctools.js | 7 - _static/documentation_options.js | 2 +- _static/language_data.js | 7 - _static/searchtools.js | 38 +- index.html | 10 +- main/.buildinfo | 4 +- main/_static/basic.css | 15 +- main/_static/doctools.js | 7 - main/_static/documentation_options.js | 2 +- main/_static/language_data.js | 7 - main/_static/searchtools.js | 38 +- main/changelog.html | 29 +- main/development.html | 22 +- main/genindex.html | 52 +- main/index.html | 26 +- main/index_redirect.html | 10 +- main/objects.inv | Bin 2755 -> 2754 bytes main/output/pydis_core.async_stats.html | 42 +- main/output/pydis_core.exts.html | 22 +- main/output/pydis_core.html | 219 +-- main/output/pydis_core.site_api.html | 94 +- main/output/pydis_core.utils.caching.html | 40 +- main/output/pydis_core.utils.channel.html | 32 +- main/output/pydis_core.utils.checks.html | 64 +- main/output/pydis_core.utils.commands.html | 28 +- main/output/pydis_core.utils.cooldown.html | 46 +- ...ore.utils.error_handling.commands.abc.html | 38 +- ...is_core.utils.error_handling.commands.html | 52 +- ...utils.error_handling.commands.manager.html | 36 +- .../pydis_core.utils.error_handling.html | 28 +- main/output/pydis_core.utils.function.html | 80 +- main/output/pydis_core.utils.html | 44 +- .../output/pydis_core.utils.interactions.html | 64 +- main/output/pydis_core.utils.lock.html | 68 +- main/output/pydis_core.utils.logging.html | 42 +- main/output/pydis_core.utils.members.html | 34 +- main/output/pydis_core.utils.messages.html | 26 +- main/output/pydis_core.utils.pagination.html | 117 +- .../pydis_core.utils.paste_service.html | 136 +- main/output/pydis_core.utils.regex.html | 30 +- main/output/pydis_core.utils.scheduling.html | 92 +- main/py-modindex.html | 20 +- main/search.html | 22 +- main/searchindex.js | 2 +- main/versions.html | 34 +- v10.0.0/.buildinfo | 4 +- v10.0.0/_static/basic.css | 15 +- v10.0.0/_static/doctools.js | 7 - v10.0.0/_static/language_data.js | 7 - v10.0.0/_static/searchtools.js | 38 +- v10.0.0/changelog.html | 16 +- v10.0.0/development.html | 14 +- v10.0.0/genindex.html | 38 +- v10.0.0/index.html | 14 +- v10.0.0/index_redirect.html | 6 +- v10.0.0/objects.inv | Bin 1882 -> 1879 bytes v10.0.0/output/pydis_core.async_stats.html | 28 +- v10.0.0/output/pydis_core.exts.html | 14 +- v10.0.0/output/pydis_core.html | 54 +- v10.0.0/output/pydis_core.site_api.html | 64 +- v10.0.0/output/pydis_core.utils.caching.html | 24 +- v10.0.0/output/pydis_core.utils.channel.html | 20 +- v10.0.0/output/pydis_core.utils.commands.html | 18 +- v10.0.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v10.0.0/output/pydis_core.utils.function.html | 36 +- v10.0.0/output/pydis_core.utils.html | 28 +- .../output/pydis_core.utils.interactions.html | 32 +- v10.0.0/output/pydis_core.utils.logging.html | 24 +- v10.0.0/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 114 +- v10.0.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v10.0.0/py-modindex.html | 14 +- v10.0.0/search.html | 14 +- v10.0.0/searchindex.js | 2 +- v10.0.0/versions.html | 26 +- v10.1.0/.buildinfo | 4 +- v10.1.0/_static/basic.css | 15 +- v10.1.0/_static/doctools.js | 7 - v10.1.0/_static/language_data.js | 7 - v10.1.0/_static/searchtools.js | 38 +- v10.1.0/changelog.html | 16 +- v10.1.0/development.html | 14 +- v10.1.0/genindex.html | 38 +- v10.1.0/index.html | 14 +- v10.1.0/index_redirect.html | 6 +- v10.1.0/objects.inv | Bin 1891 -> 1888 bytes v10.1.0/output/pydis_core.async_stats.html | 28 +- v10.1.0/output/pydis_core.exts.html | 14 +- v10.1.0/output/pydis_core.html | 56 +- v10.1.0/output/pydis_core.site_api.html | 64 +- v10.1.0/output/pydis_core.utils.caching.html | 24 +- v10.1.0/output/pydis_core.utils.channel.html | 20 +- v10.1.0/output/pydis_core.utils.commands.html | 18 +- v10.1.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v10.1.0/output/pydis_core.utils.function.html | 36 +- v10.1.0/output/pydis_core.utils.html | 28 +- .../output/pydis_core.utils.interactions.html | 32 +- v10.1.0/output/pydis_core.utils.logging.html | 24 +- v10.1.0/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 114 +- v10.1.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v10.1.0/py-modindex.html | 14 +- v10.1.0/search.html | 14 +- v10.1.0/searchindex.js | 2 +- v10.1.0/versions.html | 26 +- v10.2.0/.buildinfo | 4 +- v10.2.0/_static/basic.css | 15 +- v10.2.0/_static/doctools.js | 7 - v10.2.0/_static/language_data.js | 7 - v10.2.0/_static/searchtools.js | 38 +- v10.2.0/changelog.html | 16 +- v10.2.0/development.html | 14 +- v10.2.0/genindex.html | 38 +- v10.2.0/index.html | 14 +- v10.2.0/index_redirect.html | 6 +- v10.2.0/objects.inv | Bin 1891 -> 1888 bytes v10.2.0/output/pydis_core.async_stats.html | 28 +- v10.2.0/output/pydis_core.exts.html | 14 +- v10.2.0/output/pydis_core.html | 56 +- v10.2.0/output/pydis_core.site_api.html | 64 +- v10.2.0/output/pydis_core.utils.caching.html | 24 +- v10.2.0/output/pydis_core.utils.channel.html | 20 +- v10.2.0/output/pydis_core.utils.commands.html | 18 +- v10.2.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v10.2.0/output/pydis_core.utils.function.html | 36 +- v10.2.0/output/pydis_core.utils.html | 28 +- .../output/pydis_core.utils.interactions.html | 32 +- v10.2.0/output/pydis_core.utils.logging.html | 24 +- v10.2.0/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 114 +- v10.2.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v10.2.0/py-modindex.html | 14 +- v10.2.0/search.html | 14 +- v10.2.0/searchindex.js | 2 +- v10.2.0/versions.html | 26 +- v10.3.0/.buildinfo | 4 +- v10.3.0/_static/basic.css | 15 +- v10.3.0/_static/doctools.js | 7 - v10.3.0/_static/language_data.js | 7 - v10.3.0/_static/searchtools.js | 38 +- v10.3.0/changelog.html | 16 +- v10.3.0/development.html | 14 +- v10.3.0/genindex.html | 38 +- v10.3.0/index.html | 14 +- v10.3.0/index_redirect.html | 6 +- v10.3.0/objects.inv | Bin 1902 -> 1899 bytes v10.3.0/output/pydis_core.async_stats.html | 28 +- v10.3.0/output/pydis_core.exts.html | 14 +- v10.3.0/output/pydis_core.html | 56 +- v10.3.0/output/pydis_core.site_api.html | 64 +- v10.3.0/output/pydis_core.utils.caching.html | 24 +- v10.3.0/output/pydis_core.utils.channel.html | 20 +- v10.3.0/output/pydis_core.utils.commands.html | 18 +- v10.3.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v10.3.0/output/pydis_core.utils.function.html | 36 +- v10.3.0/output/pydis_core.utils.html | 28 +- .../output/pydis_core.utils.interactions.html | 32 +- v10.3.0/output/pydis_core.utils.logging.html | 26 +- v10.3.0/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 114 +- v10.3.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v10.3.0/py-modindex.html | 14 +- v10.3.0/search.html | 14 +- v10.3.0/searchindex.js | 2 +- v10.3.0/versions.html | 26 +- v10.4.0/.buildinfo | 4 +- v10.4.0/_static/basic.css | 15 +- v10.4.0/_static/doctools.js | 7 - v10.4.0/_static/language_data.js | 7 - v10.4.0/_static/searchtools.js | 38 +- v10.4.0/changelog.html | 16 +- v10.4.0/development.html | 14 +- v10.4.0/genindex.html | 38 +- v10.4.0/index.html | 14 +- v10.4.0/index_redirect.html | 6 +- v10.4.0/objects.inv | Bin 1902 -> 1899 bytes v10.4.0/output/pydis_core.async_stats.html | 28 +- v10.4.0/output/pydis_core.exts.html | 14 +- v10.4.0/output/pydis_core.html | 56 +- v10.4.0/output/pydis_core.site_api.html | 64 +- v10.4.0/output/pydis_core.utils.caching.html | 24 +- v10.4.0/output/pydis_core.utils.channel.html | 20 +- v10.4.0/output/pydis_core.utils.commands.html | 18 +- v10.4.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v10.4.0/output/pydis_core.utils.function.html | 36 +- v10.4.0/output/pydis_core.utils.html | 28 +- .../output/pydis_core.utils.interactions.html | 32 +- v10.4.0/output/pydis_core.utils.logging.html | 26 +- v10.4.0/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 114 +- v10.4.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v10.4.0/py-modindex.html | 14 +- v10.4.0/search.html | 14 +- v10.4.0/searchindex.js | 2 +- v10.4.0/versions.html | 26 +- v10.5.0/.buildinfo | 4 +- v10.5.0/_static/basic.css | 15 +- v10.5.0/_static/doctools.js | 7 - v10.5.0/_static/language_data.js | 7 - v10.5.0/_static/searchtools.js | 38 +- v10.5.0/changelog.html | 16 +- v10.5.0/development.html | 14 +- v10.5.0/genindex.html | 38 +- v10.5.0/index.html | 14 +- v10.5.0/index_redirect.html | 6 +- v10.5.0/objects.inv | Bin 1902 -> 1899 bytes v10.5.0/output/pydis_core.async_stats.html | 28 +- v10.5.0/output/pydis_core.exts.html | 14 +- v10.5.0/output/pydis_core.html | 56 +- v10.5.0/output/pydis_core.site_api.html | 64 +- v10.5.0/output/pydis_core.utils.caching.html | 24 +- v10.5.0/output/pydis_core.utils.channel.html | 20 +- v10.5.0/output/pydis_core.utils.commands.html | 18 +- v10.5.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v10.5.0/output/pydis_core.utils.function.html | 36 +- v10.5.0/output/pydis_core.utils.html | 28 +- .../output/pydis_core.utils.interactions.html | 32 +- v10.5.0/output/pydis_core.utils.logging.html | 26 +- v10.5.0/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 114 +- v10.5.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v10.5.0/py-modindex.html | 14 +- v10.5.0/search.html | 14 +- v10.5.0/searchindex.js | 2 +- v10.5.0/versions.html | 26 +- v10.5.1/.buildinfo | 4 +- v10.5.1/_static/basic.css | 15 +- v10.5.1/_static/doctools.js | 7 - v10.5.1/_static/language_data.js | 7 - v10.5.1/_static/searchtools.js | 38 +- v10.5.1/changelog.html | 16 +- v10.5.1/development.html | 14 +- v10.5.1/genindex.html | 38 +- v10.5.1/index.html | 14 +- v10.5.1/index_redirect.html | 6 +- v10.5.1/objects.inv | Bin 1902 -> 1899 bytes v10.5.1/output/pydis_core.async_stats.html | 28 +- v10.5.1/output/pydis_core.exts.html | 14 +- v10.5.1/output/pydis_core.html | 56 +- v10.5.1/output/pydis_core.site_api.html | 60 +- v10.5.1/output/pydis_core.utils.caching.html | 24 +- v10.5.1/output/pydis_core.utils.channel.html | 20 +- v10.5.1/output/pydis_core.utils.commands.html | 18 +- v10.5.1/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v10.5.1/output/pydis_core.utils.function.html | 36 +- v10.5.1/output/pydis_core.utils.html | 28 +- .../output/pydis_core.utils.interactions.html | 32 +- v10.5.1/output/pydis_core.utils.logging.html | 26 +- v10.5.1/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 114 +- v10.5.1/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v10.5.1/py-modindex.html | 14 +- v10.5.1/search.html | 14 +- v10.5.1/searchindex.js | 2 +- v10.5.1/versions.html | 26 +- 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 +- .../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 +- .../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 +- .../output/pydis_core.utils.pagination.html | 101 +- .../pydis_core.utils.paste_service.html | 114 +- v10.6.0/output/pydis_core.utils.regex.html | 16 +- .../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 +- v10.7.0/.buildinfo | 4 +- v10.7.0/_static/basic.css | 15 +- v10.7.0/_static/doctools.js | 7 - v10.7.0/_static/language_data.js | 7 - v10.7.0/_static/searchtools.js | 38 +- v10.7.0/changelog.html | 16 +- v10.7.0/development.html | 14 +- v10.7.0/genindex.html | 46 +- v10.7.0/index.html | 18 +- v10.7.0/index_redirect.html | 6 +- v10.7.0/objects.inv | Bin 2478 -> 2477 bytes v10.7.0/output/pydis_core.async_stats.html | 28 +- v10.7.0/output/pydis_core.exts.html | 14 +- v10.7.0/output/pydis_core.html | 139 +- v10.7.0/output/pydis_core.site_api.html | 60 +- v10.7.0/output/pydis_core.utils.caching.html | 24 +- v10.7.0/output/pydis_core.utils.channel.html | 20 +- v10.7.0/output/pydis_core.utils.checks.html | 42 +- v10.7.0/output/pydis_core.utils.commands.html | 18 +- v10.7.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v10.7.0/output/pydis_core.utils.function.html | 60 +- v10.7.0/output/pydis_core.utils.html | 32 +- .../output/pydis_core.utils.interactions.html | 38 +- v10.7.0/output/pydis_core.utils.lock.html | 38 +- v10.7.0/output/pydis_core.utils.logging.html | 26 +- v10.7.0/output/pydis_core.utils.members.html | 22 +- v10.7.0/output/pydis_core.utils.messages.html | 16 +- .../output/pydis_core.utils.pagination.html | 97 +- .../pydis_core.utils.paste_service.html | 114 +- v10.7.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v10.7.0/py-modindex.html | 14 +- v10.7.0/search.html | 14 +- v10.7.0/searchindex.js | 2 +- v10.7.0/versions.html | 26 +- v11.0.0/.buildinfo | 4 +- v11.0.0/_static/basic.css | 15 +- v11.0.0/_static/doctools.js | 7 - v11.0.0/_static/language_data.js | 7 - v11.0.0/_static/searchtools.js | 38 +- v11.0.0/changelog.html | 16 +- v11.0.0/development.html | 14 +- v11.0.0/genindex.html | 46 +- v11.0.0/index.html | 18 +- v11.0.0/index_redirect.html | 6 +- v11.0.0/objects.inv | Bin 2755 -> 2754 bytes v11.0.0/output/pydis_core.async_stats.html | 28 +- v11.0.0/output/pydis_core.exts.html | 14 +- v11.0.0/output/pydis_core.html | 149 +- v11.0.0/output/pydis_core.site_api.html | 60 +- v11.0.0/output/pydis_core.utils.caching.html | 24 +- v11.0.0/output/pydis_core.utils.channel.html | 20 +- v11.0.0/output/pydis_core.utils.checks.html | 42 +- v11.0.0/output/pydis_core.utils.commands.html | 18 +- v11.0.0/output/pydis_core.utils.cooldown.html | 26 +- ...ore.utils.error_handling.commands.abc.html | 22 +- ...is_core.utils.error_handling.commands.html | 28 +- ...utils.error_handling.commands.manager.html | 20 +- .../pydis_core.utils.error_handling.html | 18 +- v11.0.0/output/pydis_core.utils.function.html | 60 +- v11.0.0/output/pydis_core.utils.html | 32 +- .../output/pydis_core.utils.interactions.html | 38 +- v11.0.0/output/pydis_core.utils.lock.html | 38 +- v11.0.0/output/pydis_core.utils.logging.html | 26 +- v11.0.0/output/pydis_core.utils.members.html | 22 +- v11.0.0/output/pydis_core.utils.messages.html | 16 +- .../output/pydis_core.utils.pagination.html | 97 +- .../pydis_core.utils.paste_service.html | 114 +- v11.0.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v11.0.0/py-modindex.html | 14 +- v11.0.0/search.html | 14 +- v11.0.0/searchindex.js | 2 +- v11.0.0/versions.html | 26 +- v11.0.1/.buildinfo | 4 +- v11.0.1/_static/basic.css | 15 +- v11.0.1/_static/doctools.js | 7 - v11.0.1/_static/language_data.js | 7 - v11.0.1/_static/searchtools.js | 38 +- v11.0.1/changelog.html | 16 +- v11.0.1/development.html | 14 +- v11.0.1/genindex.html | 46 +- v11.0.1/index.html | 18 +- v11.0.1/index_redirect.html | 6 +- v11.0.1/objects.inv | Bin 2755 -> 2754 bytes v11.0.1/output/pydis_core.async_stats.html | 28 +- v11.0.1/output/pydis_core.exts.html | 14 +- v11.0.1/output/pydis_core.html | 149 +- v11.0.1/output/pydis_core.site_api.html | 60 +- v11.0.1/output/pydis_core.utils.caching.html | 24 +- v11.0.1/output/pydis_core.utils.channel.html | 20 +- v11.0.1/output/pydis_core.utils.checks.html | 42 +- v11.0.1/output/pydis_core.utils.commands.html | 18 +- v11.0.1/output/pydis_core.utils.cooldown.html | 26 +- ...ore.utils.error_handling.commands.abc.html | 22 +- ...is_core.utils.error_handling.commands.html | 28 +- ...utils.error_handling.commands.manager.html | 20 +- .../pydis_core.utils.error_handling.html | 18 +- v11.0.1/output/pydis_core.utils.function.html | 60 +- v11.0.1/output/pydis_core.utils.html | 32 +- .../output/pydis_core.utils.interactions.html | 38 +- v11.0.1/output/pydis_core.utils.lock.html | 38 +- v11.0.1/output/pydis_core.utils.logging.html | 26 +- v11.0.1/output/pydis_core.utils.members.html | 22 +- v11.0.1/output/pydis_core.utils.messages.html | 16 +- .../output/pydis_core.utils.pagination.html | 97 +- .../pydis_core.utils.paste_service.html | 114 +- v11.0.1/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v11.0.1/py-modindex.html | 14 +- v11.0.1/search.html | 14 +- v11.0.1/searchindex.js | 2 +- v11.0.1/versions.html | 26 +- v11.1.0/.buildinfo | 4 +- v11.1.0/_static/basic.css | 15 +- v11.1.0/_static/doctools.js | 7 - v11.1.0/_static/language_data.js | 7 - v11.1.0/_static/searchtools.js | 38 +- v11.1.0/changelog.html | 16 +- v11.1.0/development.html | 14 +- v11.1.0/genindex.html | 46 +- v11.1.0/index.html | 18 +- v11.1.0/index_redirect.html | 6 +- v11.1.0/objects.inv | Bin 2755 -> 2754 bytes v11.1.0/output/pydis_core.async_stats.html | 28 +- v11.1.0/output/pydis_core.exts.html | 14 +- v11.1.0/output/pydis_core.html | 149 +- v11.1.0/output/pydis_core.site_api.html | 60 +- v11.1.0/output/pydis_core.utils.caching.html | 24 +- v11.1.0/output/pydis_core.utils.channel.html | 20 +- v11.1.0/output/pydis_core.utils.checks.html | 42 +- v11.1.0/output/pydis_core.utils.commands.html | 18 +- v11.1.0/output/pydis_core.utils.cooldown.html | 26 +- ...ore.utils.error_handling.commands.abc.html | 22 +- ...is_core.utils.error_handling.commands.html | 28 +- ...utils.error_handling.commands.manager.html | 20 +- .../pydis_core.utils.error_handling.html | 18 +- v11.1.0/output/pydis_core.utils.function.html | 60 +- v11.1.0/output/pydis_core.utils.html | 32 +- .../output/pydis_core.utils.interactions.html | 38 +- v11.1.0/output/pydis_core.utils.lock.html | 38 +- v11.1.0/output/pydis_core.utils.logging.html | 26 +- v11.1.0/output/pydis_core.utils.members.html | 22 +- v11.1.0/output/pydis_core.utils.messages.html | 16 +- .../output/pydis_core.utils.pagination.html | 97 +- .../pydis_core.utils.paste_service.html | 114 +- v11.1.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v11.1.0/py-modindex.html | 14 +- v11.1.0/search.html | 14 +- v11.1.0/searchindex.js | 2 +- v11.1.0/versions.html | 26 +- v11.2.0/.buildinfo | 4 +- v11.2.0/_static/basic.css | 15 +- v11.2.0/_static/doctools.js | 7 - v11.2.0/_static/language_data.js | 7 - v11.2.0/_static/searchtools.js | 38 +- v11.2.0/changelog.html | 16 +- v11.2.0/development.html | 14 +- v11.2.0/genindex.html | 46 +- v11.2.0/index.html | 18 +- v11.2.0/index_redirect.html | 6 +- v11.2.0/objects.inv | Bin 2755 -> 2754 bytes v11.2.0/output/pydis_core.async_stats.html | 28 +- v11.2.0/output/pydis_core.exts.html | 14 +- v11.2.0/output/pydis_core.html | 149 +- v11.2.0/output/pydis_core.site_api.html | 60 +- v11.2.0/output/pydis_core.utils.caching.html | 24 +- v11.2.0/output/pydis_core.utils.channel.html | 20 +- v11.2.0/output/pydis_core.utils.checks.html | 42 +- v11.2.0/output/pydis_core.utils.commands.html | 18 +- v11.2.0/output/pydis_core.utils.cooldown.html | 26 +- ...ore.utils.error_handling.commands.abc.html | 22 +- ...is_core.utils.error_handling.commands.html | 28 +- ...utils.error_handling.commands.manager.html | 20 +- .../pydis_core.utils.error_handling.html | 18 +- v11.2.0/output/pydis_core.utils.function.html | 60 +- v11.2.0/output/pydis_core.utils.html | 32 +- .../output/pydis_core.utils.interactions.html | 38 +- v11.2.0/output/pydis_core.utils.lock.html | 38 +- v11.2.0/output/pydis_core.utils.logging.html | 26 +- v11.2.0/output/pydis_core.utils.members.html | 22 +- v11.2.0/output/pydis_core.utils.messages.html | 16 +- .../output/pydis_core.utils.pagination.html | 97 +- .../pydis_core.utils.paste_service.html | 114 +- v11.2.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v11.2.0/py-modindex.html | 14 +- v11.2.0/search.html | 14 +- v11.2.0/searchindex.js | 2 +- v11.2.0/versions.html | 26 +- v11.3.0/.buildinfo | 4 +- v11.3.0/_static/basic.css | 15 +- v11.3.0/_static/doctools.js | 7 - v11.3.0/_static/language_data.js | 7 - v11.3.0/_static/searchtools.js | 38 +- v11.3.0/changelog.html | 16 +- v11.3.0/development.html | 14 +- v11.3.0/genindex.html | 46 +- v11.3.0/index.html | 18 +- v11.3.0/index_redirect.html | 6 +- v11.3.0/objects.inv | Bin 2755 -> 2754 bytes v11.3.0/output/pydis_core.async_stats.html | 28 +- v11.3.0/output/pydis_core.exts.html | 14 +- v11.3.0/output/pydis_core.html | 149 +- v11.3.0/output/pydis_core.site_api.html | 60 +- v11.3.0/output/pydis_core.utils.caching.html | 24 +- v11.3.0/output/pydis_core.utils.channel.html | 20 +- v11.3.0/output/pydis_core.utils.checks.html | 42 +- v11.3.0/output/pydis_core.utils.commands.html | 18 +- v11.3.0/output/pydis_core.utils.cooldown.html | 26 +- ...ore.utils.error_handling.commands.abc.html | 22 +- ...is_core.utils.error_handling.commands.html | 28 +- ...utils.error_handling.commands.manager.html | 20 +- .../pydis_core.utils.error_handling.html | 18 +- v11.3.0/output/pydis_core.utils.function.html | 60 +- v11.3.0/output/pydis_core.utils.html | 32 +- .../output/pydis_core.utils.interactions.html | 38 +- v11.3.0/output/pydis_core.utils.lock.html | 38 +- v11.3.0/output/pydis_core.utils.logging.html | 26 +- v11.3.0/output/pydis_core.utils.members.html | 22 +- v11.3.0/output/pydis_core.utils.messages.html | 16 +- .../output/pydis_core.utils.pagination.html | 97 +- .../pydis_core.utils.paste_service.html | 114 +- v11.3.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v11.3.0/py-modindex.html | 14 +- v11.3.0/search.html | 14 +- v11.3.0/searchindex.js | 2 +- v11.3.0/versions.html | 26 +- v11.3.1/.buildinfo | 4 +- v11.3.1/_static/basic.css | 15 +- v11.3.1/_static/doctools.js | 7 - v11.3.1/_static/language_data.js | 7 - v11.3.1/_static/searchtools.js | 38 +- v11.3.1/changelog.html | 16 +- v11.3.1/development.html | 14 +- v11.3.1/genindex.html | 46 +- v11.3.1/index.html | 18 +- v11.3.1/index_redirect.html | 6 +- v11.3.1/objects.inv | Bin 2755 -> 2754 bytes v11.3.1/output/pydis_core.async_stats.html | 28 +- v11.3.1/output/pydis_core.exts.html | 14 +- v11.3.1/output/pydis_core.html | 149 +- v11.3.1/output/pydis_core.site_api.html | 60 +- v11.3.1/output/pydis_core.utils.caching.html | 24 +- v11.3.1/output/pydis_core.utils.channel.html | 20 +- v11.3.1/output/pydis_core.utils.checks.html | 42 +- v11.3.1/output/pydis_core.utils.commands.html | 18 +- v11.3.1/output/pydis_core.utils.cooldown.html | 26 +- ...ore.utils.error_handling.commands.abc.html | 22 +- ...is_core.utils.error_handling.commands.html | 28 +- ...utils.error_handling.commands.manager.html | 20 +- .../pydis_core.utils.error_handling.html | 18 +- v11.3.1/output/pydis_core.utils.function.html | 60 +- v11.3.1/output/pydis_core.utils.html | 32 +- .../output/pydis_core.utils.interactions.html | 38 +- v11.3.1/output/pydis_core.utils.lock.html | 38 +- v11.3.1/output/pydis_core.utils.logging.html | 26 +- v11.3.1/output/pydis_core.utils.members.html | 22 +- v11.3.1/output/pydis_core.utils.messages.html | 16 +- .../output/pydis_core.utils.pagination.html | 97 +- .../pydis_core.utils.paste_service.html | 114 +- v11.3.1/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v11.3.1/py-modindex.html | 14 +- v11.3.1/search.html | 14 +- v11.3.1/searchindex.js | 2 +- v11.3.1/versions.html | 26 +- v11.4.0/.buildinfo | 4 + v11.4.0/.nojekyll | 0 v11.4.0/_static/basic.css | 914 +++++++++++ v11.4.0/_static/changelog.css | 11 + v11.4.0/_static/changelog.js | 41 + v11.4.0/_static/debug.css | 69 + v11.4.0/_static/doctools.js | 149 ++ v11.4.0/_static/documentation_options.js | 13 + v11.4.0/_static/file.png | Bin 0 -> 286 bytes v11.4.0/_static/index.css | 3 + v11.4.0/_static/language_data.js | 192 +++ v11.4.0/_static/logo.css | 3 + v11.4.0/_static/minus.png | Bin 0 -> 90 bytes v11.4.0/_static/plus.png | Bin 0 -> 90 bytes v11.4.0/_static/pygments.css | 258 ++++ v11.4.0/_static/scripts/furo-extensions.js | 0 v11.4.0/_static/scripts/furo.js | 3 + v11.4.0/_static/scripts/furo.js.LICENSE.txt | 7 + v11.4.0/_static/scripts/furo.js.map | 1 + v11.4.0/_static/searchtools.js | 632 ++++++++ v11.4.0/_static/skeleton.css | 296 ++++ v11.4.0/_static/sphinx_highlight.js | 154 ++ v11.4.0/_static/statsd_additional_objects.inv | Bin 0 -> 308 bytes v11.4.0/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + v11.4.0/_static/styles/furo.css | 2 + v11.4.0/_static/styles/furo.css.map | 1 + v11.4.0/changelog.html | 909 +++++++++++ v11.4.0/development.html | 596 ++++++++ v11.4.0/genindex.html | 1336 +++++++++++++++++ v11.4.0/index.html | 614 ++++++++ v11.4.0/index_redirect.html | 63 + v11.4.0/objects.inv | Bin 0 -> 2754 bytes v11.4.0/output/pydis_core.async_stats.html | 580 +++++++ v11.4.0/output/pydis_core.exts.html | 522 +++++++ v11.4.0/output/pydis_core.html | 1257 ++++++++++++++++ v11.4.0/output/pydis_core.site_api.html | 718 +++++++++ v11.4.0/output/pydis_core.utils.caching.html | 594 ++++++++ v11.4.0/output/pydis_core.utils.channel.html | 590 ++++++++ v11.4.0/output/pydis_core.utils.checks.html | 662 ++++++++ v11.4.0/output/pydis_core.utils.commands.html | 563 +++++++ v11.4.0/output/pydis_core.utils.cooldown.html | 613 ++++++++ ...ore.utils.error_handling.commands.abc.html | 585 ++++++++ ...is_core.utils.error_handling.commands.html | 653 ++++++++ ...utils.error_handling.commands.manager.html | 581 +++++++ .../pydis_core.utils.error_handling.html | 591 ++++++++ v11.4.0/output/pydis_core.utils.function.html | 674 +++++++++ v11.4.0/output/pydis_core.utils.html | 810 ++++++++++ .../output/pydis_core.utils.interactions.html | 663 ++++++++ v11.4.0/output/pydis_core.utils.lock.html | 667 ++++++++ v11.4.0/output/pydis_core.utils.logging.html | 600 ++++++++ v11.4.0/output/pydis_core.utils.members.html | 576 +++++++ v11.4.0/output/pydis_core.utils.messages.html | 553 +++++++ .../output/pydis_core.utils.pagination.html | 788 ++++++++++ .../pydis_core.utils.paste_service.html | 895 +++++++++++ v11.4.0/output/pydis_core.utils.regex.html | 573 +++++++ .../output/pydis_core.utils.scheduling.html | 706 +++++++++ v11.4.0/py-modindex.html | 650 ++++++++ v11.4.0/search.html | 508 +++++++ v11.4.0/searchindex.js | 1 + v11.4.0/versions.html | 706 +++++++++ v11.5.0/.buildinfo | 4 + v11.5.0/.nojekyll | 0 v11.5.0/_static/basic.css | 914 +++++++++++ v11.5.0/_static/changelog.css | 11 + v11.5.0/_static/changelog.js | 41 + v11.5.0/_static/debug.css | 69 + v11.5.0/_static/doctools.js | 149 ++ v11.5.0/_static/documentation_options.js | 13 + v11.5.0/_static/file.png | Bin 0 -> 286 bytes v11.5.0/_static/index.css | 3 + v11.5.0/_static/language_data.js | 192 +++ v11.5.0/_static/logo.css | 3 + v11.5.0/_static/minus.png | Bin 0 -> 90 bytes v11.5.0/_static/plus.png | Bin 0 -> 90 bytes v11.5.0/_static/pygments.css | 258 ++++ v11.5.0/_static/scripts/furo-extensions.js | 0 v11.5.0/_static/scripts/furo.js | 3 + v11.5.0/_static/scripts/furo.js.LICENSE.txt | 7 + v11.5.0/_static/scripts/furo.js.map | 1 + v11.5.0/_static/searchtools.js | 632 ++++++++ v11.5.0/_static/skeleton.css | 296 ++++ v11.5.0/_static/sphinx_highlight.js | 154 ++ v11.5.0/_static/statsd_additional_objects.inv | Bin 0 -> 308 bytes v11.5.0/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + v11.5.0/_static/styles/furo.css | 2 + v11.5.0/_static/styles/furo.css.map | 1 + v11.5.0/changelog.html | 914 +++++++++++ v11.5.0/development.html | 596 ++++++++ v11.5.0/genindex.html | 1336 +++++++++++++++++ v11.5.0/index.html | 614 ++++++++ v11.5.0/index_redirect.html | 63 + v11.5.0/objects.inv | Bin 0 -> 2754 bytes v11.5.0/output/pydis_core.async_stats.html | 580 +++++++ v11.5.0/output/pydis_core.exts.html | 522 +++++++ v11.5.0/output/pydis_core.html | 1257 ++++++++++++++++ v11.5.0/output/pydis_core.site_api.html | 718 +++++++++ v11.5.0/output/pydis_core.utils.caching.html | 594 ++++++++ v11.5.0/output/pydis_core.utils.channel.html | 590 ++++++++ v11.5.0/output/pydis_core.utils.checks.html | 662 ++++++++ v11.5.0/output/pydis_core.utils.commands.html | 563 +++++++ v11.5.0/output/pydis_core.utils.cooldown.html | 613 ++++++++ ...ore.utils.error_handling.commands.abc.html | 585 ++++++++ ...is_core.utils.error_handling.commands.html | 653 ++++++++ ...utils.error_handling.commands.manager.html | 581 +++++++ .../pydis_core.utils.error_handling.html | 591 ++++++++ v11.5.0/output/pydis_core.utils.function.html | 674 +++++++++ v11.5.0/output/pydis_core.utils.html | 810 ++++++++++ .../output/pydis_core.utils.interactions.html | 663 ++++++++ v11.5.0/output/pydis_core.utils.lock.html | 667 ++++++++ v11.5.0/output/pydis_core.utils.logging.html | 600 ++++++++ v11.5.0/output/pydis_core.utils.members.html | 576 +++++++ v11.5.0/output/pydis_core.utils.messages.html | 553 +++++++ .../output/pydis_core.utils.pagination.html | 788 ++++++++++ .../pydis_core.utils.paste_service.html | 895 +++++++++++ v11.5.0/output/pydis_core.utils.regex.html | 573 +++++++ .../output/pydis_core.utils.scheduling.html | 706 +++++++++ v11.5.0/py-modindex.html | 650 ++++++++ v11.5.0/search.html | 508 +++++++ v11.5.0/searchindex.js | 1 + v11.5.0/versions.html | 706 +++++++++ v9.0.0/.buildinfo | 4 +- v9.0.0/_static/basic.css | 15 +- v9.0.0/_static/doctools.js | 7 - v9.0.0/_static/language_data.js | 7 - v9.0.0/_static/searchtools.js | 38 +- v9.0.0/changelog.html | 14 +- v9.0.0/development.html | 14 +- v9.0.0/genindex.html | 14 +- v9.0.0/index.html | 14 +- v9.0.0/index_redirect.html | 6 +- v9.0.0/output/pydis_core.async_stats.html | 28 +- v9.0.0/output/pydis_core.exts.html | 14 +- v9.0.0/output/pydis_core.html | 52 +- v9.0.0/output/pydis_core.site_api.html | 64 +- v9.0.0/output/pydis_core.utils.caching.html | 24 +- v9.0.0/output/pydis_core.utils.channel.html | 20 +- v9.0.0/output/pydis_core.utils.commands.html | 18 +- v9.0.0/output/pydis_core.utils.cooldown.html | 26 +- v9.0.0/output/pydis_core.utils.function.html | 36 +- v9.0.0/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.0.0/output/pydis_core.utils.logging.html | 24 +- v9.0.0/output/pydis_core.utils.members.html | 22 +- v9.0.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.0.0/py-modindex.html | 14 +- v9.0.0/search.html | 14 +- v9.0.0/searchindex.js | 2 +- v9.0.0/versions.html | 26 +- v9.1.1/.buildinfo | 4 +- v9.1.1/_static/basic.css | 15 +- v9.1.1/_static/doctools.js | 7 - v9.1.1/_static/language_data.js | 7 - v9.1.1/_static/searchtools.js | 38 +- v9.1.1/changelog.html | 14 +- v9.1.1/development.html | 14 +- v9.1.1/genindex.html | 14 +- v9.1.1/index.html | 14 +- v9.1.1/index_redirect.html | 6 +- v9.1.1/output/pydis_core.async_stats.html | 28 +- v9.1.1/output/pydis_core.exts.html | 14 +- v9.1.1/output/pydis_core.html | 52 +- v9.1.1/output/pydis_core.site_api.html | 64 +- v9.1.1/output/pydis_core.utils.caching.html | 24 +- v9.1.1/output/pydis_core.utils.channel.html | 20 +- v9.1.1/output/pydis_core.utils.commands.html | 18 +- v9.1.1/output/pydis_core.utils.cooldown.html | 26 +- v9.1.1/output/pydis_core.utils.function.html | 36 +- v9.1.1/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.1.1/output/pydis_core.utils.logging.html | 24 +- v9.1.1/output/pydis_core.utils.members.html | 22 +- v9.1.1/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.1.1/py-modindex.html | 14 +- v9.1.1/search.html | 14 +- v9.1.1/searchindex.js | 2 +- v9.1.1/versions.html | 26 +- v9.10.0-alpha.1/.buildinfo | 4 +- v9.10.0-alpha.1/_static/basic.css | 15 +- v9.10.0-alpha.1/_static/doctools.js | 7 - v9.10.0-alpha.1/_static/language_data.js | 7 - v9.10.0-alpha.1/_static/searchtools.js | 38 +- v9.10.0-alpha.1/changelog.html | 16 +- v9.10.0-alpha.1/development.html | 14 +- v9.10.0-alpha.1/genindex.html | 14 +- v9.10.0-alpha.1/index.html | 14 +- v9.10.0-alpha.1/index_redirect.html | 6 +- .../output/pydis_core.async_stats.html | 28 +- v9.10.0-alpha.1/output/pydis_core.exts.html | 14 +- v9.10.0-alpha.1/output/pydis_core.html | 54 +- .../output/pydis_core.site_api.html | 64 +- .../output/pydis_core.utils.caching.html | 24 +- .../output/pydis_core.utils.channel.html | 20 +- .../output/pydis_core.utils.commands.html | 18 +- .../output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- .../output/pydis_core.utils.function.html | 36 +- v9.10.0-alpha.1/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- .../output/pydis_core.utils.logging.html | 24 +- .../output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 36 +- .../output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.10.0-alpha.1/py-modindex.html | 14 +- v9.10.0-alpha.1/search.html | 14 +- v9.10.0-alpha.1/searchindex.js | 2 +- v9.10.0-alpha.1/versions.html | 26 +- v9.10.0-alpha.2/.buildinfo | 4 +- v9.10.0-alpha.2/_static/basic.css | 15 +- v9.10.0-alpha.2/_static/doctools.js | 7 - v9.10.0-alpha.2/_static/language_data.js | 7 - v9.10.0-alpha.2/_static/searchtools.js | 38 +- v9.10.0-alpha.2/changelog.html | 16 +- v9.10.0-alpha.2/development.html | 14 +- v9.10.0-alpha.2/genindex.html | 14 +- v9.10.0-alpha.2/index.html | 14 +- v9.10.0-alpha.2/index_redirect.html | 6 +- .../output/pydis_core.async_stats.html | 28 +- v9.10.0-alpha.2/output/pydis_core.exts.html | 14 +- v9.10.0-alpha.2/output/pydis_core.html | 54 +- .../output/pydis_core.site_api.html | 64 +- .../output/pydis_core.utils.caching.html | 24 +- .../output/pydis_core.utils.channel.html | 20 +- .../output/pydis_core.utils.commands.html | 18 +- .../output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- .../output/pydis_core.utils.function.html | 36 +- v9.10.0-alpha.2/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- .../output/pydis_core.utils.logging.html | 24 +- .../output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 36 +- .../output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.10.0-alpha.2/py-modindex.html | 14 +- v9.10.0-alpha.2/search.html | 14 +- v9.10.0-alpha.2/searchindex.js | 2 +- v9.10.0-alpha.2/versions.html | 26 +- v9.2.0/.buildinfo | 4 +- v9.2.0/_static/basic.css | 15 +- v9.2.0/_static/doctools.js | 7 - v9.2.0/_static/language_data.js | 7 - v9.2.0/_static/searchtools.js | 38 +- v9.2.0/changelog.html | 14 +- v9.2.0/development.html | 14 +- v9.2.0/genindex.html | 14 +- v9.2.0/index.html | 14 +- v9.2.0/index_redirect.html | 6 +- v9.2.0/output/pydis_core.async_stats.html | 28 +- v9.2.0/output/pydis_core.exts.html | 14 +- v9.2.0/output/pydis_core.html | 52 +- v9.2.0/output/pydis_core.site_api.html | 64 +- v9.2.0/output/pydis_core.utils.caching.html | 24 +- v9.2.0/output/pydis_core.utils.channel.html | 20 +- v9.2.0/output/pydis_core.utils.commands.html | 18 +- v9.2.0/output/pydis_core.utils.cooldown.html | 26 +- v9.2.0/output/pydis_core.utils.function.html | 36 +- v9.2.0/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.2.0/output/pydis_core.utils.logging.html | 24 +- v9.2.0/output/pydis_core.utils.members.html | 22 +- v9.2.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.2.0/py-modindex.html | 14 +- v9.2.0/search.html | 14 +- v9.2.0/searchindex.js | 2 +- v9.2.0/versions.html | 26 +- v9.3.0/.buildinfo | 4 +- v9.3.0/_static/basic.css | 15 +- v9.3.0/_static/doctools.js | 7 - v9.3.0/_static/language_data.js | 7 - v9.3.0/_static/searchtools.js | 38 +- v9.3.0/changelog.html | 16 +- v9.3.0/development.html | 14 +- v9.3.0/genindex.html | 14 +- v9.3.0/index.html | 14 +- v9.3.0/index_redirect.html | 6 +- v9.3.0/output/pydis_core.async_stats.html | 28 +- v9.3.0/output/pydis_core.exts.html | 14 +- v9.3.0/output/pydis_core.html | 52 +- v9.3.0/output/pydis_core.site_api.html | 64 +- v9.3.0/output/pydis_core.utils.caching.html | 24 +- v9.3.0/output/pydis_core.utils.channel.html | 20 +- v9.3.0/output/pydis_core.utils.commands.html | 18 +- v9.3.0/output/pydis_core.utils.cooldown.html | 26 +- v9.3.0/output/pydis_core.utils.function.html | 36 +- v9.3.0/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.3.0/output/pydis_core.utils.logging.html | 24 +- v9.3.0/output/pydis_core.utils.members.html | 22 +- v9.3.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.3.0/py-modindex.html | 14 +- v9.3.0/search.html | 14 +- v9.3.0/searchindex.js | 2 +- v9.3.0/versions.html | 26 +- v9.4.0/.buildinfo | 4 +- v9.4.0/_static/basic.css | 15 +- v9.4.0/_static/doctools.js | 7 - v9.4.0/_static/language_data.js | 7 - v9.4.0/_static/searchtools.js | 38 +- v9.4.0/changelog.html | 16 +- v9.4.0/development.html | 14 +- v9.4.0/genindex.html | 14 +- v9.4.0/index.html | 14 +- v9.4.0/index_redirect.html | 6 +- v9.4.0/output/pydis_core.async_stats.html | 28 +- v9.4.0/output/pydis_core.exts.html | 14 +- v9.4.0/output/pydis_core.html | 54 +- v9.4.0/output/pydis_core.site_api.html | 64 +- v9.4.0/output/pydis_core.utils.caching.html | 24 +- v9.4.0/output/pydis_core.utils.channel.html | 20 +- v9.4.0/output/pydis_core.utils.commands.html | 18 +- v9.4.0/output/pydis_core.utils.cooldown.html | 26 +- v9.4.0/output/pydis_core.utils.function.html | 36 +- v9.4.0/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.4.0/output/pydis_core.utils.logging.html | 24 +- v9.4.0/output/pydis_core.utils.members.html | 22 +- v9.4.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.4.0/py-modindex.html | 14 +- v9.4.0/search.html | 14 +- v9.4.0/searchindex.js | 2 +- v9.4.0/versions.html | 26 +- v9.4.1/.buildinfo | 4 +- v9.4.1/_static/basic.css | 15 +- v9.4.1/_static/doctools.js | 7 - v9.4.1/_static/language_data.js | 7 - v9.4.1/_static/searchtools.js | 38 +- v9.4.1/changelog.html | 16 +- v9.4.1/development.html | 14 +- v9.4.1/genindex.html | 14 +- v9.4.1/index.html | 14 +- v9.4.1/index_redirect.html | 6 +- v9.4.1/output/pydis_core.async_stats.html | 28 +- v9.4.1/output/pydis_core.exts.html | 14 +- v9.4.1/output/pydis_core.html | 54 +- v9.4.1/output/pydis_core.site_api.html | 64 +- v9.4.1/output/pydis_core.utils.caching.html | 24 +- v9.4.1/output/pydis_core.utils.channel.html | 20 +- v9.4.1/output/pydis_core.utils.commands.html | 18 +- v9.4.1/output/pydis_core.utils.cooldown.html | 26 +- v9.4.1/output/pydis_core.utils.function.html | 36 +- v9.4.1/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.4.1/output/pydis_core.utils.logging.html | 24 +- v9.4.1/output/pydis_core.utils.members.html | 22 +- v9.4.1/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.4.1/py-modindex.html | 14 +- v9.4.1/search.html | 14 +- v9.4.1/searchindex.js | 2 +- v9.4.1/versions.html | 26 +- v9.5.0/.buildinfo | 4 +- v9.5.0/_static/basic.css | 15 +- v9.5.0/_static/doctools.js | 7 - v9.5.0/_static/language_data.js | 7 - v9.5.0/_static/searchtools.js | 38 +- v9.5.0/changelog.html | 16 +- v9.5.0/development.html | 14 +- v9.5.0/genindex.html | 14 +- v9.5.0/index.html | 14 +- v9.5.0/index_redirect.html | 6 +- v9.5.0/output/pydis_core.async_stats.html | 28 +- v9.5.0/output/pydis_core.exts.html | 14 +- v9.5.0/output/pydis_core.html | 54 +- v9.5.0/output/pydis_core.site_api.html | 64 +- v9.5.0/output/pydis_core.utils.caching.html | 24 +- v9.5.0/output/pydis_core.utils.channel.html | 20 +- v9.5.0/output/pydis_core.utils.commands.html | 18 +- v9.5.0/output/pydis_core.utils.cooldown.html | 26 +- v9.5.0/output/pydis_core.utils.function.html | 36 +- v9.5.0/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.5.0/output/pydis_core.utils.logging.html | 24 +- v9.5.0/output/pydis_core.utils.members.html | 22 +- v9.5.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.5.0/py-modindex.html | 14 +- v9.5.0/search.html | 14 +- v9.5.0/searchindex.js | 2 +- v9.5.0/versions.html | 26 +- v9.5.1/.buildinfo | 4 +- v9.5.1/_static/basic.css | 15 +- v9.5.1/_static/doctools.js | 7 - v9.5.1/_static/language_data.js | 7 - v9.5.1/_static/searchtools.js | 38 +- v9.5.1/changelog.html | 16 +- v9.5.1/development.html | 14 +- v9.5.1/genindex.html | 14 +- v9.5.1/index.html | 14 +- v9.5.1/index_redirect.html | 6 +- v9.5.1/output/pydis_core.async_stats.html | 28 +- v9.5.1/output/pydis_core.exts.html | 14 +- v9.5.1/output/pydis_core.html | 54 +- v9.5.1/output/pydis_core.site_api.html | 64 +- v9.5.1/output/pydis_core.utils.caching.html | 24 +- v9.5.1/output/pydis_core.utils.channel.html | 20 +- v9.5.1/output/pydis_core.utils.commands.html | 18 +- v9.5.1/output/pydis_core.utils.cooldown.html | 26 +- v9.5.1/output/pydis_core.utils.function.html | 36 +- v9.5.1/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.5.1/output/pydis_core.utils.logging.html | 24 +- v9.5.1/output/pydis_core.utils.members.html | 22 +- v9.5.1/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.5.1/py-modindex.html | 14 +- v9.5.1/search.html | 14 +- v9.5.1/searchindex.js | 2 +- v9.5.1/versions.html | 26 +- v9.6.0/.buildinfo | 4 +- v9.6.0/_static/basic.css | 15 +- v9.6.0/_static/doctools.js | 7 - v9.6.0/_static/language_data.js | 7 - v9.6.0/_static/searchtools.js | 38 +- v9.6.0/changelog.html | 16 +- v9.6.0/development.html | 14 +- v9.6.0/genindex.html | 14 +- v9.6.0/index.html | 14 +- v9.6.0/index_redirect.html | 6 +- v9.6.0/output/pydis_core.async_stats.html | 28 +- v9.6.0/output/pydis_core.exts.html | 14 +- v9.6.0/output/pydis_core.html | 54 +- v9.6.0/output/pydis_core.site_api.html | 64 +- v9.6.0/output/pydis_core.utils.caching.html | 24 +- v9.6.0/output/pydis_core.utils.channel.html | 20 +- v9.6.0/output/pydis_core.utils.commands.html | 18 +- v9.6.0/output/pydis_core.utils.cooldown.html | 26 +- v9.6.0/output/pydis_core.utils.function.html | 36 +- v9.6.0/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.6.0/output/pydis_core.utils.logging.html | 24 +- v9.6.0/output/pydis_core.utils.members.html | 22 +- v9.6.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.6.0/py-modindex.html | 14 +- v9.6.0/search.html | 14 +- v9.6.0/searchindex.js | 2 +- v9.6.0/versions.html | 26 +- v9.7.0/.buildinfo | 4 +- v9.7.0/_static/basic.css | 15 +- v9.7.0/_static/doctools.js | 7 - v9.7.0/_static/language_data.js | 7 - v9.7.0/_static/searchtools.js | 38 +- v9.7.0/changelog.html | 16 +- v9.7.0/development.html | 14 +- v9.7.0/genindex.html | 14 +- v9.7.0/index.html | 14 +- v9.7.0/index_redirect.html | 6 +- v9.7.0/output/pydis_core.async_stats.html | 28 +- v9.7.0/output/pydis_core.exts.html | 14 +- v9.7.0/output/pydis_core.html | 54 +- v9.7.0/output/pydis_core.site_api.html | 64 +- v9.7.0/output/pydis_core.utils.caching.html | 24 +- v9.7.0/output/pydis_core.utils.channel.html | 20 +- v9.7.0/output/pydis_core.utils.commands.html | 18 +- v9.7.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v9.7.0/output/pydis_core.utils.function.html | 36 +- v9.7.0/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.7.0/output/pydis_core.utils.logging.html | 24 +- v9.7.0/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 34 +- v9.7.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.7.0/py-modindex.html | 14 +- v9.7.0/search.html | 14 +- v9.7.0/searchindex.js | 2 +- v9.7.0/versions.html | 26 +- v9.8.0/.buildinfo | 4 +- v9.8.0/_static/basic.css | 15 +- v9.8.0/_static/doctools.js | 7 - v9.8.0/_static/language_data.js | 7 - v9.8.0/_static/searchtools.js | 38 +- v9.8.0/changelog.html | 16 +- v9.8.0/development.html | 14 +- v9.8.0/genindex.html | 14 +- v9.8.0/index.html | 14 +- v9.8.0/index_redirect.html | 6 +- v9.8.0/output/pydis_core.async_stats.html | 28 +- v9.8.0/output/pydis_core.exts.html | 14 +- v9.8.0/output/pydis_core.html | 54 +- v9.8.0/output/pydis_core.site_api.html | 64 +- v9.8.0/output/pydis_core.utils.caching.html | 24 +- v9.8.0/output/pydis_core.utils.channel.html | 20 +- v9.8.0/output/pydis_core.utils.commands.html | 18 +- v9.8.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v9.8.0/output/pydis_core.utils.function.html | 36 +- v9.8.0/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.8.0/output/pydis_core.utils.logging.html | 24 +- v9.8.0/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 34 +- v9.8.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.8.0/py-modindex.html | 14 +- v9.8.0/search.html | 14 +- v9.8.0/searchindex.js | 2 +- v9.8.0/versions.html | 26 +- v9.9.0/.buildinfo | 4 +- v9.9.0/_static/basic.css | 15 +- v9.9.0/_static/doctools.js | 7 - v9.9.0/_static/language_data.js | 7 - v9.9.0/_static/searchtools.js | 38 +- v9.9.0/changelog.html | 16 +- v9.9.0/development.html | 14 +- v9.9.0/genindex.html | 14 +- v9.9.0/index.html | 14 +- v9.9.0/index_redirect.html | 6 +- v9.9.0/output/pydis_core.async_stats.html | 28 +- v9.9.0/output/pydis_core.exts.html | 14 +- v9.9.0/output/pydis_core.html | 54 +- v9.9.0/output/pydis_core.site_api.html | 64 +- v9.9.0/output/pydis_core.utils.caching.html | 24 +- v9.9.0/output/pydis_core.utils.channel.html | 20 +- v9.9.0/output/pydis_core.utils.commands.html | 18 +- v9.9.0/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v9.9.0/output/pydis_core.utils.function.html | 36 +- v9.9.0/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.9.0/output/pydis_core.utils.logging.html | 24 +- v9.9.0/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 36 +- v9.9.0/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.9.0/py-modindex.html | 14 +- v9.9.0/search.html | 14 +- v9.9.0/searchindex.js | 2 +- v9.9.0/versions.html | 26 +- v9.9.1/.buildinfo | 4 +- v9.9.1/_static/basic.css | 15 +- v9.9.1/_static/doctools.js | 7 - v9.9.1/_static/language_data.js | 7 - v9.9.1/_static/searchtools.js | 38 +- v9.9.1/changelog.html | 16 +- v9.9.1/development.html | 14 +- v9.9.1/genindex.html | 14 +- v9.9.1/index.html | 14 +- v9.9.1/index_redirect.html | 6 +- v9.9.1/output/pydis_core.async_stats.html | 28 +- v9.9.1/output/pydis_core.exts.html | 14 +- v9.9.1/output/pydis_core.html | 54 +- v9.9.1/output/pydis_core.site_api.html | 64 +- v9.9.1/output/pydis_core.utils.caching.html | 24 +- v9.9.1/output/pydis_core.utils.channel.html | 20 +- v9.9.1/output/pydis_core.utils.commands.html | 18 +- v9.9.1/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v9.9.1/output/pydis_core.utils.function.html | 36 +- v9.9.1/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.9.1/output/pydis_core.utils.logging.html | 24 +- v9.9.1/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 36 +- v9.9.1/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.9.1/py-modindex.html | 14 +- v9.9.1/search.html | 14 +- v9.9.1/searchindex.js | 2 +- v9.9.1/versions.html | 26 +- v9.9.2/.buildinfo | 4 +- v9.9.2/_static/basic.css | 15 +- v9.9.2/_static/doctools.js | 7 - v9.9.2/_static/language_data.js | 7 - v9.9.2/_static/searchtools.js | 38 +- v9.9.2/changelog.html | 16 +- v9.9.2/development.html | 14 +- v9.9.2/genindex.html | 14 +- v9.9.2/index.html | 14 +- v9.9.2/index_redirect.html | 6 +- v9.9.2/output/pydis_core.async_stats.html | 28 +- v9.9.2/output/pydis_core.exts.html | 14 +- v9.9.2/output/pydis_core.html | 54 +- v9.9.2/output/pydis_core.site_api.html | 64 +- v9.9.2/output/pydis_core.utils.caching.html | 24 +- v9.9.2/output/pydis_core.utils.channel.html | 20 +- v9.9.2/output/pydis_core.utils.commands.html | 18 +- v9.9.2/output/pydis_core.utils.cooldown.html | 26 +- .../pydis_core.utils.error_handling.html | 18 +- v9.9.2/output/pydis_core.utils.function.html | 36 +- v9.9.2/output/pydis_core.utils.html | 20 +- .../output/pydis_core.utils.interactions.html | 30 +- v9.9.2/output/pydis_core.utils.logging.html | 24 +- v9.9.2/output/pydis_core.utils.members.html | 22 +- .../pydis_core.utils.paste_service.html | 36 +- v9.9.2/output/pydis_core.utils.regex.html | 16 +- .../output/pydis_core.utils.scheduling.html | 66 +- v9.9.2/py-modindex.html | 14 +- v9.9.2/search.html | 14 +- v9.9.2/searchindex.js | 2 +- v9.9.2/versions.html | 26 +- 1175 files changed, 65463 insertions(+), 10794 deletions(-) create mode 100644 v11.4.0/.buildinfo create mode 100644 v11.4.0/.nojekyll create mode 100644 v11.4.0/_static/basic.css create mode 100644 v11.4.0/_static/changelog.css create mode 100644 v11.4.0/_static/changelog.js create mode 100644 v11.4.0/_static/debug.css create mode 100644 v11.4.0/_static/doctools.js create mode 100644 v11.4.0/_static/documentation_options.js create mode 100644 v11.4.0/_static/file.png create mode 100644 v11.4.0/_static/index.css create mode 100644 v11.4.0/_static/language_data.js create mode 100644 v11.4.0/_static/logo.css create mode 100644 v11.4.0/_static/minus.png create mode 100644 v11.4.0/_static/plus.png create mode 100644 v11.4.0/_static/pygments.css create mode 100644 v11.4.0/_static/scripts/furo-extensions.js create mode 100644 v11.4.0/_static/scripts/furo.js create mode 100644 v11.4.0/_static/scripts/furo.js.LICENSE.txt create mode 100644 v11.4.0/_static/scripts/furo.js.map create mode 100644 v11.4.0/_static/searchtools.js create mode 100644 v11.4.0/_static/skeleton.css create mode 100644 v11.4.0/_static/sphinx_highlight.js create mode 100644 v11.4.0/_static/statsd_additional_objects.inv create mode 100644 v11.4.0/_static/styles/furo-extensions.css create mode 100644 v11.4.0/_static/styles/furo-extensions.css.map create mode 100644 v11.4.0/_static/styles/furo.css create mode 100644 v11.4.0/_static/styles/furo.css.map create mode 100644 v11.4.0/changelog.html create mode 100644 v11.4.0/development.html create mode 100644 v11.4.0/genindex.html create mode 100644 v11.4.0/index.html create mode 100644 v11.4.0/index_redirect.html create mode 100644 v11.4.0/objects.inv create mode 100644 v11.4.0/output/pydis_core.async_stats.html create mode 100644 v11.4.0/output/pydis_core.exts.html create mode 100644 v11.4.0/output/pydis_core.html create mode 100644 v11.4.0/output/pydis_core.site_api.html create mode 100644 v11.4.0/output/pydis_core.utils.caching.html create mode 100644 v11.4.0/output/pydis_core.utils.channel.html create mode 100644 v11.4.0/output/pydis_core.utils.checks.html create mode 100644 v11.4.0/output/pydis_core.utils.commands.html create mode 100644 v11.4.0/output/pydis_core.utils.cooldown.html create mode 100644 v11.4.0/output/pydis_core.utils.error_handling.commands.abc.html create mode 100644 v11.4.0/output/pydis_core.utils.error_handling.commands.html create mode 100644 v11.4.0/output/pydis_core.utils.error_handling.commands.manager.html create mode 100644 v11.4.0/output/pydis_core.utils.error_handling.html create mode 100644 v11.4.0/output/pydis_core.utils.function.html create mode 100644 v11.4.0/output/pydis_core.utils.html create mode 100644 v11.4.0/output/pydis_core.utils.interactions.html create mode 100644 v11.4.0/output/pydis_core.utils.lock.html create mode 100644 v11.4.0/output/pydis_core.utils.logging.html create mode 100644 v11.4.0/output/pydis_core.utils.members.html create mode 100644 v11.4.0/output/pydis_core.utils.messages.html create mode 100644 v11.4.0/output/pydis_core.utils.pagination.html create mode 100644 v11.4.0/output/pydis_core.utils.paste_service.html create mode 100644 v11.4.0/output/pydis_core.utils.regex.html create mode 100644 v11.4.0/output/pydis_core.utils.scheduling.html create mode 100644 v11.4.0/py-modindex.html create mode 100644 v11.4.0/search.html create mode 100644 v11.4.0/searchindex.js create mode 100644 v11.4.0/versions.html create mode 100644 v11.5.0/.buildinfo create mode 100644 v11.5.0/.nojekyll create mode 100644 v11.5.0/_static/basic.css create mode 100644 v11.5.0/_static/changelog.css create mode 100644 v11.5.0/_static/changelog.js create mode 100644 v11.5.0/_static/debug.css create mode 100644 v11.5.0/_static/doctools.js create mode 100644 v11.5.0/_static/documentation_options.js create mode 100644 v11.5.0/_static/file.png create mode 100644 v11.5.0/_static/index.css create mode 100644 v11.5.0/_static/language_data.js create mode 100644 v11.5.0/_static/logo.css create mode 100644 v11.5.0/_static/minus.png create mode 100644 v11.5.0/_static/plus.png create mode 100644 v11.5.0/_static/pygments.css create mode 100644 v11.5.0/_static/scripts/furo-extensions.js create mode 100644 v11.5.0/_static/scripts/furo.js create mode 100644 v11.5.0/_static/scripts/furo.js.LICENSE.txt create mode 100644 v11.5.0/_static/scripts/furo.js.map create mode 100644 v11.5.0/_static/searchtools.js create mode 100644 v11.5.0/_static/skeleton.css create mode 100644 v11.5.0/_static/sphinx_highlight.js create mode 100644 v11.5.0/_static/statsd_additional_objects.inv create mode 100644 v11.5.0/_static/styles/furo-extensions.css create mode 100644 v11.5.0/_static/styles/furo-extensions.css.map create mode 100644 v11.5.0/_static/styles/furo.css create mode 100644 v11.5.0/_static/styles/furo.css.map create mode 100644 v11.5.0/changelog.html create mode 100644 v11.5.0/development.html create mode 100644 v11.5.0/genindex.html create mode 100644 v11.5.0/index.html create mode 100644 v11.5.0/index_redirect.html create mode 100644 v11.5.0/objects.inv create mode 100644 v11.5.0/output/pydis_core.async_stats.html create mode 100644 v11.5.0/output/pydis_core.exts.html create mode 100644 v11.5.0/output/pydis_core.html create mode 100644 v11.5.0/output/pydis_core.site_api.html create mode 100644 v11.5.0/output/pydis_core.utils.caching.html create mode 100644 v11.5.0/output/pydis_core.utils.channel.html create mode 100644 v11.5.0/output/pydis_core.utils.checks.html create mode 100644 v11.5.0/output/pydis_core.utils.commands.html create mode 100644 v11.5.0/output/pydis_core.utils.cooldown.html create mode 100644 v11.5.0/output/pydis_core.utils.error_handling.commands.abc.html create mode 100644 v11.5.0/output/pydis_core.utils.error_handling.commands.html create mode 100644 v11.5.0/output/pydis_core.utils.error_handling.commands.manager.html create mode 100644 v11.5.0/output/pydis_core.utils.error_handling.html create mode 100644 v11.5.0/output/pydis_core.utils.function.html create mode 100644 v11.5.0/output/pydis_core.utils.html create mode 100644 v11.5.0/output/pydis_core.utils.interactions.html create mode 100644 v11.5.0/output/pydis_core.utils.lock.html create mode 100644 v11.5.0/output/pydis_core.utils.logging.html create mode 100644 v11.5.0/output/pydis_core.utils.members.html create mode 100644 v11.5.0/output/pydis_core.utils.messages.html create mode 100644 v11.5.0/output/pydis_core.utils.pagination.html create mode 100644 v11.5.0/output/pydis_core.utils.paste_service.html create mode 100644 v11.5.0/output/pydis_core.utils.regex.html create mode 100644 v11.5.0/output/pydis_core.utils.scheduling.html create mode 100644 v11.5.0/py-modindex.html create mode 100644 v11.5.0/search.html create mode 100644 v11.5.0/searchindex.js create mode 100644 v11.5.0/versions.html diff --git a/_static/basic.css b/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/_static/basic.css +++ b/_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/_static/doctools.js b/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/_static/doctools.js +++ b/_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/_static/documentation_options.js b/_static/documentation_options.js index ffeec763e..77da6b479 100644 --- a/_static/documentation_options.js +++ b/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '11.4.0', + VERSION: '11.5.0', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/_static/language_data.js b/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/_static/language_data.js +++ b/_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/_static/searchtools.js b/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/_static/searchtools.js +++ b/_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/index.html b/index.html index bff719990..290647527 100644 --- a/index.html +++ b/index.html @@ -7,14 +7,14 @@ - + - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) - + @@ -54,8 +54,8 @@

Please click here if you were not redirected to the latest build.

- - + + diff --git a/main/.buildinfo b/main/.buildinfo index 234b475dc..10a8d37ca 100644 --- a/main/.buildinfo +++ b/main/.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: 58613949d0576831ac43e547ac7d1418 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 1821b6c6df61a4f61652137407cbbd98 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/main/_static/basic.css b/main/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/main/_static/basic.css +++ b/main/_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/main/_static/doctools.js b/main/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/main/_static/doctools.js +++ b/main/_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/main/_static/documentation_options.js b/main/_static/documentation_options.js index ffeec763e..77da6b479 100644 --- a/main/_static/documentation_options.js +++ b/main/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '11.4.0', + VERSION: '11.5.0', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/main/_static/language_data.js b/main/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/main/_static/language_data.js +++ b/main/_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/main/_static/searchtools.js b/main/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/main/_static/searchtools.js +++ b/main/_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/main/changelog.html b/main/changelog.html index 51de55e1f..d2f3c412c 100644 --- a/main/changelog.html +++ b/main/changelog.html @@ -5,13 +5,13 @@ - - Changelog - Pydis Core Latest (11.4.0) + + Changelog - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.4.0)
+
Pydis Core Latest (11.5.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0)
+ diff --git a/main/development.html b/main/development.html index aed315306..9f8853b25 100644 --- a/main/development.html +++ b/main/development.html @@ -5,13 +5,13 @@ - - Local Development & Testing - Pydis Core Latest (11.4.0) + + Local Development & Testing - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
-
Pydis Core Latest (11.4.0)
+
Pydis Core Latest (11.5.0)
@@ -197,7 +197,7 @@
- Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -579,8 +587,8 @@

    Option 2

    - - + + diff --git a/main/genindex.html b/main/genindex.html index 1fd290e90..b7c08eedb 100644 --- a/main/genindex.html +++ b/main/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core Latest (11.4.0) + Index - Pydis Core Latest (11.5.0) - + @@ -168,7 +168,7 @@
    -
    Pydis Core Latest (11.4.0)
    +
    Pydis Core Latest (11.5.0)
    @@ -195,7 +195,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -514,6 +522,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_computed_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_core_schema__ (PaginationEmojis attribute), [1] @@ -548,6 +564,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_fields_set__ (PaginationEmojis attribute), [1] @@ -866,28 +890,12 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PaginationEmojis attribute), [1] - -
  • model_config (PaginationEmojis attribute), [1]
  • -
  • model_fields (PaginationEmojis attribute), [1] - -
  • @@ -1319,8 +1327,8 @@

    W

  • - - + + diff --git a/main/index.html b/main/index.html index 2417482a6..423644daf 100644 --- a/main/index.html +++ b/main/index.html @@ -5,13 +5,13 @@ - - Pydis Core Latest (11.4.0) + + Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    -
    Pydis Core Latest (11.4.0)
    +
    Pydis Core Latest (11.5.0)
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -496,10 +504,12 @@

    ReferencePaginationEmojis.__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__
  • @@ -508,9 +518,7 @@

    ReferencePaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -597,8 +605,8 @@

      Extras

  • - - + + diff --git a/main/index_redirect.html b/main/index_redirect.html index bff719990..290647527 100644 --- a/main/index_redirect.html +++ b/main/index_redirect.html @@ -7,14 +7,14 @@ - + - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) - + @@ -54,8 +54,8 @@

    Please click here if you were not redirected to the latest build.

    - - + + diff --git a/main/objects.inv b/main/objects.inv index 869c35bd13dd3354d93dbd90882a66d819f4ff1f..1dcbcfdda4e94b605a239f29e235e41133d6e14c 100644 GIT binary patch delta 2658 zcmV-o3Z3=C6~YyeK>;<9LOy?8bK@u$eb=v0)lThOXLnxbE$z5xQK zWF`nSfSh=L{enJh$&sy#1j;-`lCRFWLU1`CE-CgYRVWdX#Kr!XT%;u<@xNnH>Y~*D zDh|J1ZFSE6QUCtwr}$IU`RTLJpRuX{5{8wEe?E8r@QqgpQBE~Nl?#7FZ$;`1fz#An z$YvwtIp*mc6vhyF(}XK3xUxW4Ye_eyChk}TMG2#X>v=c{BUsLOri6+5?M}QuD=AA6 zP3JwuR_g*OqHMv=Lt+A_CogH@lQEGYEl^5!h|Q{ef}^^W@D5XkH;niIE4dH2g7VB1 zyxh@*%qgrw3Im|pMmB#3N)mg?OJ$HGqe>Imx`l|8LLzgBGa_gCn2R0p5KOz})+@-tBXGwLXyTnV7jU8>py{rT{e{rZCsJ_>(I4!a09MFy&JLpdFT~E+zLm zH2_*jx--v+4q#rv_bE0tH?hsSV8qY_!ZuhbdZvV>f!vn_sbouX90a~pTI8Mj?-xEL z#>Cd>AZ25efecbA;a+EhYCfuZ($yz`F-0`A@3L&s{*O&x6YEn^nLZBKJxv7m+suaGm6r3+OHJ8W+^cLZMXTBX7X{m+T<{mNM^#O& z=dYeio}7Oz*$(y~Xo8b1x4wt)B97@DY#Oz3?krtYB*6QBn6xGs{ItCX9!s!1l~-XlCoUKFrg ztSO{eD!Y~7+DMm`J^O+wE9;L>mm}VLCPxa#dI^6dy5&E%CY&*~=KGqVx)y+diwa)_AuvthwS6O=3A*1cMw>)q3}_UsrHyJF z*=lQJh9su*g1X)#JHt{}AfWTLF~s@Ca#g$VjjuXHpcc^MawKtV)3d0mZqqhD1CM&e z>63r=-XhvbHcxmDAR*xZxM5~+i_)@S)OIJ724}jcltHyt|CaHZ zdt&d@xX;`>ne^&|lUyt9pm#bw14!A|~u&#gnyM5J{<}ZB!jx@Iar4A)pyXG=4E$L(A4ITw?SrVlV|}vNAaFtz8vxs)x)^vtuBRe z&ui3ocCjg(XCXH#Kq{j!D4_J^^)f$gCpM&MEOl&aw4d-Mf__Kc* zwP@fR`w-)0sy2$gN?brkLoWDsIuXmvezGq~X#DCain`(j;Ms`Ml$2o$QBY-(+OcW# z1SqSjfJY+AP0Pf|VbnWXZ@V{)*WI4=P4&6)D^bcc;m@VkbyFFO^Y0laQMpBMU!-=f zWrLHKV5GlO^7@17?RQ1wHBTP|BddRQt}sN&p5qH&yl0s^R>yhLWnD1Ln&w1|ew_`# zt+XhDv6iapxD~>QUGfeLJV2(l6CMpZ)^I%7R91I(#Y*}>lqh9FoI1!Oixa$C&7VpF zNjjOwp!Wsw$?>?wlBDb1=n9)jkfzj$tz{mI{RI8Z>pSg(d#*5DaGR9i4cLD{CPU$@ zQt}0vWzb3W#ugGpYQt5v@cYi3!A7G!0x-Uj%IY(d}PKvBOWO#9SJR*+89zgjin@~ zk_qH?muHZmI4pPud44n>_q~5(J3U)!n0AcMA)m?vfm;tTj|!NR<%0^CwKa{(Ew9TD zhjZqaH`-~rVgBf+WRHbmcg!yf;e=BLS^x*!a@71g;FiVapC6p(=AZf_E1p}foPYi) z*>wKBn38W7zzdg*ya4p@oIU^KZdrZ)`JM9qywN*l26|$3%N=wgRW^UytKJ#|sM|Yt zK%{%u{Ok1}=>GcgX^kFl|GNeZB?s65H23!G3uOeR1!qxAmV$Fx=PAM2>~n;mSMrHE z(4!BNWS~F(X)4eg|1=Tkjow)UdSm{;IyX%LdZV8s0KGXeNB{YAVv79p$L_BFym3zx zf8OXPX}`Jblce7~(rJInZ!%|_5F1!HwKU6%rw;Q638=0IA0nd8Ik2>l8unvZF*WGJ z!h&kZhlNGekPFKRt0DFeu7?W?tRWXZL}U#)@*zTN(2+&O)}RLq3a%mkg+0Lw}%^a``hogPmsyd4*CVyFW(-%UOzppZ_w)7%^E$d ze_j9K4gBHyhhJE$1x-OgmwO$}$4j|m`&b{sR(zdufWhr(M{tcPSHKk>bEq5^l1!&b zFi)DTXF`)8%tC(?H5bW3GzjaZn3z#5G6-3-VW7qex|R&YQ1ZV@qcooPuG?MJtMTk! z_DZL}q$07qM;yt4nq;$DhBNuqz_8i}8Py(_CO_3(z8@x48-9EmP&_;?xWbZ5x8b0Heu1@bcBVV}r&{Wb`3*eLQM zOmE+|xIK%`RI1BZ$9flkw};Wl4qgzn?q*+ca}tegfCa+s?3EQaC(-3?gkZ3T4Ts|T zI2zmF2LylHP4$o4vuJEL78rDA=a#rVi(o0B5Q2fE(fD*P7@WM|j6{wpuoKva3v#Lh z)jkR{oMSLk-%TNoo0DiPg%U#8OSg>Mvj~zT1%ZE;R26rxM3<5%An=D| zi`X7TBa8ZBh{yH+adQ%lEQp8TcGu3w%}F%2VjWfn+*#cow`bA#${Gmx$vT|)cpiZU zo-mHnk!sw#6kQyCK^TtXw75Eq#?>7J_CyQD$MdM8ZAL`T{oZI=-q${gV3}Px# delta 2659 zcmV-p3Y_)A6~h&fK>;+8LOy@rbK@uye%D{2s@uA^$=$y0TgLJ1r7E+NN-{fJ_d;Qb z$ZQa30Xgyg^#}T4OO9+c0xA0xA-BG-1x?c+niTt#DwGIG;$r_xF4B^b_}{T8by4bn z6^CE1wmN73sDJvf~ChhB}~+*jqu2L6VFrO=PPUB2o&8%q7l<^wKdGI}*U9D5A>(ZH0L8 z0nu1{x}yrh7?osxIIr0F`jTtP0@(aIFZBK%XOv?tn;HNu zB;A>JL)DSxmDKO3!9FZO@$n+Jr9@Gx|R> z&d-3pGtj9u`G9}mie~0cDZ^EVnYEmdYR^rVX(Pr9ivk_VOA7>Dv1@z%XfIcXsqOhd z;vInlGPJ?GI1)*$%TgkFA=;D3jBR5TZbdHDw4yfhDd>L)Oe+R~y1Kr&n(cpJ4}vB**;1Z?G;CzYHEji}0cB+hBg^Ll@IYKU&$g@5V{PQc0J1R;2FMaN z7=DX6Ck)n}wJe}L8$sjMk#W7x#MmC{Faa#E$90j!+@;*KswSC``+)Eyc~QW6v7(S_ zspM9IYZJPxZ0QT8tgJsbUG{kInH(t`?Gi|I%YT1tjXPsh&H6rx5G)n19KBM#MN%+= zHv7W52WWG{c(zy}%=a}zb#Dd&E-HLA3xVkhuWgG2Cg^^t80`{`FrZVklGdwnWX;z4 z3`xx31y#LAc7~-kAfWQKFhu!Aa#gGFjjuXHpdQfUawKu=(_U27uxY!Wfk(aS49RJ7>Sl(hltE*y{v+d-dm``D zxz9X1ne^&55?ny%m*w;uWE(IyU#)LS0*-?{f2Y068zcBS~P!f zjeUsmGF9tEUnMS}vmqCJyPSw+W_K8rWN!TGEsEOkX5iU~($th;o1>!2BDHhV<_%C* znLt1y%1zJ2$zj$zYPa17#%;GJeN%mI{7RHEUHEgUb=_6Q{QP^yNmOngJQS&2YuVuB zWj4~^DS7=t_4d0W@|vd)f{|6bRyco0&7R|%zk1IycchN%q|2&cm^ICb82vgs1Gmzm zn2ohm)xfO~PV6RkpyL5DwS(}e)3Ji%&Zd&OvpZJO2ckqN6XG;L9$B2=-7J492_((L zk3sJX5|ZO_izP|dyU`sslORp46KiDwtNjH1Eohte!2=si7u=>H1Os*mlc9fbHc|=& znPt#L^+p!rL~6lRwVV9Tlwh;b9swBn%B~X-U~@qUY*5M$ii7GI3T+d^%v37J8t`>z z95yHUhDcc8*~pH!U@O?$vQXay)<=)(B1bd3Y(6q$o{@kQRU8SeoLU%CJB_3yry&za z?JmzCL2=md4AT54KCXL5c6xt))G+NBpF;*!00OrW!jB4=g%yGdn5Q+3$}N*C42N^B zS1{UX*`~rf27?gCDH&r&jt3H4J0vM@xo`3}F zUGcBif1vy8$EP)Vy#4PQFnJtc1JK;t(ih4IEc)}Jm>m51viik--t0c1UqJFnkzY9e zX@Orb{%LVvFnZ^(FBtQ*s4p13PtX@k37?oRoDx$)zHsdB5nnLwX#rm_`bqJgFZ-l$ z&yUnI+6zPO7VL%KTr*FVC-+9=di6m%2UQGC3XJF<`UC2SwpDF+zb&Tj07=Tdov|E*|4}8S3=B$GCGN8a~_cGT`C#$9VlV2yr<6 z@ghv`G`6@cMQ4oaGS<=V;_vn{8abB>g4R94D{czW$gx%++|CJDaZ`vc9}WbAJscwx z*Vob5u|0nv*lq%U+?JxTGge^Go%2}YwiLkQl;YVo#;|(1O)z& zLJ`}mXk@EC4Dqtp% zJYgKCGu60vE4n!Sf-oHCX>oNKjYoG7*ppZ=K9-|SY%>z{-0w|H%lom9B3LHd{)6?s R`kBZ2_j~IH{|^_cvq)=!5|jV{ diff --git a/main/output/pydis_core.async_stats.html b/main/output/pydis_core.async_stats.html index c87d733d3..f93423859 100644 --- a/main/output/pydis_core.async_stats.html +++ b/main/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - - async_stats - Pydis Core Latest (11.4.0) + + async_stats - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,21 +464,21 @@

    An async transport method for statsd communication.

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

    Bases: StatsClientBase

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

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

    Create a new AsyncStatsClient.

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

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

    +async create_socket()[source] +

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

    Return type:
    -

    None

    +

    None

    @@ -563,8 +571,8 @@
    - - + + diff --git a/main/output/pydis_core.exts.html b/main/output/pydis_core.exts.html index 38bd11f18..1b6ee7b33 100644 --- a/main/output/pydis_core.exts.html +++ b/main/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - - Exts - Pydis Core Latest (11.4.0) + + Exts - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -505,8 +513,8 @@
    - - + + diff --git a/main/output/pydis_core.html b/main/output/pydis_core.html index e62d5b215..c92e32884 100644 --- a/main/output/pydis_core.html +++ b/main/output/pydis_core.html @@ -5,13 +5,13 @@ - - Pydis Core - Pydis Core Latest (11.4.0) + + Pydis Core - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,34 +464,34 @@

    Useful utilities and tools for Discord bot development.

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

    Bases: Bot

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

    -guild_id[source]
    +guild_id[source]

    ID of the guild that the bot belongs to.

    Type:
    -

    int

    +

    int

    -http_session[source]
    +http_session[source]

    The http session used for sending out HTTP requests.

    Type:
    -

    aiohttp.ClientSession

    +

    aiohttp.ClientSession

    -api_client[source]
    +api_client[source]

    The API client used for communications with the site service.

    Type:
    @@ -494,18 +502,18 @@
    -statsd_url[source]
    +statsd_url[source]

    The url that statsd sends metrics to.

    Type:
    -

    str

    +

    str

    -redis_session[source]
    +redis_session[source]

    The redis session used to communicate with the Redis instance.

    Type:
    @@ -516,7 +524,7 @@
    -stats[source]
    +stats[source]

    The statsd client that sends metrics.

    Type:
    @@ -527,29 +535,29 @@
    -all_extensions[source]
    +all_extensions[source]

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

    Type:
    -

    frozenset[str]

    +

    frozenset[str]

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

    Initialise the base bot instance.

    Parameters:
    @@ -558,169 +566,169 @@
    -async add_cog(cog)[source]
    +async add_cog(cog)[source]

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

    Return type:
    -

    None

    +

    None

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

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

    Return type:
    -

    None

    +

    None

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

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

    Return type:
    -

    None

    +

    None

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

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

    Return type:
    -

    None

    +

    None

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

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

    Parameters:
    -

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

    +

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

    Return type:
    -

    None

    +

    None

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

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

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

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

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

    Return type:
    -

    None

    +

    None

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

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

    Return type:
    -

    None

    +

    None

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

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

    Return type:
    -

    None

    +

    None

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

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

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

    Return type:
    -

    None

    +

    None

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

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

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

    Return type:
    -

    None

    +

    None

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

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

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

    Return type:
    -

    Command | None

    +

    Command | None

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

    An async init to startup generic services.

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

    Return type:
    -

    None

    +

    None

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

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

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

    Return type:
    -

    None

    +

    None

    @@ -729,38 +737,38 @@
    -exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +exception EmptyPaginatorEmbedError[source] +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

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

    Bases: Paginator

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

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

    • -
    • prefix (str) – The prefix inserted to every page. e.g. three backticks.

    • -
    • suffix (str) – The suffix appended at the end of every page. e.g. three backticks.

    • -
    • max_size (int) – The maximum amount of codepoints allowed in a page.

    • -
    • scale_to_size (int) – The maximum amount of characters a single line can scale up to.

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

    • +
    • prefix (str) – The prefix inserted to every page. e.g. three backticks.

    • +
    • suffix (str) – The suffix appended at the end of every page. e.g. three backticks.

    • +
    • max_size (int) – The maximum amount of codepoints allowed in a page.

    • +
    • scale_to_size (int) – The maximum amount of characters a single line can scale up to.

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

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

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

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

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

    Adds a line to the current page.

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

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

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

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

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

    Return type:
    -

    None

    +

    None

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

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

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

    When used, this will send a message using ctx.send() and apply a set of reactions to it. These reactions may @@ -800,26 +808,26 @@

    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: @@ -832,7 +840,7 @@

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

    Bases: BaseModel

    The emojis that will be used for pagination.

    @@ -853,9 +861,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.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:94590387124016', '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:94527361981248', '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.

    @@ -878,6 +892,13 @@

    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]
    @@ -911,13 +932,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000056078a6c7730,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "delete": SerField {                         key_py: Py(                             0x00007f14f1560eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed54cd50,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f14f11d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed54cd00,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f14f1179730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed54cc10,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f14f11796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed54ccb0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f14f11f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed54cc60,                                         ),                                     ),                                     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(             0x000055f8ddd51b40,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007fb4d25f47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccd688f0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fb4d25797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccd688a0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fb4d25d2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccd68990,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fb4d2960eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccd689e0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fb4d25797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccd68940,                                         ),                                     ),                                     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(                                 0x00007f14edbced30,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f14ed1e2230,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f11f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed54cc60,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14eddfccc0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f14ed1e2af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f14ed1d7bb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f1179730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed54cc10,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14eddfccc0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f14ee0ad070,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f14ec3bcdb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f11796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed54ccb0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14eddfccc0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f14ec3bc570,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f14ec3bcaf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f11d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed54cd00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14eddfccc0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f14ec3bc830,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f14ec3be1b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f1560eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed54cd50,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14eddfccc0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056078a6c7730,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f14eddfccc0,         ),         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(                                 0x00007fb4ccbbac70,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fb4cf8eae70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d25f47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccd688f0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4cd640b80,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fb4cd3c9b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fb4cc8317f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d25797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccd688a0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4cd640b80,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fb4cc8339b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fb4cc831730,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d25797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccd68940,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4cd640b80,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fb4cc833f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fb4cc833eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d25d2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccd68990,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4cd640b80,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fb4cc831c70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fb4cc8318f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d2960eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccd689e0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4cd640b80,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055f8ddd51b40,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb4cd640b80,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

    @@ -927,36 +948,22 @@

    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

    +exception StartupError(base)[source] +

    Bases: Exception

    Exception class for startup errors.

    -__init__(base)[source]
    +__init__(base)[source]
    @@ -1207,10 +1214,12 @@

    SubmodulesPaginationEmojis.__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__
  • @@ -1219,9 +1228,7 @@

    SubmodulesPaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -1241,8 +1248,8 @@

      Submodules - +

  • + diff --git a/main/output/pydis_core.site_api.html b/main/output/pydis_core.site_api.html index 65be790c7..2e039da3a 100644 --- a/main/output/pydis_core.site_api.html +++ b/main/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - - site_api - Pydis Core Latest (11.4.0) + + site_api - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,19 +464,19 @@

    An API wrapper around the Site API.

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

    Bases: object

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

    Bases: object

    A wrapper for the Django Site API.

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

    Initialize a new APIClient instance.

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

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

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

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

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

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

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

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

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

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

    Return type:
    -

    dict | None

    +

    dict | None

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

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

    Return type:
    -

    dict | None

    +

    dict | None

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

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

    Parameters:
    Raises:

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

    Return type:
    -

    None

    +

    None

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

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

    Return type:
    -

    dict | None

    +

    dict | None

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

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

    Return type:
    -

    dict | None

    +

    dict | None

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

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

    Return type:
    -

    dict | None

    +

    dict | None

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

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

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

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

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

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

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

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

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

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

    Return type:
    -

    dict | None

    +

    dict | None

    Returns:
    -

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

    +

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

    Raises:

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

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

    Bases: ValueError

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

    Bases: ValueError

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

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

    Initialize a new ResponseCodeError instance.

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

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

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

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

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

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

    @@ -609,7 +617,7 @@
    -__str__()[source]
    +__str__()[source]

    Return a string representation of the error.

    @@ -701,8 +709,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.caching.html b/main/output/pydis_core.utils.caching.html index ae7b3a9b5..e9c766c0d 100644 --- a/main/output/pydis_core.utils.caching.html +++ b/main/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - - caching - Pydis Core Latest (11.4.0) + + caching - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,21 +464,21 @@

    Utilities related to custom caches.

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

    Bases: object

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

    Bases: object

    LRU cache implementation for coroutines.

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

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

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

    Decorator for async cache.

    Parameters:
    -

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

    +

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

    Return type:
    -

    Callable

    +

    Callable

    Returns:

    A decorator to wrap the target function.

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

    Initialise a new AsyncCache instance.

    Parameters:
    -

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

    +

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

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

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -577,8 +585,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.channel.html b/main/output/pydis_core.utils.channel.html index 4e0f37653..ed684e9fe 100644 --- a/main/output/pydis_core.utils.channel.html +++ b/main/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - - channel - Pydis Core Latest (11.4.0) + + channel - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,13 +464,13 @@

    Useful helper functions for interacting with various discord channel objects.

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

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

    Parameters:
    • 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:
    @@ -484,17 +492,17 @@
    -is_in_category(channel, category_id)[source]
    +is_in_category(channel, category_id)[source]

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

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

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

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

    Return type:
    -

    bool

    +

    bool

    Returns:

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

    @@ -573,8 +581,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.checks.html b/main/output/pydis_core.utils.checks.html index cd835f602..099bd4429 100644 --- a/main/output/pydis_core.utils.checks.html +++ b/main/output/pydis_core.utils.checks.html @@ -5,13 +5,13 @@ - - checks - Pydis Core Latest (11.4.0) + + checks - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,35 +463,35 @@

    checks

    -exception ContextCheckFailure(redirect_channel)[source]
    +exception ContextCheckFailure(redirect_channel)[source]

    Bases: CheckFailure

    Raised when a context-specific check fails.

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

    Bases: ContextCheckFailure

    Raised when the in_whitelist check fails.

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

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

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

    Parameters:
      -
    • rate (int) – Number of times a command can be used before triggering a cooldown.

    • -
    • per (float) – The duration (in seconds) for how long the cooldown lasts.

    • +
    • 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:
    @@ -493,73 +501,73 @@

    Callable

    Raises:
    -

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

    +

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

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

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

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

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

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

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

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

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

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

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

    Parameters:
    • ctx (discord.ext.commands.Context) – The context in which the command is being invoked.

    • -
    • redirect (int | None) – The channel ID to redirect the user to, if any.

    • -
    • channels (Container[int]) – Whitelisted channel IDs. Defaults to ().

    • -
    • categories (Container[int]) – Whitelisted category IDs. Defaults to ().

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

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

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

    @@ -645,8 +653,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.commands.html b/main/output/pydis_core.utils.commands.html index bc379c59b..c1a53559c 100644 --- a/main/output/pydis_core.utils.commands.html +++ b/main/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - - commands - Pydis Core Latest (11.4.0) + + commands - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,20 +463,20 @@

    commands

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

    Cleans a text argument or replied message’s content.

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

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

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

    @@ -546,8 +554,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.cooldown.html b/main/output/pydis_core.utils.cooldown.html index d062cf9f9..21bb60f4b 100644 --- a/main/output/pydis_core.utils.cooldown.html +++ b/main/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - - cooldown - Pydis Core Latest (11.4.0) + + cooldown - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,21 +464,21 @@

    Helpers for setting a cooldown on commands.

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

    Bases: CommandError, Generic[P, R]

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

    Bases: CommandError, Generic[P, R]

    Raised when a command is invoked while on cooldown.

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

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -482,32 +490,32 @@
    -P = ~P[source]
    +P = ~P[source]

    The command’s signature.

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

    The command’s return value.

    alias of TypeVar(‘R’)

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

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

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

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

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

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

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

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

    Return type:
    -

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

    +

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

    Returns:

    A decorator that adds a wrapper which applies the cooldowns.

    @@ -596,8 +604,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.error_handling.commands.abc.html b/main/output/pydis_core.utils.error_handling.commands.abc.html index 16a1894e7..20e78482a 100644 --- a/main/output/pydis_core.utils.error_handling.commands.abc.html +++ b/main/output/pydis_core.utils.error_handling.commands.abc.html @@ -5,13 +5,13 @@ - - abc - Pydis Core Latest (11.4.0) + + abc - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,38 +463,38 @@

    abc

    -class AbstractCommandErrorHandler[source]
    -

    Bases: ABC

    +class AbstractCommandErrorHandler[source] +

    Bases: ABC

    An abstract command error handler.

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

    Handle error raised in the context of app commands.

    Return type:
    -

    NoReturn

    +

    NoReturn

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

    Handle error raised in the context of text commands.

    Return type:
    -

    NoReturn

    +

    NoReturn

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

    A predicate that determines whether the error should be handled.

    Return type:
    -

    bool

    +

    bool

    @@ -568,8 +576,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.error_handling.commands.html b/main/output/pydis_core.utils.error_handling.commands.html index c6dd8996a..18d614253 100644 --- a/main/output/pydis_core.utils.error_handling.commands.html +++ b/main/output/pydis_core.utils.error_handling.commands.html @@ -5,13 +5,13 @@ - - commands package - Pydis Core Latest (11.4.0) + + commands package - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,38 +463,38 @@

    commands package

    -class AbstractCommandErrorHandler[source]
    -

    Bases: ABC

    +class AbstractCommandErrorHandler[source] +

    Bases: ABC

    An abstract command error handler.

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

    Handle error raised in the context of app commands.

    Return type:
    -

    NoReturn

    +

    NoReturn

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

    Handle error raised in the context of text commands.

    Return type:
    -

    NoReturn

    +

    NoReturn

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

    A predicate that determines whether the error should be handled.

    Return type:
    -

    bool

    +

    bool

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

    Bases: object

    +class CommandErrorManager(default)[source] +

    Bases: object

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

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

    Handle a Discord exception.

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

    Return type:
    -

    None

    +

    None

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

    Register a command error handler.

    Return type:
    -

    None

    +

    None

    @@ -636,8 +644,8 @@

    Submodules - +

    + diff --git a/main/output/pydis_core.utils.error_handling.commands.manager.html b/main/output/pydis_core.utils.error_handling.commands.manager.html index 21ffe21ca..05b893b9c 100644 --- a/main/output/pydis_core.utils.error_handling.commands.manager.html +++ b/main/output/pydis_core.utils.error_handling.commands.manager.html @@ -5,13 +5,13 @@ - - manager - Pydis Core Latest (11.4.0) + + manager - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,34 +463,34 @@

    manager

    -class CommandErrorManager(default)[source]
    -

    Bases: object

    +class CommandErrorManager(default)[source] +

    Bases: object

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

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

    Handle a Discord exception.

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

    Return type:
    -

    None

    +

    None

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

    Register a command error handler.

    Return type:
    -

    None

    +

    None

    @@ -564,8 +572,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.error_handling.html b/main/output/pydis_core.utils.error_handling.html index 21136f7a6..84b7a0116 100644 --- a/main/output/pydis_core.utils.error_handling.html +++ b/main/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - - error_handling package - Pydis Core Latest (11.4.0) + + error_handling package - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,17 +463,17 @@

    error_handling package

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

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

    Parameters:
    • error (Forbidden) – The raised discord.Forbidden to check.

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

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

    Return type:
    -

    None

    +

    None

    @@ -574,8 +582,8 @@

    Subpackages - +

    + diff --git a/main/output/pydis_core.utils.function.html b/main/output/pydis_core.utils.function.html index dce3cb944..556b816ee 100644 --- a/main/output/pydis_core.utils.function.html +++ b/main/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - - function - Pydis Core Latest (11.4.0) + + function - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,30 +464,30 @@

    Utils for manipulating functions.

    -exception GlobalNameConflictError[source]
    -

    Bases: Exception

    +exception GlobalNameConflictError[source] +

    Bases: Exception

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

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

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

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

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

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

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

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

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

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

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

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

    Return type:
    -

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

    +

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

    Returns:
    -

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

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

    @@ -487,22 +495,22 @@
    -get_arg_value(name_or_pos, arguments)[source]
    +get_arg_value(name_or_pos, arguments)[source]

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

    Parameters:
    -

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

    +

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

    Return type:
    -

    Any

    +

    Any

    Returns:

    Value from arguments based on a name or position.

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

    • -
    • ValueErrorname_or_pos does not match any argument.

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

    • +
    • ValueErrorname_or_pos does not match any argument.

    @@ -510,19 +518,19 @@
    -get_arg_value_wrapper(decorator_func, name_or_pos, func=None)[source]
    +get_arg_value_wrapper(decorator_func, name_or_pos, func=None)[source]

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

    Parameters:
    Return type:
    -

    Callable[[Callable], Callable]

    +

    Callable[[Callable], Callable]

    Returns:

    The decorator returned by decorator_func.

    @@ -532,19 +540,19 @@
    -get_bound_args(func, args, kwargs)[source]
    +get_bound_args(func, args, kwargs)[source]

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

    Default parameter values are also set.

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

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

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

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

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

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

    Return type:
    -

    OrderedDict[str, Any]

    +

    OrderedDict[str, Any]

    Returns:

    A mapping of parameter names to argument values.

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

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

    For forwardrefs in command annotations, discord.py uses the __global__ attribute of the function to resolve their values. This breaks for decorators that replace the function because they have @@ -567,9 +575,9 @@

    Parameters:
    Raises:
    @@ -577,7 +585,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

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

    +

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

    @@ -657,8 +665,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.html b/main/output/pydis_core.utils.html index 2e76f0844..8e8cfb136 100644 --- a/main/output/pydis_core.utils.html +++ b/main/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - - Utils - Pydis Core Latest (11.4.0) + + Utils - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,11 +464,11 @@

    Useful utilities and tools for Discord bot development.

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

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -475,14 +483,14 @@
    -unqualify(name)[source]
    +unqualify(name)[source]

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

    Parameters:
    -

    name (str) – The module name to unqualify.

    +

    name (str) – The module name to unqualify.

    Return type:
    -

    str

    +

    str

    Returns:

    The unqualified module name.

    @@ -628,10 +636,12 @@

    SubmodulesPaginationEmojis.__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__
  • @@ -640,9 +650,7 @@

    SubmodulesPaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -653,10 +661,12 @@

    SubmodulesPasteFile.__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__
  • @@ -665,19 +675,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -793,8 +801,8 @@

    Submodules - +

    + diff --git a/main/output/pydis_core.utils.interactions.html b/main/output/pydis_core.utils.interactions.html index 4de6bfd03..4e54cdbd8 100644 --- a/main/output/pydis_core.utils.interactions.html +++ b/main/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - - interactions - Pydis Core Latest (11.4.0) + + interactions - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,7 +463,7 @@

    interactions

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

    Bases: Button

    A button that can be added to a view to delete the message containing the view on click.

    This button itself carries out no interaction checks, these should be done by the parent view.

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

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

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

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

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

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

    Bases: View

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

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

    • -
    • allowed_roles (Sequence[int]) – A sequence of role ids that are allowed to interact with the view.

    • -
    • timeout (float | None) – Timeout in seconds from last interaction with the UI before no longer accepting input. +

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

    • +
    • allowed_roles (Sequence[int]) – A sequence of role ids that are allowed to interact with the view.

    • +
    • timeout (float | None) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Message | None) – The message to remove the view from on timeout. This can also be set with +

    • message (Message | None) – The message to remove the view from on timeout. This can also be set with view.message = await ctx.send( ... )` , or similar, after the view is instantiated.

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

    Ensure the user clicking the button is the view invoker, or a moderator.

    Parameters:

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

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

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

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

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

    Return type:
    -

    None

    +

    None

    @@ -548,18 +556,18 @@
    -user_has_access(user, *, allowed_users=(), allowed_roles=())[source]
    +user_has_access(user, *, allowed_users=(), allowed_roles=())[source]

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

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

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

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

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

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

    Return type:
    -

    bool

    +

    bool

    @@ -646,8 +654,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.lock.html b/main/output/pydis_core.utils.lock.html index e12a7d4df..0d05f7050 100644 --- a/main/output/pydis_core.utils.lock.html +++ b/main/output/pydis_core.utils.lock.html @@ -5,13 +5,13 @@ - - lock - Pydis Core Latest (11.4.0) + + lock - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,69 +463,69 @@

    lock

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

    Bases: RuntimeError

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

    Bases: RuntimeError

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

    -type[source]
    +type[source]

    Name of the locked resource’s type

    Type:
    -

    str

    +

    str

    -id[source]
    +id[source]

    ID of the locked resource

    Type:
    -

    Hashable

    +

    Hashable

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

    Bases: object

    +class SharedEvent[source] +

    Bases: object

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

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

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

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

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

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

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

    Wait for all active holders to exit.

    Return type:
    -

    None

    +

    None

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

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

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

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

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

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

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

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

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

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

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

    @@ -546,22 +554,22 @@

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

    Return type:
    -

    Callable

    +

    Callable

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

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

    See lock docs for more information.

    Parameters:
    -

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

    +

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -650,8 +658,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.logging.html b/main/output/pydis_core.utils.logging.html index 8b636ed7d..646a2a6d2 100644 --- a/main/output/pydis_core.utils.logging.html +++ b/main/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - - logging - Pydis Core Latest (11.4.0) + + logging - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,12 +464,12 @@

    Common logging related functions.

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

    Bases: Logger

    -

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

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

    Bases: Logger

    +

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

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

    Log the given message with the severity "TRACE".

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

    logger.trace("Houston, we have an %s", "interesting problem", exc_info=1)
    @@ -470,13 +478,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

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

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

    Parameters:
    -

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

    +

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

    Return type:

    CustomLogger

    @@ -502,8 +510,8 @@
    -log_format[source]
    -

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

    +log_format[source] +

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

    @@ -583,8 +591,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.members.html b/main/output/pydis_core.utils.members.html index 421af3ba4..0ef7d8217 100644 --- a/main/output/pydis_core.utils.members.html +++ b/main/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - - members - Pydis Core Latest (11.4.0) + + members - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,21 +464,21 @@

    Useful helper functions for interactin with discord.Member objects.

    -async get_or_fetch_member(guild, member_id)[source]
    +async get_or_fetch_member(guild, member_id)[source]

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Member | None

    +

    Member | None

    Returns:
    -

    The discord.Member or None to indicate the member could not be found.

    +

    The discord.Member or None to indicate the member could not be found.

    -async handle_role_change(member, coro, role)[source]
    +async handle_role_change(member, coro, role)[source]

    Await the given coro with role as the sole argument.

    Handle errors that we expect to be raised from discord.Member.add_roles and discord.Member.remove_roles.

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

    None

    +

    None

    @@ -559,8 +567,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.messages.html b/main/output/pydis_core.utils.messages.html index 6f3d5376c..206cee3dd 100644 --- a/main/output/pydis_core.utils.messages.html +++ b/main/output/pydis_core.utils.messages.html @@ -5,13 +5,13 @@ - - messages - Pydis Core Latest (11.4.0) + + messages - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,13 +463,13 @@

    messages

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

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

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

    Return type:
    -

    bool

    +

    bool

    @@ -536,8 +544,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.pagination.html b/main/output/pydis_core.utils.pagination.html index 589a4ca66..4ab072cb5 100644 --- a/main/output/pydis_core.utils.pagination.html +++ b/main/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - - pagination - Pydis Core Latest (11.4.0) + + pagination - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,38 +463,38 @@

    pagination

    -exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +exception EmptyPaginatorEmbedError[source] +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

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

    Bases: Paginator

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

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

    • -
    • prefix (str) – The prefix inserted to every page. e.g. three backticks.

    • -
    • suffix (str) – The suffix appended at the end of every page. e.g. three backticks.

    • -
    • max_size (int) – The maximum amount of codepoints allowed in a page.

    • -
    • scale_to_size (int) – The maximum amount of characters a single line can scale up to.

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

    • +
    • prefix (str) – The prefix inserted to every page. e.g. three backticks.

    • +
    • suffix (str) – The suffix appended at the end of every page. e.g. three backticks.

    • +
    • max_size (int) – The maximum amount of codepoints allowed in a page.

    • +
    • scale_to_size (int) – The maximum amount of characters a single line can scale up to.

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

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

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

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

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

    Adds a line to the current page.

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

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

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

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

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

    Return type:
    -

    None

    +

    None

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

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

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

    When used, this will send a message using ctx.send() and apply a set of reactions to it. These reactions may @@ -526,26 +534,26 @@

    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: @@ -558,7 +566,7 @@

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

    Bases: BaseModel

    The emojis that will be used for pagination.

    @@ -579,9 +587,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.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:94590386861776', '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:94527361931152', '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.

    @@ -604,6 +618,13 @@

    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]
    @@ -637,13 +658,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000056078a6876d0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007f14f1179730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed71e150,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f14f1560eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed71e290,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f14f11796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed71e1f0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f14f11f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed71e1a0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f14f11d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14ed71e240,                                         ),                                     ),                                     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(             0x000055f8ddd45790,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007fb4d25f47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccf25980,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fb4d25797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccf25930,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fb4d2960eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccf25a70,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fb4d25797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccf259d0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fb4d25d2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4ccf25a20,                                         ),                                     ),                                     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(                                 0x00007f14ed9c4730,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f14edbbacf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f11f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed71e1a0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14efa1df60,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f14ec606270,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f14ec604470,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f1179730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed71e150,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14efa1df60,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f14ec607f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f14ec607e70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f11796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed71e1f0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14efa1df60,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f14ec605ef0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f14ec6047f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f11d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed71e240,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14efa1df60,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f14ec604b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f14ec607bf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f1560eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14ed71e290,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14efa1df60,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056078a6876d0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f14efa1df60,         ),         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(                                 0x00007fb4cd64a670,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fb4cd64aaf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d25f47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccf25980,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4d110a460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fb4cd3c86b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fb4bfef55f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d25797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccf25930,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4d110a460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fb4bfef79f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fb4bfef57f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d25797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccf259d0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4d110a460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fb4bfef7f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fb4bfef7eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d25d2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccf25a20,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4d110a460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fb4bfef5a70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fb4bfef55b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d2960eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4ccf25a70,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4d110a460,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055f8ddd45790,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb4d110a460,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

    @@ -653,26 +674,12 @@

    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.

    -
    -
    @@ -744,10 +751,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__
  • @@ -756,9 +765,7 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -772,8 +779,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.paste_service.html b/main/output/pydis_core.utils.paste_service.html index a0c00dc8f..daf7d3e0c 100644 --- a/main/output/pydis_core.utils.paste_service.html +++ b/main/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - - paste_service - Pydis Core Latest (11.4.0) + + paste_service - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,21 +463,21 @@

    paste_service

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

    The maximum allows size of a paste, in bytes.

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

    Bases: BaseModel

    A file to be pasted to the paste service.

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

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

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

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

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

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

    @@ -491,9 +499,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:94590389731216', '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:94527363279760', '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.

    @@ -516,6 +530,13 @@

    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]
    @@ -549,13 +570,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000056078a943f90,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f14f0dde0b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f14f0a9cbb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14f08747b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f14f1b56ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f14f1b530c0,                                         ),                                     ),                                     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(             0x000055f8dde8eb90,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007fb4d3356ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4d33530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007fb4d219d670,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4d1f11330,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007fb4d24d60b0,                         ),                         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: 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(                                 0x00007f14edf056b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f14edf05670,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f0dde0b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f14edf05730,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f14edf056f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f1b56ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14f1b530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14efa1e710,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f14edf05770,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f14edf057b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f0a9cbb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f14f08747b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f14efa1e710,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056078a943f90,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f14efa1e710,         ),         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(                                 0x00007fb4cd2df330,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fb4cd2df2f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d24d60b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fb4cd2df3f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fb4cd2df3b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d3356ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4d33530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4d110a570,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fb4cd2df430,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fb4cd2df470,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d219d670,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4d1f11330,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4d110a570,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055f8dde8eb90,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb4d110a570,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -565,38 +586,24 @@

    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.

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

    Bases: BaseModel

    A successful response from the paste service.

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

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

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

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

    @@ -618,9 +625,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.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:94590389741776', '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:94527363471024', '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.

    @@ -643,6 +656,13 @@

    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]
    @@ -676,13 +696,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000056078a9468d0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f14f1aac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f14ec586e30,                         ),                         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(             0x000055f8ddebd6b0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007fb4d32ac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007fb4bfd507b0,                         ),                         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(                                 0x00007f14edf04070,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f14edf04030,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14f1aac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f14edf040f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f14edf040b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f14ec586e30,                         ),                         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(             0x000056078a9468d0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f14efa1e710,         ),         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(                                 0x00007fb4cd2de0f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fb4cd2de0b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4d32ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fb4cd2de1b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fb4cd2de130,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4bfd507b0,                         ),                         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(             0x000055f8ddebd6b0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb4d110a570,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -692,65 +712,51 @@

    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

    +exception PasteTooLongError[source] +

    Bases: Exception

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

    -exception PasteUnsupportedLexerError[source]
    -

    Bases: Exception

    +exception PasteUnsupportedLexerError[source] +

    Bases: Exception

    Raised when an unsupported lexer is used.

    -exception PasteUploadError[source]
    -

    Bases: Exception

    +exception PasteUploadError[source] +

    Bases: Exception

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

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

    Upload some contents to the paste service.

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

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

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

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

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

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

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

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

    Raises:
    @@ -827,10 +833,12 @@
  • 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__
  • @@ -839,19 +847,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -880,8 +886,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.regex.html b/main/output/pydis_core.utils.regex.html index e117a0076..cfce628e2 100644 --- a/main/output/pydis_core.utils.regex.html +++ b/main/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - - regex - Pydis Core Latest (11.4.0) + + regex - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,13 +464,13 @@

    Common regular expressions.

    -DISCORD_INVITE[source]
    +DISCORD_INVITE[source]

    Regex for Discord server invites.

    Warning

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

    +such as urllib.parse.quote().

    @@ -470,7 +478,7 @@
    -FORMATTED_CODE_REGEX[source]
    +FORMATTED_CODE_REGEX[source]

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

    @@ -478,7 +486,7 @@
    -RAW_CODE_REGEX[source]
    +RAW_CODE_REGEX[source]

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

    @@ -556,8 +564,8 @@
    - - + + diff --git a/main/output/pydis_core.utils.scheduling.html b/main/output/pydis_core.utils.scheduling.html index 81193fb26..aa0acbbd8 100644 --- a/main/output/pydis_core.utils.scheduling.html +++ b/main/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - - scheduling - Pydis Core Latest (11.4.0) + + scheduling - Pydis Core Latest (11.5.0) - + @@ -170,7 +170,7 @@
    @@ -197,7 +197,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,8 +464,8 @@

    Generic python scheduler.

    -class Scheduler(name)[source]
    -

    Bases: object

    +class Scheduler(name)[source] +

    Bases: object

    Schedule the execution of coroutines and keep track of them.

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

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

    -__contains__(task_id)[source]
    -

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

    +__contains__(task_id)[source] +

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

    Parameters:
    -

    task_id (Hashable) – The task to look for.

    +

    task_id (Hashable) – The task to look for.

    Return type:
    -

    bool

    +

    bool

    Returns:
    -

    True if the task was found.

    +

    True if the task was found.

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

    Initialize a new Scheduler instance.

    Parameters:
    -

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

    +

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

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

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

    Parameters:
    -

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

    +

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

    Return type:
    -

    None

    +

    None

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

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

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

    Schedule the execution of a coroutine.

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

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

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

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

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

    Return type:
    -

    None

    +

    None

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

    Schedule coroutine to be executed at the given time.

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

    @@ -552,33 +560,33 @@
    Parameters:
      -
    • time (datetime) – The time to start the task.

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

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

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

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

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

    Return type:
    -

    None

    +

    None

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

    Schedule coroutine to be executed after delay seconds.

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

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

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

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

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

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

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

    Return type:
    -

    None

    +

    None

    @@ -587,24 +595,24 @@
    -create_task(coro, *, suppressed_exceptions=(), event_loop=None, **kwargs)[source]
    -

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

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

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

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

    Parameters:
    Returns:

    The wrapped task.

    Return type:
    -

    asyncio.Task

    +

    asyncio.Task

    @@ -689,8 +697,8 @@
    - - + + diff --git a/main/py-modindex.html b/main/py-modindex.html index 3ac4ccfee..d594770be 100644 --- a/main/py-modindex.html +++ b/main/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core Latest (11.4.0) + Python Module Index - Pydis Core Latest (11.5.0) - + @@ -168,7 +168,7 @@
    @@ -195,7 +195,7 @@
    - Pydis Core Latest (11.4.0) + Pydis Core Latest (11.5.0) @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -633,8 +641,8 @@

    Python Module Index

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

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -677,8 +697,8 @@

    Versions

  • - - + + diff --git a/v10.0.0/.buildinfo b/v10.0.0/.buildinfo index dc88d5501..1be167ac3 100644 --- a/v10.0.0/.buildinfo +++ b/v10.0.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: 6a448ba5404e229b3e351f25576bc924 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 6339e715eff6c57c08cd559f58d99c71 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v10.0.0/_static/basic.css b/v10.0.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v10.0.0/_static/basic.css +++ b/v10.0.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.0.0/_static/doctools.js b/v10.0.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v10.0.0/_static/doctools.js +++ b/v10.0.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.0.0/_static/language_data.js b/v10.0.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v10.0.0/_static/language_data.js +++ b/v10.0.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.0.0/_static/searchtools.js b/v10.0.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v10.0.0/_static/searchtools.js +++ b/v10.0.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.0.0/changelog.html b/v10.0.0/changelog.html index aa1457cfc..bf9f0ffc1 100644 --- a/v10.0.0/changelog.html +++ b/v10.0.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -511,7 +519,7 @@

    9.3.0 13th December 2022

    @@ -793,7 +801,7 @@

    - + diff --git a/v10.0.0/development.html b/v10.0.0/development.html index 2b73e1eb7..fc0ba73b4 100644 --- a/v10.0.0/development.html +++ b/v10.0.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v10.0.0/genindex.html b/v10.0.0/genindex.html index aa1a4e77a..19d451aca 100644 --- a/v10.0.0/genindex.html +++ b/v10.0.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v10.0.0 + Index - Pydis Core v10.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -483,6 +491,12 @@

    _

    +
  • __pydantic_computed_fields__ (PasteFile attribute) + +
  • __pydantic_core_schema__ (PasteFile attribute) @@ -509,6 +523,12 @@

    _

  • +
  • __pydantic_fields__ (PasteFile attribute) + +
  • __pydantic_fields_set__ (PasteFile attribute) @@ -739,22 +759,10 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PasteFile attribute) - -
  • model_config (PasteFile attribute)
  • -
  • model_fields (PasteFile attribute) - -
  • @@ -1088,7 +1096,7 @@

    W

    - + diff --git a/v10.0.0/index.html b/v10.0.0/index.html index 0f345b944..bc98f1a65 100644 --- a/v10.0.0/index.html +++ b/v10.0.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -549,7 +557,7 @@

    Extras - + diff --git a/v10.0.0/index_redirect.html b/v10.0.0/index_redirect.html index 2980e9e9d..73a74fca2 100644 --- a/v10.0.0/index_redirect.html +++ b/v10.0.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v10.0.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v10.0.0/objects.inv b/v10.0.0/objects.inv index 8e8eebc63aaf1072f447d710f0c87acfb76c2a71..828918549d8a223f3fc0a55fd641b93a2fe29623 100644 GIT binary patch delta 1527 zcmVrOyi(R?v zM|U~l41_rzd-n)VK*mm3Cyqz~H9)kCp22h^vcb=1a3^xi(wbRiXv#b=f0Y;p>hfxK zirWXu5JEy{8wxLroW8h%=22H&Faw_7QZWlllWg5s*s@&5u-7`r_O|1i zuqC;t7P-+f6VXA-*05VaeLY_f&Yu$1*{S_$SG%EUH2hmaO{B(9yJh;r_oqfQJc zAM3z?Ih>&3S5ye#xcMw(5%XCJ+Ne%!=v{*KJyK&rcwmF;D2eT5!p^FJM5=9n@WmMb zw-zg5glQ^CH;IB6o5MI0DX?o5t9yg&0E^_Yd=W_H3t^1%rR1bgf8jw)YDC9Fb{p4; zBquJdPE>i6cwv?!Go)e8K6z&jF{Xz0gf~aU%@Y6@+~)Em&Qi|Y3bXd#NPAH|lR$Z^ zmkr$JN$iS@Id*Gl4)J^LdwF+}=YREDZ|X|0 zandL{k%~8{j&hVqgR;(;A7&EhjUuJmJvS|0V4y727~!{5Q~dtwCz)M6K26Ev?LSjQ z4%)(opqaVWXU0*d`HmFsVDA{nhAMwu1ZHZCVvEecSy@xXHZE(~u?@?5S51fEKNqHwla?*dRv<`INgwE1bD!cXH!7Hf2cvDwsJ^-5r5xX+}W$C@48e74FV#vg=%w`(P?Wu*M#S1d` z#gR7gr&vbrJB(dtE*DO!W)Q>1{-$eJS6`E_br&Px9)#3coQpmY7*DdgcJ7}-Au`UAu{2Oj55cR7d-_wkhPGc+l%Ut z0_DC4kOkeIt?Jb6pQeN}*Ul9Qj($3E9P0fy7GbR;X#bw#IN#~wVi?|1*D${f{2Lwy_TBavzO{o|xcBS>v#s6c dMRPmQKvlGA4lED)iZPGH|1+9E@IM7GLN5fZ>*fFe delta 1530 zcmV!DJ~}N%`CX6|kK&N^uBBBj7+T&VllE>U^UF^zT zKf22aXCTaR-@8X}0y1{OI&nk_r~#s7^bDpWk#&APgFBI9me$NFLsRB~f2qVUP?uM; zTg+57F}+~e**O&!6NXO3jDdsc8#M8*ms1hfbh`keDAPceQspZx(>;@<)I_VkF{SR? z7It{ghzfpX(375X(5cOFU?O8chNlk#_q)y7;I&cR&@&tDeSR;OIp(bj0h*?KOV(06 z!BFedUjyf@* z)>sDy%;5wLzoJ3_$IWLUimM;RSd?AcczLcC4e=0nPNsZ{Z%WmU3 zk>td!)rl(i5--ehWQH`%*(dMJA;#3up77=SY5LJc-?rF~^3M<`DnNeJ}4W^1N`t;ur*3D!C^4%_48BO@UVC9Tw)cDq;T(?Igc& zxuE8KCzPf0`iCO;+JgVr>G>&%#91^D*nKI4a|PV!u|T8*RWoI!a3ej)^F-c zuyN8TI+2PusE%@!NrSSBF+a>C&>KZcwR>(_yud(Ns4>ECr>6M*)lV|JdVHFa$J>9V zh#a(q4M8(=twUKxnC8Rdvt^djgj=^pJWR$c2K#fAbvD~rS`a`m7mI!KpGBu#Z zZE^uTk201gE;s(rD88oeG)nLHXs*Qi(^r}sTVNO1Iwe4tBp!Qr<~_k(~6ptOMOQp|doV%FgK>yn-5xH+9A21F&fju`4y- zdzguMM2clpkiaYI0ckGje=u5z-P}G-9_BaX_UrfCC(HxU8u}5~&kytatEZ>w4VgUL zOv!xuW%{!>@cGq`eqmh}Y7K>b9r7mbw{lJPvAD#&5qZyn26yKhDGX(QLL=YOb)h=p zW#GqYA}XS?Q0v?zgz|F}m7OpUjXi4)#l&s8rp`iEme(7qu~jN4hD`j*Y>Ktqo?0AQ zyaaP!6=@THie==!wb*s$a^a+E1~F{xZ@PB1^ELTecQN8lMwEv)HR(UXC(y>;L|{)S zOvE+x;c0X8%s<#+_f9o!TH?fkZCUGrIIB}oK&6NBXA`{-oD057CVN+loSqn+J zy{P^uQ0@x{SD5WCMR zj>0smoWrUW99UGxvEJ5Q_|07go_bddTD>$jEE|ERToi>{t1JzF%SPZUp>jTdzO}%SM38#WCpn$$Qx73XW!^7>2jhHOwyqf55}Qz6+1xTRW(^drusg gZEctr&2XTBs%X^_99Z-fV;+nDXEcG}f4}uN6U|cdw*UYD diff --git a/v10.0.0/output/pydis_core.async_stats.html b/v10.0.0/output/pydis_core.async_stats.html index 769de8396..3b12b9314 100644 --- a/v10.0.0/output/pydis_core.async_stats.html +++ b/v10.0.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v10.0.0/output/pydis_core.exts.html b/v10.0.0/output/pydis_core.exts.html index a83a86668..e946974a5 100644 --- a/v10.0.0/output/pydis_core.exts.html +++ b/v10.0.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v10.0.0/output/pydis_core.html b/v10.0.0/output/pydis_core.html index 5384d9c56..f067372fa 100644 --- a/v10.0.0/output/pydis_core.html +++ b/v10.0.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -579,7 +587,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -593,7 +601,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -606,7 +614,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -616,7 +624,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -834,7 +842,7 @@

    Submodules - + diff --git a/v10.0.0/output/pydis_core.site_api.html b/v10.0.0/output/pydis_core.site_api.html index 4ec474c77..5001af7b7 100644 --- a/v10.0.0/output/pydis_core.site_api.html +++ b/v10.0.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

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

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.caching.html b/v10.0.0/output/pydis_core.utils.caching.html index e192539d0..c8eb7a53f 100644 --- a/v10.0.0/output/pydis_core.utils.caching.html +++ b/v10.0.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.channel.html b/v10.0.0/output/pydis_core.utils.channel.html index 727250fcc..673768093 100644 --- a/v10.0.0/output/pydis_core.utils.channel.html +++ b/v10.0.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.commands.html b/v10.0.0/output/pydis_core.utils.commands.html index 7cea8935b..e2ab9a930 100644 --- a/v10.0.0/output/pydis_core.utils.commands.html +++ b/v10.0.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.cooldown.html b/v10.0.0/output/pydis_core.utils.cooldown.html index 216c39d5b..94fc8c7d0 100644 --- a/v10.0.0/output/pydis_core.utils.cooldown.html +++ b/v10.0.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.error_handling.html b/v10.0.0/output/pydis_core.utils.error_handling.html index 55be2004a..d47267853 100644 --- a/v10.0.0/output/pydis_core.utils.error_handling.html +++ b/v10.0.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.function.html b/v10.0.0/output/pydis_core.utils.function.html index f04fbd968..d4dc07e46 100644 --- a/v10.0.0/output/pydis_core.utils.function.html +++ b/v10.0.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

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

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

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

    +

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

    @@ -577,7 +585,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.html b/v10.0.0/output/pydis_core.utils.html index 5dbd8f426..007af9217 100644 --- a/v10.0.0/output/pydis_core.utils.html +++ b/v10.0.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -556,10 +564,12 @@

    SubmodulesPasteFile.__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__
  • @@ -568,19 +578,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -696,7 +704,7 @@

    Submodules - + diff --git a/v10.0.0/output/pydis_core.utils.interactions.html b/v10.0.0/output/pydis_core.utils.interactions.html index 9c9dc137f..b86ab1c9a 100644 --- a/v10.0.0/output/pydis_core.utils.interactions.html +++ b/v10.0.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -528,7 +536,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -617,7 +625,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.logging.html b/v10.0.0/output/pydis_core.utils.logging.html index 077c1b68c..f4ad835d3 100644 --- a/v10.0.0/output/pydis_core.utils.logging.html +++ b/v10.0.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.members.html b/v10.0.0/output/pydis_core.utils.members.html index f3c386189..7a1f63ec0 100644 --- a/v10.0.0/output/pydis_core.utils.members.html +++ b/v10.0.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.paste_service.html b/v10.0.0/output/pydis_core.utils.paste_service.html index e03fc4a3a..c1963ef45 100644 --- a/v10.0.0/output/pydis_core.utils.paste_service.html +++ b/v10.0.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,9 +464,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"

    @@ -480,9 +488,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:94268011014544', '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:94345273091904', '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.

    @@ -505,6 +519,13 @@

    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]
    @@ -538,13 +559,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055bc7b4f6990,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "lexer": SerField {                         key_py: Py(                             0x00007f064025c5b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f063ffc4730,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007f064056b970,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f0641356ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f06413530c0,                                         ),                                     ),                                     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(             0x000055ce787d2740,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "lexer": SerField {                         key_py: Py(                             0x00007fab99825030,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fab9958d230,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007fab9a956ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fab9a9530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007fab99b6ba30,                         ),                         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: 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(                                 0x00007f063ca53cf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f063ca53df0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f064056b970,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f063ca53cb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f063ca53c30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0641356ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f06413530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f063f1be890,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f063ca53bf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f063ca53b30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f064025c5b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f063ffc4730,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f063f1be890,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055bc7b4f6990,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f063f1be890,         ),         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(                                 0x00007fab94274af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fab94274ef0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fab99b6ba30,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fab94274d70,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fab942750b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fab9a956ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fab9a9530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fab987663c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fab94274bf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fab94274b70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fab99825030,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fab9958d230,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fab987663c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055ce787d2740,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fab987663c0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -554,26 +575,12 @@

    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.

    -
    -
    @@ -584,8 +591,8 @@
    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.

    @@ -607,9 +614,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.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:94268009740704', '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:94345272944816', '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.

    @@ -632,6 +645,13 @@

    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]
    @@ -665,13 +685,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055bc7b3bf9a0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f06412ac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f063ce45230,                         ),                         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(             0x000055ce787ae8b0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007fab9a8ac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007fab9532f230,                         ),                         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(                                 0x00007f063d8a0570,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f063d45e130,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f06412ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f063d561570,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f063ca60c70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f063ce45230,                         ),                         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(             0x000055bc7b3bf9a0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f063f1be890,         ),         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(                                 0x00007fab95a5a830,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fab96ec05f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fab9a8ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fab95beacf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fab95bea630,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fab9532f230,                         ),                         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(             0x000055ce787ae8b0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fab987663c0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -681,46 +701,32 @@

    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.

    @@ -731,15 +737,15 @@
    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:
    @@ -816,10 +822,12 @@
  • 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__
  • @@ -828,19 +836,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -870,7 +876,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.regex.html b/v10.0.0/output/pydis_core.utils.regex.html index 478a44e28..58053750a 100644 --- a/v10.0.0/output/pydis_core.utils.regex.html +++ b/v10.0.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v10.0.0/output/pydis_core.utils.scheduling.html b/v10.0.0/output/pydis_core.utils.scheduling.html index ef030c3c5..298433c52 100644 --- a/v10.0.0/output/pydis_core.utils.scheduling.html +++ b/v10.0.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

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

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v10.0.0/py-modindex.html b/v10.0.0/py-modindex.html index ba5be23ea..c0563ea63 100644 --- a/v10.0.0/py-modindex.html +++ b/v10.0.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v10.0.0 + Python Module Index - Pydis Core v10.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v10.0.0/search.html b/v10.0.0/search.html index d2f33fe23..73645cf48 100644 --- a/v10.0.0/search.html +++ b/v10.0.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v10.0.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v10.0.0/searchindex.js b/v10.0.0/searchindex.js index 73b9d8151..858f7df49 100644 --- a/v10.0.0/searchindex.js +++ b/v10.0.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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x000055bc7b3bf9a0": 17, "0x000055bc7b4f6990": 17, "0x00007f063ca53b30": 17, "0x00007f063ca53bf0": 17, "0x00007f063ca53c30": 17, "0x00007f063ca53cb0": 17, "0x00007f063ca53cf0": 17, "0x00007f063ca53df0": 17, "0x00007f063ca60c70": 17, "0x00007f063ce45230": 17, "0x00007f063d45e130": 17, "0x00007f063d561570": 17, "0x00007f063d8a0570": 17, "0x00007f063f1be890": 17, "0x00007f063ffc4730": 17, "0x00007f064025c5b0": 17, "0x00007f064056b970": 17, "0x00007f06412ac2a0": 17, "0x00007f06413530c0": 17, "0x00007f0641356ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "94268009740704": 17, "94268011014544": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 17, 19], "functool": [13, 17], "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "get": [0, 3, 6, 9, 16], "get_json_schema_update_func": 17, "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "json_schema_update_func": 17, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": [2, 17], "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "map": 17, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_computed_field": [7, 17], "model_config": [7, 17], "model_field": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modify_model_json_schema": 17, "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "partial": 17, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_annotation_funct": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x000055ce787ae8b0": 17, "0x000055ce787d2740": 17, "0x00007fab94274af0": 17, "0x00007fab94274b70": 17, "0x00007fab94274bf0": 17, "0x00007fab94274d70": 17, "0x00007fab94274ef0": 17, "0x00007fab942750b0": 17, "0x00007fab9532f230": 17, "0x00007fab95a5a830": 17, "0x00007fab95bea630": 17, "0x00007fab95beacf0": 17, "0x00007fab96ec05f0": 17, "0x00007fab987663c0": 17, "0x00007fab9958d230": 17, "0x00007fab99825030": 17, "0x00007fab99b6ba30": 17, "0x00007fab9a8ac2a0": 17, "0x00007fab9a9530c0": 17, "0x00007fab9a956ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "94345272944816": 17, "94345273091904": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_computed_fields__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "generic_origin": 17, "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_config": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v10.0.0/versions.html b/v10.0.0/versions.html index 0ba6b923b..e912d4660 100644 --- a/v10.0.0/versions.html +++ b/v10.0.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v10.0.0 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v10.1.0/.buildinfo b/v10.1.0/.buildinfo index 7031ac78e..5bb080265 100644 --- a/v10.1.0/.buildinfo +++ b/v10.1.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: c81e5477935954d99b841a40555b8ea9 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 5e01305b1c3520724fe82b2d4b7dc68a tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v10.1.0/_static/basic.css b/v10.1.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v10.1.0/_static/basic.css +++ b/v10.1.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.1.0/_static/doctools.js b/v10.1.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v10.1.0/_static/doctools.js +++ b/v10.1.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.1.0/_static/language_data.js b/v10.1.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v10.1.0/_static/language_data.js +++ b/v10.1.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.1.0/_static/searchtools.js b/v10.1.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v10.1.0/_static/searchtools.js +++ b/v10.1.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.1.0/changelog.html b/v10.1.0/changelog.html index 0484b66a6..b2372388f 100644 --- a/v10.1.0/changelog.html +++ b/v10.1.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -516,7 +524,7 @@

    9.3.0 13th December 2022

    @@ -798,7 +806,7 @@

    - + diff --git a/v10.1.0/development.html b/v10.1.0/development.html index 0401098a9..86937e5bb 100644 --- a/v10.1.0/development.html +++ b/v10.1.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v10.1.0/genindex.html b/v10.1.0/genindex.html index d1cf70dc5..71578a572 100644 --- a/v10.1.0/genindex.html +++ b/v10.1.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v10.1.0 + Index - Pydis Core v10.1.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -483,6 +491,12 @@

    _

    +
  • __pydantic_computed_fields__ (PasteFile attribute) + +
  • __pydantic_core_schema__ (PasteFile attribute) @@ -509,6 +523,12 @@

    _

  • +
  • __pydantic_fields__ (PasteFile attribute) + +
  • __pydantic_fields_set__ (PasteFile attribute) @@ -739,22 +759,10 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PasteFile attribute) - -
  • model_config (PasteFile attribute)
  • -
  • model_fields (PasteFile attribute) - -
  • @@ -1090,7 +1098,7 @@

    W

    - + diff --git a/v10.1.0/index.html b/v10.1.0/index.html index a9684d355..77bc9c1b5 100644 --- a/v10.1.0/index.html +++ b/v10.1.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -550,7 +558,7 @@

    Extras - + diff --git a/v10.1.0/index_redirect.html b/v10.1.0/index_redirect.html index ef8982d9d..400309b6d 100644 --- a/v10.1.0/index_redirect.html +++ b/v10.1.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v10.1.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v10.1.0/objects.inv b/v10.1.0/objects.inv index c168255a09f572b45f05cb9c7067c761ebf8a3ff..7cacf2d095821bf0916facd587c3a4226a5194f8 100644 GIT binary patch delta 1536 zcmV+b2LJiv4&V-uw*%E`wUN4$f69TnKq*+u4fNoO8cddwm6XpNKwhX_n3*t)_b`c% zhAOMmR4JLS5qOOtHP%l*gwQ2ykcBk+aqHsX@Rn$|k9YX?P{57h4RorvA|l#Qqdif& zCV4Dk*Tt^f^`pC-a0bF05950TCm>@dtP@A1fEplLM$ce664^NFGq@8ue`aaTtTHrZ z9+*lD19f>dyTwdZ6VnTZot;x*F+19+m@#lLeS;=me>oL#O}7gmiZTskDOK)ineLe+ zr6yYSjVX2Cwy?u{MpW=CgP!!9gHCO_1QQtpa(nt9aKFo}4PG174L!5Fy)W+NGRLA- zAwbiVZ^>GUXV{Y5Q;Rfff0>Espk-^=t)LN&RyJ=#X;{koHLV2m4P{~*p7Tr#JQCMV zQA9cS&QT`@l#g{_z?^f?@GB|=aNK+rvWWRC1#MI(HuNsR`W~qQ5JHR4&EMEjtfB8ZfqkJhjDO7k6 zlN!~2$P8(ivrpccLyW1RJ>kt!aq|Sg1-H38iL;b5x5BLb zH_~2Ik2g@>>SY7Bc@n!KV~*WgnnV1a`(EB%GMn*y!OJ1op? zRl@!o+DU%lazXi5Ub?nB*3k%P9dA!uf<^_g+hX}%+cJJ>r0vY|?U7lD}?qu3%da8}k-v5m`Gc5K74 zZ(}M9i`*-#)a}Tlkz2BuEE({4ECVPjVYkFJ9fv;;$+f&-VE!1aJT+2{V}5wG+t4V? zBl=uPtzn!gPe6dOzjoiJE`X1sL`oG1Lxeqm>eMD8<0v7u8E@%TTfi9H_D@DR`w!G8 z^c%~69lNMAB)evbpe9oTTHNMVz^$NIvSa|x>ebSj6Q_!1_~fa^JW>Kx*I<++>W~6M zCsOTt44X`~>M(FZ)uzM1NmZK)!zEU2>?8Z(zzJ5H3Zo=hZHkPNXtgRbXtLF+!GH-@ z8~?ybSDOmMCSElShE2Y9!~-W_Pg34Vk(~5@Dy;+EH=(mMmCA1Yckl{oFy7SFtPjAZ zLBy`2eeXdh;_)e#Q9%N)sE4Pyr2nC5A$D{7IC+@gklU}{Z=Wy^OKa#yU_U?1@2{So zrZ;5ra5E+I>6hux-oWQqKl+7rxu7)^_EpK7xZlb(*~j7%_qOCc2O8X+cBC+r35|Sz zgV%-XgcpS$r-`VD$|A0FlMu?!O;mQmKs5H`ITRDOS&KRgSy_5-sK!>XpcpdoE3=u# za(imwXz_x~eY~Vi{3(`^`wnB*nahQfsu{$vvA^ls)z#PJYu&|&I~h?P-qfW32%kV3 zdlP|8)R~Cw4&VSdUD)+tA*$YD{H?ox4Bo^_o|?q9G~vX3kvCKFUx-Y2BcseQGq=fqd>VY0%SqAXRA7O`==@4%(Zhxf}@{K9EW=UjYU}N2-?4=I1ae`;v$^B zwnFSaxi|{bsDKWuR&cLQ>A3SN8mMr)Yx_UA%re&gDj-k_gfbShqrjUeZ0fBhXQU4Z=h4X6%o;f8tw7Y zHOXThyDoO+t{>gygfkH4xEtRiH~|?uVVyW41=Il1GI|Enk;wW{pTV8Te=$pIW|g5S z^T1SM7^usu*)3+OnwVZN?ChKhi-~BbV#dJ1^bMML*UPDhYr0(kQIu&QOR4gemg$~J zQfi`A-$8UMB3U z8c3wt_6J`-O?WL+3L{KYNxDfC#Mm6hnMi@%t61F|WCvIzkL8O%e=1)HW0Wr?Cxr?R zVp1bI?y}psP9!;TYjvW^y~GQ%9GM{vbN0zQbBHlDv?shd%5RhT6@wR+jW1y5pkWX!Rlr8&gEa^K6li##t}us8-mmP)QkezVBiYEz(-;8Rc}$?vR3 zA|?zd8tqoEcRK0={8Q49zR6EX_nvsf|;3Tu^uJ3FM6lRGw2++uv#@;8OjDja{nLFPpj&Q$z=rybt zpm2`2l=Yjs5^S6_icX~B4XUFYWzwMRV$2US3G_yhQth6b7Vkn(7HW*}+o>sjfAy2h zt{$JJsbU+Kwd~l2 zW#7hB7#6u#R;i1~BatgBVZ+gyj>Dh3!&*!pm_G(9PmNUL%ssr?5HJe!k^zskl^MtG z2?$X3*9Jc7JlH5oq*Q@0MA#FUPHiL}M+vFTcYG`U!^WLVC@?z4KCbmmm4q8UD2sxgn0GSxL0C2eX~ zVA#~DRfmDor#2l1PNCXV7%q)!V;?w`YExm9bgE5}QBtZ_MFvf)S~VCjwQA!ZIK669 zVb~O_ropgj){c0rRBKOxfzqvayo25ElazN-e`X7uIVmG&slZW{Yx&8Y6_6hSqw1$2J_VdI1 z{_5#zdP61;H&Zg7ewqI44Sas}qhDB;g<3;lUx&Pj`>kA)eJn07k+b>fv4UTgH|t%4a-L0DHlcI)+$TGf3gwy zN;y%$^|H^fY6ZT!I~;VaMlY;d0j~B9L(oz!7dHC>UtJf5rcnbHR;>V2BZ7h7t0@WV zJ%Oh*0>e;MOY;!m<&da&Zj$e)1kRx`Lw_DTd)Kbq({&z#s51u - + async_stats - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v10.1.0/output/pydis_core.exts.html b/v10.1.0/output/pydis_core.exts.html index 92b9cdeff..8bfae6efb 100644 --- a/v10.1.0/output/pydis_core.exts.html +++ b/v10.1.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v10.1.0/output/pydis_core.html b/v10.1.0/output/pydis_core.html index 3026aa713..f9fd52a8c 100644 --- a/v10.1.0/output/pydis_core.html +++ b/v10.1.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -578,7 +586,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -591,7 +599,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -605,7 +613,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -618,7 +626,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -628,7 +636,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -847,7 +855,7 @@

    Submodules - + diff --git a/v10.1.0/output/pydis_core.site_api.html b/v10.1.0/output/pydis_core.site_api.html index 0836e1fce..5f7b44e87 100644 --- a/v10.1.0/output/pydis_core.site_api.html +++ b/v10.1.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

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

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.caching.html b/v10.1.0/output/pydis_core.utils.caching.html index 404c2fe33..d1a40bacf 100644 --- a/v10.1.0/output/pydis_core.utils.caching.html +++ b/v10.1.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.channel.html b/v10.1.0/output/pydis_core.utils.channel.html index 50eec1d50..f064d241a 100644 --- a/v10.1.0/output/pydis_core.utils.channel.html +++ b/v10.1.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.commands.html b/v10.1.0/output/pydis_core.utils.commands.html index aeb08cb23..31e358f8c 100644 --- a/v10.1.0/output/pydis_core.utils.commands.html +++ b/v10.1.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.cooldown.html b/v10.1.0/output/pydis_core.utils.cooldown.html index c4b1d72b9..000f7d3fd 100644 --- a/v10.1.0/output/pydis_core.utils.cooldown.html +++ b/v10.1.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.error_handling.html b/v10.1.0/output/pydis_core.utils.error_handling.html index d58d452ff..e0f4b7422 100644 --- a/v10.1.0/output/pydis_core.utils.error_handling.html +++ b/v10.1.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.function.html b/v10.1.0/output/pydis_core.utils.function.html index 075dbaac6..db92a29d1 100644 --- a/v10.1.0/output/pydis_core.utils.function.html +++ b/v10.1.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

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

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

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

    +

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

    @@ -577,7 +585,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.html b/v10.1.0/output/pydis_core.utils.html index b00403c85..c7053d3c7 100644 --- a/v10.1.0/output/pydis_core.utils.html +++ b/v10.1.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -556,10 +564,12 @@

    SubmodulesPasteFile.__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__
  • @@ -568,19 +578,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -696,7 +704,7 @@

    Submodules - + diff --git a/v10.1.0/output/pydis_core.utils.interactions.html b/v10.1.0/output/pydis_core.utils.interactions.html index bdef27dce..3355946eb 100644 --- a/v10.1.0/output/pydis_core.utils.interactions.html +++ b/v10.1.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -528,7 +536,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -617,7 +625,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.logging.html b/v10.1.0/output/pydis_core.utils.logging.html index 0456e6d26..00ce0ec6a 100644 --- a/v10.1.0/output/pydis_core.utils.logging.html +++ b/v10.1.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.members.html b/v10.1.0/output/pydis_core.utils.members.html index 57e10baca..ee27dad32 100644 --- a/v10.1.0/output/pydis_core.utils.members.html +++ b/v10.1.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.paste_service.html b/v10.1.0/output/pydis_core.utils.paste_service.html index 89c33ae61..192680b2d 100644 --- a/v10.1.0/output/pydis_core.utils.paste_service.html +++ b/v10.1.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,9 +464,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"

    @@ -480,9 +488,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:93927903547744', '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:93944626765664', '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.

    @@ -505,6 +519,13 @@

    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]
    @@ -538,13 +559,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000556d4b535160,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f9ba39679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f9ba3664370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9ba33cc4b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f9ba4756ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9ba47530c0,                                         ),                                     ),                                     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(             0x00005571301b5f60,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007f370d556ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f370d5530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007f370c7679b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f370c4a4e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f370c209030,                                         ),                                     ),                                     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(                                 0x00007f9b9ed67c30,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f9b9ed67d30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9ba39679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f9b9ed67bf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f9b9ed67b70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9ba4756ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9ba47530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9ba25d2470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f9b9ed67b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f9b9ed67a70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9ba3664370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9ba33cc4b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9ba25d2470,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000556d4b535160,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f9ba25d2470,         ),         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(                                 0x00007f3701f1ccf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f3701f1cbf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f370c7679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f3701f1c9f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f3701f1ce30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f370d556ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f370d5530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f370b4463c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f3701f1ccb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f3701f1caf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f370c4a4e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f370c209030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f370b4463c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005571301b5f60,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f370b4463c0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -554,26 +575,12 @@

    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.

    -
    -
    @@ -584,8 +591,8 @@
    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.

    @@ -607,9 +614,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.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:93927902270016', '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:93944626621760', '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.

    @@ -632,6 +645,13 @@

    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]
    @@ -665,13 +685,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000556d4b3fd240,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007f9b9f278730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007f9ba46ac2a0,                         ),                         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(             0x0000557130192d40,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f370d4ac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f3702aab070,                         ),                         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(                                 0x00007f9b9f9c3bf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f9b9f9c3ab0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9ba46ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f9b9ed68cb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f9b9ed68330,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9b9f278730,                         ),                         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(             0x0000556d4b3fd240,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f9ba25d2470,         ),         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(                                 0x00007f37083ae730,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f3709b5c6f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f370d4ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f370811f030,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f3701f1d770,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3702aab070,                         ),                         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(             0x0000557130192d40,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f370b4463c0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -681,46 +701,32 @@

    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.

    @@ -731,15 +737,15 @@
    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:
    @@ -816,10 +822,12 @@
  • 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__
  • @@ -828,19 +836,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -870,7 +876,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.regex.html b/v10.1.0/output/pydis_core.utils.regex.html index f411ff990..6723530a8 100644 --- a/v10.1.0/output/pydis_core.utils.regex.html +++ b/v10.1.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v10.1.0/output/pydis_core.utils.scheduling.html b/v10.1.0/output/pydis_core.utils.scheduling.html index a86cee344..66f4a58c5 100644 --- a/v10.1.0/output/pydis_core.utils.scheduling.html +++ b/v10.1.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

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

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v10.1.0/py-modindex.html b/v10.1.0/py-modindex.html index aa024d164..24fada325 100644 --- a/v10.1.0/py-modindex.html +++ b/v10.1.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v10.1.0 + Python Module Index - Pydis Core v10.1.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v10.1.0/search.html b/v10.1.0/search.html index e457bb014..63d383cad 100644 --- a/v10.1.0/search.html +++ b/v10.1.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v10.1.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v10.1.0/searchindex.js b/v10.1.0/searchindex.js index 25db2589c..57983aa49 100644 --- a/v10.1.0/searchindex.js +++ b/v10.1.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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x0000556d4b3fd240": 17, "0x0000556d4b535160": 17, "0x00007f9b9ed67a70": 17, "0x00007f9b9ed67b30": 17, "0x00007f9b9ed67b70": 17, "0x00007f9b9ed67bf0": 17, "0x00007f9b9ed67c30": 17, "0x00007f9b9ed67d30": 17, "0x00007f9b9ed68330": 17, "0x00007f9b9ed68cb0": 17, "0x00007f9b9f278730": 17, "0x00007f9b9f9c3ab0": 17, "0x00007f9b9f9c3bf0": 17, "0x00007f9ba25d2470": 17, "0x00007f9ba33cc4b0": 17, "0x00007f9ba3664370": 17, "0x00007f9ba39679f0": 17, "0x00007f9ba46ac2a0": 17, "0x00007f9ba47530c0": 17, "0x00007f9ba4756ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "93927902270016": 17, "93927903547744": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 17, 19], "functool": [13, 17], "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "get": [0, 3, 6, 9, 16], "get_json_schema_update_func": 17, "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "json_schema_update_func": 17, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": [2, 17], "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "map": 17, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_computed_field": [7, 17], "model_config": [7, 17], "model_field": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modify_model_json_schema": 17, "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "partial": 17, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_annotation_funct": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x0000557130192d40": 17, "0x00005571301b5f60": 17, "0x00007f3701f1c9f0": 17, "0x00007f3701f1caf0": 17, "0x00007f3701f1cbf0": 17, "0x00007f3701f1ccb0": 17, "0x00007f3701f1ccf0": 17, "0x00007f3701f1ce30": 17, "0x00007f3701f1d770": 17, "0x00007f3702aab070": 17, "0x00007f370811f030": 17, "0x00007f37083ae730": 17, "0x00007f3709b5c6f0": 17, "0x00007f370b4463c0": 17, "0x00007f370c209030": 17, "0x00007f370c4a4e70": 17, "0x00007f370c7679b0": 17, "0x00007f370d4ac2a0": 17, "0x00007f370d5530c0": 17, "0x00007f370d556ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "93944626621760": 17, "93944626765664": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_computed_fields__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "generic_origin": 17, "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_config": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v10.1.0/versions.html b/v10.1.0/versions.html index e34e586a2..11365c84c 100644 --- a/v10.1.0/versions.html +++ b/v10.1.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v10.1.0 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v10.2.0/.buildinfo b/v10.2.0/.buildinfo index 593d41ec1..c97af9d87 100644 --- a/v10.2.0/.buildinfo +++ b/v10.2.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: e38090bf82083a840b87116d6f57b97f +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: c9e798fe23edd14f9bb806dc3350e282 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v10.2.0/_static/basic.css b/v10.2.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v10.2.0/_static/basic.css +++ b/v10.2.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.2.0/_static/doctools.js b/v10.2.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v10.2.0/_static/doctools.js +++ b/v10.2.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.2.0/_static/language_data.js b/v10.2.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v10.2.0/_static/language_data.js +++ b/v10.2.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.2.0/_static/searchtools.js b/v10.2.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v10.2.0/_static/searchtools.js +++ b/v10.2.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.2.0/changelog.html b/v10.2.0/changelog.html index 96a45b2ce..b937ce34f 100644 --- a/v10.2.0/changelog.html +++ b/v10.2.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -521,7 +529,7 @@

    9.3.0 13th December 2022

    @@ -803,7 +811,7 @@

    - + diff --git a/v10.2.0/development.html b/v10.2.0/development.html index 81191e8ff..b306a6f95 100644 --- a/v10.2.0/development.html +++ b/v10.2.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v10.2.0/genindex.html b/v10.2.0/genindex.html index 18f2a54d0..6454e4811 100644 --- a/v10.2.0/genindex.html +++ b/v10.2.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v10.2.0 + Index - Pydis Core v10.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -483,6 +491,12 @@

    _

    +
  • __pydantic_computed_fields__ (PasteFile attribute) + +
  • __pydantic_core_schema__ (PasteFile attribute) @@ -509,6 +523,12 @@

    _

  • +
  • __pydantic_fields__ (PasteFile attribute) + +
  • __pydantic_fields_set__ (PasteFile attribute) @@ -739,22 +759,10 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PasteFile attribute) - -
  • model_config (PasteFile attribute)
  • -
  • model_fields (PasteFile attribute) - -
  • @@ -1090,7 +1098,7 @@

    W

    - + diff --git a/v10.2.0/index.html b/v10.2.0/index.html index 7df4d75f1..2d5a71620 100644 --- a/v10.2.0/index.html +++ b/v10.2.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -550,7 +558,7 @@

    Extras - + diff --git a/v10.2.0/index_redirect.html b/v10.2.0/index_redirect.html index d67ec19cf..4e15c48e5 100644 --- a/v10.2.0/index_redirect.html +++ b/v10.2.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v10.2.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v10.2.0/objects.inv b/v10.2.0/objects.inv index 166a90827c5ac13d1636f8e11d6e9d010b0f3663..75d117a25b9360129dcecedd5e3f5ee7ee9c522a 100644 GIT binary patch delta 1536 zcmV+b2LJiv4&V-uw*%E`wUN4$f69TnKq*+u4fNoO8cddwm6XpNKwhX_n3*t)_b`c% zhAOMmR4JLS5qOOtHP%l*gwQ2ykcBk+aqHsX@Rn$|k9YX?P{57h4RorvA|l#Qqdif& zCV4Dk*Tt^f^`pC-a0bF05950TCm>@dtP@A1fEplLM$ce664^NFGq@8ue`aaTtTHrZ z9+*lD19f>dyTwdZ6VnTZot;x*F+19+m@#lLeS;=me>oL#O}7gmiZTskDOK)ineLe+ zr6yYSjVX2Cwy?u{MpW=CgP!!9gHCO_1QQtpa(nt9aKFo}4PG174L!5Fy)W+NGRLA- zAwbiVZ^>GUXV{Y5Q;Rfff0>Espk-^=t)LN&RyJ=#X;{koHLV2m4P{~*p7Tr#JQCMV zQA9cS&QT`@l#g{_z?^f?@GB|=aNK+rvWWRC1#MI(HuNsR`W~qQ5JHR4&EMEjtfB8ZfqkJhjDO7k6 zlN!~2$P8(ivrpccLyW1RJ>kt!aq|Sg1-H38iL;b5x5BLb zH_~2Ik2g@>>SY7Bc@n!KV~*WgnnV1a`(EB%GMn*y!OJ1op? zRl@!o+DU%lazXi5Ub?nB*3k%P9dA!uf<^_g+hX}%+cJJ>r0vY|?U7lD}?qu3%da8}k-v5m`Gc5K74 zZ(}M9i`*-#)a}Tlkz2BuEE({4ECVPjVYkFJ9fv;;$+f&-VE!1aJT+2{V}5wG+t4V? zBl=uPtzn!gPe6dOzjoiJE`X1sL`oG1Lxeqm>eMD8<0v7u8E@%TTfi9H_D@DR`w!G8 z^c%~69lNMAB)evbpe9oTTHNMVz^$NIvSa|x>ebSj6Q_!1_~fa^JW>Kx*I<++>W~6M zCsOTt44X`~>M(FZ)uzM1NmZK)!zEU2>?8Z(zzJ5H3Zo=hZHkPNXtgRbXtLF+!GH-@ z8~?ybSDOmMCSElShE2Y9!~-W_Pg34Vk(~5@Dy;+EH=(mMmCA1Yckl{oFy7SFtPjAZ zLBy`2eeXdh;_)e#Q9%N)sE4Pyr2nC5A$D{7IC+@gklU}{Z=Wy^OKa#yU_U?1@2{So zrZ;5ra5E+I>6hux-oWQqKl+7rxu7)^_EpK7xZlb(*~j7%_qOCc2O8X+cBC+r35|Sz zgV%-XgcpS$r-`VD$|A0FlMu?!O;mQmKs5H`ITRDOS&KRgSy_5-sK!>XpcpdoE3=u# za(imwXz_x~eY~Vi{3(`^`wnB*nahQfsu{$vvA^ls)z#PJYu&|&I~h?P-qfW32%kV3 zdlP|8)R~Cw4&VSdUD)+tA*$YD{H?ox4Bo^_o|?q9G~vX3kvCKFUx-Y2BcseQGq=fqd>VY0%SqAXRA7O`==@4%(Zhxf}@{K9EW=UjYU}N2-?4=I1ae`;v$^B zwnFSaxi|{bsDKWuR&cLQ>A3SN8mMr)Yx_UA%re&gDj-k_gfbShqrjUeZ0fBhXQU4Z=h4X6%o;f8tw7Y zHOXThyDoO+t{>gygfkH4xEtRiH~|?uVVyW41=Il1GI|Enk;wW{pTV8Te=$pIW|g5S z^T1SM7^usu*)3+OnwVZN?ChKhi-~BbV#dJ1^bMML*UPDhYr0(kQIu&QOR4gemg$~J zQfi`A-$8UMB3U z8c3wt_6J`-O?WL+3L{KYNxDfC#Mm6hnMi@%t61F|WCvIzkL8O%e=1)HW0Wr?Cxr?R zVp1bI?y}psP9!;TYjvW^y~GQ%9GM{vbN0zQbBHlDv?shd%5RhT6@wR+jW1y5pkWX!Rlr8&gEa^K6li##t}us8-mmP)QkezVBiYEz(-;8Rc}$?vR3 zA|?zd8tqoEcRK0={8Q49zR6EX_nvsf|;3Tu^uJ3FM6lRGw2++uv#@;8OjDja{nLFPpj&Q$z=rybt zpm2`2l=Yjs5^S6_icX~B4XUFYWzwMRV$2US3G_yhQth6b7Vkn(7HW*}+o>sjfAy2h zt{$JJsbU+Kwd~l2 zW#7hB7#6u#R;i1~BatgBVZ+gyj>Dh3!&*!pm_G(9PmNUL%ssr?5HJe!k^zskl^MtG z2?$X3*9Jc7JlH5oq*Q@0MA#FUPHiL}M+vFTcYG`U!^WLVC@?z4KCbmmm4q8UD2sxgn0GSxL0C2eX~ zVA#~DRfmDor#2l1PNCXV7%q)!V;?w`YExm9bgE5}QBtZ_MFvf)S~VCjwQA!ZIK669 zVb~O_ropgj){c0rRBKOxfzqvayo25ElazN-e`X7uIVmG&slZW{Yx&8Y6_6hSqw1$2J_VdI1 z{_5#zdP61;H&Zg7ewqI44Sas}qhDB;g<3;lUx&Pj`>kA)eJn07k+b>fv4UTgH|t%4a-L0DHlcI)+$TGf3gwy zN;y%$^|H^fY6ZT!I~;VaMlY;d0j~B9L(oz!7dHC>UtJf5rcnbHR;>V2BZ7h7t0@WV zJ%Oh*0>e;MOY;!m<&da&Zj$e)1kRx`Lw_DTd)Kbq({&z#s51u - + async_stats - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v10.2.0/output/pydis_core.exts.html b/v10.2.0/output/pydis_core.exts.html index f64d74ffa..3cf42ef47 100644 --- a/v10.2.0/output/pydis_core.exts.html +++ b/v10.2.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v10.2.0/output/pydis_core.html b/v10.2.0/output/pydis_core.html index 036ecd6e9..1a1392fee 100644 --- a/v10.2.0/output/pydis_core.html +++ b/v10.2.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -578,7 +586,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -591,7 +599,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -605,7 +613,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -618,7 +626,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -628,7 +636,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -847,7 +855,7 @@

    Submodules - + diff --git a/v10.2.0/output/pydis_core.site_api.html b/v10.2.0/output/pydis_core.site_api.html index 0f568826c..87c3d8500 100644 --- a/v10.2.0/output/pydis_core.site_api.html +++ b/v10.2.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

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

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.caching.html b/v10.2.0/output/pydis_core.utils.caching.html index 6e574c303..a0f8031dd 100644 --- a/v10.2.0/output/pydis_core.utils.caching.html +++ b/v10.2.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.channel.html b/v10.2.0/output/pydis_core.utils.channel.html index 666d25d48..e52dbcefa 100644 --- a/v10.2.0/output/pydis_core.utils.channel.html +++ b/v10.2.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.commands.html b/v10.2.0/output/pydis_core.utils.commands.html index 3c99a2391..a023e7895 100644 --- a/v10.2.0/output/pydis_core.utils.commands.html +++ b/v10.2.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.cooldown.html b/v10.2.0/output/pydis_core.utils.cooldown.html index 02ad3cf17..0c19fad31 100644 --- a/v10.2.0/output/pydis_core.utils.cooldown.html +++ b/v10.2.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.error_handling.html b/v10.2.0/output/pydis_core.utils.error_handling.html index e11d0b9d9..9e19e0451 100644 --- a/v10.2.0/output/pydis_core.utils.error_handling.html +++ b/v10.2.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.function.html b/v10.2.0/output/pydis_core.utils.function.html index 005d75f5a..57625d205 100644 --- a/v10.2.0/output/pydis_core.utils.function.html +++ b/v10.2.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

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

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

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

    +

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

    @@ -577,7 +585,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.html b/v10.2.0/output/pydis_core.utils.html index bfd12bb8c..551e75a83 100644 --- a/v10.2.0/output/pydis_core.utils.html +++ b/v10.2.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -556,10 +564,12 @@

    SubmodulesPasteFile.__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__
  • @@ -568,19 +578,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -696,7 +704,7 @@

    Submodules - + diff --git a/v10.2.0/output/pydis_core.utils.interactions.html b/v10.2.0/output/pydis_core.utils.interactions.html index b03a0236d..8c0d491d1 100644 --- a/v10.2.0/output/pydis_core.utils.interactions.html +++ b/v10.2.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -528,7 +536,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -617,7 +625,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.logging.html b/v10.2.0/output/pydis_core.utils.logging.html index 807f2e175..4a413a9af 100644 --- a/v10.2.0/output/pydis_core.utils.logging.html +++ b/v10.2.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.members.html b/v10.2.0/output/pydis_core.utils.members.html index e541b1e88..196a597b0 100644 --- a/v10.2.0/output/pydis_core.utils.members.html +++ b/v10.2.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.paste_service.html b/v10.2.0/output/pydis_core.utils.paste_service.html index 78b78abf2..322fc11dd 100644 --- a/v10.2.0/output/pydis_core.utils.paste_service.html +++ b/v10.2.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,9 +464,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"

    @@ -480,9 +488,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:94871220565808', '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:93985416844512', '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.

    @@ -505,6 +519,13 @@

    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]
    @@ -538,13 +559,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005648ed66b730,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007fec99156ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fec991530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007fec97f9c370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fec97d044b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007fec982679f0,                         ),                         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: 3,             },         ),         has_extra: false,         root_model: false,         name: "PasteFile",     }, ), definitions=[])
    +__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000557aaf6294e0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f3bea96ba30,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f3bea65d430,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3bea3c9670,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f3beb756ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3beb7530c0,                                         ),                                     ),                                     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(                                 0x00007fec8dfd7c30,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fec8dfd7d30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fec982679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fec8dfd7bf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fec8dfd7b70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fec99156ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fec991530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fec96f26580,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fec8dfd7b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fec8dfd7a70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fec97f9c370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fec97d044b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fec96f26580,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005648ed66b730,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fec96f26580,         ),         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(                                 0x00007f3be4084d70,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f3be4084c70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3bea96ba30,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f3be4084a70,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f3be4084fb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3beb756ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3beb7530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3be95de3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f3be4084d30,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f3be4084b70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3bea65d430,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3bea3c9670,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3be95de3c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000557aaf6294e0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3be95de3c0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -554,26 +575,12 @@

    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.

    -
    -
    @@ -584,8 +591,8 @@
    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.

    @@ -607,9 +614,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.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:94871220464992', '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:93985416698672', '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.

    @@ -632,6 +645,13 @@

    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]
    @@ -665,13 +685,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005648ed652d60,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007fec8e8ad2b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007fec990ac2a0,                         ),                         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(             0x0000557aaf605b30,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f3beb6ac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f3be532b730,                         ),                         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(                                 0x00007fec955278b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fec8dfe61b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fec990ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fec8dfe4730,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fec8dfe57f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fec8e8ad2b0,                         ),                         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(             0x00005648ed652d60,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fec96f26580,         ),         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(                                 0x00007f3be59d5c30,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f3be7cb82b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3beb6ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f3be57fe8f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f3be40857f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3be532b730,                         ),                         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(             0x0000557aaf605b30,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3be95de3c0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -681,46 +701,32 @@

    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.

    @@ -731,15 +737,15 @@
    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:
    @@ -816,10 +822,12 @@
  • 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__
  • @@ -828,19 +836,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -870,7 +876,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.regex.html b/v10.2.0/output/pydis_core.utils.regex.html index 981b04fd5..53d656a49 100644 --- a/v10.2.0/output/pydis_core.utils.regex.html +++ b/v10.2.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v10.2.0/output/pydis_core.utils.scheduling.html b/v10.2.0/output/pydis_core.utils.scheduling.html index b1959e3ad..0b7933360 100644 --- a/v10.2.0/output/pydis_core.utils.scheduling.html +++ b/v10.2.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

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

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v10.2.0/py-modindex.html b/v10.2.0/py-modindex.html index 672c82e85..8a93539b6 100644 --- a/v10.2.0/py-modindex.html +++ b/v10.2.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v10.2.0 + Python Module Index - Pydis Core v10.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v10.2.0/search.html b/v10.2.0/search.html index 4386b1b33..360910b9d 100644 --- a/v10.2.0/search.html +++ b/v10.2.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v10.2.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v10.2.0/searchindex.js b/v10.2.0/searchindex.js index df51dc448..5f46eb0c4 100644 --- a/v10.2.0/searchindex.js +++ b/v10.2.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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x00005648ed652d60": 17, "0x00005648ed66b730": 17, "0x00007fec8dfd7a70": 17, "0x00007fec8dfd7b30": 17, "0x00007fec8dfd7b70": 17, "0x00007fec8dfd7bf0": 17, "0x00007fec8dfd7c30": 17, "0x00007fec8dfd7d30": 17, "0x00007fec8dfe4730": 17, "0x00007fec8dfe57f0": 17, "0x00007fec8dfe61b0": 17, "0x00007fec8e8ad2b0": 17, "0x00007fec955278b0": 17, "0x00007fec96f26580": 17, "0x00007fec97d044b0": 17, "0x00007fec97f9c370": 17, "0x00007fec982679f0": 17, "0x00007fec990ac2a0": 17, "0x00007fec991530c0": 17, "0x00007fec99156ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "94871220464992": 17, "94871220565808": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 17, 19], "functool": [13, 17], "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "get": [0, 3, 6, 9, 16], "get_json_schema_update_func": 17, "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "json_schema_update_func": 17, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": [2, 17], "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "map": 17, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_computed_field": [7, 17], "model_config": [7, 17], "model_field": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modify_model_json_schema": 17, "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "partial": 17, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_annotation_funct": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x0000557aaf605b30": 17, "0x0000557aaf6294e0": 17, "0x00007f3be4084a70": 17, "0x00007f3be4084b70": 17, "0x00007f3be4084c70": 17, "0x00007f3be4084d30": 17, "0x00007f3be4084d70": 17, "0x00007f3be4084fb0": 17, "0x00007f3be40857f0": 17, "0x00007f3be532b730": 17, "0x00007f3be57fe8f0": 17, "0x00007f3be59d5c30": 17, "0x00007f3be7cb82b0": 17, "0x00007f3be95de3c0": 17, "0x00007f3bea3c9670": 17, "0x00007f3bea65d430": 17, "0x00007f3bea96ba30": 17, "0x00007f3beb6ac2a0": 17, "0x00007f3beb7530c0": 17, "0x00007f3beb756ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "93985416698672": 17, "93985416844512": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_computed_fields__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "generic_origin": 17, "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_config": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v10.2.0/versions.html b/v10.2.0/versions.html index 49422722c..bd8f364dd 100644 --- a/v10.2.0/versions.html +++ b/v10.2.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v10.2.0 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v10.3.0/.buildinfo b/v10.3.0/.buildinfo index 5ed75a2fa..91213452f 100644 --- a/v10.3.0/.buildinfo +++ b/v10.3.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: 3fea97d1c59b2f8822e07c572ed5d48d +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 42a907899b4cd97309573cb60ec2629b tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v10.3.0/_static/basic.css b/v10.3.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v10.3.0/_static/basic.css +++ b/v10.3.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.3.0/_static/doctools.js b/v10.3.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v10.3.0/_static/doctools.js +++ b/v10.3.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.3.0/_static/language_data.js b/v10.3.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v10.3.0/_static/language_data.js +++ b/v10.3.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.3.0/_static/searchtools.js b/v10.3.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v10.3.0/_static/searchtools.js +++ b/v10.3.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.3.0/changelog.html b/v10.3.0/changelog.html index 210b6c0c5..ff34b6e86 100644 --- a/v10.3.0/changelog.html +++ b/v10.3.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -527,7 +535,7 @@

    9.3.0 13th December 2022

    @@ -809,7 +817,7 @@

    - + diff --git a/v10.3.0/development.html b/v10.3.0/development.html index 1f514c57f..0cef1ae93 100644 --- a/v10.3.0/development.html +++ b/v10.3.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v10.3.0/genindex.html b/v10.3.0/genindex.html index d047f054d..09bf43f7d 100644 --- a/v10.3.0/genindex.html +++ b/v10.3.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v10.3.0 + Index - Pydis Core v10.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -483,6 +491,12 @@

    _

    +
  • __pydantic_computed_fields__ (PasteFile attribute) + +
  • __pydantic_core_schema__ (PasteFile attribute) @@ -509,6 +523,12 @@

    _

  • +
  • __pydantic_fields__ (PasteFile attribute) + +
  • __pydantic_fields_set__ (PasteFile attribute) @@ -741,22 +761,10 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PasteFile attribute) - -
  • model_config (PasteFile attribute)
  • -
  • model_fields (PasteFile attribute) - -
  • @@ -1092,7 +1100,7 @@

    W

    - + diff --git a/v10.3.0/index.html b/v10.3.0/index.html index e18f5028c..67023eaf4 100644 --- a/v10.3.0/index.html +++ b/v10.3.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -550,7 +558,7 @@

    Extras - + diff --git a/v10.3.0/index_redirect.html b/v10.3.0/index_redirect.html index e7fced6ec..270fb1abf 100644 --- a/v10.3.0/index_redirect.html +++ b/v10.3.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v10.3.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v10.3.0/objects.inv b/v10.3.0/objects.inv index 5a7a5de97c6c1c344351b6ba16e085a801cd68f0..55d4040d0e2b90cfee3d58ac2215ca33194a95be 100644 GIT binary patch delta 1776 zcmVWsG?PO2LQ05{B!)HNy#gx*Npi+xLf4dWy5ukfST2Tu%a}-r z2DN4p^a)m`qy^CR0_p>$AeCzvU@2-ac}7-JKKB55q4vVeg<*VvNqjI=S)b-g$>JJ; z*9bCW*Xf54`ZJ^rvXo{wZ=LNO-jVHg@%En{3b-}Ag--QGL_`~Ev?oh9EDvSurrCu% zesG5~&On&MX_K)56n~pXeF1kSha#<+b%til15=w}pw2HA*O;klV|u}`vvVvgW=A^~ zGX@T3XwbyFUXDdf>1GK;QKo@BNmZ=0Tn|i=Q4_6(#*}*KSlHnMBP#fn!$5xCgU+m6 zf|-l~xjlUlc-YIV3tk)54?VZLy)W+-HixoRX+X1#Z%8V|Gk!>_0iz;W|g z+9Kw&GPGHp*wp(3cI}Y{6JiCnxDJxoUMB3U8c3wt3R zg-C(DRMdIAwQn9Z7QJrPYh7$PzEia^!}z z!Z{@G!Xd`g(1GyoQF-$Sz$Ld@p2T^^nY+Sl{MXVR)Q>k%tJTW}Zu2Deii|mSYiSSh zuiW?c?x4_xOBTl<$di&ODNYu7T3rrwGHcLFi-&gaHtfcmQiBjbe%KV!B`91zuWbD@SR1x(V9HKpJX%x- zIVvrp>>4lbkrEh;BBR7;g3_>{D1c1Cs|xPJkH6(^*?jO>~^prXcn&Z znQ_!Zf}Rxad4XdfYpQga@2N40Epr1WWz7^@J2A9n8<%|(Q(;)--h^dtqo0i2lEvhS z0gtB&fU*{Lr%mZJ{6(g3$c>TtW3cwrNHtCP;nnVLlQ2)X<|=9p(@c2+0+ju=a)P=9 zK7WZ58C4(*5%#`TXI9@#hxel!PUh-vgqn^VO-(W@L*i=wIv=| zfIUiiBSmu58@e8J--OPyOe(we-@q%V(Redg3O@py1`)eL`JD%yh{vZ`Mg!|d+pw{`TVWaehT+cUN)8nYWaf9eG{ck{3(`^`@Cb@ zS=fcMx*5cqjXjCL3Uwx8y8}1?PM7w2un=`` zIsV!m25)8+Ps8F;nsDYm^jj$TFGME1l2PuMidw3`CbABaY;#usQKHI}AJ}wivW#HEvin0#Ai13b#?r8diMj(#LVc3YDG delta 1779 zcmV+x~mLGAaM9 z{QvCt@GNNjbt%my)dfJrsn+4&`^I+5{_`V7V9qE@L7g z8q}Ia(8pMrk`_SM3#bp2f>f?yfTgIx`P>8Kh1!jo3&Z#TllWk$vO3L`lEof@ z*9bCW*Xf54`ZKroFUKOLbh8AaDAPcmq$*Zgt_LQ`sEJlXV@f@=E$r}t5f%K(VIV#4L1#8y zf|-l~8J<1}JnS~>g4ag%L(grr_xZg-=8(541!$J>4N0YVhJOtyR%)4MJ>??WYuN^N zCul^YmCf5w8dkD?O>4m-pv-K;bDrsdN8;KkiYVvaIqJoLT4OyJFy|aJ{E7+z95mZ5kWx~#?fkdj!aPZC3gx4~aFv2voq?<%RjLl)3 zi4@qqiq*YEwtt63@>sqIr1GUOM)^u|R;q9(W(}glF1w5CNRlJBRxhf;OS~}4ksH!7 z=a9S$hZs{s2g18Y`OPB$m)z#^B+fI=+zzw$UrT#YKi)vCRxca4;7RO`j5#*6w1@at z?t6K6QRIb77RMmSlaeVZZWei4T?%wEZ?Q19RSWxXXn!mDh07)7UukOd5bM*5w>%Ma_5ziChxBEFX#W-BNOPhr`8e5W_> zUgn0B&3~w10%NivW#$ zZtQ&m$|!gOm$~z;;t2PPhj#BaY~W3)K_owZ*c8$wD4aj9Wc@Q(3$_k0Whc@eEvkbY zRW73J8ZXXB2@FP&QSBbbmakY)7HW;~+o>&ndw=nhEG`}%=j7q~pE+W7JJ=933)lM0 zIO-umPYU(!PeiV)gpG13 zorb^gvW-wbGJgzKo*Jp9nR|G(k!2F*Ck8y$R%RNzCm=xCUmH)U^I(%Gkx>Q05Md8? zI)AePei|jDHq)*D+6PX-ZU1DHv;RO%Lcg}$vD^A%vTK$IYH~HA#cgr{yofTEC$2XB z*yQ4gCF63AcAxb-suQP5HO=_xQiFM-l&Pt~BxzH(0^_DmojQ!1K6U9ZathU@!gy&^ z7yHPmRF?{qq*GmrOp;P{Dl%$X)v3XVsee@$|H$c8mkQ&iSPc!vO|!PdQ>9uv3XGI) zz2hD2ejla0ks>+jEnE+}Z$jr;CY7Dj8+ZjZ8gJ&x-A7>4AYxYxzwuS_U_am8-(EaE&acSq?rKi%=U?VO2Y&;< zzxXjMtjj{Jp|EdR-o*V@Zpc2Am$(-#?>W%m?tCMKp-gDx%fCKUN4#VFI88)FRMmf- znuJh(YNDzWMxr6qjK#!lx~5J-R#ojAsZ-4g+pK)(GdXoeqS`1pV;x?=rfu{-;h1)1t4XZ}rs}My2H>*j*x)u1!`EbyU(!a27 z1-Ozr3_(W`UfAvneC1*onpSC9ShoU9=?MmYr&J|u_5_~N2n<8BiXyBUfv2nhgWIe? z2&+bb%EdA0yUBal>Ix2Kq%;_Yx70N(E(3qS!@#}^kKtQ8Xt;Y%99V2@m>2DEpnt{}(iY;C~Z5a|rOGWzhft diff --git a/v10.3.0/output/pydis_core.async_stats.html b/v10.3.0/output/pydis_core.async_stats.html index ce169be21..87c83f7c4 100644 --- a/v10.3.0/output/pydis_core.async_stats.html +++ b/v10.3.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v10.3.0/output/pydis_core.exts.html b/v10.3.0/output/pydis_core.exts.html index ce91ade55..daaff693a 100644 --- a/v10.3.0/output/pydis_core.exts.html +++ b/v10.3.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v10.3.0/output/pydis_core.html b/v10.3.0/output/pydis_core.html index 29b21436b..7b3375fe7 100644 --- a/v10.3.0/output/pydis_core.html +++ b/v10.3.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -578,7 +586,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -591,7 +599,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -605,7 +613,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -618,7 +626,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -628,7 +636,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -848,7 +856,7 @@

    Submodules - + diff --git a/v10.3.0/output/pydis_core.site_api.html b/v10.3.0/output/pydis_core.site_api.html index ee2f3adfc..670e3d61c 100644 --- a/v10.3.0/output/pydis_core.site_api.html +++ b/v10.3.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

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

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.caching.html b/v10.3.0/output/pydis_core.utils.caching.html index 4a5efbf73..4fd500cec 100644 --- a/v10.3.0/output/pydis_core.utils.caching.html +++ b/v10.3.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.channel.html b/v10.3.0/output/pydis_core.utils.channel.html index 9a1992488..7fc192cc7 100644 --- a/v10.3.0/output/pydis_core.utils.channel.html +++ b/v10.3.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.commands.html b/v10.3.0/output/pydis_core.utils.commands.html index 856ceeb16..369291be6 100644 --- a/v10.3.0/output/pydis_core.utils.commands.html +++ b/v10.3.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.cooldown.html b/v10.3.0/output/pydis_core.utils.cooldown.html index 0a04ba8e0..10b17c887 100644 --- a/v10.3.0/output/pydis_core.utils.cooldown.html +++ b/v10.3.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.error_handling.html b/v10.3.0/output/pydis_core.utils.error_handling.html index 8bff68fc2..ab97c6b2c 100644 --- a/v10.3.0/output/pydis_core.utils.error_handling.html +++ b/v10.3.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.function.html b/v10.3.0/output/pydis_core.utils.function.html index 5b0d02631..e1345e821 100644 --- a/v10.3.0/output/pydis_core.utils.function.html +++ b/v10.3.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

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

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

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

    +

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

    @@ -577,7 +585,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.html b/v10.3.0/output/pydis_core.utils.html index 1c1cab9b0..1c5e7800c 100644 --- a/v10.3.0/output/pydis_core.utils.html +++ b/v10.3.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -557,10 +565,12 @@

    SubmodulesPasteFile.__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__
  • @@ -569,19 +579,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -697,7 +705,7 @@

    Submodules - + diff --git a/v10.3.0/output/pydis_core.utils.interactions.html b/v10.3.0/output/pydis_core.utils.interactions.html index fc033963b..22e119c80 100644 --- a/v10.3.0/output/pydis_core.utils.interactions.html +++ b/v10.3.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -528,7 +536,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -617,7 +625,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.logging.html b/v10.3.0/output/pydis_core.utils.logging.html index def2c3c4e..b9d8ffd55 100644 --- a/v10.3.0/output/pydis_core.utils.logging.html +++ b/v10.3.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

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

    @@ -573,7 +581,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.members.html b/v10.3.0/output/pydis_core.utils.members.html index f8a254e87..346d29690 100644 --- a/v10.3.0/output/pydis_core.utils.members.html +++ b/v10.3.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.paste_service.html b/v10.3.0/output/pydis_core.utils.paste_service.html index 0b368f675..34934991c 100644 --- a/v10.3.0/output/pydis_core.utils.paste_service.html +++ b/v10.3.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,9 +464,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"

    @@ -480,9 +488,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:93923418191344', '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:94326586193312', '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.

    @@ -505,6 +519,13 @@

    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]
    @@ -538,13 +559,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000556c3ffa35f0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f592d0679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f592cd88130,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f592caf4270,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f592df56ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f592df530c0,                                         ),                                     ),                                     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(             0x000055ca1ea9b5a0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "lexer": SerField {                         key_py: Py(                             0x00007f84cb8a4e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f84cb609030,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f84cc956ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f84cc9530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007f84cbb679b0,                         ),                         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: 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(                                 0x00007f5922ebfbb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f5922ebfcb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f592d0679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f5922ebfb70,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f5922ebfaf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f592df56ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f592df530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f592bce6470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f5922ebfab0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f5922ebf9f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f592cd88130,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f592caf4270,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f592bce6470,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000556c3ffa35f0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f592bce6470,         ),         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(                                 0x00007f84c5a58f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f84c5a58cf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f84cbb679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f84c5a58af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f84c5a59030,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f84cc956ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f84cc9530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f84ca84a3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f84c5a58d70,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f84c5a58bf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f84cb8a4e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f84cb609030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f84ca84a3c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055ca1ea9b5a0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f84ca84a3c0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -554,26 +575,12 @@

    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.

    -
    -
    @@ -584,8 +591,8 @@
    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.

    @@ -607,9 +614,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.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:93923417677264', '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:94326586046352', '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.

    @@ -632,6 +645,13 @@

    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]
    @@ -665,13 +685,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000556c3ff25dd0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f592deac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f59239406f0,                         ),                         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(             0x000055ca1ea77790,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007f84c640f3f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007f84cc8ac2a0,                         ),                         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(                                 0x00007f5922ec21f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f5922ec06f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f592deac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f5922ec01b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f5922ec3f30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f59239406f0,                         ),                         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(             0x0000556c3ff25dd0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f592bce6470,         ),         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(                                 0x00007f84c6b5bfb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f84c6c8e730,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f84cc8ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f84c6c8e130,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f84c5a59770,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f84c640f3f0,                         ),                         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(             0x000055ca1ea77790,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f84ca84a3c0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -681,46 +701,32 @@

    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.

    @@ -731,15 +737,15 @@
    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:
    @@ -816,10 +822,12 @@
  • 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__
  • @@ -828,19 +836,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -870,7 +876,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.regex.html b/v10.3.0/output/pydis_core.utils.regex.html index 0af6118f0..5789974ce 100644 --- a/v10.3.0/output/pydis_core.utils.regex.html +++ b/v10.3.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v10.3.0/output/pydis_core.utils.scheduling.html b/v10.3.0/output/pydis_core.utils.scheduling.html index 1d938bebf..5453beeac 100644 --- a/v10.3.0/output/pydis_core.utils.scheduling.html +++ b/v10.3.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

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

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v10.3.0/py-modindex.html b/v10.3.0/py-modindex.html index c1dc41f50..11d90be4d 100644 --- a/v10.3.0/py-modindex.html +++ b/v10.3.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v10.3.0 + Python Module Index - Pydis Core v10.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v10.3.0/search.html b/v10.3.0/search.html index 927c2896e..d3648318f 100644 --- a/v10.3.0/search.html +++ b/v10.3.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v10.3.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v10.3.0/searchindex.js b/v10.3.0/searchindex.js index eefc404e9..f6cae5765 100644 --- a/v10.3.0/searchindex.js +++ b/v10.3.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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[15, "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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"], [15, 5, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x0000556c3ff25dd0": 17, "0x0000556c3ffa35f0": 17, "0x00007f5922ebf9f0": 17, "0x00007f5922ebfab0": 17, "0x00007f5922ebfaf0": 17, "0x00007f5922ebfb70": 17, "0x00007f5922ebfbb0": 17, "0x00007f5922ebfcb0": 17, "0x00007f5922ec01b0": 17, "0x00007f5922ec06f0": 17, "0x00007f5922ec21f0": 17, "0x00007f5922ec3f30": 17, "0x00007f59239406f0": 17, "0x00007f592bce6470": 17, "0x00007f592caf4270": 17, "0x00007f592cd88130": 17, "0x00007f592d0679f0": 17, "0x00007f592deac2a0": 17, "0x00007f592df530c0": 17, "0x00007f592df56ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "93923417677264": 17, "93923418191344": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 15, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "across": [0, 15], "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 15, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 15, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "chardet": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatt": 15, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 17, 19], "functool": [13, 17], "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "get": [0, 3, 6, 9, 16], "get_json_schema_update_func": 17, "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": [0, 1], "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "json_schema_update_func": 17, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [0, 7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": [2, 17], "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_format": [0, 3, 7, 15], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "map": 17, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_computed_field": [7, 17], "model_config": [7, 17], "model_field": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modify_model_json_schema": 17, "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "partial": 17, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 15], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_annotation_funct": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 15, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "standardis": [0, 15], "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 19], "wasn": 10, "we": [15, 16], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[15, "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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"], [15, 5, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x000055ca1ea77790": 17, "0x000055ca1ea9b5a0": 17, "0x00007f84c5a58af0": 17, "0x00007f84c5a58bf0": 17, "0x00007f84c5a58cf0": 17, "0x00007f84c5a58d70": 17, "0x00007f84c5a58f30": 17, "0x00007f84c5a59030": 17, "0x00007f84c5a59770": 17, "0x00007f84c640f3f0": 17, "0x00007f84c6b5bfb0": 17, "0x00007f84c6c8e130": 17, "0x00007f84c6c8e730": 17, "0x00007f84ca84a3c0": 17, "0x00007f84cb609030": 17, "0x00007f84cb8a4e70": 17, "0x00007f84cbb679b0": 17, "0x00007f84cc8ac2a0": 17, "0x00007f84cc9530c0": 17, "0x00007f84cc956ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "94326586046352": 17, "94326586193312": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 15, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_computed_fields__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "across": [0, 15], "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 15, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 15, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "chardet": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatt": 15, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "generic_origin": 17, "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": [0, 1], "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [0, 7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_format": [0, 3, 7, 15], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_config": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 15], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 15, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "standardis": [0, 15], "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 19], "wasn": 10, "we": [15, 16], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v10.3.0/versions.html b/v10.3.0/versions.html index 9c84bcf9c..7d54fba93 100644 --- a/v10.3.0/versions.html +++ b/v10.3.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v10.3.0 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v10.4.0/.buildinfo b/v10.4.0/.buildinfo index be501c100..81f47bb5f 100644 --- a/v10.4.0/.buildinfo +++ b/v10.4.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: ced8f88abd82fc1d693d25a09290d136 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 4960b628c69ab8013196cac2be0ddeb3 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v10.4.0/_static/basic.css b/v10.4.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v10.4.0/_static/basic.css +++ b/v10.4.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.4.0/_static/doctools.js b/v10.4.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v10.4.0/_static/doctools.js +++ b/v10.4.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.4.0/_static/language_data.js b/v10.4.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v10.4.0/_static/language_data.js +++ b/v10.4.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.4.0/_static/searchtools.js b/v10.4.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v10.4.0/_static/searchtools.js +++ b/v10.4.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.4.0/changelog.html b/v10.4.0/changelog.html index 5d9f69817..5721e9274 100644 --- a/v10.4.0/changelog.html +++ b/v10.4.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -533,7 +541,7 @@

    9.3.0 13th December 2022

    @@ -815,7 +823,7 @@

    - + diff --git a/v10.4.0/development.html b/v10.4.0/development.html index b01d43534..a9968019b 100644 --- a/v10.4.0/development.html +++ b/v10.4.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v10.4.0/genindex.html b/v10.4.0/genindex.html index d266c659b..66a1c9ca9 100644 --- a/v10.4.0/genindex.html +++ b/v10.4.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v10.4.0 + Index - Pydis Core v10.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -483,6 +491,12 @@

    _

    +
  • __pydantic_computed_fields__ (PasteFile attribute) + +
  • __pydantic_core_schema__ (PasteFile attribute) @@ -509,6 +523,12 @@

    _

  • +
  • __pydantic_fields__ (PasteFile attribute) + +
  • __pydantic_fields_set__ (PasteFile attribute) @@ -741,22 +761,10 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PasteFile attribute) - -
  • model_config (PasteFile attribute)
  • -
  • model_fields (PasteFile attribute) - -
  • @@ -1092,7 +1100,7 @@

    W

    - + diff --git a/v10.4.0/index.html b/v10.4.0/index.html index 838c093fd..c273fcce0 100644 --- a/v10.4.0/index.html +++ b/v10.4.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -550,7 +558,7 @@

    Extras - + diff --git a/v10.4.0/index_redirect.html b/v10.4.0/index_redirect.html index b8cd5dde5..ad8858766 100644 --- a/v10.4.0/index_redirect.html +++ b/v10.4.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v10.4.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v10.4.0/objects.inv b/v10.4.0/objects.inv index d307b0a6c6e07fc6a7a0b5f90f0522e546ca8e41..dc3c0e6b28bfd0e6cb0d6859acb16858cb5b872a 100644 GIT binary patch delta 1776 zcmVWsG?PO2LQ05{B!)HNy#gx*Npi+xLf4dWy5ukfST2Tu%a}-r z2DN4p^a)m`qy^CR0_p>$AeCzvU@2-ac}7-JKKB55q4vVeg<*VvNqjI=S)b-g$>JJ; z*9bCW*Xf54`ZJ^rvXo{wZ=LNO-jVHg@%En{3b-}Ag--QGL_`~Ev?oh9EDvSurrCu% zesG5~&On&MX_K)56n~pXeF1kSha#<+b%til15=w}pw2HA*O;klV|u}`vvVvgW=A^~ zGX@T3XwbyFUXDdf>1GK;QKo@BNmZ=0Tn|i=Q4_6(#*}*KSlHnMBP#fn!$5xCgU+m6 zf|-l~xjlUlc-YIV3tk)54?VZLy)W+-HixoRX+X1#Z%8V|Gk!>_0iz;W|g z+9Kw&GPGHp*wp(3cI}Y{6JiCnxDJxoUMB3U8c3wt3R zg-C(DRMdIAwQn9Z7QJrPYh7$PzEia^!}z z!Z{@G!Xd`g(1GyoQF-$Sz$Ld@p2T^^nY+Sl{MXVR)Q>k%tJTW}Zu2Deii|mSYiSSh zuiW?c?x4_xOBTl<$di&ODNYu7T3rrwGHcLFi-&gaHtfcmQiBjbe%KV!B`91zuWbD@SR1x(V9HKpJX%x- zIVvrp>>4lbkrEh;BBR7;g3_>{D1c1Cs|xPJkH6(^*?jO>~^prXcn&Z znQ_!Zf}Rxad4XdfYpQga@2N40Epr1WWz7^@J2A9n8<%|(Q(;)--h^dtqo0i2lEvhS z0gtB&fU*{Lr%mZJ{6(g3$c>TtW3cwrNHtCP;nnVLlQ2)X<|=9p(@c2+0+ju=a)P=9 zK7WZ58C4(*5%#`TXI9@#hxel!PUh-vgqn^VO-(W@L*i=wIv=| zfIUiiBSmu58@e8J--OPyOe(we-@q%V(Redg3O@py1`)eL`JD%yh{vZ`Mg!|d+pw{`TVWaehT+cUN)8nYWaf9eG{ck{3(`^`@Cb@ zS=fcMx*5cqjXjCL3Uwx8y8}1?PM7w2un=`` zIsV!m25)8+Ps8F;nsDYm^jj$TFGME1l2PuMidw3`CbABaY;#usQKHI}AJ}wivW#HEvin0#Ai13b#?r8diMj(#LVc3YDG delta 1779 zcmV+x~mLGAaM9 z{QvCt@GNNjbt%my)dfJrsn+4&`^I+5{_`V7V9qE@L7g z8q}Ia(8pMrk`_SM3#bp2f>f?yfTgIx`P>8Kh1!jo3&Z#TllWk$vO3L`lEof@ z*9bCW*Xf54`ZKroFUKOLbh8AaDAPcmq$*Zgt_LQ`sEJlXV@f@=E$r}t5f%K(VIV#4L1#8y zf|-l~8J<1}JnS~>g4ag%L(grr_xZg-=8(541!$J>4N0YVhJOtyR%)4MJ>??WYuN^N zCul^YmCf5w8dkD?O>4m-pv-K;bDrsdN8;KkiYVvaIqJoLT4OyJFy|aJ{E7+z95mZ5kWx~#?fkdj!aPZC3gx4~aFv2voq?<%RjLl)3 zi4@qqiq*YEwtt63@>sqIr1GUOM)^u|R;q9(W(}glF1w5CNRlJBRxhf;OS~}4ksH!7 z=a9S$hZs{s2g18Y`OPB$m)z#^B+fI=+zzw$UrT#YKi)vCRxca4;7RO`j5#*6w1@at z?t6K6QRIb77RMmSlaeVZZWei4T?%wEZ?Q19RSWxXXn!mDh07)7UukOd5bM*5w>%Ma_5ziChxBEFX#W-BNOPhr`8e5W_> zUgn0B&3~w10%NivW#$ zZtQ&m$|!gOm$~z;;t2PPhj#BaY~W3)K_owZ*c8$wD4aj9Wc@Q(3$_k0Whc@eEvkbY zRW73J8ZXXB2@FP&QSBbbmakY)7HW;~+o>&ndw=nhEG`}%=j7q~pE+W7JJ=933)lM0 zIO-umPYU(!PeiV)gpG13 zorb^gvW-wbGJgzKo*Jp9nR|G(k!2F*Ck8y$R%RNzCm=xCUmH)U^I(%Gkx>Q05Md8? zI)AePei|jDHq)*D+6PX-ZU1DHv;RO%Lcg}$vD^A%vTK$IYH~HA#cgr{yofTEC$2XB z*yQ4gCF63AcAxb-suQP5HO=_xQiFM-l&Pt~BxzH(0^_DmojQ!1K6U9ZathU@!gy&^ z7yHPmRF?{qq*GmrOp;P{Dl%$X)v3XVsee@$|H$c8mkQ&iSPc!vO|!PdQ>9uv3XGI) zz2hD2ejla0ks>+jEnE+}Z$jr;CY7Dj8+ZjZ8gJ&x-A7>4AYxYxzwuS_U_am8-(EaE&acSq?rKi%=U?VO2Y&;< zzxXjMtjj{Jp|EdR-o*V@Zpc2Am$(-#?>W%m?tCMKp-gDx%fCKUN4#VFI88)FRMmf- znuJh(YNDzWMxr6qjK#!lx~5J-R#ojAsZ-4g+pK)(GdXoeqS`1pV;x?=rfu{-;h1)1t4XZ}rs}My2H>*j*x)u1!`EbyU(!a27 z1-Ozr3_(W`UfAvneC1*onpSC9ShoU9=?MmYr&J|u_5_~N2n<8BiXyBUfv2nhgWIe? z2&+bb%EdA0yUBal>Ix2Kq%;_Yx70N(E(3qS!@#}^kKtQ8Xt;Y%99V2@m>2DEpnt{}(iY;C~Z5a|rOGWzhft diff --git a/v10.4.0/output/pydis_core.async_stats.html b/v10.4.0/output/pydis_core.async_stats.html index 79c4bee88..c39addd1a 100644 --- a/v10.4.0/output/pydis_core.async_stats.html +++ b/v10.4.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v10.4.0/output/pydis_core.exts.html b/v10.4.0/output/pydis_core.exts.html index a007196a2..eae7f5f1d 100644 --- a/v10.4.0/output/pydis_core.exts.html +++ b/v10.4.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v10.4.0/output/pydis_core.html b/v10.4.0/output/pydis_core.html index fbaa2bc82..2bc827848 100644 --- a/v10.4.0/output/pydis_core.html +++ b/v10.4.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -578,7 +586,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -591,7 +599,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -605,7 +613,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -618,7 +626,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -628,7 +636,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -848,7 +856,7 @@

    Submodules - + diff --git a/v10.4.0/output/pydis_core.site_api.html b/v10.4.0/output/pydis_core.site_api.html index 4863d39e2..978700240 100644 --- a/v10.4.0/output/pydis_core.site_api.html +++ b/v10.4.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

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

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.caching.html b/v10.4.0/output/pydis_core.utils.caching.html index 2e4072e08..9d6cd1a7c 100644 --- a/v10.4.0/output/pydis_core.utils.caching.html +++ b/v10.4.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.channel.html b/v10.4.0/output/pydis_core.utils.channel.html index a31c605e2..69f74343b 100644 --- a/v10.4.0/output/pydis_core.utils.channel.html +++ b/v10.4.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.commands.html b/v10.4.0/output/pydis_core.utils.commands.html index 316046ad9..95c9f1a49 100644 --- a/v10.4.0/output/pydis_core.utils.commands.html +++ b/v10.4.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.cooldown.html b/v10.4.0/output/pydis_core.utils.cooldown.html index b534f8051..47666ea1e 100644 --- a/v10.4.0/output/pydis_core.utils.cooldown.html +++ b/v10.4.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.error_handling.html b/v10.4.0/output/pydis_core.utils.error_handling.html index 614bc19cd..a81e6c209 100644 --- a/v10.4.0/output/pydis_core.utils.error_handling.html +++ b/v10.4.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.function.html b/v10.4.0/output/pydis_core.utils.function.html index db92da671..3fcaac110 100644 --- a/v10.4.0/output/pydis_core.utils.function.html +++ b/v10.4.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

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

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

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

    +

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

    @@ -577,7 +585,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.html b/v10.4.0/output/pydis_core.utils.html index e9af0173c..1a323401c 100644 --- a/v10.4.0/output/pydis_core.utils.html +++ b/v10.4.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -557,10 +565,12 @@

    SubmodulesPasteFile.__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__
  • @@ -569,19 +579,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -697,7 +705,7 @@

    Submodules - + diff --git a/v10.4.0/output/pydis_core.utils.interactions.html b/v10.4.0/output/pydis_core.utils.interactions.html index 29cb74dd2..c468f09f5 100644 --- a/v10.4.0/output/pydis_core.utils.interactions.html +++ b/v10.4.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -528,7 +536,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -617,7 +625,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.logging.html b/v10.4.0/output/pydis_core.utils.logging.html index 6c692ab43..239f3b813 100644 --- a/v10.4.0/output/pydis_core.utils.logging.html +++ b/v10.4.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

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

    @@ -573,7 +581,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.members.html b/v10.4.0/output/pydis_core.utils.members.html index b7bce96ea..50b2d8b8b 100644 --- a/v10.4.0/output/pydis_core.utils.members.html +++ b/v10.4.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.paste_service.html b/v10.4.0/output/pydis_core.utils.paste_service.html index a2ceef9b2..e5ff0a6be 100644 --- a/v10.4.0/output/pydis_core.utils.paste_service.html +++ b/v10.4.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,9 +464,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"

    @@ -480,9 +488,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:94708167959248', '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:94197477224336', '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.

    @@ -505,6 +519,13 @@

    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]
    @@ -538,13 +559,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005622f6b562d0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "lexer": SerField {                         key_py: Py(                             0x00007fb66c59c370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb66c3044b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007fb66c8679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007fb66d756ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb66d7530c0,                                         ),                                     ),                                     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(             0x000055ac0f2b2f90,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f77ebf679b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f77ecd56ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f77ecd530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f77ebca4e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f77eba09030,                                         ),                                     ),                                     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(                                 0x00007fb6631ebd30,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fb6631ebe30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb66c8679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fb6631ebcf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fb6631ebc70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb66d756ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb66d7530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb66b4d6470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fb6631ebc30,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fb6631ebb70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb66c59c370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb66c3044b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb66b4d6470,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005622f6b562d0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb66b4d6470,         ),         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(                                 0x00007f77e1e2ca70,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f77e1e2cdb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f77ebf679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f77e1e2caf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f77e1e2ccf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f77ecd56ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f77ecd530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f77eabfa3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f77e1e2cbb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f77e1e2c8f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f77ebca4e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f77eba09030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f77eabfa3c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055ac0f2b2f90,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f77eabfa3c0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -554,26 +575,12 @@

    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.

    -
    -
    @@ -584,8 +591,8 @@
    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.

    @@ -607,9 +614,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.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:94708166666432', '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:94197477079184', '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.

    @@ -632,6 +645,13 @@

    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]
    @@ -665,13 +685,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005622f6a1a8c0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007fb663ab8f70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007fb66d6ac2a0,                         ),                         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(             0x000055ac0f28f890,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f77eccac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f77e299b2f0,                         ),                         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(                                 0x00007fb669c01af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fb6681aacf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb66d6ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fb668287b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fb6630b0c30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb663ab8f70,                         ),                         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(             0x00005622f6a1a8c0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb66b4d6470,         ),         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(                                 0x00007f77e1e2d6f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f77e1e2e070,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f77eccac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f77e1e2d870,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f77e1e2d5f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f77e299b2f0,                         ),                         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(             0x000055ac0f28f890,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f77eabfa3c0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -681,46 +701,32 @@

    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.

    @@ -731,15 +737,15 @@
    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:
    @@ -816,10 +822,12 @@
  • 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__
  • @@ -828,19 +836,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -870,7 +876,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.regex.html b/v10.4.0/output/pydis_core.utils.regex.html index 88e1a6f98..009ff9ce5 100644 --- a/v10.4.0/output/pydis_core.utils.regex.html +++ b/v10.4.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v10.4.0/output/pydis_core.utils.scheduling.html b/v10.4.0/output/pydis_core.utils.scheduling.html index e875e75bb..384de3984 100644 --- a/v10.4.0/output/pydis_core.utils.scheduling.html +++ b/v10.4.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

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

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v10.4.0/py-modindex.html b/v10.4.0/py-modindex.html index 14fe46032..1dfe6bd48 100644 --- a/v10.4.0/py-modindex.html +++ b/v10.4.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v10.4.0 + Python Module Index - Pydis Core v10.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v10.4.0/search.html b/v10.4.0/search.html index d5eae3662..fca1356d1 100644 --- a/v10.4.0/search.html +++ b/v10.4.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v10.4.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v10.4.0/searchindex.js b/v10.4.0/searchindex.js index cd8819e3d..ff472b7ed 100644 --- a/v10.4.0/searchindex.js +++ b/v10.4.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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[15, "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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"], [15, 5, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x00005622f6a1a8c0": 17, "0x00005622f6b562d0": 17, "0x00007fb6630b0c30": 17, "0x00007fb6631ebb70": 17, "0x00007fb6631ebc30": 17, "0x00007fb6631ebc70": 17, "0x00007fb6631ebcf0": 17, "0x00007fb6631ebd30": 17, "0x00007fb6631ebe30": 17, "0x00007fb663ab8f70": 17, "0x00007fb6681aacf0": 17, "0x00007fb668287b30": 17, "0x00007fb669c01af0": 17, "0x00007fb66b4d6470": 17, "0x00007fb66c3044b0": 17, "0x00007fb66c59c370": 17, "0x00007fb66c8679f0": 17, "0x00007fb66d6ac2a0": 17, "0x00007fb66d7530c0": 17, "0x00007fb66d756ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "196": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "94708166666432": 17, "94708167959248": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 15, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "across": [0, 15], "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 15, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 15, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "chardet": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatt": 15, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 17, 19], "functool": [13, 17], "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "get": [0, 3, 6, 9, 16], "get_json_schema_update_func": 17, "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": [0, 1], "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "json_schema_update_func": 17, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [0, 7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": [2, 17], "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_format": [0, 3, 7, 15], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "map": 17, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_computed_field": [7, 17], "model_config": [7, 17], "model_field": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modify_model_json_schema": 17, "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "partial": 17, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 15], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_annotation_funct": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 15, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "standardis": [0, 15], "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 19], "wasn": 10, "we": [15, 16], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[15, "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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"], [15, 5, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x000055ac0f28f890": 17, "0x000055ac0f2b2f90": 17, "0x00007f77e1e2c8f0": 17, "0x00007f77e1e2ca70": 17, "0x00007f77e1e2caf0": 17, "0x00007f77e1e2cbb0": 17, "0x00007f77e1e2ccf0": 17, "0x00007f77e1e2cdb0": 17, "0x00007f77e1e2d5f0": 17, "0x00007f77e1e2d6f0": 17, "0x00007f77e1e2d870": 17, "0x00007f77e1e2e070": 17, "0x00007f77e299b2f0": 17, "0x00007f77eabfa3c0": 17, "0x00007f77eba09030": 17, "0x00007f77ebca4e70": 17, "0x00007f77ebf679b0": 17, "0x00007f77eccac2a0": 17, "0x00007f77ecd530c0": 17, "0x00007f77ecd56ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "196": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "94197477079184": 17, "94197477224336": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 15, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_computed_fields__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "across": [0, 15], "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 15, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 15, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "chardet": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatt": 15, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "generic_origin": 17, "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": [0, 1], "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [0, 7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_format": [0, 3, 7, 15], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_config": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 15], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": 2, "pydis_cor": [0, 1, 3, 14, 15, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "standardis": [0, 15], "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 19], "wasn": 10, "we": [15, 16], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v10.4.0/versions.html b/v10.4.0/versions.html index 72e34c28f..e7112b816 100644 --- a/v10.4.0/versions.html +++ b/v10.4.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v10.4.0 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v10.5.0/.buildinfo b/v10.5.0/.buildinfo index 8bfb82028..508d8c9be 100644 --- a/v10.5.0/.buildinfo +++ b/v10.5.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: 87e98d92abad4760fc5aab5f2d574236 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 521dcfea868b7d2fa488ba9b13a49777 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v10.5.0/_static/basic.css b/v10.5.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v10.5.0/_static/basic.css +++ b/v10.5.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.5.0/_static/doctools.js b/v10.5.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v10.5.0/_static/doctools.js +++ b/v10.5.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.5.0/_static/language_data.js b/v10.5.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v10.5.0/_static/language_data.js +++ b/v10.5.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.5.0/_static/searchtools.js b/v10.5.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v10.5.0/_static/searchtools.js +++ b/v10.5.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.5.0/changelog.html b/v10.5.0/changelog.html index 0b476284e..cc6582139 100644 --- a/v10.5.0/changelog.html +++ b/v10.5.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -538,7 +546,7 @@

    9.3.0 13th December 2022

    @@ -820,7 +828,7 @@

    - + diff --git a/v10.5.0/development.html b/v10.5.0/development.html index 9ef4eaca9..f684927f8 100644 --- a/v10.5.0/development.html +++ b/v10.5.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v10.5.0/genindex.html b/v10.5.0/genindex.html index b322f6a13..d64d0022a 100644 --- a/v10.5.0/genindex.html +++ b/v10.5.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v10.5.0 + Index - Pydis Core v10.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -483,6 +491,12 @@

    _

    +
  • __pydantic_computed_fields__ (PasteFile attribute) + +
  • __pydantic_core_schema__ (PasteFile attribute) @@ -509,6 +523,12 @@

    _

  • +
  • __pydantic_fields__ (PasteFile attribute) + +
  • __pydantic_fields_set__ (PasteFile attribute) @@ -741,22 +761,10 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PasteFile attribute) - -
  • model_config (PasteFile attribute)
  • -
  • model_fields (PasteFile attribute) - -
  • @@ -1092,7 +1100,7 @@

    W

    - + diff --git a/v10.5.0/index.html b/v10.5.0/index.html index 70fbc29b3..babe933b6 100644 --- a/v10.5.0/index.html +++ b/v10.5.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -550,7 +558,7 @@

    Extras - + diff --git a/v10.5.0/index_redirect.html b/v10.5.0/index_redirect.html index d63c04703..542de052d 100644 --- a/v10.5.0/index_redirect.html +++ b/v10.5.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v10.5.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v10.5.0/objects.inv b/v10.5.0/objects.inv index ee387ecff1baa6665b5ba732dcdb11d493ec16b1..5497143eac5fb76ed5ea3ef85cdd5a357eb20dfd 100644 GIT binary patch delta 1776 zcmVWsG?PO2LQ05{B!)HNy#gx*Npi+xLf4dWy5ukfST2Tu%a}-r z2DN4p^a)m`qy^CR0_p>$AeCzvU@2-ac}7-JKKB55q4vVeg<*VvNqjI=S)b-g$>JJ; z*9bCW*Xf54`ZJ^rvXo{wZ=LNO-jVHg@%En{3b-}Ag--QGL_`~Ev?oh9EDvSurrCu% zesG5~&On&MX_K)56n~pXeF1kSha#<+b%til15=w}pw2HA*O;klV|u}`vvVvgW=A^~ zGX@T3XwbyFUXDdf>1GK;QKo@BNmZ=0Tn|i=Q4_6(#*}*KSlHnMBP#fn!$5xCgU+m6 zf|-l~xjlUlc-YIV3tk)54?VZLy)W+-HixoRX+X1#Z%8V|Gk!>_0iz;W|g z+9Kw&GPGHp*wp(3cI}Y{6JiCnxDJxoUMB3U8c3wt3R zg-C(DRMdIAwQn9Z7QJrPYh7$PzEia^!}z z!Z{@G!Xd`g(1GyoQF-$Sz$Ld@p2T^^nY+Sl{MXVR)Q>k%tJTW}Zu2Deii|mSYiSSh zuiW?c?x4_xOBTl<$di&ODNYu7T3rrwGHcLFi-&gaHtfcmQiBjbe%KV!B`91zuWbD@SR1x(V9HKpJX%x- zIVvrp>>4lbkrEh;BBR7;g3_>{D1c1Cs|xPJkH6(^*?jO>~^prXcn&Z znQ_!Zf}Rxad4XdfYpQga@2N40Epr1WWz7^@J2A9n8<%|(Q(;)--h^dtqo0i2lEvhS z0gtB&fU*{Lr%mZJ{6(g3$c>TtW3cwrNHtCP;nnVLlQ2)X<|=9p(@c2+0+ju=a)P=9 zK7WZ58C4(*5%#`TXI9@#hxel!PUh-vgqn^VO-(W@L*i=wIv=| zfIUiiBSmu58@e8J--OPyOe(we-@q%V(Redg3O@py1`)eL`JD%yh{vZ`Mg!|d+pw{`TVWaehT+cUN)8nYWaf9eG{ck{3(`^`@Cb@ zS=fcMx*5cqjXjCL3Uwx8y8}1?PM7w2un=`` zIsV!m25)8+Ps8F;nsDYm^jj$TFGME1l2PuMidw3`CbABaY;#usQKHI}AJ}wivW#HEvin0#Ai13b#?r8diMj(#LVc3YDG delta 1779 zcmV+x~mLGAaM9 z{QvCt@GNNjbt%my)dfJrsn+4&`^I+5{_`V7V9qE@L7g z8q}Ia(8pMrk`_SM3#bp2f>f?yfTgIx`P>8Kh1!jo3&Z#TllWk$vO3L`lEof@ z*9bCW*Xf54`ZKroFUKOLbh8AaDAPcmq$*Zgt_LQ`sEJlXV@f@=E$r}t5f%K(VIV#4L1#8y zf|-l~8J<1}JnS~>g4ag%L(grr_xZg-=8(541!$J>4N0YVhJOtyR%)4MJ>??WYuN^N zCul^YmCf5w8dkD?O>4m-pv-K;bDrsdN8;KkiYVvaIqJoLT4OyJFy|aJ{E7+z95mZ5kWx~#?fkdj!aPZC3gx4~aFv2voq?<%RjLl)3 zi4@qqiq*YEwtt63@>sqIr1GUOM)^u|R;q9(W(}glF1w5CNRlJBRxhf;OS~}4ksH!7 z=a9S$hZs{s2g18Y`OPB$m)z#^B+fI=+zzw$UrT#YKi)vCRxca4;7RO`j5#*6w1@at z?t6K6QRIb77RMmSlaeVZZWei4T?%wEZ?Q19RSWxXXn!mDh07)7UukOd5bM*5w>%Ma_5ziChxBEFX#W-BNOPhr`8e5W_> zUgn0B&3~w10%NivW#$ zZtQ&m$|!gOm$~z;;t2PPhj#BaY~W3)K_owZ*c8$wD4aj9Wc@Q(3$_k0Whc@eEvkbY zRW73J8ZXXB2@FP&QSBbbmakY)7HW;~+o>&ndw=nhEG`}%=j7q~pE+W7JJ=933)lM0 zIO-umPYU(!PeiV)gpG13 zorb^gvW-wbGJgzKo*Jp9nR|G(k!2F*Ck8y$R%RNzCm=xCUmH)U^I(%Gkx>Q05Md8? zI)AePei|jDHq)*D+6PX-ZU1DHv;RO%Lcg}$vD^A%vTK$IYH~HA#cgr{yofTEC$2XB z*yQ4gCF63AcAxb-suQP5HO=_xQiFM-l&Pt~BxzH(0^_DmojQ!1K6U9ZathU@!gy&^ z7yHPmRF?{qq*GmrOp;P{Dl%$X)v3XVsee@$|H$c8mkQ&iSPc!vO|!PdQ>9uv3XGI) zz2hD2ejla0ks>+jEnE+}Z$jr;CY7Dj8+ZjZ8gJ&x-A7>4AYxYxzwuS_U_am8-(EaE&acSq?rKi%=U?VO2Y&;< zzxXjMtjj{Jp|EdR-o*V@Zpc2Am$(-#?>W%m?tCMKp-gDx%fCKUN4#VFI88)FRMmf- znuJh(YNDzWMxr6qjK#!lx~5J-R#ojAsZ-4g+pK)(GdXoeqS`1pV;x?=rfu{-;h1)1t4XZ}rs}My2H>*j*x)u1!`EbyU(!a27 z1-Ozr3_(W`UfAvneC1*onpSC9ShoU9=?MmYr&J|u_5_~N2n<8BiXyBUfv2nhgWIe? z2&+bb%EdA0yUBal>Ix2Kq%;_Yx70N(E(3qS!@#}^kKtQ8Xt;Y%99V2@m>2DEpnt{}(iY;C~Z5a|rOGWzhft diff --git a/v10.5.0/output/pydis_core.async_stats.html b/v10.5.0/output/pydis_core.async_stats.html index cb499284a..ef60b9e8d 100644 --- a/v10.5.0/output/pydis_core.async_stats.html +++ b/v10.5.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v10.5.0/output/pydis_core.exts.html b/v10.5.0/output/pydis_core.exts.html index 28c078427..b25ca1085 100644 --- a/v10.5.0/output/pydis_core.exts.html +++ b/v10.5.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v10.5.0/output/pydis_core.html b/v10.5.0/output/pydis_core.html index 0c6918546..c11351f15 100644 --- a/v10.5.0/output/pydis_core.html +++ b/v10.5.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -578,7 +586,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -591,7 +599,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -605,7 +613,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -618,7 +626,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -628,7 +636,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -848,7 +856,7 @@

    Submodules - + diff --git a/v10.5.0/output/pydis_core.site_api.html b/v10.5.0/output/pydis_core.site_api.html index 521b1d0b4..72cd71b63 100644 --- a/v10.5.0/output/pydis_core.site_api.html +++ b/v10.5.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

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

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

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

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.caching.html b/v10.5.0/output/pydis_core.utils.caching.html index 5a519952f..b27c55a15 100644 --- a/v10.5.0/output/pydis_core.utils.caching.html +++ b/v10.5.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.channel.html b/v10.5.0/output/pydis_core.utils.channel.html index ca4e88ba7..b540b3d25 100644 --- a/v10.5.0/output/pydis_core.utils.channel.html +++ b/v10.5.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.commands.html b/v10.5.0/output/pydis_core.utils.commands.html index b86bbcf11..fe39ace91 100644 --- a/v10.5.0/output/pydis_core.utils.commands.html +++ b/v10.5.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.cooldown.html b/v10.5.0/output/pydis_core.utils.cooldown.html index 9e9bc3225..4192b5aa2 100644 --- a/v10.5.0/output/pydis_core.utils.cooldown.html +++ b/v10.5.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.error_handling.html b/v10.5.0/output/pydis_core.utils.error_handling.html index 560f386bc..f4f8e2ee3 100644 --- a/v10.5.0/output/pydis_core.utils.error_handling.html +++ b/v10.5.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.function.html b/v10.5.0/output/pydis_core.utils.function.html index 2a44158ce..5c3637ae6 100644 --- a/v10.5.0/output/pydis_core.utils.function.html +++ b/v10.5.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

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

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

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

    +

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

    @@ -577,7 +585,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.html b/v10.5.0/output/pydis_core.utils.html index 6f4d52a10..b586770ec 100644 --- a/v10.5.0/output/pydis_core.utils.html +++ b/v10.5.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -557,10 +565,12 @@

    SubmodulesPasteFile.__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__
  • @@ -569,19 +579,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -697,7 +705,7 @@

    Submodules - + diff --git a/v10.5.0/output/pydis_core.utils.interactions.html b/v10.5.0/output/pydis_core.utils.interactions.html index 26a89fe90..4ff52c860 100644 --- a/v10.5.0/output/pydis_core.utils.interactions.html +++ b/v10.5.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -528,7 +536,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -617,7 +625,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.logging.html b/v10.5.0/output/pydis_core.utils.logging.html index 7cb06bf91..28162d408 100644 --- a/v10.5.0/output/pydis_core.utils.logging.html +++ b/v10.5.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

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

    @@ -573,7 +581,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.members.html b/v10.5.0/output/pydis_core.utils.members.html index dc7d118d3..1164d19a9 100644 --- a/v10.5.0/output/pydis_core.utils.members.html +++ b/v10.5.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.paste_service.html b/v10.5.0/output/pydis_core.utils.paste_service.html index 45e961535..09603a98f 100644 --- a/v10.5.0/output/pydis_core.utils.paste_service.html +++ b/v10.5.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,9 +464,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"

    @@ -480,9 +488,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:93843211386688', '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:94795873213008', '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.

    @@ -505,6 +519,13 @@

    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]
    @@ -538,13 +559,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000555993477f40,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007fd9c53679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007fd9c6156ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd9c61530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007fd9c509c370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd9c4e044b0,                                         ),                                     ),                                     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(             0x0000563762595a50,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "lexer": SerField {                         key_py: Py(                             0x00007f5b923450b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f5b920ad270,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f5b93556ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f5b935530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007f5b926679b0,                         ),                         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: 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(                                 0x00007fd9baecfbb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fd9baecfe30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd9c53679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fd9baecfcb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fd9baecfdb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd9c6156ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd9c61530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd9c3fd2680,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fd9baecfc70,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fd9baecfb70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd9c509c370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd9c4e044b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd9c3fd2680,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000555993477f40,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd9c3fd2680,         ),         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(                                 0x00007f5b7fd28cf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f5b7fd28ff0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f5b926679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f5b7fd28d30,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f5b7fd28ef0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f5b93556ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f5b935530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f5b912c23c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f5b7fd28db0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f5b7fd28b70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f5b923450b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f5b920ad270,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f5b912c23c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000563762595a50,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f5b912c23c0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -554,26 +575,12 @@

    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.

    -
    -
    @@ -584,8 +591,8 @@
    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.

    @@ -607,9 +614,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.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:93843210094160', '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:94795873096064', '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.

    @@ -632,6 +645,13 @@

    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]
    @@ -665,13 +685,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055599333c650,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007fd9bb85adf0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007fd9c60ac2a0,                         ),                         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(             0x0000563762579180,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007f5b8d01bef0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007f5b934ac2a0,                         ),                         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(                                 0x00007fd9bbfdfb30,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fd9b8efaa30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd9c60ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fd9bad962b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fd9bad94470,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd9bb85adf0,                         ),                         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(             0x000055599333c650,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd9c3fd2680,         ),         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(                                 0x00007f5b8c130b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f5b8d69f230,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f5b934ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f5b7fd29770,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f5b7fd29eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f5b8d01bef0,                         ),                         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(             0x0000563762579180,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f5b912c23c0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -681,46 +701,32 @@

    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.

    @@ -731,15 +737,15 @@
    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:
    @@ -816,10 +822,12 @@
  • 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__
  • @@ -828,19 +836,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -870,7 +876,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.regex.html b/v10.5.0/output/pydis_core.utils.regex.html index bac421486..48bf0a849 100644 --- a/v10.5.0/output/pydis_core.utils.regex.html +++ b/v10.5.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v10.5.0/output/pydis_core.utils.scheduling.html b/v10.5.0/output/pydis_core.utils.scheduling.html index 381efe767..6d23a8159 100644 --- a/v10.5.0/output/pydis_core.utils.scheduling.html +++ b/v10.5.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

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

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v10.5.0/py-modindex.html b/v10.5.0/py-modindex.html index 99e587bbf..028a985e1 100644 --- a/v10.5.0/py-modindex.html +++ b/v10.5.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v10.5.0 + Python Module Index - Pydis Core v10.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v10.5.0/search.html b/v10.5.0/search.html index 3b84af3de..596a47f63 100644 --- a/v10.5.0/search.html +++ b/v10.5.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v10.5.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v10.5.0/searchindex.js b/v10.5.0/searchindex.js index a233cf823..95ff4e99c 100644 --- a/v10.5.0/searchindex.js +++ b/v10.5.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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[15, "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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"], [15, 5, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x000055599333c650": 17, "0x0000555993477f40": 17, "0x00007fd9b8efaa30": 17, "0x00007fd9bad94470": 17, "0x00007fd9bad962b0": 17, "0x00007fd9baecfb70": 17, "0x00007fd9baecfbb0": 17, "0x00007fd9baecfc70": 17, "0x00007fd9baecfcb0": 17, "0x00007fd9baecfdb0": 17, "0x00007fd9baecfe30": 17, "0x00007fd9bb85adf0": 17, "0x00007fd9bbfdfb30": 17, "0x00007fd9c3fd2680": 17, "0x00007fd9c4e044b0": 17, "0x00007fd9c509c370": 17, "0x00007fd9c53679f0": 17, "0x00007fd9c60ac2a0": 17, "0x00007fd9c61530c0": 17, "0x00007fd9c6156ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "196": 0, "197": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "93843210094160": 17, "93843211386688": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 15, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "across": [0, 15], "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 15, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 15, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "chardet": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "cut": 0, "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatt": 15, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 17, 19], "functool": [13, 17], "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "get": [0, 3, 6, 9, 16], "get_json_schema_update_func": 17, "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": [0, 1], "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "json_schema_update_func": 17, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [0, 7, 15], "lexer": [0, 17], "librari": [0, 1], "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": [2, 17], "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_format": [0, 3, 7, 15], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "map": 17, "march": 0, "mark": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_computed_field": [7, 17], "model_config": [7, 17], "model_field": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modify_model_json_schema": 17, "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newer": 0, "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "partial": 17, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 15], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_annotation_funct": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": [0, 2], "pydis_cor": [0, 1, 3, 14, 15, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "standardis": [0, 15], "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "u": 0, "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 19], "wasn": 10, "we": [15, 16], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "without": 0, "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[15, "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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"], [15, 5, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x0000563762579180": 17, "0x0000563762595a50": 17, "0x00007f5b7fd28b70": 17, "0x00007f5b7fd28cf0": 17, "0x00007f5b7fd28d30": 17, "0x00007f5b7fd28db0": 17, "0x00007f5b7fd28ef0": 17, "0x00007f5b7fd28ff0": 17, "0x00007f5b7fd29770": 17, "0x00007f5b7fd29eb0": 17, "0x00007f5b8c130b30": 17, "0x00007f5b8d01bef0": 17, "0x00007f5b8d69f230": 17, "0x00007f5b912c23c0": 17, "0x00007f5b920ad270": 17, "0x00007f5b923450b0": 17, "0x00007f5b926679b0": 17, "0x00007f5b934ac2a0": 17, "0x00007f5b935530c0": 17, "0x00007f5b93556ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "196": 0, "197": 0, "19th": 0, "2": [0, 3, 14, 17], "2021": 0, "2022": 0, "2023": 0, "204": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "94795873096064": 17, "94795873213008": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 15, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_computed_fields__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "across": [0, 15], "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 15, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 15, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "chardet": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "cut": 0, "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatt": 15, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "generic_origin": 17, "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": [0, 1], "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [0, 7, 15], "lexer": [0, 17], "librari": [0, 1], "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_format": [0, 3, 7, 15], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "mark": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_config": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newer": 0, "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 15], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": [0, 2], "pydis_cor": [0, 1, 3, 14, 15, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "standardis": [0, 15], "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "u": 0, "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 19], "wasn": 10, "we": [15, 16], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "without": 0, "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v10.5.0/versions.html b/v10.5.0/versions.html index 16ead7fe0..3eef474b1 100644 --- a/v10.5.0/versions.html +++ b/v10.5.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v10.5.0 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v10.5.1/.buildinfo b/v10.5.1/.buildinfo index 02489f0c8..f34e9302d 100644 --- a/v10.5.1/.buildinfo +++ b/v10.5.1/.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: 9b3bbff421b7e5b1c2bdd2a76094b4db +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 9f5cfed96365d8a31e9abc6ccb0ff3c9 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v10.5.1/_static/basic.css b/v10.5.1/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v10.5.1/_static/basic.css +++ b/v10.5.1/_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.5.1/_static/doctools.js b/v10.5.1/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v10.5.1/_static/doctools.js +++ b/v10.5.1/_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.5.1/_static/language_data.js b/v10.5.1/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v10.5.1/_static/language_data.js +++ b/v10.5.1/_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.5.1/_static/searchtools.js b/v10.5.1/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v10.5.1/_static/searchtools.js +++ b/v10.5.1/_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.5.1/changelog.html b/v10.5.1/changelog.html index 35c426c1d..d96a5eab2 100644 --- a/v10.5.1/changelog.html +++ b/v10.5.1/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -543,7 +551,7 @@

    9.3.0 13th December 2022

    @@ -825,7 +833,7 @@

    - + diff --git a/v10.5.1/development.html b/v10.5.1/development.html index 3100401f2..3e55abcac 100644 --- a/v10.5.1/development.html +++ b/v10.5.1/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v10.5.1/genindex.html b/v10.5.1/genindex.html index b6723820b..d22c8c9df 100644 --- a/v10.5.1/genindex.html +++ b/v10.5.1/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v10.5.1 + Index - Pydis Core v10.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -483,6 +491,12 @@

    _

    +
  • __pydantic_computed_fields__ (PasteFile attribute) + +
  • __pydantic_core_schema__ (PasteFile attribute) @@ -509,6 +523,12 @@

    _

  • +
  • __pydantic_fields__ (PasteFile attribute) + +
  • __pydantic_fields_set__ (PasteFile attribute) @@ -741,22 +761,10 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PasteFile attribute) - -
  • model_config (PasteFile attribute)
  • -
  • model_fields (PasteFile attribute) - -
  • @@ -1092,7 +1100,7 @@

    W

    - + diff --git a/v10.5.1/index.html b/v10.5.1/index.html index c91aed5ab..e4df274ec 100644 --- a/v10.5.1/index.html +++ b/v10.5.1/index.html @@ -5,13 +5,13 @@ - + Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -550,7 +558,7 @@

    Extras - + diff --git a/v10.5.1/index_redirect.html b/v10.5.1/index_redirect.html index 2d6d115e0..fa0fd8c16 100644 --- a/v10.5.1/index_redirect.html +++ b/v10.5.1/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v10.5.1 - + @@ -55,7 +55,7 @@

    - + diff --git a/v10.5.1/objects.inv b/v10.5.1/objects.inv index 81ff6c59282f1f4c498633252eb8cb3925db076a..1606691abb220de9faaecd39de4a9d3a81ccbc8e 100644 GIT binary patch delta 1776 zcmVWsG?PO2LQ05{B!)HNy#gx*Npi+xLf4dWy5ukfST2Tu%a}-r z2DN4p^a)m`qy^CR0_p>$AeCzvU@2-ac}7-JKKB55q4vVeg<*VvNqjI=S)b-g$>JJ; z*9bCW*Xf54`ZJ^rvXo{wZ=LNO-jVHg@%En{3b-}Ag--QGL_`~Ev?oh9EDvSurrCu% zesG5~&On&MX_K)56n~pXeF1kSha#<+b%til15=w}pw2HA*O;klV|u}`vvVvgW=A^~ zGX@T3XwbyFUXDdf>1GK;QKo@BNmZ=0Tn|i=Q4_6(#*}*KSlHnMBP#fn!$5xCgU+m6 zf|-l~xjlUlc-YIV3tk)54?VZLy)W+-HixoRX+X1#Z%8V|Gk!>_0iz;W|g z+9Kw&GPGHp*wp(3cI}Y{6JiCnxDJxoUMB3U8c3wt3R zg-C(DRMdIAwQn9Z7QJrPYh7$PzEia^!}z z!Z{@G!Xd`g(1GyoQF-$Sz$Ld@p2T^^nY+Sl{MXVR)Q>k%tJTW}Zu2Deii|mSYiSSh zuiW?c?x4_xOBTl<$di&ODNYu7T3rrwGHcLFi-&gaHtfcmQiBjbe%KV!B`91zuWbD@SR1x(V9HKpJX%x- zIVvrp>>4lbkrEh;BBR7;g3_>{D1c1Cs|xPJkH6(^*?jO>~^prXcn&Z znQ_!Zf}Rxad4XdfYpQga@2N40Epr1WWz7^@J2A9n8<%|(Q(;)--h^dtqo0i2lEvhS z0gtB&fU*{Lr%mZJ{6(g3$c>TtW3cwrNHtCP;nnVLlQ2)X<|=9p(@c2+0+ju=a)P=9 zK7WZ58C4(*5%#`TXI9@#hxel!PUh-vgqn^VO-(W@L*i=wIv=| zfIUiiBSmu58@e8J--OPyOe(we-@q%V(Redg3O@py1`)eL`JD%yh{vZ`Mg!|d+pw{`TVWaehT+cUN)8nYWaf9eG{ck{3(`^`@Cb@ zS=fcMx*5cqjXjCL3Uwx8y8}1?PM7w2un=`` zIsV!m25)8+Ps8F;nsDYm^jj$TFGME1l2PuMidw3`CbABaY;#usQKHI}AJ}wivW#HEvin0#Ai13b#?r8diMj(#LVc3YDG delta 1779 zcmV+x~mLGAaM9 z{QvCt@GNNjbt%my)dfJrsn+4&`^I+5{_`V7V9qE@L7g z8q}Ia(8pMrk`_SM3#bp2f>f?yfTgIx`P>8Kh1!jo3&Z#TllWk$vO3L`lEof@ z*9bCW*Xf54`ZKroFUKOLbh8AaDAPcmq$*Zgt_LQ`sEJlXV@f@=E$r}t5f%K(VIV#4L1#8y zf|-l~8J<1}JnS~>g4ag%L(grr_xZg-=8(541!$J>4N0YVhJOtyR%)4MJ>??WYuN^N zCul^YmCf5w8dkD?O>4m-pv-K;bDrsdN8;KkiYVvaIqJoLT4OyJFy|aJ{E7+z95mZ5kWx~#?fkdj!aPZC3gx4~aFv2voq?<%RjLl)3 zi4@qqiq*YEwtt63@>sqIr1GUOM)^u|R;q9(W(}glF1w5CNRlJBRxhf;OS~}4ksH!7 z=a9S$hZs{s2g18Y`OPB$m)z#^B+fI=+zzw$UrT#YKi)vCRxca4;7RO`j5#*6w1@at z?t6K6QRIb77RMmSlaeVZZWei4T?%wEZ?Q19RSWxXXn!mDh07)7UukOd5bM*5w>%Ma_5ziChxBEFX#W-BNOPhr`8e5W_> zUgn0B&3~w10%NivW#$ zZtQ&m$|!gOm$~z;;t2PPhj#BaY~W3)K_owZ*c8$wD4aj9Wc@Q(3$_k0Whc@eEvkbY zRW73J8ZXXB2@FP&QSBbbmakY)7HW;~+o>&ndw=nhEG`}%=j7q~pE+W7JJ=933)lM0 zIO-umPYU(!PeiV)gpG13 zorb^gvW-wbGJgzKo*Jp9nR|G(k!2F*Ck8y$R%RNzCm=xCUmH)U^I(%Gkx>Q05Md8? zI)AePei|jDHq)*D+6PX-ZU1DHv;RO%Lcg}$vD^A%vTK$IYH~HA#cgr{yofTEC$2XB z*yQ4gCF63AcAxb-suQP5HO=_xQiFM-l&Pt~BxzH(0^_DmojQ!1K6U9ZathU@!gy&^ z7yHPmRF?{qq*GmrOp;P{Dl%$X)v3XVsee@$|H$c8mkQ&iSPc!vO|!PdQ>9uv3XGI) zz2hD2ejla0ks>+jEnE+}Z$jr;CY7Dj8+ZjZ8gJ&x-A7>4AYxYxzwuS_U_am8-(EaE&acSq?rKi%=U?VO2Y&;< zzxXjMtjj{Jp|EdR-o*V@Zpc2Am$(-#?>W%m?tCMKp-gDx%fCKUN4#VFI88)FRMmf- znuJh(YNDzWMxr6qjK#!lx~5J-R#ojAsZ-4g+pK)(GdXoeqS`1pV;x?=rfu{-;h1)1t4XZ}rs}My2H>*j*x)u1!`EbyU(!a27 z1-Ozr3_(W`UfAvneC1*onpSC9ShoU9=?MmYr&J|u_5_~N2n<8BiXyBUfv2nhgWIe? z2&+bb%EdA0yUBal>Ix2Kq%;_Yx70N(E(3qS!@#}^kKtQ8Xt;Y%99V2@m>2DEpnt{}(iY;C~Z5a|rOGWzhft diff --git a/v10.5.1/output/pydis_core.async_stats.html b/v10.5.1/output/pydis_core.async_stats.html index 3d893c75f..8e1c0e251 100644 --- a/v10.5.1/output/pydis_core.async_stats.html +++ b/v10.5.1/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v10.5.1/output/pydis_core.exts.html b/v10.5.1/output/pydis_core.exts.html index b7d64d548..fca33f470 100644 --- a/v10.5.1/output/pydis_core.exts.html +++ b/v10.5.1/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v10.5.1/output/pydis_core.html b/v10.5.1/output/pydis_core.html index 54c57190f..67741cf85 100644 --- a/v10.5.1/output/pydis_core.html +++ b/v10.5.1/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -578,7 +586,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -591,7 +599,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -605,7 +613,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -618,7 +626,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -628,7 +636,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -848,7 +856,7 @@

    Submodules - + diff --git a/v10.5.1/output/pydis_core.site_api.html b/v10.5.1/output/pydis_core.site_api.html index e836e9e11..e18c407c8 100644 --- a/v10.5.1/output/pydis_core.site_api.html +++ b/v10.5.1/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -480,7 +488,7 @@

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

    Return type:
    -

    dict | None

    +

    dict | None

    @@ -491,7 +499,7 @@

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

    Return type:
    -

    dict | None

    +

    dict | None

    @@ -503,15 +511,15 @@
    Parameters:
    Raises:

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

    Return type:
    -

    None

    +

    None

    @@ -522,7 +530,7 @@

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

    Return type:
    -

    dict | None

    +

    dict | None

    @@ -533,7 +541,7 @@

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

    Return type:
    -

    dict | None

    +

    dict | None

    @@ -544,7 +552,7 @@

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

    Return type:
    -

    dict | None

    +

    dict | None

    @@ -556,17 +564,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.

    @@ -579,7 +587,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.

    @@ -588,9 +596,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.

    @@ -691,7 +699,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.caching.html b/v10.5.1/output/pydis_core.utils.caching.html index c0430827f..10d04512d 100644 --- a/v10.5.1/output/pydis_core.utils.caching.html +++ b/v10.5.1/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.channel.html b/v10.5.1/output/pydis_core.utils.channel.html index fba38e3bd..9644461b2 100644 --- a/v10.5.1/output/pydis_core.utils.channel.html +++ b/v10.5.1/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.commands.html b/v10.5.1/output/pydis_core.utils.commands.html index 41629e3b6..eb4a3babc 100644 --- a/v10.5.1/output/pydis_core.utils.commands.html +++ b/v10.5.1/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.cooldown.html b/v10.5.1/output/pydis_core.utils.cooldown.html index 37c32c135..66ccde381 100644 --- a/v10.5.1/output/pydis_core.utils.cooldown.html +++ b/v10.5.1/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.error_handling.html b/v10.5.1/output/pydis_core.utils.error_handling.html index 2087143fa..26f4a913d 100644 --- a/v10.5.1/output/pydis_core.utils.error_handling.html +++ b/v10.5.1/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.function.html b/v10.5.1/output/pydis_core.utils.function.html index ad6111f21..e6a7cefb4 100644 --- a/v10.5.1/output/pydis_core.utils.function.html +++ b/v10.5.1/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

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

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

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

    +

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

    @@ -577,7 +585,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.html b/v10.5.1/output/pydis_core.utils.html index 9907de61e..e191a40f0 100644 --- a/v10.5.1/output/pydis_core.utils.html +++ b/v10.5.1/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -557,10 +565,12 @@

    SubmodulesPasteFile.__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__
  • @@ -569,19 +579,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -697,7 +705,7 @@

    Submodules - + diff --git a/v10.5.1/output/pydis_core.utils.interactions.html b/v10.5.1/output/pydis_core.utils.interactions.html index b6d2d52ad..ca809926b 100644 --- a/v10.5.1/output/pydis_core.utils.interactions.html +++ b/v10.5.1/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -528,7 +536,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -617,7 +625,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.logging.html b/v10.5.1/output/pydis_core.utils.logging.html index 9c40c9455..1bc1f5f4e 100644 --- a/v10.5.1/output/pydis_core.utils.logging.html +++ b/v10.5.1/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

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

    @@ -573,7 +581,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.members.html b/v10.5.1/output/pydis_core.utils.members.html index d36ce7365..58e4a367f 100644 --- a/v10.5.1/output/pydis_core.utils.members.html +++ b/v10.5.1/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.paste_service.html b/v10.5.1/output/pydis_core.utils.paste_service.html index b3f7be1a2..d7d3c09f9 100644 --- a/v10.5.1/output/pydis_core.utils.paste_service.html +++ b/v10.5.1/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,9 +464,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"

    @@ -480,9 +488,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:93874817678976', '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:93966960492432', '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.

    @@ -505,6 +519,13 @@

    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]
    @@ -538,13 +559,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005560ef293e80,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f4c676679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f4c67388130,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f4c670f4270,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f4c68556ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f4c685530c0,                                         ),                                     ),                                     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(             0x00005576634cff90,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007f3ca5756ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca57530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007f3ca49679b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f3ca46a4e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca4409030,                                         ),                                     ),                                     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(                                 0x00007f4c615c7bf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f4c615c7cf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f4c676679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f4c615c7bb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f4c615c7b30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f4c68556ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f4c685530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f4c662e6470,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f4c615c7af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f4c615c7a30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f4c67388130,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f4c670f4270,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f4c662e6470,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005560ef293e80,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f4c662e6470,         ),         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(                                 0x00007f3c9a144c70,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f3c9a144f70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ca49679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f3c9a144cf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f3c9a144ef0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ca5756ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca57530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ca35fa3c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f3c9a144db0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f3c9a144af0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ca46a4e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca4409030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ca35fa3c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005576634cff90,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3ca35fa3c0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -554,26 +575,12 @@

    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.

    -
    -
    @@ -584,8 +591,8 @@
    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.

    @@ -607,9 +614,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.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:93874817562352', '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:93966960347280', '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.

    @@ -632,6 +645,13 @@

    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]
    @@ -665,13 +685,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005560ef2776f0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f4c684ac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f4c62088870,                         ),                         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(             0x00005576634ac890,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007f3c9abe79b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007f3ca56ac2a0,                         ),                         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(                                 0x00007f4c600b0030,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f4c615cbbf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f4c684ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f4c615c8730,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f4c615c93b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f4c62088870,                         ),                         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(             0x00005560ef2776f0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f4c662e6470,         ),         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(                                 0x00007f3ca1d7f970,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f3ca1d053f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ca56ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f3c9a34c630,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f3ca016e730,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3c9abe79b0,                         ),                         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(             0x00005576634ac890,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3ca35fa3c0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -681,46 +701,32 @@

    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.

    @@ -731,15 +737,15 @@
    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:
    @@ -816,10 +822,12 @@
  • 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__
  • @@ -828,19 +836,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -870,7 +876,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.regex.html b/v10.5.1/output/pydis_core.utils.regex.html index 471dd1cf7..31a2ce950 100644 --- a/v10.5.1/output/pydis_core.utils.regex.html +++ b/v10.5.1/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v10.5.1/output/pydis_core.utils.scheduling.html b/v10.5.1/output/pydis_core.utils.scheduling.html index a0e31bc15..83a4443c7 100644 --- a/v10.5.1/output/pydis_core.utils.scheduling.html +++ b/v10.5.1/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

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

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v10.5.1/py-modindex.html b/v10.5.1/py-modindex.html index a3e3b8b3d..b1840d39c 100644 --- a/v10.5.1/py-modindex.html +++ b/v10.5.1/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v10.5.1 + Python Module Index - Pydis Core v10.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v10.5.1/search.html b/v10.5.1/search.html index 0542dc35f..a8a6063c1 100644 --- a/v10.5.1/search.html +++ b/v10.5.1/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v10.5.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v10.5.1/searchindex.js b/v10.5.1/searchindex.js index 6165f61b8..2ef5254a0 100644 --- a/v10.5.1/searchindex.js +++ b/v10.5.1/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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[15, "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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"], [15, 5, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_computed_fields"], [17, 6, 1, "", "model_config"], [17, 6, 1, "", "model_fields"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x00005560ef2776f0": 17, "0x00005560ef293e80": 17, "0x00007f4c600b0030": 17, "0x00007f4c615c7a30": 17, "0x00007f4c615c7af0": 17, "0x00007f4c615c7b30": 17, "0x00007f4c615c7bb0": 17, "0x00007f4c615c7bf0": 17, "0x00007f4c615c7cf0": 17, "0x00007f4c615c8730": 17, "0x00007f4c615c93b0": 17, "0x00007f4c615cbbf0": 17, "0x00007f4c62088870": 17, "0x00007f4c662e6470": 17, "0x00007f4c670f4270": 17, "0x00007f4c67388130": 17, "0x00007f4c676679f0": 17, "0x00007f4c684ac2a0": 17, "0x00007f4c685530c0": 17, "0x00007f4c68556ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "196": 0, "197": 0, "19th": 0, "2": [0, 3, 14, 17], "200": 0, "2021": 0, "2022": 0, "2023": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "93874817562352": 17, "93874817678976": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 15, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "across": [0, 15], "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 15, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 15, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "chardet": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 6, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "cut": 0, "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "did": 0, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [0, 1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatt": 15, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 17, 19], "functool": [13, 17], "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "get": [0, 3, 6, 9, 16], "get_json_schema_update_func": 17, "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": [0, 1], "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "json_schema_update_func": 17, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [0, 7, 15], "lexer": [0, 17], "librari": [0, 1], "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": [2, 17], "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_format": [0, 3, 7, 15], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "map": 17, "march": 0, "mark": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_computed_field": [7, 17], "model_config": [7, 17], "model_field": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modify_model_json_schema": 17, "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newer": 0, "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "partial": 17, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "previous": 0, "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 15], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_annotation_funct": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": [0, 2], "pydis_cor": [0, 1, 3, 14, 15, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "read": 0, "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [0, 6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "standardis": [0, 15], "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "u": 0, "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 19], "wasn": 10, "we": [15, 16], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "without": 0, "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[17, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[17, "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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_format (in module pydis_core.utils.logging)": [[15, "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)": [[17, "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 (pastefile attribute)": [[17, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[17, "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pastefile (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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.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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"], [14, 2, 1, "", "stop"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"], [15, 5, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteFile"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[17, 6, 1, "", "__class_vars__"], [17, 6, 1, "", "__private_attributes__"], [17, 6, 1, "", "__pydantic_complete__"], [17, 6, 1, "", "__pydantic_computed_fields__"], [17, 6, 1, "", "__pydantic_core_schema__"], [17, 6, 1, "", "__pydantic_custom_init__"], [17, 6, 1, "", "__pydantic_decorators__"], [17, 6, 1, "", "__pydantic_extra__"], [17, 6, 1, "", "__pydantic_fields__"], [17, 6, 1, "", "__pydantic_fields_set__"], [17, 6, 1, "", "__pydantic_generic_metadata__"], [17, 6, 1, "", "__pydantic_parent_namespace__"], [17, 6, 1, "", "__pydantic_post_init__"], [17, 6, 1, "", "__pydantic_private__"], [17, 6, 1, "", "__pydantic_serializer__"], [17, 6, 1, "", "__pydantic_validator__"], [17, 6, 1, "", "__signature__"], [17, 6, 1, "", "model_config"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"], "6": ["py", "attribute", "Python attribute"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data", "6": "py:attribute"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "0x00005576634ac890": 17, "0x00005576634cff90": 17, "0x00007f3c9a144af0": 17, "0x00007f3c9a144c70": 17, "0x00007f3c9a144cf0": 17, "0x00007f3c9a144db0": 17, "0x00007f3c9a144ef0": 17, "0x00007f3c9a144f70": 17, "0x00007f3c9a34c630": 17, "0x00007f3c9abe79b0": 17, "0x00007f3ca016e730": 17, "0x00007f3ca1d053f0": 17, "0x00007f3ca1d7f970": 17, "0x00007f3ca35fa3c0": 17, "0x00007f3ca4409030": 17, "0x00007f3ca46a4e70": 17, "0x00007f3ca49679b0": 17, "0x00007f3ca56ac2a0": 17, "0x00007f3ca57530c0": 17, "0x00007f3ca5756ea0": 17, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "18th": 0, "190": 0, "192": 0, "195": 0, "196": 0, "197": 0, "19th": 0, "2": [0, 3, 14, 17], "200": 0, "2021": 0, "2022": 0, "2023": 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, 17], "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "93966960347280": 17, "93966960492432": 17, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 15, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__args__": 17, "__call__": [7, 8], "__class_vars__": [7, 17], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__fields__": 17, "__get_pydantic_json_schema__": 17, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 17, 19], "__module__": 13, "__name__": 13, "__origin__": 17, "__parameters__": 17, "__private_attributes__": [7, 17], "__pydantic_complete__": [7, 17], "__pydantic_computed_fields__": [7, 17], "__pydantic_core_schema__": [7, 17], "__pydantic_custom_init__": [7, 17], "__pydantic_decorators__": [7, 17], "__pydantic_extra__": [7, 17], "__pydantic_fields__": [7, 17], "__pydantic_fields_set__": [7, 17], "__pydantic_generic_metadata__": [7, 17], "__pydantic_parent_namespace__": [7, 17], "__pydantic_post_init__": [7, 17], "__pydantic_private__": [7, 17], "__pydantic_serializer__": [7, 17], "__pydantic_validator__": [7, 17], "__qualname__": 13, "__root_validators__": 17, "__signature__": [7, 17], "__str__": [3, 6], "__validators__": 17, "_decor": 17, "_gener": 17, "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abc": 0, "abl": 0, "about": [11, 17], "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "across": [0, 15], "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "addit": 0, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11, 17], "alias": [3, 7], "alias_pi": 17, "all": [0, 1, 3, 4, 7, 15, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 17, 18, 19], "annot": [13, 17], "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11, 17], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 13, 14, 17, 18], "arg": [3, 11, 15, 17], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13, 17], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 17], "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basemodel": 17, "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": [0, 3], "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 17, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "bound": 17, "break": [0, 13], "broke": 0, "bug": 0, "build": 17, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "cache_str": 17, "calcul": 19, "call": [0, 3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 15, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "chardet": 0, "check": [3, 6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "cl": 17, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "classvar": 17, "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 6, 18], "coerce_numbers_to_str": 17, "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "complet": 17, "compos": 1, "comput": 17, "computed_field": 17, "computedfield": 17, "computedfieldinfo": 17, "config": 17, "configdict": 17, "configur": [1, 17], "conflict": 13, "conform": 17, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "copy_default": 17, "core": [0, 1, 17], "coreschema": 17, "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "correspond": 17, "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15, 17], "custom_init": 17, "customlogg": [3, 7, 15], "cut": 0, "d": [1, 13], "dai": 0, "data": 17, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13, 17], "decoratorinfo": 17, "default": [0, 1, 3, 17], "defin": 17, "definit": 17, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [6, 17], "dictionari": 17, "did": 0, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [0, 1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "dump": 17, "duplic": [0, 11], "dure": 17, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [0, 3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "eventu": 17, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "exclud": 17, "execut": 19, "exist": [0, 1, 19], "expect": 16, "expiri": 0, "explain": 0, "explicitli": 17, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": [6, 17], "extra_behavior": 17, "extra_seri": 17, "extras_valid": 17, "fail": [9, 17], "failur": 16, "fals": [11, 17], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "field": 17, "field_seri": 17, "field_valid": 17, "fieldinfo": 17, "fifo": 8, "file": [0, 1, 17], "filter": [0, 17], "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": [17, 18], "formatt": 15, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "from_attribut": 17, "frozen": 17, "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 17, 19], "generalfieldsseri": 17, "generic_origin": 17, "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7, 17], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "has_extra": 17, "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13, 17], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [0, 1, 12, 17], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": [0, 1], "inform": [2, 15], "init": [0, 3, 4, 17], "initi": [6, 19], "initialis": [3, 8], "input": 14, "inspect": 17, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 17, 19], "instanti": [3, 14, 17, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": [8, 17], "key_pi": 17, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [0, 7, 15], "lexer": [0, 17], "librari": [0, 1], "like": [1, 13], "link": 17, "lint": 0, "list": [0, 1, 3, 17], "listen": 14, "liter": 17, "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": 17, "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_format": [0, 3, 7, 15], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "lookup_kei": 17, "lookuppath": 17, "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8, 17], "main": 0, "make": [0, 1, 3, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "mark": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "metadata": 17, "method": [0, 4, 6, 7, 15, 17], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "mode": 17, "model": 17, "model_config": [7, 17], "model_nam": 17, "model_post_init": 17, "model_seri": 17, "model_valid": 17, "modelfield": 17, "modelfieldsvalid": 17, "modelprivateattr": 17, "modelseri": 17, "modelvalid": 17, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 17, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multipl": 0, "multivers": 0, "must": [0, 19], "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "name_pi": 17, "namespac": [0, 17, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "never": 17, "new": [0, 1, 4, 6, 8, 13, 19], "newer": 0, "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 17, 19], "occur": 14, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": 17, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": [0, 8], "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": [14, 17], "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "overwrit": [0, 3], "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14, 17], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [0, 3, 7], "paste_url": 17, "pastebin": 0, "pastefil": [0, 3, 7, 17], "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": [1, 17], "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "pluggableschemavalid": 17, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "post_init": 17, "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "previous": 0, "privat": 17, "privatechannel": [0, 9], "problem": 15, "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 15], "provid": [0, 1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": [16, 17], "push": 0, "put": [3, 6], "py": [0, 3, 13, 17], "py_kei": 17, "pydant": 17, "pydantic_js_funct": 17, "pydanticgenericmetadata": 17, "pydi": [0, 2], "pydis_cor": [0, 1, 3, 14, 15, 17], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "read": 0, "readi": 3, "real": 0, "rebuild": 17, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": 17, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "relev": 3, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": [13, 17], "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 17, 19], "required_field": 17, "resolut": 0, "resolv": [3, 13], "respons": [0, 6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revalid": 17, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "root_model": 17, "root_valid": 17, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "schema": 17, "schemafilt": 17, "schemaseri": 17, "schemavalid": 17, "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [0, 6, 14], "send_notic": 11, "send_to_paste_servic": [0, 3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "serfield": 17, "serial": 17, "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14, 17], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14, 17], "should_rais": 6, "signatur": [11, 17], "similar": [14, 17, 18], "simpl": 17, "simpledict": 17, "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "standardis": [0, 15], "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": [3, 17], "stop": [0, 7, 14], "store": [0, 7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "strict": 17, "string": [0, 6], "strserial": 17, "strvalid": 17, "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "synthes": 17, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10, 17], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 17, 18, 19], "thread": [0, 9], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "titl": 17, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 17, 19], "tupl": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typehint": 13, "typevar": [11, 13, 19], "u": 0, "ui": 14, "unavail": 3, "unawait": 19, "undefin": 17, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [0, 3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15, 17], "v1": [0, 17], "valid": [0, 17], "validate_default": 17, "valu": [11, 13, 15, 17], "valueerror": [6, 17], "vari": 1, "variabl": [1, 17], "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 19], "wasn": 10, "we": [15, 16], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9, 17], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "withdefault": 17, "withdefaultseri": 17, "withdefaultvalid": 17, "within": [0, 3], "without": 0, "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v10.5.1/versions.html b/v10.5.1/versions.html index e41647ad9..049366dc8 100644 --- a/v10.5.1/versions.html +++ b/v10.5.1/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v10.5.1 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v10.6.0/.buildinfo b/v10.6.0/.buildinfo index 094b5a55e..091e891de 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 f316efcb4..7ebbd6d07 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 4d67807d1..0398ebb9f 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 367b8ed81..c7fe6c6fa 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 b08d58c9b..2c774d17a 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 f7a806b16..0b6e51ec6 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 @@

    Changelog10.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 4b3321cd1..c1e17217f 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 @@

    Option 2 - + diff --git a/v10.6.0/genindex.html b/v10.6.0/genindex.html index f60411a90..8b3a3258f 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 @@

    M

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

    W

    - + diff --git a/v10.6.0/index.html b/v10.6.0/index.html index 27ac58f21..5b30ac66b 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 @@

    ReferencePaginationEmojis.__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 @@

    ReferencePaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -581,7 +589,7 @@

      Extras - + diff --git a/v10.6.0/index_redirect.html b/v10.6.0/index_redirect.html index cdad85c45..2ac2783a5 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 9d3bcf7f63011a81bf235b303a70268b64a995b2..d942d4773310c9a07bf7d2b0424c2f78bf2cea51 100644 GIT binary patch delta 2233 zcmV;q2uAm@5}^{1fPYPMsP2MsoZvxTyyh|XSZBsXQym$HkAv-NLa%ffdXjk z$*&LSV~lLg(2|gRvS3>8wfJZra--sqQiT#BNn9NM$VFN*68{#9QWvHEwK)Fzai??k zQ~mpgpW_da^V27xKVek?Bn&GR|9CHtv}?-A5o~zy>D)dg1a*OI7-6PnGEh-pjR9&vOk=Kd z@q?=2jq@78v`+W;QTzun<{IC*=|zUVF9>Bj>BcW&>XV|CzW z3~H>EXMaEESf1P4xn>vk`p#ai7&QUlysUUbFaR0aVUsu#No)*IB6%cwB9U2!d<||* z&b73nRtFW-1Jjy8pgvw~t{`32#q@$fduJ#tWbZo^(*z=-LxX1C@iG)K$A>LJ5>rLc zgNg2Tq?IZ#Nr82;3yo=(>Clj6Xhcc=ElD6hZ-0&C5nPd#S>u4q(@5a3)2t6(X*mtO z)Rg(+US)GGTGa-)DA)nzfeotG&YC&0< zg6GX=4?Gap?z%B!-aeYd02*Tx7$9#%!SFlGIbpE=tZf1P*%+Frj!fu%AZF|#hY2tO zJAYhfNlY!}rdKt|gggX(FG`-i zo0$Af5qZJWTO%u0?V3MF%bwz!zkhj8GCNi;dS_V|46~*=5#F~fGjJ;{ijb^KWEphL zX>9$0pfy}o{};VBB_bh1v_k+!{;17!5>TVS3G7yu9UTXRUpTZ)3o;9Djx|91_+fLB zZ;6D(^TyWSgRNm_M_*S0+oMBumZQ-k%^nQ%j0B{p!ZWmSYGX+2G?tRQj(HD+wsXn{j@&50qI5o2!^du)2M(cOChL$NloLZhNV4);TW746^wRV z>Qp%TG09c)un$bXn!|}f30gBaFf4^DyaU6Myu$N?)4;-0zvsXkmP!_$e@wDjcrV7J zqs`#Okc71v=;0}C;mL<3y?=%0ACwjsjDAq!Tp-qAsda-$l}(1Kk3s--yK@Iby1V8# z7k{J8#ohfH-Cg~&25cpJ*Z?#eTl!2HfoZ`>6r-i!RMu%qa5DQ8AsCc=qz(+|!zdXT zj(?mA48}iB1O}rYtO0{DzvGx2rvQV|PZ5B@oS35j!Z|TU{)J;7u7Cc5agP&!!RSY6 zzp3n_q~A2samsHrXPYlNvv6u@mKRSB^E(MB*MoNvQKuYOT1fT#v8k@<%Crq`#X=rg#}ih3-2Pb`W$%|q1EfiqGGGpg9QawAOFIltIvgHg_q;Ovf}GV zys!Yf7vfs*Y~cU2M}O0O zXVA;j%F_SRv^KlEx?6p{y+l`k{&jT^d0Fb9pMm}S_4elC{(gOlR$njI=yv^O{dX|% z+l%jEVXYQ44Fyg2dNKF6vSWK!U&1oJUUPuK?QTbKjVV{a41bR)R09%8#?vI2C(X&M zxk(Uaa}za{WFZ=a^-@gCs1`X3S#zFVV+GA612L5R-_j_Jhr`g*pmjE${dSqs=^v>` z?8g<3m6ct*YKu`y_U3Pq+r#pXy;EJ^aV-+e;!DT+m-wD2Z5|>rLY?x|tN<2(;jNhu z2BNL4@4vE_(SM6s!{but$27-0Z z%EfId@*P%!K|2SV;N4^x00`_Wy%4{YBWL~dER36j(LKDoJ}QD`vg_Vh*VXsj)xU2{M@Rny H)(_Q6SG80% delta 2249 zcmV;)2sZbj60s7HfPYLSc!>Ob}=Q zIr0Ab1${Wkmd%xfl&1)CIp^|ykS{6@DOD&DlElT~*Ic9}Bk{juQR<@9|0<6E{k+pT z`$zr%Prt;UBIjRUg#Ln61&}bTRQ#Vy<@*bMMu>8%5vp7udVeRS zC!i#ZU^%J0s9SPmc_wg*$eSiyQNh(Dqzq|+QnE*EQo{<4vXZhC;XS4dZy5;zR`L*V z1?3r1MDA%qrZiR|g#l3Q0Ga|NNiOyzz)(~~mj&7h@iGDA6`P4!a!px)PF&}OK5TGC zIo3k1^DRl&Qh$nSzL2+s6xxhgFxoxk@vbk&SapXei{SRfSATy z=i)D_hBwYBf@z-$0PV32&HEmIql4y0ov@x6f^oiBIiKg8|c&y`GDYxW+tbU;hMuJZNjRB z%fO_~fDeq#pJ^5pa*CIa8cU;BCg=edVak4vwnCquX+B*n-g6Q<$GcoT5OAk>2OX;e zH&aGqt$#cxILGqZY0fpfvCoh8amA=vudWM;GlBug&<>l#kw{{fEG3c`q9+oWz0KF) z*5q1CD{7TbK|L_783gL{&E^i$Rb5Ok7_@hW!a`2FLov-lM09A-%sXC&BIfw8B}ihb z2zoY~ksWEJ3QSU9o$Nwm8dVV*vJ8zV$=@Xjd!THv<6|6~3B< zz)XeLwnqXJxUb&5Q=%~jOp4ahu4)|FVSj7a3`xx91$Dhcc7dfHKtShfV~F#O<*Ih! zJ6}0Opc&BN8b~s5PEVq$woNAEi;E(l$HgfcFQsC zzZXgMrUtwg`Pqn7lgMmQDT8XQZV~^;J+-$F)j?@X)0A-ZEJcp0$^xs^=Rhy>5q}F( zt=8CIp`+z*Ol&dx9p^@v^Jmjd8hEJaW4un)EIjB{;sVWv3jr0#n zUVoZ3`G+F%hNllkR;=1Re~y;D#D6z`^Il|jtlss`vMv~AO>-i=Z&_yGR$3GxS((T( z=$_Nq`WJ%Ma8>=-dT&xhLWXFE0F3-un|cyZqreI5QI;JY2Q0sEXd4J*Hr^a-fcWvl z<|N+|30uz_TYnF>hMg0Aoe6A@4%JnTMvF9OFw8R&kfK_ip^Z};Lt3Y?lz-%OB?7ta z^7IlE$KL}%p1+&>eRphO;X|O`(=I|?_uxXv5s0!|b^yS3{A z;rYizkA?SQOnli4UJQvqn}2~G9-|hXd{`7)c>Y0gZo%jWMZyJQ9T_VZm>m{P7nF3C znkpM1Ro{pJig~95M9;hC-){ayo14d{HF~`J?;3Ev>|q1YY;5W)WuV{fCsK?Se^Xhf zX}`(rQ>0%&@=?k!9RE1s7mRg zf^m-%e8K2P>Ak7!qvYN+(ury>4EZpz7lL!KdbVMsGfSnGW_h{fFn^F_ay|GE+0^gA zveK#7hlS-+pAQR5s6H2#lTm%_3rnd!7d}Kz^*Qn(lB(B{MP*g52MbE8KK_N}Ri6vX zN-W2NWo6cp_@kuOnSTQd$*mLK#p?Sc#J%9zpg6z@bU(N%i$X}#r}yNI$i;XI`*oTH z*c9QZ{dUdS%S=GD1C&vcjJ$zfkXDxd7o)Y=?cL+*`@=1|`~8o*C&&v?2mK1{*Y6MC zZl0djw`leKc8wm^zpeia2L5pKGc2rCp{AjrabEA{{#JHuAAjpdSg6-22N>L*Zv@wv zas`awm_jumP-Hw!f_c(h$(ox4VKz5WlSvk$L0B)v#Ee{%vye3x=`~i+ATkg`$^R~m z#Ckpqy#`u`;n~lWDV_eBio}Nb95XAsc-1DOl>mex)pW1)aDBtP@vZgz0E0?-I@+scfbmd5N^+O2Pp-#V;5IY%B|JM<&10KJh z5U<~QA&wtVxC+y`&m6a@=)$17j`cq7;ve=g^4x5NpntiSVB;ncc`k;6aGg7(ag&Iy zU$29~9xvj>^>gIA_y&S?FUiGiD)QY@f - + 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 ae0acd7c2..5aed9e325 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 0d0cac2e0..6a71d8079 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 @@

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

      Return type:
      -

      None

      +

      None

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

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

      Return type:
      -

      None

      +

      None

      @@ -498,7 +506,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -509,7 +517,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -520,10 +528,10 @@

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

      Log the given message to #dev-log.

      Return type:
      -

      None

      +

      None

      @@ -547,7 +555,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

      Return type:
      -

      None

      +

      None

      @@ -558,7 +566,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -569,7 +577,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -581,7 +589,7 @@

      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 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

      Return type:
      -

      Command | None

      +

      Command | None

      @@ -608,7 +616,7 @@ and ping_services().

      Return type:
      -

      None

      +

      None

      @@ -621,7 +629,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

      Return type:
      -

      None

      +

      None

      @@ -631,7 +639,7 @@
      exception EmptyPaginatorEmbedError[source]
      -

      Bases: Exception

      +

      Bases: Exception

      Raised when attempting to paginate with empty contents.

      @@ -644,11 +652,11 @@
      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 @@
      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 @@
      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 @@

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

      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 @@
      -__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 @@

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

      SubmodulesPaginationEmojis.__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 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • StartupError
      @@ -1120,7 +1127,7 @@

      Submodules - + diff --git a/v10.6.0/output/pydis_core.site_api.html b/v10.6.0/output/pydis_core.site_api.html index 91993c394..85f905c7b 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 c5dc51378..4497d2612 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 ea565ecc2..f78badaea 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 278e17b07..208fdf45e 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 1aad3429f..e8de887e0 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 00d5f1426..8077aab1f 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 @@ - + 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 0df325429..690080307 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 cd2b3cb31..e20a81c22 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 @@
      Parameters:
      Raises:
      @@ -502,7 +510,7 @@ and is not in ignored_conflict_names.

      Return type:
      -

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

      +

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

      @@ -580,7 +588,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.html b/v10.6.0/output/pydis_core.utils.html index 4456896d4..cb6afe1cb 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 @@

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

      SubmodulesPaginationEmojis.__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 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • @@ -607,10 +615,12 @@

    SubmodulesPasteFile.__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 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -747,7 +755,7 @@

    Submodules - + diff --git a/v10.6.0/output/pydis_core.utils.interactions.html b/v10.6.0/output/pydis_core.utils.interactions.html index 34d2f9eb2..245fcadef 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 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -520,7 +528,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -531,7 +539,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -620,7 +628,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.logging.html b/v10.6.0/output/pydis_core.utils.logging.html index 69bb474ca..d3f799646 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 5c91491a2..080b0a904 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 425486ac9..253ea0c89 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 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.pagination.html b/v10.6.0/output/pydis_core.utils.pagination.html index 6f3532a33..45d725a96 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 @@
    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 @@
    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 @@

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

    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 @@
    -__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 @@

    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 @@
  • 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 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -765,7 +772,7 @@ - + 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 1f8a3fecd..a44741c51 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 @@

    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 @@
    -__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 @@

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

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

    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 @@
    -__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 @@

    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 @@
    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 @@
  • 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 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -873,7 +879,7 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.regex.html b/v10.6.0/output/pydis_core.utils.regex.html index eafc97610..681a2c76c 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 @@ - + diff --git a/v10.6.0/output/pydis_core.utils.scheduling.html b/v10.6.0/output/pydis_core.utils.scheduling.html index dd208956c..a4fd74af0 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 @@

    __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 @@

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

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

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -522,12 +530,12 @@
    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 @@
    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 @@
    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 @@
    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 @@ - + diff --git a/v10.6.0/py-modindex.html b/v10.6.0/py-modindex.html index 0696b6c53..78b84852f 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 @@

    Python Module Index

    - + diff --git a/v10.6.0/search.html b/v10.6.0/search.html index 6bde05524..af8519dc9 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 242ec26d2..3e6983b29 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 dd2434787..ee2d91088 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 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -670,7 +690,7 @@

    Versions

    - + diff --git a/v10.7.0/.buildinfo b/v10.7.0/.buildinfo index 1381d070a..13bbef58e 100644 --- a/v10.7.0/.buildinfo +++ b/v10.7.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: d8bc1125d3b8ad7a5e79e809857ac007 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: c92fe961b30e5a5cd5b06ecf48f71e76 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v10.7.0/_static/basic.css b/v10.7.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v10.7.0/_static/basic.css +++ b/v10.7.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.7.0/_static/doctools.js b/v10.7.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v10.7.0/_static/doctools.js +++ b/v10.7.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.7.0/_static/language_data.js b/v10.7.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v10.7.0/_static/language_data.js +++ b/v10.7.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.7.0/_static/searchtools.js b/v10.7.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v10.7.0/_static/searchtools.js +++ b/v10.7.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.7.0/changelog.html b/v10.7.0/changelog.html index bc5ce407a..848647e19 100644 --- a/v10.7.0/changelog.html +++ b/v10.7.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -561,7 +569,7 @@

    9.3.0 13th December 2022

    @@ -843,7 +851,7 @@

    - + diff --git a/v10.7.0/development.html b/v10.7.0/development.html index 56081ad5d..b04d71713 100644 --- a/v10.7.0/development.html +++ b/v10.7.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -573,7 +581,7 @@

    Option 2 - + diff --git a/v10.7.0/genindex.html b/v10.7.0/genindex.html index 3a59a6706..74de3f1e4 100644 --- a/v10.7.0/genindex.html +++ b/v10.7.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v10.7.0 + Index - Pydis Core v10.7.0 - + @@ -321,6 +321,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -505,6 +513,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_computed_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_core_schema__ (PaginationEmojis attribute), [1] @@ -539,6 +555,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_fields_set__ (PaginationEmojis attribute), [1] @@ -831,28 +855,12 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PaginationEmojis attribute), [1] - -
  • model_config (PaginationEmojis attribute), [1]
  • -
  • model_fields (PaginationEmojis attribute), [1] - -
  • @@ -1246,7 +1254,7 @@

    W

    - + diff --git a/v10.7.0/index.html b/v10.7.0/index.html index 1408b4987..8ed8407b2 100644 --- a/v10.7.0/index.html +++ b/v10.7.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -481,10 +489,12 @@

    ReferencePaginationEmojis.__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__
  • @@ -493,9 +503,7 @@

    ReferencePaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -582,7 +590,7 @@

      Extras - + diff --git a/v10.7.0/index_redirect.html b/v10.7.0/index_redirect.html index a777c9823..32fefb18a 100644 --- a/v10.7.0/index_redirect.html +++ b/v10.7.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v10.7.0 - + @@ -55,7 +55,7 @@

      - + diff --git a/v10.7.0/objects.inv b/v10.7.0/objects.inv index 67f2ed887863c529962eb5f541292c6de77eaca3..d963162911cbab3389529af38af3d4f78a577b97 100644 GIT binary patch delta 2374 zcmV-M3Ay&J6Ri`FfPYPI<2Vw%>sJWa#ooGi_d2(<;~oS^PX|eQdN3D)mMStQ5~(36 zC*EJbq&{rPQOu%5Ij4wp>Aey^ADJS{eaaL`goL=<|5Avw$|3$wEGk`A`rqZ@*UwvB zI2+$N2=&B@JA)aS|yin6IE3R1{pc2Dra?YvDvf%Xp$_^8b7pt45&G>4=hM5dkF1N{;=TWQDB!{C19YnP z+_XVWwSRJ~=X#ds)^>ffEBpLlA6Gdu1HgG%@rJ+y8CzkqI1&kV3{WC@20fF=Ohc{$ zwKI-r>BX)VY}HFywY+W zdZk(J8ux0ObE8#bK+7`UlS1%k*ps@YHXAZe6;IwR*&g;NXhM@M;~C1s*4FK5XIM`t zE0b{Se2%~)aqX&`=DD+uW-*}J*bD~Djwl*_OF4%eSD%e7qCQ(gGpZ9a^ge-Ud!)yN zXn%nNuCpX2mvK|88ZsgG0pTHeR>*R(rkG->?N)+oBVATD^_8-`YW`Dje#Cprj%u9PW`AqP3<+lP!n!^ndxxcIKuG5sV~q2y<*ISv zJ74vPP(5J4s)28iy2A&LxGbHbwMYNl2f$;88Lc#-ZlbgjYNvkqvcFHm3 zzY|HlQ-dCh+-zXgBr#J|nq#%r@D+E$09##%z;tn1Ai9g zvpQq<2OTVb&Bcc1ztO@7bN*ziNh22(V~ppi+JT3>NLpg6-v{67Cn__$M_Iwr`1Mzm zAQ$4&g1hYwtgq|+m2aRF&EQL= zb<j0(r&Ld!xTroj6*eWZ&akzIfkd z?pYm$;bmPg%$gM-oZC?ga4Rj!#aJuDM(V{wVuMzY0}qm^n}nT%jx}@-Hnr8Q-J(zL zL5WHx;59)WS-jx=TK-fLmb(8tHjhE?O9;vFu%!~x_0IV(g-MX6)WNp0fPck)g8mw` zPKV%u8%!VEMqvd5_K?X~IIEOGL1r0t717#a29d^aRY$tqniNP}^X(C!kw0rQOaijH zumo0=<_E`7<&1^4fu3e5RZxvs&bna>C^jH*!n3t?*I;Kj*rRPSk>xRgdi_Kj}KA~Pwp4S9DknQE6_O@y;mr7 zAXdL%X)jV`!&{rfZAjhTdjlig`{v)S{vdZ(507i|aP#LHv6LKPL(tsW)K``RP7BVW zm@Eb7vd&Y2v)She!Jy<5bzndrCdt5X{L@rmF#c&GFc`hJ1`Njhfo*P@0t`k!M*s$M zVvha`=fo8G7mnRu{eK1Ho+kc+(NEHTbJ-_Jzj>t7l;32|?gYTX!l|RVym;y{e~^Ic zd+;G5>OBW8Eu_Z%xU85O_2I&TYRrcVi>fgfE+?$U*gv=(URYp_x$q$(Ys`@k5n7{; zTvTk0dT>F(HO7Bo(KY76WrbJIgUgDq1M!6g*rO1)f@hxp(|?{!_k*jdEQK^v|1G?N zycln3FCn`Cn*yHNE6Uz%bRvQtu#6HictvfV)|T!~)5h%j=3({y{+itU_WR8vX0x=1 zeg^jI_xo>GkB{qXvig3#Cim-K*M9^9zrXq!7S?J(Q&8A&ucNuUlzX-h%_A=2>y!fx zZdW^kYs$DnMt^wBq4EeMnNE{Xp0sCemnI=JUz(`RgbUFSsxQTq8`UBgA!~0)(Ntk$ z$xsXx|GP3u<7w}EzQ2jav$s(yo&J)F#9o(k$gJ(+RhNuX*qOg&VPlnh_Py-pja!k> zJihK(|0{k3rOih~MyNBMni;?XBP8YiQ};uI@~s&l8@e}T)u$f6K`6en>DrO#>FZk{98iDndR|MYX*r6SkyQyg^fsA}A$BHR&B48h2u(Ri2_ zxlZk2Xa*-<;!#`#I6MxP1)#A-+GhPmv>z9EW%eIgi^!;P%6{ z<2Dhwf~0Z4y@2YtOGWNr4h;B7=tq1^N2s+9jz8mcaTE`-qO*!0!*E<0#Pwt378DrR s6ZsJz(@}3abcHC2`N>96z^z_ucsARaont;Se z!io3Suf&H9HnA=s$WsuxoO8MQI+Cx*4>40D5)#7v@JlA*B8Bijp(u1-=zr(O|9;-- zEd59I|4;u6KLxFSeG&Q#RV6@_Ql-NGzW03pgP#duoM}Qz7k@zSL_8RR#<97POh(8u z%Hs(rQ3_N}dR|nK9Qk}IXiVTu16NFNH3=ypT96p_B%Ksk!AVlEG$wRUSxUDl_y8-o z54fE1geZ`E7QvKY6(aS>kTyAvsG_o*AUEGJga2EI~JAxnwq1@uHBGqc+Scu9V^~fo zD^qanb@sp`aqT*rrm3@zCNZGe*aQa59w-`qM>&TSSD%$FqCRUwGpZ9a^ge@Wd!)sL zXn%nnuB#;GF5{+FH6%hFJieAMq}k22u=c zmq?;J{&Q!Bvy`b>-zO3xjm0Y`uT1ZV6e*DHA-BT=wz_dVJE{ofhl-)RHv<6|CBB-4 zz;uPzrbavyw71@!U7|Kdbc)8(j%u9PW`AqP3<+lP!n)oedxxcJKuG5+V~q2)<*IVw zJ72YkP(7f-HIQUrpPocjPMfy-8F(s>Vb#6N}6MD$|m5Eh#5I0X>{!7&UV{=z}r;Kdp;zK+32Gf?+en zG%94;sShe-V(K`mVX3QrI0h%TdZQhe{_2l@OoHqj?1NHhXK-LxlC6IShNa>9=SL^% z`llY2%IlwhOtP!xoobdC;KTh{~qaQ5$yfKecectG&h(2#lOwoM)oERhd z{IL&LeBQXn2|jQ1qkr_?RQ6GFZyM=DwdaR?nAr2dx!8L)S^hIirG{pCxzu9*Aj#DB z;6r3nzXQukr(PcxmQQ^?EG(h=Tv$#<^|3E3rTSd>5INQ7$cIR(UPl&{RlOc8D6RVV z7nWCjE-WjtS{^JbvyQ|cCABUbSV(T2@hjejXr1JXmr(?pa<^$FU!NeE5nCaQ13LNtWxrI=D9*W@f@^>3~& z;cd(MU*QudZC)ZUD-_0KGXq$Flx|IbFc8h%>iIi+8GoG2YMz$G7oo$I{Z#5kioYPz z;jM@Y%T)eM7np&pha^9IYW`87e5(e?itZv-ZR-B-0)-n}E*%N3ez)d2)cFT)!q$zT z|6?}S0gs=%3DhvN`WiR58j2ppN!7~FOe zc32kzSL!nkxRoXyHl@Iwuz>+TOYaCzCKS$1t3h24Q&_xCI3U t_Dp_+r*hDmP95{?=3rzL?@qT0sEl^q2djJ4Gmq8(H>RS4{{z)k2(*eOmv8_8 diff --git a/v10.7.0/output/pydis_core.async_stats.html b/v10.7.0/output/pydis_core.async_stats.html index 7a8e2255f..6063f9a0b 100644 --- a/v10.7.0/output/pydis_core.async_stats.html +++ b/v10.7.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -459,11 +467,11 @@
      Parameters:
      @@ -472,10 +480,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

      @@ -557,7 +565,7 @@ - + diff --git a/v10.7.0/output/pydis_core.exts.html b/v10.7.0/output/pydis_core.exts.html index fde6cbf01..772635ef6 100644 --- a/v10.7.0/output/pydis_core.exts.html +++ b/v10.7.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -499,7 +507,7 @@ - + diff --git a/v10.7.0/output/pydis_core.html b/v10.7.0/output/pydis_core.html index ce0d7cad5..a9d383019 100644 --- a/v10.7.0/output/pydis_core.html +++ b/v10.7.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -459,12 +467,12 @@
      Parameters:
      @@ -477,7 +485,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -488,7 +496,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -499,7 +507,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -510,7 +518,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -521,10 +529,10 @@

      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

      @@ -535,7 +543,7 @@

      Log the given message to #dev-log.

      Return type:
      -

      None

      +

      None

      @@ -548,7 +556,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

      Return type:
      -

      None

      +

      None

      @@ -559,7 +567,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -570,7 +578,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -582,7 +590,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -595,7 +603,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

      Return type:
      -

      Command | None

      +

      Command | None

      @@ -609,7 +617,7 @@ and ping_services().

      Return type:
      -

      None

      +

      None

      @@ -622,7 +630,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

      Return type:
      -

      None

      +

      None

      @@ -632,7 +640,7 @@
      exception EmptyPaginatorEmbedError[source]
      -

      Bases: Exception

      +

      Bases: Exception

      Raised when attempting to paginate with empty contents.

      @@ -645,11 +653,11 @@
      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.

      @@ -678,12 +686,12 @@
      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

      @@ -702,26 +710,26 @@
      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: @@ -755,9 +763,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.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:94045091270064', '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:94606429014352', '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.

      @@ -780,6 +794,13 @@

      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]
      @@ -813,13 +834,13 @@
      -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000558894420db0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007fd863b79730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e1ae380,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fd863bf48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e1ae3d0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fd863f60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e1ae4c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fd863b796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e1ae420,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fd863bd2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e1ae470,                                         ),                                     ),                                     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(             0x0000560b46984950,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007fbdb317d870,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad539700,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fbdb31f87b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad539750,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fbdb31d61f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad5397f0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fbdb317d830,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad5397a0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fbdb350ceb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad539840,                                         ),                                     ),                                     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(                                 0x00007fd860e2ccb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fd85e82ca30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863bf48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e1ae3d0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd85ea647c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fd85e82cbf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fd85d78cc70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863b79730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e1ae380,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd85ea647c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fd85d78c430,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fd85d78ff30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863b796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e1ae420,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd85ea647c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fd85d78ffb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fd85d78c9b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863bd2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e1ae470,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd85ea647c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fd85d78c6f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fd85d78df70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863f60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e1ae4c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd85ea647c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000558894420db0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd85ea647c0,         ),         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(                                 0x00007fbdadbe5670,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fbdb00ccc30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb31f87b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad539750,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdadcc45c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fbdadbcb030,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fbdac1057b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb317d870,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad539700,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdadcc45c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fbdac1079f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fbdac1056b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb317d830,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad5397a0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdadcc45c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fbdac107f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fbdac107eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb31d61f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad5397f0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdadcc45c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fbdac105af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fbdac1058b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb350ceb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad539840,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdadcc45c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000560b46984950,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fbdadcc45c0,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

      @@ -829,32 +850,18 @@

      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.

      @@ -1097,10 +1104,12 @@

      SubmodulesPaginationEmojis.__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__
    • @@ -1109,9 +1118,7 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • StartupError
      @@ -1132,7 +1139,7 @@

      Submodules - + diff --git a/v10.7.0/output/pydis_core.site_api.html b/v10.7.0/output/pydis_core.site_api.html index d79f45370..2b38b33ce 100644 --- a/v10.7.0/output/pydis_core.site_api.html +++ b/v10.7.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -450,7 +458,7 @@
      class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
      -

      Bases: object

      +

      Bases: object

      A wrapper for the Django Site API.

      @@ -459,9 +467,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.

      @@ -473,7 +481,7 @@

      Close the aiohttp session.

      Return type:
      -

      None

      +

      None

      @@ -484,7 +492,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -495,7 +503,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -507,15 +515,15 @@
      Parameters:
      Raises:

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

      Return type:
      -

      None

      +

      None

      @@ -526,7 +534,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -537,7 +545,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -548,7 +556,7 @@

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

      Return type:
      -

      dict | None

      +

      dict | None

      @@ -560,17 +568,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.

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

      @@ -592,9 +600,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.

      @@ -695,7 +703,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.caching.html b/v10.7.0/output/pydis_core.utils.caching.html index 75d34c2d1..af38b3e45 100644 --- a/v10.7.0/output/pydis_core.utils.caching.html +++ b/v10.7.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -450,7 +458,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.

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

      @@ -477,7 +485,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.

      @@ -488,7 +496,7 @@

      Clear cache instance.

      Return type:
      -

      None

      +

      None

      @@ -571,7 +579,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.channel.html b/v10.7.0/output/pydis_core.utils.channel.html index a865832bf..f5c0e64e6 100644 --- a/v10.7.0/output/pydis_core.utils.channel.html +++ b/v10.7.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -455,7 +463,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:
      @@ -483,11 +491,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.

      @@ -567,7 +575,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.checks.html b/v10.7.0/output/pydis_core.utils.checks.html index e4745a9e9..8e27bed3a 100644 --- a/v10.7.0/output/pydis_core.utils.checks.html +++ b/v10.7.0/output/pydis_core.utils.checks.html @@ -5,13 +5,13 @@ - + checks - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -473,10 +481,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:
      @@ -486,7 +494,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.

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

      @@ -521,14 +529,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

      @@ -541,18 +549,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.

      @@ -639,7 +647,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.commands.html b/v10.7.0/output/pydis_core.utils.commands.html index daf6bad6b..99ec34d58 100644 --- a/v10.7.0/output/pydis_core.utils.commands.html +++ b/v10.7.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -454,14 +462,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.

      @@ -540,7 +548,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.cooldown.html b/v10.7.0/output/pydis_core.utils.cooldown.html index 7b8f55b91..b6515a1f3 100644 --- a/v10.7.0/output/pydis_core.utils.cooldown.html +++ b/v10.7.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -450,7 +458,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.

      @@ -463,7 +471,7 @@

      Run the command this cooldown blocked.

      Return type:
      -

      TypeVar(R)

      +

      TypeVar(R)

      Returns:

      The command’s return value.

      @@ -493,14 +501,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.

      @@ -590,7 +598,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.error_handling.html b/v10.7.0/output/pydis_core.utils.error_handling.html index c716d6d82..66299cba2 100644 --- a/v10.7.0/output/pydis_core.utils.error_handling.html +++ b/v10.7.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -454,11 +462,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

      @@ -534,7 +542,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.function.html b/v10.7.0/output/pydis_core.utils.function.html index cf1220add..0d07ff558 100644 --- a/v10.7.0/output/pydis_core.utils.function.html +++ b/v10.7.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -450,7 +458,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.

      @@ -462,17 +470,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.

      @@ -484,18 +492,18 @@

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

      Parameters:
      -

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

      +

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

      Return type:
      -

      Any

      +

      Any

      Returns:

      Value from arguments based on a name or position.

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

      • -
      • ValueErrorname_or_pos does not match any argument.

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

      • +
      • ValueErrorname_or_pos does not match any argument.

      @@ -508,14 +516,14 @@
      Parameters:
      Return type:
      -

      Callable[[Callable], Callable]

      +

      Callable[[Callable], Callable]

      Returns:

      The decorator returned by decorator_func.

      @@ -531,13 +539,13 @@
      Parameters:
        -
      • args (tuple) – The arguments to bind to func

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

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

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

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

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

      Return type:
      -

      OrderedDict[str, Any]

      +

      OrderedDict[str, Any]

      Returns:

      A mapping of parameter names to argument values.

      @@ -560,9 +568,9 @@
      Parameters:
      Raises:
      @@ -570,7 +578,7 @@ and is not in ignored_conflict_names.

      Return type:
      -

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

      +

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

      @@ -651,7 +659,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.html b/v10.7.0/output/pydis_core.utils.html index 6fde66354..7d98eed6f 100644 --- a/v10.7.0/output/pydis_core.utils.html +++ b/v10.7.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -453,7 +461,7 @@

      Applies all common monkey patches for our bots.

      Return type:
      -

      None

      +

      None

      @@ -472,10 +480,10 @@

      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.

      @@ -605,10 +613,12 @@

      SubmodulesPaginationEmojis.__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__
    • @@ -617,9 +627,7 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • @@ -630,10 +638,12 @@

    SubmodulesPasteFile.__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__
  • @@ -642,19 +652,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -770,7 +778,7 @@

    Submodules - + diff --git a/v10.7.0/output/pydis_core.utils.interactions.html b/v10.7.0/output/pydis_core.utils.interactions.html index 4b237dde5..421024578 100644 --- a/v10.7.0/output/pydis_core.utils.interactions.html +++ b/v10.7.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,7 +465,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.

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

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -487,11 +495,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.

    @@ -510,7 +518,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -521,7 +529,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -547,12 +555,12 @@
    Parameters:
    • user (User | Member) – The user to check

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

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

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

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

    Return type:
    -

    bool

    +

    bool

    @@ -640,7 +648,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.lock.html b/v10.7.0/output/pydis_core.utils.lock.html index f44916781..9cc9c074a 100644 --- a/v10.7.0/output/pydis_core.utils.lock.html +++ b/v10.7.0/output/pydis_core.utils.lock.html @@ -5,13 +5,13 @@ - + lock - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@
    exception LockedResourceError(resource_type, resource_id)[source]
    -

    Bases: RuntimeError

    +

    Bases: RuntimeError

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

    @@ -457,7 +465,7 @@

    Name of the locked resource’s type

    Type:
    -

    str

    +

    str

    @@ -468,7 +476,7 @@

    ID of the locked resource

    Type:
    -

    Hashable

    +

    Hashable

    @@ -483,7 +491,7 @@
    class SharedEvent[source]
    -

    Bases: object

    +

    Bases: object

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

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

    @@ -510,7 +518,7 @@

    Wait for all active holders to exit.

    Return type:
    -

    None

    +

    None

    @@ -525,12 +533,12 @@
    Parameters:
      -
    • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

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

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

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

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

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

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

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

    @@ -539,7 +547,7 @@

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -551,10 +559,10 @@

    See lock docs for more information.

    Parameters:
    -

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

    +

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -644,7 +652,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.logging.html b/v10.7.0/output/pydis_core.utils.logging.html index 1e6b0f9d6..ce9663956 100644 --- a/v10.7.0/output/pydis_core.utils.logging.html +++ b/v10.7.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,8 +458,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]
    @@ -463,13 +471,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

    @@ -482,7 +490,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

    @@ -496,7 +504,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.

    @@ -577,7 +585,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.members.html b/v10.7.0/output/pydis_core.utils.members.html index efed4c4e4..b65dd7bc7 100644 --- a/v10.7.0/output/pydis_core.utils.members.html +++ b/v10.7.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,10 +461,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.

    @@ -471,12 +479,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -553,7 +561,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.messages.html b/v10.7.0/output/pydis_core.utils.messages.html index 337ed3e8a..37b5b6676 100644 --- a/v10.7.0/output/pydis_core.utils.messages.html +++ b/v10.7.0/output/pydis_core.utils.messages.html @@ -5,13 +5,13 @@ - + messages - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -454,7 +462,7 @@ If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

    Return type:
    -

    bool

    +

    bool

    @@ -530,7 +538,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.pagination.html b/v10.7.0/output/pydis_core.utils.pagination.html index 01450c487..20ef86054 100644 --- a/v10.7.0/output/pydis_core.utils.pagination.html +++ b/v10.7.0/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - + pagination - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@
    exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

    @@ -462,11 +470,11 @@
    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.

    @@ -495,12 +503,12 @@
    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

    @@ -519,26 +527,26 @@
    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: @@ -572,9 +580,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.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:94045090733312', '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:94606428967872', '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.

    @@ -597,6 +611,13 @@

    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]
    @@ -630,13 +651,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055889439dd00,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007fd863b79730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e3afeb0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fd863bd2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e3affa0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fd863f60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e3b8030,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fd863bf48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e3aff00,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fd863b796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd85e3aff50,                                         ),                                     ),                                     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(             0x0000560b469793c0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007fbdb31f87b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad73b9b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fbdb317d830,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad73ba00,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fbdb31d61f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad73ba50,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fbdb317d870,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad73b960,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fbdb350ceb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdad73baa0,                                         ),                                     ),                                     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(                                 0x00007fd860e2ccb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fd85c9726f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863bf48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e3aff00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd86271e580,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fd85ebc3fb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fd85d99cbf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863b79730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e3afeb0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd86271e580,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fd85d99c3b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fd85d99ff30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863b796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e3aff50,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd86271e580,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fd85d99ffb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fd85d99cab0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863bd2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e3affa0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd86271e580,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fd85d99c670,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fd85d99deb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863f60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd85e3b8030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd86271e580,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055889439dd00,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd86271e580,         ),         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(                                 0x00007fbdadc74870,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fbdb00ccc30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb31f87b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad73b9b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdb19d23c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fbdadc628f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fbdaffc38f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb317d870,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad73b960,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdb19d23c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fbdac36d7f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fbdac36fa30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb317d830,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad73ba00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdb19d23c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fbdac36d6f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fbdac36ff70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb31d61f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad73ba50,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdb19d23c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fbdac36db30,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fbdac36d8f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb350ceb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdad73baa0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdb19d23c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000560b469793c0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fbdb19d23c0,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

    @@ -646,26 +667,12 @@

    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.

    -
    -

    @@ -737,10 +744,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__
  • @@ -749,9 +758,7 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -766,7 +773,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.paste_service.html b/v10.7.0/output/pydis_core.utils.paste_service.html index d0797d628..303e2f4a3 100644 --- a/v10.7.0/output/pydis_core.utils.paste_service.html +++ b/v10.7.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -460,9 +468,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"

    @@ -484,9 +492,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:94045091357056', '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:94606430026048', '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.

    @@ -509,6 +523,13 @@

    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]
    @@ -542,13 +563,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000558894436180,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007fd863a679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007fd86379c370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd8635044b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007fd864956ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fd8649530c0,                                         ),                                     ),                                     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(             0x0000560b46a7b940,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007fbdb3b56ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdb3b530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007fbdb2d6ba30,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007fbdb2a45370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbdb27b15b0,                                         ),                                     ),                                     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(                                 0x00007fd85d9965f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fd85d9966b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd863a679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fd85d996670,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fd85d996730,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd864956ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd8649530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd86271e580,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fd85d9965b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fd85d996630,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd86379c370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fd8635044b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fd86271e580,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000558894436180,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd86271e580,         ),         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(                                 0x00007fbdac366f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fbdac366e30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb2d6ba30,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fbdac366df0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fbdac366eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb3b56ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdb3b530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdb19d23c0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fbdac366d30,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fbdac366e70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb2a45370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbdb27b15b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbdb19d23c0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000560b46a7b940,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fbdb19d23c0,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -558,26 +579,12 @@

    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.

    -
    -
    @@ -588,8 +595,8 @@
    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.

    @@ -611,9 +618,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.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:94045091381632', '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:94606430020992', '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.

    @@ -636,6 +649,13 @@

    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]
    @@ -669,13 +689,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055889443c180,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007fd85dcdc770,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007fd8648ac2a0,                         ),                         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(             0x0000560b46a7a580,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007fbdb3aac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007fbdac681c70,                         ),                         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(                                 0x00007fd85d9973b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fd85d9974b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd8648ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fd85d997370,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fd85d9972f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fd85dcdc770,                         ),                         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(             0x000055889443c180,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fd86271e580,         ),         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(                                 0x00007fbdac3677f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fbdac3673f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdb3aac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fbdac367bf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fbdac367fb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbdac681c70,                         ),                         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(             0x0000560b46a7a580,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fbdb19d23c0,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -685,46 +705,32 @@

    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.

    @@ -735,15 +741,15 @@
    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:
    @@ -820,10 +826,12 @@
  • 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__
  • @@ -832,19 +840,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -874,7 +880,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.regex.html b/v10.7.0/output/pydis_core.utils.regex.html index c95b50390..cc545a5bb 100644 --- a/v10.7.0/output/pydis_core.utils.regex.html +++ b/v10.7.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,7 +463,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().

    @@ -550,7 +558,7 @@ - + diff --git a/v10.7.0/output/pydis_core.utils.scheduling.html b/v10.7.0/output/pydis_core.utils.scheduling.html index 642711d65..bc18d0cfd 100644 --- a/v10.7.0/output/pydis_core.utils.scheduling.html +++ b/v10.7.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,7 +458,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 @@ -464,16 +472,16 @@

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

    @@ -484,7 +492,7 @@

    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.

    @@ -495,10 +503,10 @@

    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

    @@ -509,7 +517,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -523,12 +531,12 @@
    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

    @@ -545,13 +553,13 @@
    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

    @@ -565,13 +573,13 @@
    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

    @@ -581,23 +589,23 @@
    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

    @@ -683,7 +691,7 @@ - + diff --git a/v10.7.0/py-modindex.html b/v10.7.0/py-modindex.html index 93a612738..ff1caf9de 100644 --- a/v10.7.0/py-modindex.html +++ b/v10.7.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v10.7.0 + Python Module Index - Pydis Core v10.7.0 - + @@ -321,6 +321,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -609,7 +617,7 @@

    Python Module Index

    - + diff --git a/v10.7.0/search.html b/v10.7.0/search.html index 52eb40cc1..c47533819 100644 --- a/v10.7.0/search.html +++ b/v10.7.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v10.7.0 - + @@ -323,6 +323,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -482,7 +490,7 @@ - + diff --git a/v10.7.0/searchindex.js b/v10.7.0/searchindex.js index fac3fcf48..dcef46d3b 100644 --- a/v10.7.0/searchindex.js +++ b/v10.7.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]], "lock": [[16, null]], "logging": [[17, null]], "members": [[18, null]], "messages": [[19, null]], "pagination": [[20, null]], "paste_service": [[21, null]], "regex": [[22, null]], "scheduling": [[23, 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.lock", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "output/pydis_core.utils.messages", "output/pydis_core.utils.pagination", "output/pydis_core.utils.paste_service", "output/pydis_core.utils.regex", "output/pydis_core.utils.scheduling"], "envversion": {"sphinx": 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.lock.rst", "output/pydis_core.utils.logging.rst", "output/pydis_core.utils.members.rst", "output/pydis_core.utils.messages.rst", "output/pydis_core.utils.pagination.rst", "output/pydis_core.utils.paste_service.rst", "output/pydis_core.utils.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__class_vars__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__class_vars__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__class_vars__", false]], "__class_vars__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[23, "pydis_core.utils.scheduling.Scheduler.__contains__", false]], "__enter__() (sharedevent method)": [[16, "pydis_core.utils.lock.SharedEvent.__enter__", false]], "__exit__() (sharedevent method)": [[16, "pydis_core.utils.lock.SharedEvent.__exit__", false]], "__init__() (apiclient method)": [[6, "pydis_core.site_api.APIClient.__init__", false]], "__init__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__init__", false]], "__init__() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.__init__", false]], "__init__() (botbase method)": [[3, "pydis_core.BotBase.__init__", false]], "__init__() (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], [20, "pydis_core.utils.pagination.LinePaginator.__init__", false]], "__init__() (lockedresourceerror method)": [[16, "pydis_core.utils.lock.LockedResourceError.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[23, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (sharedevent method)": [[16, "pydis_core.utils.lock.SharedEvent.__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], [20, "pydis_core.utils.pagination.PaginationEmojis.__private_attributes__", false]], "__private_attributes__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_complete__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_complete__", false]], "__pydantic_complete__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_core_schema__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_custom_init__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_decorators__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_decorators__", false]], "__pydantic_decorators__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_extra__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_extra__", false]], "__pydantic_extra__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields_set__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_generic_metadata__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_parent_namespace__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_post_init__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_post_init__", false]], "__pydantic_post_init__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_private__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_private__", false]], "__pydantic_private__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_serializer__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_serializer__", false]], "__pydantic_serializer__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_validator__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_validator__", false]], "__pydantic_validator__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__signature__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__signature__", false]], "__signature__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[21, "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], [20, "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)": [[23, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[23, "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)": [[23, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[17, "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)": [[22, "pydis_core.utils.regex.DISCORD_INVITE", false]], "emptypaginatorembederror": [[3, "pydis_core.EmptyPaginatorEmbedError", false], [20, "pydis_core.utils.pagination.EmptyPaginatorEmbedError", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[22, "pydis_core.utils.regex.FORMATTED_CODE_REGEX", false]], "get() (apiclient method)": [[6, "pydis_core.site_api.APIClient.get", false]], "get_arg_value() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.get_arg_value", false]], "get_arg_value_wrapper() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.get_arg_value_wrapper", false]], "get_bound_args() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.get_bound_args", false]], "get_logger() (in module pydis_core.utils.logging)": [[17, "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)": [[18, "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)": [[18, "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]], "id (lockedresourceerror attribute)": [[16, "pydis_core.utils.lock.LockedResourceError.id", false]], "in_whitelist_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.in_whitelist_check", false]], "interaction_check() (viewwithuserandrolecheck method)": [[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)": [[20, "pydis_core.utils.pagination.LinePaginator", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "lock() (in module pydis_core.utils.lock)": [[16, "pydis_core.utils.lock.lock", false]], "lock_arg() (in module pydis_core.utils.lock)": [[16, "pydis_core.utils.lock.lock_arg", false]], "lockedresourceerror": [[16, "pydis_core.utils.lock.LockedResourceError", false]], "log_format (in module pydis_core.utils.logging)": [[17, "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)": [[21, "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], [20, "pydis_core.utils.pagination.PaginationEmojis.model_computed_fields", false]], "model_computed_fields (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_config", false], [20, "pydis_core.utils.pagination.PaginationEmojis.model_config", false]], "model_config (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_fields", false], [20, "pydis_core.utils.pagination.PaginationEmojis.model_fields", false]], "model_fields (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[21, "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.lock", false], [17, "module-pydis_core.utils.logging", false], [18, "module-pydis_core.utils.members", false], [19, "module-pydis_core.utils.messages", false], [20, "module-pydis_core.utils.pagination", false], [21, "module-pydis_core.utils.paste_service", false], [22, "module-pydis_core.utils.regex", false], [23, "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], [20, "pydis_core.utils.pagination.LinePaginator.paginate", false]], "paginationemojis (class in pydis_core)": [[3, "pydis_core.PaginationEmojis", false]], "paginationemojis (class in pydis_core.utils.pagination)": [[20, "pydis_core.utils.pagination.PaginationEmojis", false]], "pastefile (class in pydis_core.utils.paste_service)": [[21, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[21, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[21, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[21, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[21, "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.lock": [[16, "module-pydis_core.utils.lock", false]], "pydis_core.utils.logging": [[17, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[18, "module-pydis_core.utils.members", false]], "pydis_core.utils.messages": [[19, "module-pydis_core.utils.messages", false]], "pydis_core.utils.pagination": [[20, "module-pydis_core.utils.pagination", false]], "pydis_core.utils.paste_service": [[21, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[22, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[23, "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)": [[22, "pydis_core.utils.regex.RAW_CODE_REGEX", false]], "reaction_check() (in module pydis_core.utils.messages)": [[19, "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)": [[23, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[23, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[23, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[23, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[21, "pydis_core.utils.paste_service.send_to_paste_service", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "sharedevent (class in pydis_core.utils.lock)": [[16, "pydis_core.utils.lock.SharedEvent", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "stop() (viewwithuserandrolecheck method)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[17, "pydis_core.utils.logging.CustomLogger.trace", false]], "type (lockedresourceerror attribute)": [[16, "pydis_core.utils.lock.LockedResourceError.type", false]], "unqualify() (in module pydis_core.utils)": [[7, "pydis_core.utils.unqualify", false]], "update_wrapper_globals() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.update_wrapper_globals", false]], "user_has_access() (in module pydis_core.utils.interactions)": [[15, "pydis_core.utils.interactions.user_has_access", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck", false]], "wait() (sharedevent method)": [[16, "pydis_core.utils.lock.SharedEvent.wait", false]], "wait_until_guild_available() (botbase method)": [[3, "pydis_core.BotBase.wait_until_guild_available", false]]}, "objects": {"": [[3, 0, 0, "-", "pydis_core"]], "pydis_core": [[3, 1, 1, "", "BotBase"], [3, 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, "-", "lock"], [17, 0, 0, "-", "logging"], [18, 0, 0, "-", "members"], [19, 0, 0, "-", "messages"], [20, 0, 0, "-", "pagination"], [21, 0, 0, "-", "paste_service"], [22, 0, 0, "-", "regex"], [23, 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, "", "get_arg_value"], [14, 5, 1, "", "get_arg_value_wrapper"], [14, 5, 1, "", "get_bound_args"], [14, 5, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[15, 1, 1, "", "DeleteMessageButton"], [15, 1, 1, "", "ViewWithUserAndRoleCheck"], [15, 5, 1, "", "user_has_access"]], "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.lock": [[16, 3, 1, "", "LockedResourceError"], [16, 1, 1, "", "SharedEvent"], [16, 5, 1, "", "lock"], [16, 5, 1, "", "lock_arg"]], "pydis_core.utils.lock.LockedResourceError": [[16, 2, 1, "", "__init__"], [16, 4, 1, "", "id"], [16, 4, 1, "", "type"]], "pydis_core.utils.lock.SharedEvent": [[16, 2, 1, "", "__enter__"], [16, 2, 1, "", "__exit__"], [16, 2, 1, "", "__init__"], [16, 2, 1, "", "wait"]], "pydis_core.utils.logging": [[17, 1, 1, "", "CustomLogger"], [17, 5, 1, "", "get_logger"], [17, 6, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[17, 2, 1, "", "trace"]], "pydis_core.utils.members": [[18, 5, 1, "", "get_or_fetch_member"], [18, 5, 1, "", "handle_role_change"]], "pydis_core.utils.messages": [[19, 5, 1, "", "reaction_check"]], "pydis_core.utils.pagination": [[20, 3, 1, "", "EmptyPaginatorEmbedError"], [20, 1, 1, "", "LinePaginator"], [20, 1, 1, "", "PaginationEmojis"]], "pydis_core.utils.pagination.LinePaginator": [[20, 2, 1, "", "__init__"], [20, 2, 1, "", "add_line"], [20, 2, 1, "", "paginate"]], "pydis_core.utils.pagination.PaginationEmojis": [[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": [[21, 6, 1, "", "MAX_PASTE_SIZE"], [21, 1, 1, "", "PasteFile"], [21, 1, 1, "", "PasteResponse"], [21, 3, 1, "", "PasteTooLongError"], [21, 3, 1, "", "PasteUnsupportedLexerError"], [21, 3, 1, "", "PasteUploadError"], [21, 5, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[21, 4, 1, "", "__class_vars__"], [21, 4, 1, "", "__private_attributes__"], [21, 4, 1, "", "__pydantic_complete__"], [21, 4, 1, "", "__pydantic_core_schema__"], [21, 4, 1, "", "__pydantic_custom_init__"], [21, 4, 1, "", "__pydantic_decorators__"], [21, 4, 1, "", "__pydantic_extra__"], [21, 4, 1, "", "__pydantic_fields_set__"], [21, 4, 1, "", "__pydantic_generic_metadata__"], [21, 4, 1, "", "__pydantic_parent_namespace__"], [21, 4, 1, "", "__pydantic_post_init__"], [21, 4, 1, "", "__pydantic_private__"], [21, 4, 1, "", "__pydantic_serializer__"], [21, 4, 1, "", "__pydantic_validator__"], [21, 4, 1, "", "__signature__"], [21, 4, 1, "", "model_computed_fields"], [21, 4, 1, "", "model_config"], [21, 4, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[21, 4, 1, "", "__class_vars__"], [21, 4, 1, "", "__private_attributes__"], [21, 4, 1, "", "__pydantic_complete__"], [21, 4, 1, "", "__pydantic_core_schema__"], [21, 4, 1, "", "__pydantic_custom_init__"], [21, 4, 1, "", "__pydantic_decorators__"], [21, 4, 1, "", "__pydantic_extra__"], [21, 4, 1, "", "__pydantic_fields_set__"], [21, 4, 1, "", "__pydantic_generic_metadata__"], [21, 4, 1, "", "__pydantic_parent_namespace__"], [21, 4, 1, "", "__pydantic_post_init__"], [21, 4, 1, "", "__pydantic_private__"], [21, 4, 1, "", "__pydantic_serializer__"], [21, 4, 1, "", "__pydantic_validator__"], [21, 4, 1, "", "__signature__"], [21, 4, 1, "", "model_computed_fields"], [21, 4, 1, "", "model_config"], [21, 4, 1, "", "model_fields"]], "pydis_core.utils.regex": [[22, 6, 1, "", "DISCORD_INVITE"], [22, 6, 1, "", "FORMATTED_CODE_REGEX"], [22, 6, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[23, 1, 1, "", "Scheduler"], [23, 5, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[23, 2, 1, "", "__contains__"], [23, 2, 1, "", "__init__"], [23, 2, 1, "", "cancel"], [23, 2, 1, "", "cancel_all"], [23, 2, 1, "", "schedule"], [23, 2, 1, "", "schedule_at"], [23, 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, 17, 19, 20, 21, 22, 23], "0": [0, 8, 10, 15, 16, 17], "0a0": 0, "0eb3d26": 0, "0x000055889439dd00": 20, "0x0000558894420db0": 3, "0x0000558894436180": 21, "0x000055889443c180": 21, "0x00007fd85c9726f0": 20, "0x00007fd85d78c430": 3, "0x00007fd85d78c6f0": 3, "0x00007fd85d78c9b0": 3, "0x00007fd85d78cc70": 3, "0x00007fd85d78df70": 3, "0x00007fd85d78ff30": 3, "0x00007fd85d78ffb0": 3, "0x00007fd85d9965b0": 21, "0x00007fd85d9965f0": 21, "0x00007fd85d996630": 21, "0x00007fd85d996670": 21, "0x00007fd85d9966b0": 21, "0x00007fd85d996730": 21, "0x00007fd85d9972f0": 21, "0x00007fd85d997370": 21, "0x00007fd85d9973b0": 21, "0x00007fd85d9974b0": 21, "0x00007fd85d99c3b0": 20, "0x00007fd85d99c670": 20, "0x00007fd85d99cab0": 20, "0x00007fd85d99cbf0": 20, "0x00007fd85d99deb0": 20, "0x00007fd85d99ff30": 20, "0x00007fd85d99ffb0": 20, "0x00007fd85dcdc770": 21, "0x00007fd85e1ae380": 3, "0x00007fd85e1ae3d0": 3, "0x00007fd85e1ae420": 3, "0x00007fd85e1ae470": 3, "0x00007fd85e1ae4c0": 3, "0x00007fd85e3afeb0": 20, "0x00007fd85e3aff00": 20, "0x00007fd85e3aff50": 20, "0x00007fd85e3affa0": 20, "0x00007fd85e3b8030": 20, "0x00007fd85e82ca30": 3, "0x00007fd85e82cbf0": 3, "0x00007fd85ea647c0": 3, "0x00007fd85ebc3fb0": 20, "0x00007fd860e2ccb0": [3, 20], "0x00007fd86271e580": [20, 21], "0x00007fd8635044b0": 21, "0x00007fd86379c370": 21, "0x00007fd863a679f0": 21, "0x00007fd863b796f0": [3, 20], "0x00007fd863b79730": [3, 20], "0x00007fd863bd2270": [3, 20], "0x00007fd863bf48b0": [3, 20], "0x00007fd863f60eb0": [3, 20], "0x00007fd8648ac2a0": 21, "0x00007fd8649530c0": 21, "0x00007fd864956ea0": 21, "1": [0, 17], "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, "194": 0, "195": 0, "196": 0, "197": 0, "199": 0, "19th": 0, "2": [0, 3, 15, 21], "200": 0, "202": 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, 21], "30": 0, "300": [3, 20], "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "4000": [3, 20], "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 3, 12, 20], "500": [3, 20], "524288": 21, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "637136429717389331": [3, 20], "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, "94045090733312": 20, "94045091270064": 3, "94045091357056": 21, "94045091381632": 21, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 10, 12, 14, 15, 17, 20, 21, 23], "For": 14, "If": [3, 6, 10, 12, 14, 15, 16, 19, 20, 23], "In": [3, 20], "It": [3, 7, 16, 20], "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20, 21, 23], "These": [3, 20], "To": [1, 3, 17], "_": 0, "__annotations__": 14, "__args__": [3, 20, 21], "__call__": [7, 8], "__class_vars__": [2, 3, 7, 20, 21], "__contains__": [7, 23], "__dict__": 14, "__doc__": 14, "__enter__": [7, 16], "__exit__": [7, 16], "__fields__": [3, 20, 21], "__get_pydantic_json_schema__": [3, 20, 21], "__global__": 14, "__init__": [0, 2, 3, 4, 6, 7, 8, 10, 12, 15, 16, 20, 21, 23], "__module__": 14, "__name__": 14, "__origin__": [3, 20, 21], "__parameters__": [3, 20, 21], "__private_attributes__": [2, 3, 7, 20, 21], "__pydantic_complete__": [2, 3, 7, 20, 21], "__pydantic_core_schema__": [2, 3, 7, 20, 21], "__pydantic_custom_init__": [2, 3, 7, 20, 21], "__pydantic_decorators__": [2, 3, 7, 20, 21], "__pydantic_extra__": [2, 3, 7, 20, 21], "__pydantic_fields_set__": [2, 3, 7, 20, 21], "__pydantic_generic_metadata__": [2, 3, 7, 20, 21], "__pydantic_parent_namespace__": [2, 3, 7, 20, 21], "__pydantic_post_init__": [2, 3, 7, 20, 21], "__pydantic_private__": [2, 3, 7, 20, 21], "__pydantic_serializer__": [2, 3, 7, 20, 21], "__pydantic_validator__": [2, 3, 7, 20, 21], "__qualname__": 14, "__root_validators__": [3, 20, 21], "__signature__": [2, 3, 7, 20, 21], "__str__": [3, 6], "__validators__": [3, 20, 21], "_decor": [3, 20, 21], "_exc_tb": 16, "_exc_typ": 16, "_exc_val": 16, "_gener": [3, 20, 21], "_guild_avail": 0, "_p": 14, "_r": 14, "_transport": 0, "abc": 0, "abl": 0, "about": [3, 12, 20, 21], "abstract": 0, "abstracteventloop": [4, 23], "accept": [14, 15], "access": 15, "acquir": 16, "across": [0, 3, 17, 20], "act": 7, "action": 0, "activ": 16, "actual": 0, "ad": [0, 1, 3, 7, 15, 17, 20], "add": [0, 3, 10, 12, 20], "add_cog": [2, 3], "add_command": [2, 3], "add_lin": [2, 3, 7, 20], "add_rol": 18, "addit": 0, "after": [0, 3, 15, 20, 23], "again": 1, "aid": [3, 20], "aiodn": 0, "aiohttp": [0, 3, 6, 21], "alia": [3, 7, 12, 20, 21], "alias": [3, 7], "alias_pi": [3, 20, 21], "all": [0, 1, 3, 4, 7, 16, 17, 23], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 15, 19, 20, 21], "allow_mod": 19, "allowed_emoji": 19, "allowed_rol": [0, 1, 3, 15, 19, 20], "allowed_us": [0, 15, 19], "alpha": 0, "alreadi": [3, 20, 23], "also": [0, 3, 7, 14, 15, 16, 20], "alwai": 10, "among": 16, "amount": [3, 20], "an": [0, 1, 3, 4, 6, 7, 8, 9, 10, 14, 16, 17, 20, 21, 23], "ani": [3, 6, 10, 14, 16, 20, 21, 22, 23], "annot": [3, 14, 20, 21], "anymor": [3, 20], "anyth": [1, 21], "api": [0, 6, 18], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "append": [3, 20], "appli": [3, 7, 8, 10, 12, 16, 20, 21], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 14, 15, 19, 20, 21, 22], "arg": [3, 12, 14, 16, 17, 20, 21], "arg_offset": 8, "args_preprocessor": 12, "argument": [6, 7, 8, 11, 12, 14, 16, 17, 18], "around": 6, "assign": 14, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 15, 16, 18, 20, 21], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 23], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16, 18, 20], "attr": 0, "attribut": [3, 7, 14, 20, 21], "august": 0, "authent": 6, "author": [3, 10, 19, 20], "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 3, 20, 21], "avail": [0, 3, 16], "avoid": [0, 3, 20], "await": [0, 3, 12, 15, 16, 18, 20], "awar": 23, "back": 0, "backtick": [3, 20], "bad": 0, "badargu": 11, "base": [0, 3, 4, 6, 8, 10, 12, 14, 15, 16, 17, 20, 21, 23], "basemodel": [3, 20, 21], "basic": [0, 15], "becaus": [3, 14], "becom": [3, 16], "been": 0, "befor": [0, 3, 10, 15, 16, 20, 23], "before_invok": 10, "behav": 14, "behavior": 10, "behaviour": [0, 3], "being": [0, 7, 10, 18], "below": [1, 16], "best": [3, 20], "between": [0, 1, 14], "bind": 14, "block": [0, 3, 12, 20, 22], "block_duplicate_invoc": [3, 7, 12], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 10, 12, 15, 16, 19, 20, 21, 23], "bot": [0, 1, 3, 7, 9, 19], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 21], "bound": [3, 20, 21], "boundari": [3, 20], "break": [0, 3, 14, 20], "broke": 0, "buckettyp": 10, "bug": 0, "build": [3, 20, 21], "bump": 0, "button": [0, 15], "buttonstyl": 15, "bypass": 10, "bypass_rol": 10, "byte": 21, "cach": [0, 3, 7, 9, 18], "cache_str": [3, 20, 21], "calcul": 23, "call": [0, 3, 12, 14, 23], "call_without_cooldown": [7, 12], "callabl": [8, 10, 12, 14, 16, 18], "callback": [7, 10, 15], "can": [0, 1, 3, 10, 15, 16, 17, 20, 23], "cancel": [7, 23], "cancel_al": [7, 23], "cannot": [0, 3, 16, 20], "captur": [0, 14, 22], "carri": 15, "case": [0, 3, 20], "categori": [9, 10], "category_id": 9, "caus": [3, 7, 20], "certain": [0, 1], "chang": [0, 1, 3, 14, 20], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 10, 12], "channel_id": 9, "charact": [0, 3, 20], "chardet": 0, "check": [0, 3, 6, 7, 9, 12, 13, 15, 19, 23], "checkfailur": 10, "chunk": 0, "ci": 0, "cl": [3, 20, 21], "class": [0, 3, 4, 6, 8, 12, 15, 16, 17, 20, 21, 23], "classmethod": [3, 20], "classvar": [3, 20, 21], "clean": [0, 11], "clean_text_or_repli": [3, 7, 11], "clear": [2, 3, 7, 8, 16], "click": 15, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 21], "close": [0, 2, 3, 6, 23], "cloudflar": 7, "code": [0, 1, 3, 6, 16, 20, 22], "codepoint": [3, 20], "coerce_numbers_to_str": [3, 20, 21], "cog": [0, 3, 5], "collect": 10, "collis": 16, "com": [0, 21], "comma": 1, "command": [0, 1, 3, 7, 9, 10, 12, 14, 16, 20], "command_wrap": [3, 7, 14], "commanderror": 12, "commandoncooldown": [3, 7, 12], "commit": 0, "common": [0, 1, 3, 7, 17, 22], "commun": 4, "complet": [3, 20, 21], "compos": 1, "comput": [3, 20, 21], "computed_field": [3, 20, 21], "computedfield": [3, 20, 21], "computedfieldinfo": [3, 20, 21], "concurr": 0, "config": [3, 20, 21], "configdict": [3, 20, 21], "configur": [1, 3, 20, 21], "conflict": 14, "conform": [3, 20, 21], "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 3, 10, 15, 20, 21, 23], "content": [0, 3, 11, 20, 21], "context": [3, 10, 11, 16, 20], "contextcheckfailur": [3, 7, 10], "continu": [3, 20], "control": 0, "cooldown": [3, 7, 10], "cooldown_dur": 12, "cooldown_with_role_bypass": [3, 7, 10], "copi": [1, 14], "copy_default": [3, 20, 21], "core": [0, 1, 20, 21], "coreschema": [3, 20, 21], "coro": [16, 18, 23], "coroutin": [8, 16, 18, 23], "correct": [0, 1], "correspond": [3, 20, 21], "could": 18, "count": 16, "crash": 0, "creat": [0, 3, 4, 8, 12, 14, 20, 23], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 23], "creation": 0, "criteria": 0, "ctx": [3, 10, 11, 15, 20], "current": [3, 16, 20, 23], "custom": [0, 3, 8, 17, 20, 21], "custom_init": [3, 20, 21], "customlogg": [3, 7, 17], "cut": 0, "d": [1, 14], "dai": 0, "data": [3, 20, 21], "datetim": 23, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 3, 8, 10, 12, 14, 16, 20, 21], "decorator_func": 14, "decoratorinfo": [3, 20, 21], "decrement": 16, "default": [0, 1, 3, 10, 14, 20, 21], "defin": [3, 20, 21], "definit": [3, 20, 21], "delai": 23, "delet": [0, 3, 6, 8, 15, 20, 21], "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, 14, 20, 21], "dictat": 0, "dictionari": [3, 20, 21], "did": 0, "directli": [0, 14], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 11, 13, 14, 18, 20, 22], "discord_invit": [0, 3, 7, 22], "disnak": 0, "distinguish": 23, "django": 6, "dm": 10, "do": [0, 1, 9, 16], "doc": [0, 16], "docker": 1, "docstr": 0, "document": 0, "doe": 14, "doesn": [10, 23], "don": [0, 10, 23], "done": [3, 15, 20, 23], "due": 0, "dummi": [0, 3], "dump": [3, 20, 21], "duplic": [0, 12], "durat": 10, "dure": [3, 20, 21], "dynam": 0, "e": [3, 20], "each": [0, 3, 20], "edit": 3, "effort": [3, 20], "either": 3, "els": 11, "elsewher": 23, "emb": [0, 3, 20], "emit": 3, "emoji": [0, 3, 19, 20], "empti": [3, 20], "emptypaginatorembederror": [2, 3, 7, 20], "enabl": 1, "encount": 21, "end": [3, 20], "endpoint": 6, "ensur": [0, 3, 15, 22], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 13, 18, 21], "error_handl": [3, 7], "etc": [1, 10], "evalu": 14, "even": 19, "event": [0, 3, 4, 16, 23], "event_loop": 23, "eventu": [3, 20, 21], "everi": [3, 20], "exact": 1, "exampl": [3, 20], "exc_info": 17, "exce": [3, 8, 20], "exceed": [3, 20], "except": [3, 6, 10, 12, 14, 16, 17, 20, 21, 23], "exception_on_empty_emb": [3, 20], "excess": [3, 20], "exclud": [3, 20, 21], "exclus": 16, "execut": [16, 23], "exist": [0, 1, 23], "exit": 16, "expect": 18, "expiri": 0, "explain": 0, "explicitli": [3, 20, 21], "expos": 16, "express": 22, "ext": [0, 2, 3, 7, 9, 10, 11, 20], "extend": 0, "extens": [0, 3], "extra": [3, 6, 20, 21], "extra_behavior": [3, 20, 21], "extra_seri": [3, 20, 21], "extras_valid": [3, 20, 21], "facilit": 0, "fail": [9, 10, 21], "fail_sil": 10, "failur": 18, "fals": [3, 10, 12, 16, 20, 21], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 18], "few": 1, "field": [3, 20, 21], "field_seri": [3, 20, 21], "field_valid": [3, 20, 21], "fieldinfo": [3, 20, 21], "fifo": 8, "file": [0, 1, 21], "filter": [0, 3, 20, 21], "finish": [3, 16, 20], "first": [3, 20], "five": [3, 20], "fix": 0, "float": [10, 12, 15, 23], "folder": 1, "footer": [3, 20], "footer_text": [3, 20], "forbidden": [0, 9, 13], "format": [21, 22], "formatt": 17, "formatted_code_regex": [3, 7, 22], "forum": 0, "forwardref": 14, "found": [14, 18, 23], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 14, 15, 18, 20, 21, 23], "from_attribut": [3, 20, 21], "frozen": [3, 20, 21], "frozenset": 14, "func": [14, 16], "function": [0, 3, 7, 8, 9, 12, 16, 17, 18, 20, 21, 23], "functool": [3, 14, 20, 21], "futur": [10, 23], "g": [3, 20], "gatewai": 3, "gener": [0, 3, 12, 20, 21, 23], "generalfieldsseri": [3, 20, 21], "get": [0, 3, 6, 9, 14, 18], "get_arg_valu": [3, 7, 14], "get_arg_value_wrapp": [3, 7, 14], "get_bound_arg": [3, 7, 14], "get_json_schema_update_func": [3, 20, 21], "get_logg": [3, 7, 17], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 18], "git": 1, "give": 3, "given": [0, 3, 4, 7, 9, 11, 14, 16, 17, 18, 23], "global": 14, "globalnameconflicterror": [3, 7, 14], "go": [1, 3, 16, 20], "greater": 21, "groundwork": 1, "group": [7, 22], "guild": [0, 1, 3, 10, 18], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 3, 7, 10, 15, 20, 21], "handl": [0, 13, 18, 23], "handle_forbidden_from_block": [3, 7, 13], "handle_role_chang": [0, 3, 7, 18], "has_any_role_check": [3, 7, 10], "has_extra": [3, 20, 21], "has_no_roles_check": [3, 7, 10], "hashabl": [16, 23], "have": [0, 9, 10, 14, 17], "heavi": 7, "help": [0, 1], "helper": [0, 9, 12, 18], "hold": [3, 16, 20], "holder": 16, "hook": 0, "host": 4, "houston": 17, "how": [0, 8, 10, 14, 23], "howev": 1, "http": [0, 6, 21, 22], "http_session": [3, 21], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23], "icon": [3, 20], "icon_url": [3, 20], "id": [1, 3, 7, 9, 10, 15, 16, 20, 23], "identifi": [16, 23], "ignor": [1, 3, 7, 14, 19, 20, 21], "ignored_conflict_nam": 14, "immedi": 23, "implement": [3, 4, 8, 15, 17], "import": 0, "in_whitelist": 10, "in_whitelist_check": [3, 7, 10], "inadequ": 3, "includ": [0, 1, 3, 13, 20, 21], "incorrect": 0, "increment": 16, "index": 2, "indic": [3, 18, 20], "individu": 3, "info": [0, 1], "inform": [2, 16, 17], "init": [0, 3, 4, 20, 21], "initi": [6, 23], "initialis": [3, 8], "input": 15, "insert": [3, 20], "insid": [3, 20], "inspect": [3, 20, 21], "instal": 1, "instanc": [0, 3, 6, 8, 9, 10, 17, 20, 21, 23], "instanti": [3, 15, 20, 21, 23], "instead": [3, 12, 23], "int": [3, 4, 8, 9, 10, 14, 15, 20, 21, 23], "intend": 18, "intent": 1, "interact": [0, 3, 7, 9, 20], "interactin": 18, "interaction_check": [7, 15], "interest": 17, "intern": [3, 7, 16], "intersphinx": 0, "introduc": 10, "invalid": 9, "invaliddata": 9, "invit": [0, 22], "invoc": [0, 12], "invok": [1, 10, 12, 15], "inwhitelistcheckfailur": [3, 7, 10], "is_in_categori": [3, 7, 9], "isn": [13, 14], "issu": 10, "item": 8, "iter": [10, 12], "its": [0, 3, 12, 14], "itself": 15, "januari": 0, "json": 6, "json_schema_update_func": [3, 20, 21], "juli": 0, "june": 0, "keep": [3, 20, 23], "kei": [3, 8, 20, 21], "key_pi": [3, 20, 21], "keyword": [6, 7, 14, 17], "known": 23, "kwarg": [3, 6, 12, 14, 15, 17, 23], "label": [0, 15], "lancebot": 1, "larg": 21, "larger": 21, "last": [3, 10, 15, 20], "latest": 0, "lead": 0, "least": 10, "left": [3, 20], "length": [3, 12, 20], "level": [0, 7, 17], "lexer": [0, 21], "librari": [0, 1], "like": [1, 14], "limit": [3, 20], "line": [3, 20], "linepagin": [0, 2, 3, 7, 20], "linesep": [3, 20], "link": 21, "lint": 0, "list": [0, 1, 3, 15, 20, 21], "listen": 15, "liter": [3, 20, 21], "ll": [1, 23], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": [3, 20, 21], "local": [2, 3, 20, 21], "localhost": 4, "lock": [0, 3, 7], "lock_arg": [3, 7, 16], "lockedresourceerror": [3, 7, 16], "log": [0, 3, 7, 13, 18, 23], "log_format": [0, 3, 7, 17], "log_to_dev_log": [2, 3], "logger": [0, 17], "logic": 0, "long": [10, 21, 23], "longer": [0, 15], "look": [14, 23], "lookup_kei": [3, 20, 21], "lookuppath": [3, 20, 21], "loop": [4, 23], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": [0, 19], "mai": [0, 3, 8, 16, 20, 21], "main": 0, "make": [0, 1, 3, 17, 20], "manag": 16, "mani": [0, 3, 8], "manipul": [0, 14], "manual": 3, "map": [3, 14, 16, 20, 21], "march": 0, "mark": 0, "match": [0, 3, 14], "max": 21, "max_length": 21, "max_lin": [3, 20], "max_paste_s": [3, 7, 21], "max_siz": [3, 8, 20, 21], "maximum": [3, 8, 20, 21], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7, 15], "member_id": 18, "mention": [1, 3], "messag": [0, 3, 7, 11, 12, 13, 15, 17, 20, 23], "message_id": 19, "message_typ": 0, "metadata": [3, 20, 21], "method": [0, 3, 4, 6, 7, 17, 20, 21], "might": [1, 10], "migrat": 0, "minut": [3, 20], "miss": 0, "mod": 0, "mode": [3, 20, 21], "model": [3, 20, 21], "model_computed_field": [2, 3, 7, 20, 21], "model_config": [2, 3, 7, 20, 21], "model_field": [2, 3, 7, 20, 21], "model_nam": [3, 20, 21], "model_post_init": [3, 20, 21], "model_seri": [3, 20, 21], "model_valid": [3, 20, 21], "modelfield": [3, 20, 21], "modelfieldsvalid": [3, 20, 21], "modelprivateattr": [3, 20, 21], "modelseri": [3, 20, 21], "modelvalid": [3, 20, 21], "moder": [3, 15, 19, 20], "modifi": [1, 18], "modify_model_json_schema": [3, 20, 21], "modul": [0, 3, 7, 14, 20, 21, 23], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 3, 14, 16, 20], "most": 1, "move": 0, "msg": 17, "multipl": 0, "multivers": 0, "must": [0, 14, 16, 23], "mutual": 16, "mypi": 17, "n": [3, 20], "name": [3, 7, 14, 16, 17, 20, 21, 23], "name_or_po": [14, 16], "name_pi": [3, 20, 21], "namespac": [0, 3, 16, 20, 21, 23], "navig": [0, 1, 3, 20], "na\u00efv": 23, "need": [0, 1, 3, 20], "never": [3, 20, 21], "new": [0, 1, 3, 4, 6, 8, 14, 20, 23], "newer": 0, "newli": 0, "next": [3, 20], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23], "normal": 3, "notabl": 0, "note": 10, "notfound": 9, "notic": 0, "notifi": 12, "novemb": 0, "now": [0, 1, 23], "number": [0, 3, 10, 20, 21], "object": [3, 6, 7, 8, 9, 12, 16, 18, 20, 21, 23], "occur": 15, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": [3, 20, 21], "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 15], "onc": [0, 8], "one": [0, 3, 10, 20], "ones": 1, "onli": [0, 3], "onto": [3, 20], "oper": [3, 16, 20, 23], "option": [0, 8, 14, 16], "order": [3, 8, 14, 16, 20, 23], "ordereddict": [14, 16], "origin": [3, 15, 20, 21], "other": [0, 1, 16, 23], "otherwis": [10, 16, 23], "our": [0, 1, 7], "out": [0, 1, 15], "output": 22, "over": [0, 3, 20], "overflow": [3, 20], "overrid": [3, 20], "overwrit": [0, 3], "own": [0, 14], "p": [3, 7, 12], "packag": [0, 7], "page": [2, 3, 20], "pagin": [0, 2, 3, 7], "pagination_emoji": [3, 20], "paginationemoji": [2, 3, 7, 20], "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 23], "paramspec": [12, 14], "parent": [0, 3, 15, 20, 21], "pars": 22, "partial": [3, 20, 21], "pass": [0, 6, 14, 17, 18, 23], "past": [0, 21, 23], "paste_servic": [0, 3, 7], "paste_url": 21, "pastebin": 0, "pastefil": [0, 3, 7, 21], "pasterespons": [3, 7, 21], "pastetoolongerror": [3, 7, 21], "pasteunsupportedlexererror": [3, 7, 21], "pasteuploaderror": [3, 7, 21], "patch": [0, 3, 6, 7], "path": [1, 3, 20, 21], "pattern": 22, "per": [3, 10, 20], "perform": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "place": [3, 20], "pleas": 22, "pluggableschemavalid": [3, 20, 21], "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": [8, 14, 16], "possibl": 1, "post": [3, 6, 20, 21], "post_init": [3, 20, 21], "pre": 1, "predic": 0, "prefix": [1, 3, 4, 20], "prematur": 23, "press": 0, "prevent": [12, 16, 23], "previous": 0, "privat": [3, 20, 21], "privatechannel": [0, 9], "problem": [10, 17], "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 17], "provid": [0, 1, 3, 8, 11, 13, 20, 23], "public": 0, "publish": 0, "purpos": [3, 18, 20, 21], "push": 0, "put": [3, 6], "py": [0, 3, 14, 20, 21], "py_kei": [3, 20, 21], "pydant": [3, 20, 21], "pydantic_js_annotation_funct": [3, 20, 21], "pydantic_js_funct": [3, 20, 21], "pydanticgenericmetadata": [3, 20, 21], "pydi": [0, 2], "pydis_cor": [0, 1, 3, 15, 17, 20, 21], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 21, 23], "pythondiscord": [0, 21], "qualifi": 7, "quot": 22, "r": [3, 7, 12], "rais": [3, 6, 9, 10, 11, 12, 13, 14, 16, 18, 20, 21, 23], "raise_error": 16, "raise_for_statu": 6, "rate": 10, "rather": 7, "raw": [12, 22], "raw_code_regex": [3, 7, 22], "rc2": 0, "re": [1, 3, 13, 19, 23], "reach": 16, "reaction": [0, 3, 19, 20], "reaction_check": [0, 3, 7, 19], "read": 0, "readi": 3, "real": 0, "reason": [3, 20], "rebuild": [3, 20, 21], "receiv": [0, 6, 9], "recognis": 17, "reconnect": 0, "redi": 0, "redirect": 10, "redirect_channel": 10, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": [3, 20, 21], "refer": 0, "referenc": 0, "reflect": 14, "regex": [0, 3, 7], "regular": 22, "reinstal": 1, "reject": 21, "relat": [8, 17], "releas": 0, "relev": 3, "remain": [3, 20], "remov": [0, 3, 15, 19, 20, 21], "remove_command": [2, 3], "remove_rol": 18, "renam": 0, "replac": [3, 10, 14, 20, 21], "repli": [3, 11, 12, 13, 20], "repo": 0, "represent": 6, "request": [0, 3, 6, 22], "requir": [1, 3, 20, 21, 23], "required_field": [3, 20, 21], "resolut": 0, "resolv": [3, 14], "resourc": 16, "resource_id": 16, "resource_typ": 16, "respons": [0, 6, 21], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "restrict": [3, 20], "restrict_to_us": [3, 20], "result": [0, 23], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23], "reusabl": 5, "revalid": [3, 20, 21], "revert": 0, "right": [0, 3, 20], "role": [0, 1, 3, 10, 15, 18, 19, 20], "root": [1, 3, 7], "root_alias": 7, "root_model": [3, 20, 21], "root_valid": [3, 20, 21], "rout": 7, "ruff": 0, "run": [0, 1, 12, 16, 23], "runtimeerror": 16, "safe": 0, "same": [12, 23], "sampl": 0, "sanitis": 22, "save": [0, 3, 21], "scale": [3, 20], "scale_to_s": [3, 20], "schedul": [0, 3, 7], "schedule_at": [7, 23], "schedule_lat": [7, 23], "schema": [3, 20, 21], "schemafilt": [3, 20, 21], "schemaseri": [3, 20, 21], "schemavalid": [3, 20, 21], "search": 2, "second": [3, 10, 12, 15, 20, 23], "secondari": 15, "see": [1, 14, 15, 16], "self": [0, 3, 15], "send": [0, 3, 6, 15, 20], "send_notic": 12, "send_to_paste_servic": [0, 3, 7, 21], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [3, 7, 14, 15, 20], "serfield": [3, 20, 21], "serial": [3, 20, 21], "serv": [3, 20], "server": [3, 22], "servic": [0, 1, 3, 21], "session": [0, 3, 6, 21], "session_kwarg": 6, "set": [0, 1, 3, 12, 14, 15, 16, 20, 21], "set_author": [3, 20], "setup": [0, 3], "setup_hook": [2, 3], "sever": 17, "share": [0, 14], "sharedev": [3, 7, 16], "should": [0, 1, 3, 6, 15, 20, 21], "should_rais": 6, "signatur": [3, 12, 20, 21], "silent": 10, "similar": [3, 15, 20, 21, 22], "simpl": [3, 20, 21], "simpledict": [3, 20, 21], "sinc": 10, "singl": [0, 3, 20], "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [3, 8, 20, 21], "so": [0, 1, 7], "socket": 4, "sole": 18, "some": [0, 3, 20, 21], "someth": 22, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "specif": [0, 10], "specifi": [0, 10, 12, 15], "sphinx": 0, "stabl": 0, "standardis": [0, 17], "start": [0, 3, 23], "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, 20, 21], "stop": [0, 7, 15], "store": [0, 3, 7, 8, 20], "str": [3, 4, 6, 7, 10, 11, 14, 15, 16, 17, 20, 21, 23], "strict": [3, 20, 21], "string": [0, 6], "strserial": [3, 20, 21], "strvalid": [3, 20, 21], "style": 15, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 23, "success": [0, 21], "suffix": [3, 20], "suggest": 23, "support": [0, 4, 7, 23], "suppressed_except": 23, "sure": 1, "switch": [3, 20], "sync": [0, 3], "sync_app_command": 3, "synthes": [3, 20, 21], "system": [0, 1], "t": [0, 10, 11, 13, 14, 16, 23], "target": 8, "task": [0, 23], "task_id": 23, "task_return": 23, "templat": 1, "test": 2, "text": [0, 3, 6, 11, 20, 21], "textchannel": 9, "than": [7, 21], "thei": [3, 14, 19], "them": [1, 3, 14, 23], "thi": [0, 1, 3, 7, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 23], "thread": [0, 9], "three": [3, 20], "through": 16, "thrown": 7, "thu": 3, "tild": 0, "time": [0, 10, 23], "timeout": [0, 3, 15, 20], "timezon": 23, "titl": [3, 20, 21], "token": [1, 6], "toml": [0, 1], "too": 21, "tool": [3, 7], "top": 7, "total": [3, 20], "trace": [0, 7, 17], "track": 23, "transport": 4, "trashcan": [3, 20], "trigger": 10, "true": [3, 6, 10, 12, 16, 17, 19, 20, 21, 23], "truncat": [3, 20], "tupl": [14, 23], "turn": 16, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23], "typeerror": [10, 14], "typehint": 14, "typevar": [12, 14, 23], "u": [0, 3, 20], "ui": 15, "unavail": 3, "unawait": 23, "undefin": [3, 20, 21], "under": 7, "underli": 16, "union": 10, "uniqu": 23, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 23, "unsupport": 21, "unti": [3, 20], "until": [0, 3, 16, 22], "up": [0, 1, 3, 20], "updat": [0, 14], "update_wrapper_glob": [3, 7, 14], "upload": [0, 21], "upon": 0, "url": [0, 3, 6, 20, 21], "urllib": 22, "us": [0, 1, 3, 4, 6, 7, 9, 10, 12, 14, 16, 17, 18, 20, 21, 22, 23], "user": [0, 3, 10, 12, 15, 19, 20], "user_has_access": [0, 3, 7, 15], "utc": 23, "util": [0, 1, 2, 3, 8, 14, 15, 17, 20, 21], "v1": [0, 3, 20, 21], "valid": [0, 3, 20, 21], "validate_default": [3, 20, 21], "valu": [3, 12, 14, 16, 17, 20, 21], "valueerror": [6, 14, 21], "vari": 1, "variabl": [1, 3, 20, 21], "variou": [0, 9], "verifi": 10, "version": [0, 11], "view": [0, 15], "viewwithuserandrolecheck": [0, 3, 7, 15], "wa": [0, 9, 10, 23], "wait": [0, 3, 7, 16, 23], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 23], "wasn": 11, "we": [17, 18], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 10, 12, 14, 16, 20, 21, 23], "where": 10, "whether": [0, 3, 6, 9, 10, 15, 20, 21], "which": [0, 1, 3, 7, 10, 12, 14, 16, 20, 23], "while": [3, 12, 16, 20], "whitelist": 10, "whitespac": [0, 22], "who": 15, "whom": [3, 20], "withdefault": [3, 20, 21], "withdefaultseri": [3, 20, 21], "withdefaultvalid": [3, 20, 21], "within": [0, 3], "without": [0, 10], "won": 14, "word": [3, 20], "work": [0, 1], "worker": 7, "workflow": 0, "would": [3, 20], "wrap": [8, 14, 23], "wrapper": [0, 6, 12, 14, 23], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 22], "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", "lock", "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, "lock": 16, "log": 17, "member": 18, "messag": 19, "modul": 2, "option": 1, "pagin": 20, "paste_servic": 21, "project": 2, "pydi": 3, "refer": 2, "regex": 22, "schedul": 23, "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]], "lock": [[16, null]], "logging": [[17, null]], "members": [[18, null]], "messages": [[19, null]], "pagination": [[20, null]], "paste_service": [[21, null]], "regex": [[22, null]], "scheduling": [[23, 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.lock", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "output/pydis_core.utils.messages", "output/pydis_core.utils.pagination", "output/pydis_core.utils.paste_service", "output/pydis_core.utils.regex", "output/pydis_core.utils.scheduling"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2}, "filenames": ["changelog.rst", "development.rst", "index.rst", "output/pydis_core.rst", "output/pydis_core.async_stats.rst", "output/pydis_core.exts.rst", "output/pydis_core.site_api.rst", "output/pydis_core.utils.rst", "output/pydis_core.utils.caching.rst", "output/pydis_core.utils.channel.rst", "output/pydis_core.utils.checks.rst", "output/pydis_core.utils.commands.rst", "output/pydis_core.utils.cooldown.rst", "output/pydis_core.utils.error_handling.rst", "output/pydis_core.utils.function.rst", "output/pydis_core.utils.interactions.rst", "output/pydis_core.utils.lock.rst", "output/pydis_core.utils.logging.rst", "output/pydis_core.utils.members.rst", "output/pydis_core.utils.messages.rst", "output/pydis_core.utils.pagination.rst", "output/pydis_core.utils.paste_service.rst", "output/pydis_core.utils.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__class_vars__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__class_vars__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__class_vars__", false]], "__class_vars__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[23, "pydis_core.utils.scheduling.Scheduler.__contains__", false]], "__enter__() (sharedevent method)": [[16, "pydis_core.utils.lock.SharedEvent.__enter__", false]], "__exit__() (sharedevent method)": [[16, "pydis_core.utils.lock.SharedEvent.__exit__", false]], "__init__() (apiclient method)": [[6, "pydis_core.site_api.APIClient.__init__", false]], "__init__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__init__", false]], "__init__() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.__init__", false]], "__init__() (botbase method)": [[3, "pydis_core.BotBase.__init__", false]], "__init__() (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], [20, "pydis_core.utils.pagination.LinePaginator.__init__", false]], "__init__() (lockedresourceerror method)": [[16, "pydis_core.utils.lock.LockedResourceError.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[23, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (sharedevent method)": [[16, "pydis_core.utils.lock.SharedEvent.__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], [20, "pydis_core.utils.pagination.PaginationEmojis.__private_attributes__", false]], "__private_attributes__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_complete__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_complete__", false]], "__pydantic_complete__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_computed_fields__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_core_schema__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_custom_init__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_decorators__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_decorators__", false]], "__pydantic_decorators__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_extra__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_extra__", false]], "__pydantic_extra__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields__", false]], "__pydantic_fields__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields_set__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_generic_metadata__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_parent_namespace__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_post_init__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_post_init__", false]], "__pydantic_post_init__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_private__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_private__", false]], "__pydantic_private__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_serializer__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_serializer__", false]], "__pydantic_serializer__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_validator__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_validator__", false]], "__pydantic_validator__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[21, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__signature__", false], [20, "pydis_core.utils.pagination.PaginationEmojis.__signature__", false]], "__signature__ (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[21, "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], [20, "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)": [[23, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[23, "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)": [[23, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[17, "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)": [[22, "pydis_core.utils.regex.DISCORD_INVITE", false]], "emptypaginatorembederror": [[3, "pydis_core.EmptyPaginatorEmbedError", false], [20, "pydis_core.utils.pagination.EmptyPaginatorEmbedError", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[22, "pydis_core.utils.regex.FORMATTED_CODE_REGEX", false]], "get() (apiclient method)": [[6, "pydis_core.site_api.APIClient.get", false]], "get_arg_value() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.get_arg_value", false]], "get_arg_value_wrapper() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.get_arg_value_wrapper", false]], "get_bound_args() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.get_bound_args", false]], "get_logger() (in module pydis_core.utils.logging)": [[17, "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)": [[18, "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)": [[18, "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]], "id (lockedresourceerror attribute)": [[16, "pydis_core.utils.lock.LockedResourceError.id", false]], "in_whitelist_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.in_whitelist_check", false]], "interaction_check() (viewwithuserandrolecheck method)": [[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)": [[20, "pydis_core.utils.pagination.LinePaginator", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "lock() (in module pydis_core.utils.lock)": [[16, "pydis_core.utils.lock.lock", false]], "lock_arg() (in module pydis_core.utils.lock)": [[16, "pydis_core.utils.lock.lock_arg", false]], "lockedresourceerror": [[16, "pydis_core.utils.lock.LockedResourceError", false]], "log_format (in module pydis_core.utils.logging)": [[17, "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)": [[21, "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], [20, "pydis_core.utils.pagination.PaginationEmojis.model_config", false]], "model_config (pastefile attribute)": [[21, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[21, "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.lock", false], [17, "module-pydis_core.utils.logging", false], [18, "module-pydis_core.utils.members", false], [19, "module-pydis_core.utils.messages", false], [20, "module-pydis_core.utils.pagination", false], [21, "module-pydis_core.utils.paste_service", false], [22, "module-pydis_core.utils.regex", false], [23, "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], [20, "pydis_core.utils.pagination.LinePaginator.paginate", false]], "paginationemojis (class in pydis_core)": [[3, "pydis_core.PaginationEmojis", false]], "paginationemojis (class in pydis_core.utils.pagination)": [[20, "pydis_core.utils.pagination.PaginationEmojis", false]], "pastefile (class in pydis_core.utils.paste_service)": [[21, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[21, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[21, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[21, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[21, "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.lock": [[16, "module-pydis_core.utils.lock", false]], "pydis_core.utils.logging": [[17, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[18, "module-pydis_core.utils.members", false]], "pydis_core.utils.messages": [[19, "module-pydis_core.utils.messages", false]], "pydis_core.utils.pagination": [[20, "module-pydis_core.utils.pagination", false]], "pydis_core.utils.paste_service": [[21, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[22, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[23, "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)": [[22, "pydis_core.utils.regex.RAW_CODE_REGEX", false]], "reaction_check() (in module pydis_core.utils.messages)": [[19, "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)": [[23, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[23, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[23, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[23, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[21, "pydis_core.utils.paste_service.send_to_paste_service", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "sharedevent (class in pydis_core.utils.lock)": [[16, "pydis_core.utils.lock.SharedEvent", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "stop() (viewwithuserandrolecheck method)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[17, "pydis_core.utils.logging.CustomLogger.trace", false]], "type (lockedresourceerror attribute)": [[16, "pydis_core.utils.lock.LockedResourceError.type", false]], "unqualify() (in module pydis_core.utils)": [[7, "pydis_core.utils.unqualify", false]], "update_wrapper_globals() (in module pydis_core.utils.function)": [[14, "pydis_core.utils.function.update_wrapper_globals", false]], "user_has_access() (in module pydis_core.utils.interactions)": [[15, "pydis_core.utils.interactions.user_has_access", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[15, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck", false]], "wait() (sharedevent method)": [[16, "pydis_core.utils.lock.SharedEvent.wait", false]], "wait_until_guild_available() (botbase method)": [[3, "pydis_core.BotBase.wait_until_guild_available", false]]}, "objects": {"": [[3, 0, 0, "-", "pydis_core"]], "pydis_core": [[3, 1, 1, "", "BotBase"], [3, 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, "-", "lock"], [17, 0, 0, "-", "logging"], [18, 0, 0, "-", "members"], [19, 0, 0, "-", "messages"], [20, 0, 0, "-", "pagination"], [21, 0, 0, "-", "paste_service"], [22, 0, 0, "-", "regex"], [23, 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, "", "get_arg_value"], [14, 5, 1, "", "get_arg_value_wrapper"], [14, 5, 1, "", "get_bound_args"], [14, 5, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[15, 1, 1, "", "DeleteMessageButton"], [15, 1, 1, "", "ViewWithUserAndRoleCheck"], [15, 5, 1, "", "user_has_access"]], "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.lock": [[16, 3, 1, "", "LockedResourceError"], [16, 1, 1, "", "SharedEvent"], [16, 5, 1, "", "lock"], [16, 5, 1, "", "lock_arg"]], "pydis_core.utils.lock.LockedResourceError": [[16, 2, 1, "", "__init__"], [16, 4, 1, "", "id"], [16, 4, 1, "", "type"]], "pydis_core.utils.lock.SharedEvent": [[16, 2, 1, "", "__enter__"], [16, 2, 1, "", "__exit__"], [16, 2, 1, "", "__init__"], [16, 2, 1, "", "wait"]], "pydis_core.utils.logging": [[17, 1, 1, "", "CustomLogger"], [17, 5, 1, "", "get_logger"], [17, 6, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[17, 2, 1, "", "trace"]], "pydis_core.utils.members": [[18, 5, 1, "", "get_or_fetch_member"], [18, 5, 1, "", "handle_role_change"]], "pydis_core.utils.messages": [[19, 5, 1, "", "reaction_check"]], "pydis_core.utils.pagination": [[20, 3, 1, "", "EmptyPaginatorEmbedError"], [20, 1, 1, "", "LinePaginator"], [20, 1, 1, "", "PaginationEmojis"]], "pydis_core.utils.pagination.LinePaginator": [[20, 2, 1, "", "__init__"], [20, 2, 1, "", "add_line"], [20, 2, 1, "", "paginate"]], "pydis_core.utils.pagination.PaginationEmojis": [[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": [[21, 6, 1, "", "MAX_PASTE_SIZE"], [21, 1, 1, "", "PasteFile"], [21, 1, 1, "", "PasteResponse"], [21, 3, 1, "", "PasteTooLongError"], [21, 3, 1, "", "PasteUnsupportedLexerError"], [21, 3, 1, "", "PasteUploadError"], [21, 5, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[21, 4, 1, "", "__class_vars__"], [21, 4, 1, "", "__private_attributes__"], [21, 4, 1, "", "__pydantic_complete__"], [21, 4, 1, "", "__pydantic_computed_fields__"], [21, 4, 1, "", "__pydantic_core_schema__"], [21, 4, 1, "", "__pydantic_custom_init__"], [21, 4, 1, "", "__pydantic_decorators__"], [21, 4, 1, "", "__pydantic_extra__"], [21, 4, 1, "", "__pydantic_fields__"], [21, 4, 1, "", "__pydantic_fields_set__"], [21, 4, 1, "", "__pydantic_generic_metadata__"], [21, 4, 1, "", "__pydantic_parent_namespace__"], [21, 4, 1, "", "__pydantic_post_init__"], [21, 4, 1, "", "__pydantic_private__"], [21, 4, 1, "", "__pydantic_serializer__"], [21, 4, 1, "", "__pydantic_validator__"], [21, 4, 1, "", "__signature__"], [21, 4, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[21, 4, 1, "", "__class_vars__"], [21, 4, 1, "", "__private_attributes__"], [21, 4, 1, "", "__pydantic_complete__"], [21, 4, 1, "", "__pydantic_computed_fields__"], [21, 4, 1, "", "__pydantic_core_schema__"], [21, 4, 1, "", "__pydantic_custom_init__"], [21, 4, 1, "", "__pydantic_decorators__"], [21, 4, 1, "", "__pydantic_extra__"], [21, 4, 1, "", "__pydantic_fields__"], [21, 4, 1, "", "__pydantic_fields_set__"], [21, 4, 1, "", "__pydantic_generic_metadata__"], [21, 4, 1, "", "__pydantic_parent_namespace__"], [21, 4, 1, "", "__pydantic_post_init__"], [21, 4, 1, "", "__pydantic_private__"], [21, 4, 1, "", "__pydantic_serializer__"], [21, 4, 1, "", "__pydantic_validator__"], [21, 4, 1, "", "__signature__"], [21, 4, 1, "", "model_config"]], "pydis_core.utils.regex": [[22, 6, 1, "", "DISCORD_INVITE"], [22, 6, 1, "", "FORMATTED_CODE_REGEX"], [22, 6, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[23, 1, 1, "", "Scheduler"], [23, 5, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[23, 2, 1, "", "__contains__"], [23, 2, 1, "", "__init__"], [23, 2, 1, "", "cancel"], [23, 2, 1, "", "cancel_all"], [23, 2, 1, "", "schedule"], [23, 2, 1, "", "schedule_at"], [23, 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, 17, 19, 20, 21, 22, 23], "0": [0, 8, 10, 15, 16, 17], "0a0": 0, "0eb3d26": 0, "0x0000560b469793c0": 20, "0x0000560b46984950": 3, "0x0000560b46a7a580": 21, "0x0000560b46a7b940": 21, "0x00007fbdac1056b0": 3, "0x00007fbdac1057b0": 3, "0x00007fbdac1058b0": 3, "0x00007fbdac105af0": 3, "0x00007fbdac1079f0": 3, "0x00007fbdac107eb0": 3, "0x00007fbdac107f70": 3, "0x00007fbdac366d30": 21, "0x00007fbdac366df0": 21, "0x00007fbdac366e30": 21, "0x00007fbdac366e70": 21, "0x00007fbdac366eb0": 21, "0x00007fbdac366f30": 21, "0x00007fbdac3673f0": 21, "0x00007fbdac3677f0": 21, "0x00007fbdac367bf0": 21, "0x00007fbdac367fb0": 21, "0x00007fbdac36d6f0": 20, "0x00007fbdac36d7f0": 20, "0x00007fbdac36d8f0": 20, "0x00007fbdac36db30": 20, "0x00007fbdac36fa30": 20, "0x00007fbdac36ff70": 20, "0x00007fbdac681c70": 21, "0x00007fbdad539700": 3, "0x00007fbdad539750": 3, "0x00007fbdad5397a0": 3, "0x00007fbdad5397f0": 3, "0x00007fbdad539840": 3, "0x00007fbdad73b960": 20, "0x00007fbdad73b9b0": 20, "0x00007fbdad73ba00": 20, "0x00007fbdad73ba50": 20, "0x00007fbdad73baa0": 20, "0x00007fbdadbcb030": 3, "0x00007fbdadbe5670": 3, "0x00007fbdadc628f0": 20, "0x00007fbdadc74870": 20, "0x00007fbdadcc45c0": 3, "0x00007fbdaffc38f0": 20, "0x00007fbdb00ccc30": [3, 20], "0x00007fbdb19d23c0": [20, 21], "0x00007fbdb27b15b0": 21, "0x00007fbdb2a45370": 21, "0x00007fbdb2d6ba30": 21, "0x00007fbdb317d830": [3, 20], "0x00007fbdb317d870": [3, 20], "0x00007fbdb31d61f0": [3, 20], "0x00007fbdb31f87b0": [3, 20], "0x00007fbdb350ceb0": [3, 20], "0x00007fbdb3aac2a0": 21, "0x00007fbdb3b530c0": 21, "0x00007fbdb3b56ea0": 21, "1": [0, 17], "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, "194": 0, "195": 0, "196": 0, "197": 0, "199": 0, "19th": 0, "2": [0, 3, 15, 21], "200": 0, "202": 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, 21], "30": 0, "300": [3, 20], "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "4000": [3, 20], "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 3, 12, 20], "500": [3, 20], "524288": 21, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "637136429717389331": [3, 20], "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, "94606428967872": 20, "94606429014352": 3, "94606430020992": 21, "94606430026048": 21, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 10, 12, 14, 15, 17, 20, 21, 23], "For": 14, "If": [3, 6, 10, 12, 14, 15, 16, 19, 20, 23], "In": [3, 20], "It": [3, 7, 16, 20], "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20, 21, 23], "These": [3, 20], "To": [1, 3, 17], "_": 0, "__annotations__": 14, "__args__": [3, 20, 21], "__call__": [7, 8], "__class_vars__": [2, 3, 7, 20, 21], "__contains__": [7, 23], "__dict__": 14, "__doc__": 14, "__enter__": [7, 16], "__exit__": [7, 16], "__fields__": [3, 20, 21], "__get_pydantic_json_schema__": [3, 20, 21], "__global__": 14, "__init__": [0, 2, 3, 4, 6, 7, 8, 10, 12, 15, 16, 20, 21, 23], "__module__": 14, "__name__": 14, "__origin__": [3, 20, 21], "__parameters__": [3, 20, 21], "__private_attributes__": [2, 3, 7, 20, 21], "__pydantic_complete__": [2, 3, 7, 20, 21], "__pydantic_computed_fields__": [2, 3, 7, 20, 21], "__pydantic_core_schema__": [2, 3, 7, 20, 21], "__pydantic_custom_init__": [2, 3, 7, 20, 21], "__pydantic_decorators__": [2, 3, 7, 20, 21], "__pydantic_extra__": [2, 3, 7, 20, 21], "__pydantic_fields__": [2, 3, 7, 20, 21], "__pydantic_fields_set__": [2, 3, 7, 20, 21], "__pydantic_generic_metadata__": [2, 3, 7, 20, 21], "__pydantic_parent_namespace__": [2, 3, 7, 20, 21], "__pydantic_post_init__": [2, 3, 7, 20, 21], "__pydantic_private__": [2, 3, 7, 20, 21], "__pydantic_serializer__": [2, 3, 7, 20, 21], "__pydantic_validator__": [2, 3, 7, 20, 21], "__qualname__": 14, "__root_validators__": [3, 20, 21], "__signature__": [2, 3, 7, 20, 21], "__str__": [3, 6], "__validators__": [3, 20, 21], "_decor": [3, 20, 21], "_exc_tb": 16, "_exc_typ": 16, "_exc_val": 16, "_gener": [3, 20, 21], "_guild_avail": 0, "_p": 14, "_r": 14, "_transport": 0, "abc": 0, "abl": 0, "about": [3, 12, 20, 21], "abstract": 0, "abstracteventloop": [4, 23], "accept": [14, 15], "access": 15, "acquir": 16, "across": [0, 3, 17, 20], "act": 7, "action": 0, "activ": 16, "actual": 0, "ad": [0, 1, 3, 7, 15, 17, 20], "add": [0, 3, 10, 12, 20], "add_cog": [2, 3], "add_command": [2, 3], "add_lin": [2, 3, 7, 20], "add_rol": 18, "addit": 0, "after": [0, 3, 15, 20, 23], "again": 1, "aid": [3, 20], "aiodn": 0, "aiohttp": [0, 3, 6, 21], "alia": [3, 7, 12, 20, 21], "alias": [3, 7], "alias_pi": [3, 20, 21], "all": [0, 1, 3, 4, 7, 16, 17, 23], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 15, 19, 20, 21], "allow_mod": 19, "allowed_emoji": 19, "allowed_rol": [0, 1, 3, 15, 19, 20], "allowed_us": [0, 15, 19], "alpha": 0, "alreadi": [3, 20, 23], "also": [0, 3, 7, 14, 15, 16, 20], "alwai": 10, "among": 16, "amount": [3, 20], "an": [0, 1, 3, 4, 6, 7, 8, 9, 10, 14, 16, 17, 20, 21, 23], "ani": [3, 6, 10, 14, 16, 20, 21, 22, 23], "annot": [3, 14, 20, 21], "anymor": [3, 20], "anyth": [1, 21], "api": [0, 6, 18], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "append": [3, 20], "appli": [3, 7, 8, 10, 12, 16, 20, 21], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 14, 15, 19, 20, 21, 22], "arg": [3, 12, 14, 16, 17, 20, 21], "arg_offset": 8, "args_preprocessor": 12, "argument": [6, 7, 8, 11, 12, 14, 16, 17, 18], "around": 6, "assign": 14, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 15, 16, 18, 20, 21], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 23], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16, 18, 20], "attr": 0, "attribut": [3, 7, 14, 20, 21], "august": 0, "authent": 6, "author": [3, 10, 19, 20], "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 3, 20, 21], "avail": [0, 3, 16], "avoid": [0, 3, 20], "await": [0, 3, 12, 15, 16, 18, 20], "awar": 23, "back": 0, "backtick": [3, 20], "bad": 0, "badargu": 11, "base": [0, 3, 4, 6, 8, 10, 12, 14, 15, 16, 17, 20, 21, 23], "basemodel": [3, 20, 21], "basic": [0, 15], "becaus": [3, 14], "becom": [3, 16], "been": 0, "befor": [0, 3, 10, 15, 16, 20, 23], "before_invok": 10, "behav": 14, "behavior": 10, "behaviour": [0, 3], "being": [0, 7, 10, 18], "below": [1, 16], "best": [3, 20], "between": [0, 1, 14], "bind": 14, "block": [0, 3, 12, 20, 22], "block_duplicate_invoc": [3, 7, 12], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 10, 12, 15, 16, 19, 20, 21, 23], "bot": [0, 1, 3, 7, 9, 19], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 21], "bound": [3, 20, 21], "boundari": [3, 20], "break": [0, 3, 14, 20], "broke": 0, "buckettyp": 10, "bug": 0, "build": [3, 20, 21], "bump": 0, "button": [0, 15], "buttonstyl": 15, "bypass": 10, "bypass_rol": 10, "byte": 21, "cach": [0, 3, 7, 9, 18], "cache_str": [3, 20, 21], "calcul": 23, "call": [0, 3, 12, 14, 23], "call_without_cooldown": [7, 12], "callabl": [8, 10, 12, 14, 16, 18], "callback": [7, 10, 15], "can": [0, 1, 3, 10, 15, 16, 17, 20, 23], "cancel": [7, 23], "cancel_al": [7, 23], "cannot": [0, 3, 16, 20], "captur": [0, 14, 22], "carri": 15, "case": [0, 3, 20], "categori": [9, 10], "category_id": 9, "caus": [3, 7, 20], "certain": [0, 1], "chang": [0, 1, 3, 14, 20], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 10, 12], "channel_id": 9, "charact": [0, 3, 20], "chardet": 0, "check": [0, 3, 6, 7, 9, 12, 13, 15, 19, 23], "checkfailur": 10, "chunk": 0, "ci": 0, "cl": [3, 20, 21], "class": [0, 3, 4, 6, 8, 12, 15, 16, 17, 20, 21, 23], "classmethod": [3, 20], "classvar": [3, 20, 21], "clean": [0, 11], "clean_text_or_repli": [3, 7, 11], "clear": [2, 3, 7, 8, 16], "click": 15, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 21], "close": [0, 2, 3, 6, 23], "cloudflar": 7, "code": [0, 1, 3, 6, 16, 20, 22], "codepoint": [3, 20], "coerce_numbers_to_str": [3, 20, 21], "cog": [0, 3, 5], "collect": 10, "collis": 16, "com": [0, 21], "comma": 1, "command": [0, 1, 3, 7, 9, 10, 12, 14, 16, 20], "command_wrap": [3, 7, 14], "commanderror": 12, "commandoncooldown": [3, 7, 12], "commit": 0, "common": [0, 1, 3, 7, 17, 22], "commun": 4, "complet": [3, 20, 21], "compos": 1, "comput": [3, 20, 21], "computed_field": [3, 20, 21], "computedfield": [3, 20, 21], "computedfieldinfo": [3, 20, 21], "concurr": 0, "config": [3, 20, 21], "configdict": [3, 20, 21], "configur": [1, 3, 20, 21], "conflict": 14, "conform": [3, 20, 21], "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 3, 10, 15, 20, 21, 23], "content": [0, 3, 11, 20, 21], "context": [3, 10, 11, 16, 20], "contextcheckfailur": [3, 7, 10], "continu": [3, 20], "control": 0, "cooldown": [3, 7, 10], "cooldown_dur": 12, "cooldown_with_role_bypass": [3, 7, 10], "copi": [1, 14], "copy_default": [3, 20, 21], "core": [0, 1, 20, 21], "coreschema": [3, 20, 21], "coro": [16, 18, 23], "coroutin": [8, 16, 18, 23], "correct": [0, 1], "correspond": [3, 20, 21], "could": 18, "count": 16, "crash": 0, "creat": [0, 3, 4, 8, 12, 14, 20, 23], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 23], "creation": 0, "criteria": 0, "ctx": [3, 10, 11, 15, 20], "current": [3, 16, 20, 23], "custom": [0, 3, 8, 17, 20, 21], "custom_init": [3, 20, 21], "customlogg": [3, 7, 17], "cut": 0, "d": [1, 14], "dai": 0, "data": [3, 20, 21], "datetim": 23, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 3, 8, 10, 12, 14, 16, 20, 21], "decorator_func": 14, "decoratorinfo": [3, 20, 21], "decrement": 16, "default": [0, 1, 3, 10, 14, 20, 21], "defin": [3, 20, 21], "definit": [3, 20, 21], "delai": 23, "delet": [0, 3, 6, 8, 15, 20, 21], "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, 14, 20, 21], "dictat": 0, "dictionari": [3, 20, 21], "did": 0, "directli": [0, 14], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 11, 13, 14, 18, 20, 22], "discord_invit": [0, 3, 7, 22], "disnak": 0, "distinguish": 23, "django": 6, "dm": 10, "do": [0, 1, 9, 16], "doc": [0, 16], "docker": 1, "docstr": 0, "document": 0, "doe": 14, "doesn": [10, 23], "don": [0, 10, 23], "done": [3, 15, 20, 23], "due": 0, "dummi": [0, 3], "dump": [3, 20, 21], "duplic": [0, 12], "durat": 10, "dure": [3, 20, 21], "dynam": 0, "e": [3, 20], "each": [0, 3, 20], "edit": 3, "effort": [3, 20], "either": 3, "els": 11, "elsewher": 23, "emb": [0, 3, 20], "emit": 3, "emoji": [0, 3, 19, 20], "empti": [3, 20], "emptypaginatorembederror": [2, 3, 7, 20], "enabl": 1, "encount": 21, "end": [3, 20], "endpoint": 6, "ensur": [0, 3, 15, 22], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 13, 18, 21], "error_handl": [3, 7], "etc": [1, 10], "evalu": 14, "even": 19, "event": [0, 3, 4, 16, 23], "event_loop": 23, "eventu": [3, 20, 21], "everi": [3, 20], "exact": 1, "exampl": [3, 20], "exc_info": 17, "exce": [3, 8, 20], "exceed": [3, 20], "except": [3, 6, 10, 12, 14, 16, 17, 20, 21, 23], "exception_on_empty_emb": [3, 20], "excess": [3, 20], "exclud": [3, 20, 21], "exclus": 16, "execut": [16, 23], "exist": [0, 1, 23], "exit": 16, "expect": 18, "expiri": 0, "explain": 0, "explicitli": [3, 20, 21], "expos": 16, "express": 22, "ext": [0, 2, 3, 7, 9, 10, 11, 20], "extend": 0, "extens": [0, 3], "extra": [3, 6, 20, 21], "extra_behavior": [3, 20, 21], "extra_seri": [3, 20, 21], "extras_valid": [3, 20, 21], "facilit": 0, "fail": [9, 10, 21], "fail_sil": 10, "failur": 18, "fals": [3, 10, 12, 16, 20, 21], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 18], "few": 1, "field": [3, 20, 21], "field_seri": [3, 20, 21], "field_valid": [3, 20, 21], "fieldinfo": [3, 20, 21], "fifo": 8, "file": [0, 1, 21], "filter": [0, 3, 20, 21], "finish": [3, 16, 20], "first": [3, 20], "five": [3, 20], "fix": 0, "float": [10, 12, 15, 23], "folder": 1, "footer": [3, 20], "footer_text": [3, 20], "forbidden": [0, 9, 13], "format": [21, 22], "formatt": 17, "formatted_code_regex": [3, 7, 22], "forum": 0, "forwardref": 14, "found": [14, 18, 23], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 14, 15, 18, 20, 21, 23], "from_attribut": [3, 20, 21], "frozen": [3, 20, 21], "frozenset": 14, "func": [14, 16], "function": [0, 3, 7, 8, 9, 12, 16, 17, 18, 20, 23], "functool": 14, "futur": [10, 23], "g": [3, 20], "gatewai": 3, "gener": [0, 3, 12, 20, 21, 23], "generalfieldsseri": [3, 20, 21], "generic_origin": [3, 20, 21], "get": [0, 3, 6, 9, 14, 18], "get_arg_valu": [3, 7, 14], "get_arg_value_wrapp": [3, 7, 14], "get_bound_arg": [3, 7, 14], "get_logg": [3, 7, 17], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 18], "git": 1, "give": 3, "given": [0, 3, 4, 7, 9, 11, 14, 16, 17, 18, 23], "global": 14, "globalnameconflicterror": [3, 7, 14], "go": [1, 3, 16, 20], "greater": 21, "groundwork": 1, "group": [7, 22], "guild": [0, 1, 3, 10, 18], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 3, 7, 10, 15, 20, 21], "handl": [0, 13, 18, 23], "handle_forbidden_from_block": [3, 7, 13], "handle_role_chang": [0, 3, 7, 18], "has_any_role_check": [3, 7, 10], "has_extra": [3, 20, 21], "has_no_roles_check": [3, 7, 10], "hashabl": [16, 23], "have": [0, 9, 10, 14, 17], "heavi": 7, "help": [0, 1], "helper": [0, 9, 12, 18], "hold": [3, 16, 20], "holder": 16, "hook": 0, "host": 4, "houston": 17, "how": [0, 8, 10, 14, 23], "howev": 1, "http": [0, 6, 21, 22], "http_session": [3, 21], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23], "icon": [3, 20], "icon_url": [3, 20], "id": [1, 3, 7, 9, 10, 15, 16, 20, 23], "identifi": [16, 23], "ignor": [1, 3, 7, 14, 19, 20, 21], "ignored_conflict_nam": 14, "immedi": 23, "implement": [3, 4, 8, 15, 17], "import": 0, "in_whitelist": 10, "in_whitelist_check": [3, 7, 10], "inadequ": 3, "includ": [0, 1, 3, 13, 20, 21], "incorrect": 0, "increment": 16, "index": 2, "indic": [3, 18, 20], "individu": 3, "info": [0, 1], "inform": [2, 16, 17], "init": [0, 3, 4, 20, 21], "initi": [6, 23], "initialis": [3, 8], "input": 15, "insert": [3, 20], "insid": [3, 20], "inspect": [3, 20, 21], "instal": 1, "instanc": [0, 3, 6, 8, 9, 10, 17, 20, 21, 23], "instanti": [3, 15, 20, 21, 23], "instead": [3, 12, 23], "int": [3, 4, 8, 9, 10, 14, 15, 20, 21, 23], "intend": 18, "intent": 1, "interact": [0, 3, 7, 9, 20], "interactin": 18, "interaction_check": [7, 15], "interest": 17, "intern": [3, 7, 16], "intersphinx": 0, "introduc": 10, "invalid": 9, "invaliddata": 9, "invit": [0, 22], "invoc": [0, 12], "invok": [1, 10, 12, 15], "inwhitelistcheckfailur": [3, 7, 10], "is_in_categori": [3, 7, 9], "isn": [13, 14], "issu": 10, "item": 8, "iter": [10, 12], "its": [0, 3, 12, 14], "itself": 15, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": [3, 20, 23], "kei": [3, 8, 20, 21], "key_pi": [3, 20, 21], "keyword": [6, 7, 14, 17], "known": 23, "kwarg": [3, 6, 12, 14, 15, 17, 23], "label": [0, 15], "lancebot": 1, "larg": 21, "larger": 21, "last": [3, 10, 15, 20], "latest": 0, "lead": 0, "least": 10, "left": [3, 20], "length": [3, 12, 20], "level": [0, 7, 17], "lexer": [0, 21], "librari": [0, 1], "like": [1, 14], "limit": [3, 20], "line": [3, 20], "linepagin": [0, 2, 3, 7, 20], "linesep": [3, 20], "link": 21, "lint": 0, "list": [0, 1, 3, 15, 20, 21], "listen": 15, "liter": [3, 20, 21], "ll": [1, 23], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": [3, 20, 21], "local": 2, "localhost": 4, "lock": [0, 3, 7], "lock_arg": [3, 7, 16], "lockedresourceerror": [3, 7, 16], "log": [0, 3, 7, 13, 18, 23], "log_format": [0, 3, 7, 17], "log_to_dev_log": [2, 3], "logger": [0, 17], "logic": 0, "long": [10, 21, 23], "longer": [0, 15], "look": [14, 23], "lookup_kei": [3, 20, 21], "lookuppath": [3, 20, 21], "loop": [4, 23], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": [0, 19], "mai": [0, 3, 8, 16, 20, 21], "main": 0, "make": [0, 1, 3, 17, 20], "manag": 16, "mani": [0, 3, 8], "manipul": [0, 14], "manual": 3, "map": [14, 16], "march": 0, "mark": 0, "match": [0, 3, 14], "max": 21, "max_length": 21, "max_lin": [3, 20], "max_paste_s": [3, 7, 21], "max_siz": [3, 8, 20, 21], "maximum": [3, 8, 20, 21], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7, 15], "member_id": 18, "mention": [1, 3], "messag": [0, 3, 7, 11, 12, 13, 15, 17, 20, 23], "message_id": 19, "message_typ": 0, "metadata": [3, 20, 21], "method": [0, 3, 4, 6, 7, 17, 20, 21], "might": [1, 10], "migrat": 0, "minut": [3, 20], "miss": 0, "mod": 0, "mode": [3, 20, 21], "model": [3, 20, 21], "model_config": [2, 3, 7, 20, 21], "model_nam": [3, 20, 21], "model_post_init": [3, 20, 21], "model_seri": [3, 20, 21], "model_valid": [3, 20, 21], "modelfield": [3, 20, 21], "modelfieldsvalid": [3, 20, 21], "modelprivateattr": [3, 20, 21], "modelseri": [3, 20, 21], "modelvalid": [3, 20, 21], "moder": [3, 15, 19, 20], "modifi": [1, 18], "modul": [0, 3, 7, 14, 20, 21, 23], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 3, 14, 16, 20], "most": 1, "move": 0, "msg": 17, "multipl": 0, "multivers": 0, "must": [0, 14, 16, 23], "mutual": 16, "mypi": 17, "n": [3, 20], "name": [3, 7, 14, 16, 17, 20, 21, 23], "name_or_po": [14, 16], "name_pi": [3, 20, 21], "namespac": [0, 3, 16, 20, 21, 23], "navig": [0, 1, 3, 20], "na\u00efv": 23, "need": [0, 1, 3, 20], "never": [3, 20, 21], "new": [0, 1, 3, 4, 6, 8, 14, 20, 23], "newer": 0, "newli": 0, "next": [3, 20], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23], "normal": 3, "notabl": 0, "note": 10, "notfound": 9, "notic": 0, "notifi": 12, "novemb": 0, "now": [0, 1, 23], "number": [0, 3, 10, 20, 21], "object": [3, 6, 7, 8, 9, 12, 16, 18, 20, 21, 23], "occur": 15, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": [3, 20, 21], "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 15], "onc": [0, 8], "one": [0, 3, 10, 20], "ones": 1, "onli": [0, 3], "onto": [3, 20], "oper": [3, 16, 20, 23], "option": [0, 8, 14, 16], "order": [3, 8, 14, 16, 20, 23], "ordereddict": [14, 16], "origin": [3, 15, 20, 21], "other": [0, 1, 16, 23], "otherwis": [10, 16, 23], "our": [0, 1, 7], "out": [0, 1, 15], "output": 22, "over": [0, 3, 20], "overflow": [3, 20], "overrid": [3, 20], "overwrit": [0, 3], "own": [0, 14], "p": [3, 7, 12], "packag": [0, 7], "page": [2, 3, 20], "pagin": [0, 2, 3, 7], "pagination_emoji": [3, 20], "paginationemoji": [2, 3, 7, 20], "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 23], "paramspec": [12, 14], "parent": [0, 3, 15, 20, 21], "pars": 22, "pass": [0, 6, 14, 17, 18, 23], "past": [0, 21, 23], "paste_servic": [0, 3, 7], "paste_url": 21, "pastebin": 0, "pastefil": [0, 3, 7, 21], "pasterespons": [3, 7, 21], "pastetoolongerror": [3, 7, 21], "pasteunsupportedlexererror": [3, 7, 21], "pasteuploaderror": [3, 7, 21], "patch": [0, 3, 6, 7], "path": [1, 3, 20, 21], "pattern": 22, "per": [3, 10, 20], "perform": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "place": [3, 20], "pleas": 22, "pluggableschemavalid": [3, 20, 21], "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": [8, 14, 16], "possibl": 1, "post": [3, 6, 20, 21], "post_init": [3, 20, 21], "pre": 1, "predic": 0, "prefix": [1, 3, 4, 20], "prematur": 23, "press": 0, "prevent": [12, 16, 23], "previous": 0, "privat": [3, 20, 21], "privatechannel": [0, 9], "problem": [10, 17], "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 17], "provid": [0, 1, 3, 8, 11, 13, 20, 23], "public": 0, "publish": 0, "purpos": [3, 18, 20, 21], "push": 0, "put": [3, 6], "py": [0, 3, 14, 20, 21], "py_kei": [3, 20, 21], "pydant": [3, 20, 21], "pydantic_js_funct": [3, 20, 21], "pydanticgenericmetadata": [3, 20, 21], "pydi": [0, 2], "pydis_cor": [0, 1, 3, 15, 17, 20, 21], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 21, 23], "pythondiscord": [0, 21], "qualifi": 7, "quot": 22, "r": [3, 7, 12], "rais": [3, 6, 9, 10, 11, 12, 13, 14, 16, 18, 20, 21, 23], "raise_error": 16, "raise_for_statu": 6, "rate": 10, "rather": 7, "raw": [12, 22], "raw_code_regex": [3, 7, 22], "rc2": 0, "re": [1, 3, 13, 19, 23], "reach": 16, "reaction": [0, 3, 19, 20], "reaction_check": [0, 3, 7, 19], "read": 0, "readi": 3, "real": 0, "reason": [3, 20], "rebuild": [3, 20, 21], "receiv": [0, 6, 9], "recognis": 17, "reconnect": 0, "redi": 0, "redirect": 10, "redirect_channel": 10, "redis_sess": 3, "rediscach": 0, "redissess": 3, "ref": [3, 20, 21], "refer": 0, "referenc": 0, "reflect": 14, "regex": [0, 3, 7], "regular": 22, "reinstal": 1, "reject": 21, "relat": [8, 17], "releas": 0, "relev": 3, "remain": [3, 20], "remov": [0, 3, 15, 19, 20, 21], "remove_command": [2, 3], "remove_rol": 18, "renam": 0, "replac": [3, 10, 14, 20, 21], "repli": [3, 11, 12, 13, 20], "repo": 0, "represent": 6, "request": [0, 3, 6, 22], "requir": [1, 3, 20, 21, 23], "required_field": [3, 20, 21], "resolut": 0, "resolv": [3, 14], "resourc": 16, "resource_id": 16, "resource_typ": 16, "respons": [0, 6, 21], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "restrict": [3, 20], "restrict_to_us": [3, 20], "result": [0, 23], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23], "reusabl": 5, "revalid": [3, 20, 21], "revert": 0, "right": [0, 3, 20], "role": [0, 1, 3, 10, 15, 18, 19, 20], "root": [1, 3, 7], "root_alias": 7, "root_model": [3, 20, 21], "root_valid": [3, 20, 21], "rout": 7, "ruff": 0, "run": [0, 1, 12, 16, 23], "runtimeerror": 16, "safe": 0, "same": [12, 23], "sampl": 0, "sanitis": 22, "save": [0, 3, 21], "scale": [3, 20], "scale_to_s": [3, 20], "schedul": [0, 3, 7], "schedule_at": [7, 23], "schedule_lat": [7, 23], "schema": [3, 20, 21], "schemafilt": [3, 20, 21], "schemaseri": [3, 20, 21], "schemavalid": [3, 20, 21], "search": 2, "second": [3, 10, 12, 15, 20, 23], "secondari": 15, "see": [1, 14, 15, 16], "self": [0, 3, 15], "send": [0, 3, 6, 15, 20], "send_notic": 12, "send_to_paste_servic": [0, 3, 7, 21], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [3, 7, 14, 15, 20], "serfield": [3, 20, 21], "serial": [3, 20, 21], "serv": [3, 20], "server": [3, 22], "servic": [0, 1, 3, 21], "session": [0, 3, 6, 21], "session_kwarg": 6, "set": [0, 1, 3, 12, 14, 15, 16, 20, 21], "set_author": [3, 20], "setup": [0, 3], "setup_hook": [2, 3], "sever": 17, "share": [0, 14], "sharedev": [3, 7, 16], "should": [0, 1, 3, 6, 15, 20, 21], "should_rais": 6, "signatur": [3, 12, 20, 21], "silent": 10, "similar": [3, 15, 20, 21, 22], "simpl": [3, 20, 21], "simpledict": [3, 20, 21], "sinc": 10, "singl": [0, 3, 20], "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [3, 8, 20, 21], "so": [0, 1, 7], "socket": 4, "sole": 18, "some": [0, 3, 20, 21], "someth": 22, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "specif": [0, 10], "specifi": [0, 10, 12, 15], "sphinx": 0, "stabl": 0, "standardis": [0, 17], "start": [0, 3, 23], "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, 20, 21], "stop": [0, 7, 15], "store": [0, 3, 7, 8, 20], "str": [3, 4, 6, 7, 10, 11, 14, 15, 16, 17, 20, 21, 23], "strict": [3, 20, 21], "string": [0, 6], "strserial": [3, 20, 21], "strvalid": [3, 20, 21], "style": 15, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 23, "success": [0, 21], "suffix": [3, 20], "suggest": 23, "support": [0, 4, 7, 23], "suppressed_except": 23, "sure": 1, "switch": [3, 20], "sync": [0, 3], "sync_app_command": 3, "synthes": [3, 20, 21], "system": [0, 1], "t": [0, 10, 11, 13, 14, 16, 23], "target": 8, "task": [0, 23], "task_id": 23, "task_return": 23, "templat": 1, "test": 2, "text": [0, 3, 6, 11, 20, 21], "textchannel": 9, "than": [7, 21], "thei": [3, 14, 19], "them": [1, 3, 14, 23], "thi": [0, 1, 3, 7, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 23], "thread": [0, 9], "three": [3, 20], "through": 16, "thrown": 7, "thu": 3, "tild": 0, "time": [0, 10, 23], "timeout": [0, 3, 15, 20], "timezon": 23, "titl": [3, 20, 21], "token": [1, 6], "toml": [0, 1], "too": 21, "tool": [3, 7], "top": 7, "total": [3, 20], "trace": [0, 7, 17], "track": 23, "transport": 4, "trashcan": [3, 20], "trigger": 10, "true": [3, 6, 10, 12, 16, 17, 19, 20, 21, 23], "truncat": [3, 20], "tupl": [14, 23], "turn": 16, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23], "typeerror": [10, 14], "typehint": 14, "typevar": [12, 14, 23], "u": [0, 3, 20], "ui": 15, "unavail": 3, "unawait": 23, "undefin": [3, 20, 21], "under": 7, "underli": 16, "union": 10, "uniqu": 23, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 23, "unsupport": 21, "unti": [3, 20], "until": [0, 3, 16, 22], "up": [0, 1, 3, 20], "updat": [0, 14], "update_wrapper_glob": [3, 7, 14], "upload": [0, 21], "upon": 0, "url": [0, 3, 6, 20, 21], "urllib": 22, "us": [0, 1, 3, 4, 6, 7, 9, 10, 12, 14, 16, 17, 18, 20, 21, 22, 23], "user": [0, 3, 10, 12, 15, 19, 20], "user_has_access": [0, 3, 7, 15], "utc": 23, "util": [0, 1, 2, 3, 8, 14, 15, 17, 20, 21], "v1": [0, 3, 20, 21], "valid": [0, 3, 20, 21], "validate_default": [3, 20, 21], "valu": [3, 12, 14, 16, 17, 20, 21], "valueerror": [6, 14, 21], "vari": 1, "variabl": [1, 3, 20, 21], "variou": [0, 9], "verifi": 10, "version": [0, 11], "view": [0, 15], "viewwithuserandrolecheck": [0, 3, 7, 15], "wa": [0, 9, 10, 23], "wait": [0, 3, 7, 16, 23], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 23], "wasn": 11, "we": [17, 18], "websocket": 0, "what": 1, "when": [0, 3, 4, 6, 7, 8, 10, 12, 14, 16, 20, 21, 23], "where": 10, "whether": [0, 3, 6, 9, 10, 15, 20, 21], "which": [0, 1, 3, 7, 10, 12, 14, 16, 20, 23], "while": [3, 12, 16, 20], "whitelist": 10, "whitespac": [0, 22], "who": 15, "whom": [3, 20], "withdefault": [3, 20, 21], "withdefaultseri": [3, 20, 21], "withdefaultvalid": [3, 20, 21], "within": [0, 3], "without": [0, 10], "won": 14, "word": [3, 20], "work": [0, 1], "worker": 7, "workflow": 0, "would": [3, 20], "wrap": [8, 14, 23], "wrapper": [0, 6, 12, 14, 23], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 22], "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", "lock", "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, "lock": 16, "log": 17, "member": 18, "messag": 19, "modul": 2, "option": 1, "pagin": 20, "paste_servic": 21, "project": 2, "pydi": 3, "refer": 2, "regex": 22, "schedul": 23, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v10.7.0/versions.html b/v10.7.0/versions.html index 94e0c6ba3..ca1a22f52 100644 --- a/v10.7.0/versions.html +++ b/v10.7.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v10.7.0 - + @@ -322,6 +322,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -544,6 +552,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -671,7 +691,7 @@

    Versions

    - + diff --git a/v11.0.0/.buildinfo b/v11.0.0/.buildinfo index 49fe2dedf..573bfa58c 100644 --- a/v11.0.0/.buildinfo +++ b/v11.0.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: 1b9ea7c63b90c39d5ce11e27b1b90881 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: bc0ebbf2a0355ece55e52c088c88db67 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v11.0.0/_static/basic.css b/v11.0.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v11.0.0/_static/basic.css +++ b/v11.0.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/v11.0.0/_static/doctools.js b/v11.0.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v11.0.0/_static/doctools.js +++ b/v11.0.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/v11.0.0/_static/language_data.js b/v11.0.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v11.0.0/_static/language_data.js +++ b/v11.0.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/v11.0.0/_static/searchtools.js b/v11.0.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v11.0.0/_static/searchtools.js +++ b/v11.0.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/v11.0.0/changelog.html b/v11.0.0/changelog.html index 3abde8ae7..aa6b14e47 100644 --- a/v11.0.0/changelog.html +++ b/v11.0.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    9.3.0 13th December 2022

    @@ -863,7 +871,7 @@

    - + diff --git a/v11.0.0/development.html b/v11.0.0/development.html index 200a17003..b765e8f8e 100644 --- a/v11.0.0/development.html +++ b/v11.0.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -580,7 +588,7 @@

    Option 2 - + diff --git a/v11.0.0/genindex.html b/v11.0.0/genindex.html index 22127f3a4..6ee41fda9 100644 --- a/v11.0.0/genindex.html +++ b/v11.0.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v11.0.0 + Index - Pydis Core v11.0.0 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -514,6 +522,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_computed_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_core_schema__ (PaginationEmojis attribute), [1] @@ -548,6 +564,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_fields_set__ (PaginationEmojis attribute), [1] @@ -866,28 +890,12 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PaginationEmojis attribute), [1] - -
  • model_config (PaginationEmojis attribute), [1]
  • -
  • model_fields (PaginationEmojis attribute), [1] - -
  • @@ -1320,7 +1328,7 @@

    W

    - + diff --git a/v11.0.0/index.html b/v11.0.0/index.html index 39cc0df4a..c1f7935ca 100644 --- a/v11.0.0/index.html +++ b/v11.0.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -496,10 +504,12 @@

    ReferencePaginationEmojis.__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__
  • @@ -508,9 +518,7 @@

    ReferencePaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -598,7 +606,7 @@

      Extras - + diff --git a/v11.0.0/index_redirect.html b/v11.0.0/index_redirect.html index 4694af71e..f80c6dc12 100644 --- a/v11.0.0/index_redirect.html +++ b/v11.0.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v11.0.0 - + @@ -55,7 +55,7 @@

      - + diff --git a/v11.0.0/objects.inv b/v11.0.0/objects.inv index a4ed1a7cdcd9d549f22bbefb5034ccdf004fc116..b32c2dee09d4eb4ff502c346e2b3c061b7bcc3cb 100644 GIT binary patch delta 2653 zcmV-j3ZnJH6~YyefPYFKF`p|C_`CI~cu zoOplzfS) zb9f$Ev8n(PhLwtcK6n4{jaLX!PBlW63x7m!Md}QJ)6`tZW+UV| z=II<1#t?bagexkzvOrjCNjIe??pOsy38RGTc{m9pSk8E+go*m?PP{)WDN7Me=RL(% z>jEjFY{AY$VgjcpFKObFF_9rHP)c@)&8mEYqq>yv4pW9VjQ9X6xevI4^2`*x+|h*0 zDXc;Y1EAVQHh%|75_`!@WsoGJN)y?-g@}|wB6El{B4_!SiyiS0QWVi;fwn@t%mL9@ z&kRQugsD`L&BJ-cCf1i+Q|6)0uk%9h?{P*s)GlPdSZIe$ekHm9hRytCHFct09r`8 zGtY<)U|zxZDK<4XvCX<*#Lxu7HdrZori7(|+?NEYWJ_`!1in;SmQ($RyF5);Rs=!H*c2x+agVo74>;!-| z+KXaF|9@vhN&xhoflh5>@(8YIX0DXdUvZd`Ct>C{{!FuJkdGQmBcx`igD%3H-W_d( zem`jbboTavq4s;c^N$At?%m!)$7;__9c=aEg(-rL<)!I@uGzIcezb?H!$9}EtawM@ zfDC2uy1Rfx5cBzlFT2KISMG^zFF9 zLZ&WUF-;&M+Bax6T3=idbG+XWBr#P4J)7umYg(y1lN4AdTi=+boAwP^`bL!GuabE3 z^T9|S!4+AVJ`UJDO$7Ga%!c5Vmh;d{P1#u7t86YstJ(k;1>2)s@E5X2RZXquubxYu zoPRCZ4)!2uf|D)f8OX!NcHGm}uyJ;DBi?%^M+(P!34bKI6Z?k9x)FlYjT# zBHBqdPk0X?A>jbHVPS7f`|E@kN6F^vs z8dpEUyRKJXkKehMt7QWYxJB}?u7CW!Ud?fZ!uA*u7IX=3l378~+&?`q+M5Ff$Ae!! z9SRd9gSzTDScdV{chH>XWp`1~)aH=4L1t=`XaPJ&@t$A49P$&@!?@HqAvZKl2}jRT;l76TDl^pGpErI+@3y z_XY9E@wmm3r0d=23Y$rgrqqe8Wgd(D1pUqHJMDvet}tD2o0Q-U*ndGLL*cAa@&%b? z&`I^i77|2i!&SBL`_7!fMx#9fF!Gh1Cm_Jr1tqYelpP!gl`|CDriq!MRE{;^>&`fA zPVx-8V#{`&E0jUI3Ry9Nv;2iO2K_x9`yWdx=LXHiU+f^%8tDZ$z7bA+H*@`*aoqYsm0 zpg;a;D$pDMG!f{H-dO{BWB$N8H%$S0qn{%Hy*V*Q|M_!biv07(?ymm4aZeL}-smT3 zzq#y_q~AQ!X@AOZGH06*8(28CG|P*p4)X^IsICVeBBIVYu(XgG_G4KwHR!{_f@;Wz zg+`90_!86Bi+LP(Nb5$0Fkf!UuBX2}5##`7ejDHtkQ-r5>gX4D-oq$CTP)12I z@&=kbtt`hUO>488+sDG@kda+g;VG@$6pqN~gc1 zBC)$i9xhgP@v1$IQnE9Di`=eN?$~!O*LU2B1he?2WBt$gi70IzA~Hgq^3?PI7J%W6 zX%7aXy;|RYYY(HNS;Nz@_$+k1vj4>5UWz|SqJQHXk(8FH`h*vmKsG>9>_4?X)F@x; z09n($E2}Q`@P?Z4y*;lSi7syVcp2(+XUMp7AsXHV@-pCIpU8OqHVARpDDomqZ{N1K zJ&Vp%s>@i%dKZ7UhtbFmUJ$hIW?yl05{+zt1;Xv@l@&K9(dBJ~V6cY`hvND;8r$Fp z1b^F2^^e=LXlyqY7<6anmbg8OU@4#wf`O#b_;fEAoV?(SM2;!26WE6fa;gK>J_<9O zXfxJha}Z6;|DD6%O(Bk(lV~i35<=KZw~X7f2$CcPfq$1&6?d;hmy#$T@P}lJ*d9eA zi~3=R$Myela}td#h=<^I*UrbyNi?=%9aaY1S=}DDXVLh|8VLBwI-K};9)Sj)Fpkra zYTUaNT^xQv7>?t#xH^o+)g1)(L<`2p^Qfb3Mnup3-e_9h*FK71nQZ$v*4OHL9_!!l LZ5;eR*_+9LF^VhU delta 2654 zcmV-k3ZeDF6~h&ffPdd}<0uk-*I%Kk+q$>O-M;Qy#_{Z>DzlSHGCN!MLSc!>Y!GMx zIr07V2l`=4j%+moDf<*5x4y3hP17Kn6#JAaln6=UV*g7n(vp$*-?1olQR;schhML@ zI%of=fB*DT{3+`E^jYZ7SXBTC!%D?JpL>4z!7GF)ry8M31%INqB6WtqX=-j{-UxY) zdFq407$R?)a76`I76@xC>88}g9jl-yVU%#~hm$aZrN=uZOw_GA@%gNzEJZZ+dyB2s z1yV%WiuFTc0;ea9H1W-t$dDE&B|F5tj8AY>*Am`g%J7Df5MU(_0as9-nTnS?nh>AL zDx@#~s_kSxP=AuxTS1ILl8h=%WUCe;QVNO8CC-TS(lHl162PS>qRRqpg?RA+(O7%B zqYApzSrT{e{rZU&L_>(I4$~i?a^?y?VpdFT~t|fPy8UQUM-I;ep z2e6>v`xG0?O>DO=7%?=nU`v8jvL!j51-?{Tq-58cP#8dBg)<1fTI7ZG?V5 zP5yND@qx+pd%W|n2LkRr-b2S~&rO$UBgPAh0v*Xq3j|%UYkU1@FIR`D?fF3B9f1Qf zw86YM5=pGfQX+XF+LOqPZDSQ~MK0B}qBim==zj=ID+YnOy1u`KG*usS6b#xruCS2B z3Rg_yh=>jinvL3vD`JlK8-gUJilApR7+FgzRbY|=>tq`m(?k`aA_5=eB*e}8O^J7ZMM`aX#eEETUDy;8kJQZRxx`@*^h zXmi7Owpby|_ccRxZw3M`Dtt8yf$0jbZHojZ=zggf?GlYJpi{Jx)~j)3&DQ!1NzC8{ zRlP@chNU(jpz^gaMEOQ?RjcrguR27a9?;`*BysH1UR2evX}h0+N4@F{$$M`R?SGnJ zAiM`qAmISGVP&pbPs z^y+$J;%1!a#_FnI`af2RNJ#r#)F+f8SCzC4+>8F#QBWUPRK?1N{#|uc#(}UDHL8Au zc3rK$9=~iaXJrElxOwtk&P%c@|QHO+|_{W?1Xx6-1RjkQ$O zz^xEY>?U`h;{h_YgYc-+v4Z2yrjoj|J66&MqC_bZ;xs@WS)AbAEPpBqB+bN+LGKF^ zlH+lUB}v!2(H%CEAWf|kYh?ke{RI6jXq)!I0~<^i+@>J}19k|Lp?`2TQVIo`Wza?S zMi$~kYQa^toBYm{V6)L40T}tpt`iVob3qAgP|6O9gX$RyZ4<-HR4T_B@O5V#HYfRp zNLb+6$d0#QE7;qzP~QaBM~~_vM>D%@J~CsTk$@Cc90{$QS{PD0jie-}ArnaLF3%uA zaoF$-()=hsu6svzdVhY@FzpzhLk3j<0=E&uj|!ND6@m(wr!|erEt4w@hjXr1FxqL^ zVBzSepoL5R+zj;a z47>2;ZaH}2`JJ-#g3&wW@daX?nCTao9hM6ilysIiRW`q?K7alK7^!!jfCTGZ@vql^ zp!@5`r!{)K{qGtuc^qH^(A?Y77s?1M`tzcg9Q^sR`o(_U>^`AiK=MhEUpW40fnPBG zX>ngLdgrh&81uBKFBrW~&=*VzpO`P45>rCHaP008Uoh@z0belsN%5X9`=oHskJK~T z3q$S}?1kW5?0-Gmq}Q24rIu#-aH+%mK_OFDgAWOth80*gbQ;uQ;qYllhlN9^Ar+Pj zqlVZQ4yA@v_>gdFNRbZ-sRk8UG^`rbV8PI8h=1YmYDk4;L#&Pl%Z6D8;*Sco-YKw9 zxOKw2*!w;SaVL1@_@#O>-FL3aq7c%w=^c3^axvb*9)Cr=0GlE_wFecyTg(J(Wq>kD zl94yi0%;{VzA##g-P}H|zCGNa+uwe_eS$2AcF-@te);zB_4?^)eS=otZr12w{pMWZv@wvas}MC;X~!HJ!Cpff_c&$ zC^I(+!hdXTqUI)9hz4Q36caPynw*8KIR;Q;1>GSAVkr4vr3tZ~_pXOn)qCvhneh!$FxN{>KKHKp!;NkSgc>OjAaX9|*B24cz zwzw@tXN>AH*3s_b@AfhpIhPB9);+>2ZVJ)Ju~s15&Iwp?Q;04f4g`Ze93vFh*U{Lq zJ%1qBZUTSYmZGsUR$$Pb^H}1x6u}ZZAp`@dpz-MmFF1L@8HpSdTPLs&SL9R$s?!lX zlxXwNV{;Kr%w?~HASSH*4gY~`onaBF~ Md+P`P4;QMlNV?<^jQ{`u diff --git a/v11.0.0/output/pydis_core.async_stats.html b/v11.0.0/output/pydis_core.async_stats.html index c8e842025..8bb7ad3bb 100644 --- a/v11.0.0/output/pydis_core.async_stats.html +++ b/v11.0.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -466,11 +474,11 @@
      Parameters:
      @@ -479,10 +487,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

      @@ -564,7 +572,7 @@ - + diff --git a/v11.0.0/output/pydis_core.exts.html b/v11.0.0/output/pydis_core.exts.html index aa6dc033c..cff8f742a 100644 --- a/v11.0.0/output/pydis_core.exts.html +++ b/v11.0.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -506,7 +514,7 @@ - + diff --git a/v11.0.0/output/pydis_core.html b/v11.0.0/output/pydis_core.html index 854c45666..2c451cb47 100644 --- a/v11.0.0/output/pydis_core.html +++ b/v11.0.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -465,7 +473,7 @@

      ID of the guild that the bot belongs to.

      Type:
      -

      int

      +

      int

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

      The http session used for sending out HTTP requests.

      Type:
      -

      aiohttp.ClientSession

      +

      aiohttp.ClientSession

      @@ -498,7 +506,7 @@

      The url that statsd sends metrics to.

      Type:
      -

      str

      +

      str

      @@ -532,7 +540,7 @@ self.load_extensions. Use self.extensions to get the loaded extensions.

      Type:
      -

      frozenset[str]

      +

      frozenset[str]

      @@ -544,12 +552,12 @@
      Parameters:
      @@ -562,7 +570,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -573,7 +581,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -584,7 +592,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -595,7 +603,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -606,10 +614,10 @@

      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

      @@ -620,7 +628,7 @@

      Log the given message to #dev-log.

      Return type:
      -

      None

      +

      None

      @@ -633,7 +641,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

      Return type:
      -

      None

      +

      None

      @@ -644,7 +652,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -655,7 +663,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -667,7 +675,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -680,7 +688,7 @@ So registration needs to happen once the bot instance has been created.

      Return type:
      -

      None

      +

      None

      @@ -693,7 +701,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

      Return type:
      -

      Command | None

      +

      Command | None

      @@ -707,7 +715,7 @@ and ping_services().

      Return type:
      -

      None

      +

      None

      @@ -720,7 +728,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

      Return type:
      -

      None

      +

      None

      @@ -730,7 +738,7 @@
      exception EmptyPaginatorEmbedError[source]
      -

      Bases: Exception

      +

      Bases: Exception

      Raised when attempting to paginate with empty contents.

      @@ -743,11 +751,11 @@
      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.

      @@ -776,12 +784,12 @@
      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

      @@ -800,26 +808,26 @@
      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: @@ -853,9 +861,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.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:94079785720912', '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:94133672305680', '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.

      @@ -878,6 +892,13 @@

      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]
      @@ -911,13 +932,13 @@
      -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005590a8355c50,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "right": SerField {                         key_py: Py(                             0x00007f0ebc1796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb36aeb50,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f0ebc1d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb36aeba0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f0ebc179730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb36aeab0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f0ebc560eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb36aebf0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f0ebc1f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb36aeb00,                                         ),                                     ),                                     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(             0x0000559d34196410,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007f1d833797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e60e740,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f1d833f47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e60e790,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f1d833797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e60e7e0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f1d833d2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e60e830,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f1d83760eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e60e880,                                         ),                                     ),                                     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(                                 0x00007f0eb9359330,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f0eb9436db0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc1f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb36aeb00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0eb3ec49e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f0eb32e6230,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f0eb32e4430,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc179730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb36aeab0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0eb3ec49e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f0eb32e7f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f0eb32e7e70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc1796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb36aeb50,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0eb3ec49e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f0eb32e5eb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f0eb32e47f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc1d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb36aeba0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0eb3ec49e0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f0eb32e4af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f0eb32e7eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc560eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb36aebf0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0eb3ec49e0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005590a8355c50,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f0eb3ec49e0,         ),         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(                                 0x00007f1d80353530,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f1d7ecfe4b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d833f47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e60e790,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d7ef10900,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f1d7ee87230,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f1d7ee87870,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d833797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e60e740,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d7ef10900,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f1d7edcbfb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f1d7db51830,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d833797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e60e7e0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d7ef10900,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f1d7db53ab0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f1d7db517b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d833d2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e60e830,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d7ef10900,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f1d7db51b70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f1d7db50a30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d83760eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e60e880,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d7ef10900,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000559d34196410,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1d7ef10900,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

      @@ -927,32 +948,18 @@

      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.

      @@ -1207,10 +1214,12 @@

      SubmodulesPaginationEmojis.__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__
    • @@ -1219,9 +1228,7 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • StartupError
  • @@ -653,10 +661,12 @@

    SubmodulesPasteFile.__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__
  • @@ -665,19 +675,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -794,7 +802,7 @@

    Submodules - + diff --git a/v11.0.0/output/pydis_core.utils.interactions.html b/v11.0.0/output/pydis_core.utils.interactions.html index f64faa0b1..929366512 100644 --- a/v11.0.0/output/pydis_core.utils.interactions.html +++ b/v11.0.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -464,7 +472,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.

    @@ -479,7 +487,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

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

    @@ -517,7 +525,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -528,7 +536,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -539,7 +547,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -554,12 +562,12 @@
    Parameters:
    • user (User | Member) – The user to check

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

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

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

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

    Return type:
    -

    bool

    +

    bool

    @@ -647,7 +655,7 @@ - + diff --git a/v11.0.0/output/pydis_core.utils.lock.html b/v11.0.0/output/pydis_core.utils.lock.html index 6e282f0a3..3ce32d39d 100644 --- a/v11.0.0/output/pydis_core.utils.lock.html +++ b/v11.0.0/output/pydis_core.utils.lock.html @@ -5,13 +5,13 @@ - + lock - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception LockedResourceError(resource_type, resource_id)[source]
    -

    Bases: RuntimeError

    +

    Bases: RuntimeError

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

    @@ -464,7 +472,7 @@

    Name of the locked resource’s type

    Type:
    -

    str

    +

    str

    @@ -475,7 +483,7 @@

    ID of the locked resource

    Type:
    -

    Hashable

    +

    Hashable

    @@ -490,7 +498,7 @@
    class SharedEvent[source]
    -

    Bases: object

    +

    Bases: object

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

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

    @@ -517,7 +525,7 @@

    Wait for all active holders to exit.

    Return type:
    -

    None

    +

    None

    @@ -532,12 +540,12 @@
    Parameters:
      -
    • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

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

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

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

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

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

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

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

    @@ -546,7 +554,7 @@

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -558,10 +566,10 @@

    See lock docs for more information.

    Parameters:
    -

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

    +

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -651,7 +659,7 @@ - + diff --git a/v11.0.0/output/pydis_core.utils.logging.html b/v11.0.0/output/pydis_core.utils.logging.html index 406bbe02e..56c1ed2b9 100644 --- a/v11.0.0/output/pydis_core.utils.logging.html +++ b/v11.0.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,8 +465,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]
    @@ -470,13 +478,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

    @@ -489,7 +497,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

    @@ -503,7 +511,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v11.0.0/output/pydis_core.utils.members.html b/v11.0.0/output/pydis_core.utils.members.html index 5f24d8de2..b5ffef228 100644 --- a/v11.0.0/output/pydis_core.utils.members.html +++ b/v11.0.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -460,10 +468,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.

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

    None

    +

    None

    @@ -560,7 +568,7 @@ - + diff --git a/v11.0.0/output/pydis_core.utils.messages.html b/v11.0.0/output/pydis_core.utils.messages.html index 242369654..d17dbae52 100644 --- a/v11.0.0/output/pydis_core.utils.messages.html +++ b/v11.0.0/output/pydis_core.utils.messages.html @@ -5,13 +5,13 @@ - + messages - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -461,7 +469,7 @@ If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

    Return type:
    -

    bool

    +

    bool

    @@ -537,7 +545,7 @@ - + diff --git a/v11.0.0/output/pydis_core.utils.pagination.html b/v11.0.0/output/pydis_core.utils.pagination.html index 840127752..289259e19 100644 --- a/v11.0.0/output/pydis_core.utils.pagination.html +++ b/v11.0.0/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - + pagination - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

    @@ -469,11 +477,11 @@
    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.

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

    @@ -526,26 +534,26 @@
    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: @@ -579,9 +587,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.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:94079784515616', '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:94133672935008', '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.

    @@ -604,6 +618,13 @@

    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]
    @@ -637,13 +658,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005590a822f820,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007f0ebc179730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb3894300,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f0ebc1d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb38943f0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f0ebc560eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb3894440,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f0ebc1796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb38943a0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f0ebc1f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0eb3894350,                                         ),                                     ),                                     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(             0x0000559d3422fe60,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "last": SerField {                         key_py: Py(                             0x00007f1d833d2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e800260,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f1d833f47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e8001c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f1d833797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e800210,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f1d83760eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e8002b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f1d833797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d7e800170,                                         ),                                     ),                                     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(                                 0x00007f0eb3037670,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f0eb3037c30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc1f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb3894350,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0ebad26510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f0eb3161930,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f0eb3161670,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc179730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb3894300,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0ebad26510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f0eb9436db0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f0eb1fcccb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc1796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb38943a0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0ebad26510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f0eb1fcc470,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f0eb1fcc9f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc1d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb38943f0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0ebad26510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f0eb1fcc730,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f0eb1fcdf70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc560eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0eb3894440,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0ebad26510,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005590a822f820,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f0ebad26510,         ),         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(                                 0x00007f1d7ee6e3f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f1d7f072c70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d833f47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e8001c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d81c4a460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f1d802441b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f1d80353530,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d833797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e800170,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d81c4a460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f1d7de697f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f1d7de6ab70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d833797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e800210,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d81c4a460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f1d7de696f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f1d7de6bfb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d833d2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e800260,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d81c4a460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f1d7de69af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f1d7de698f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d83760eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d7e8002b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d81c4a460,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000559d3422fe60,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1d81c4a460,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

    @@ -653,26 +674,12 @@

    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.

    -
    -

    @@ -744,10 +751,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__
  • @@ -756,9 +765,7 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -773,7 +780,7 @@ - + diff --git a/v11.0.0/output/pydis_core.utils.paste_service.html b/v11.0.0/output/pydis_core.utils.paste_service.html index 8e9895531..c28a954c6 100644 --- a/v11.0.0/output/pydis_core.utils.paste_service.html +++ b/v11.0.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -467,9 +475,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"

    @@ -491,9 +499,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:94079788256912', '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:94133675942880', '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.

    @@ -516,6 +530,13 @@

    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]
    @@ -549,13 +570,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005590a85c0e90,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007f0ebcf56ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0ebcf530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007f0ebc0679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f0ebbd9c370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f0ebbb044b0,                                         ),                                     ),                                     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(             0x0000559d3450e3e0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "lexer": SerField {                         key_py: Py(                             0x00007f1d82ca4e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d82a09030,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f1d83d56ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1d83d530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007f1d82f679b0,                         ),                         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: 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(                                 0x00007f0eb12e41f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f0eb12e41b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebc0679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f0eb12e4270,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f0eb12e4230,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebcf56ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0ebcf530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0ebad26620,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f0eb12e42b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f0eb12e42f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebbd9c370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f0ebbb044b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f0ebad26620,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005590a85c0e90,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f0ebad26620,         ),         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(                                 0x00007f1d7d335370,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f1d7d335330,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d82f679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f1d7d3353f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f1d7d3353b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d83d56ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d83d530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d81c4a570,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f1d7d335430,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f1d7d335470,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d82ca4e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1d82a09030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1d81c4a570,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000559d3450e3e0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1d81c4a570,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -565,26 +586,12 @@

    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.

    -
    -
    @@ -595,8 +602,8 @@
    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.

    @@ -618,9 +625,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.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:94079788436832', '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:94133675935104', '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.

    @@ -643,6 +656,13 @@

    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]
    @@ -676,13 +696,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x00005590a85ecd60,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f0ebceac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f0eb1c08f70,                         ),                         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(             0x0000559d3450c580,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f1d83cac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f1d7de88770,                         ),                         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(                                 0x00007f0eb12dabb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f0eb12dab70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0ebceac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f0eb12dac30,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f0eb12dabf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f0eb1c08f70,                         ),                         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(             0x00005590a85ecd60,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f0ebad26620,         ),         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(                                 0x00007f1d7d3340b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f1d7d334070,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d83cac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f1d7d334130,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f1d7d3340f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1d7de88770,                         ),                         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(             0x0000559d3450c580,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1d81c4a570,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -692,46 +712,32 @@

    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.

    @@ -742,15 +748,15 @@
    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:
    @@ -827,10 +833,12 @@
  • 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__
  • @@ -839,19 +847,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -881,7 +887,7 @@ - + diff --git a/v11.0.0/output/pydis_core.utils.regex.html b/v11.0.0/output/pydis_core.utils.regex.html index 36b961993..7186b589c 100644 --- a/v11.0.0/output/pydis_core.utils.regex.html +++ b/v11.0.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -462,7 +470,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().

    @@ -557,7 +565,7 @@ - + diff --git a/v11.0.0/output/pydis_core.utils.scheduling.html b/v11.0.0/output/pydis_core.utils.scheduling.html index 4c6914822..c561a1f49 100644 --- a/v11.0.0/output/pydis_core.utils.scheduling.html +++ b/v11.0.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v11.0.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,7 +465,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 @@ -471,16 +479,16 @@

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

    @@ -491,7 +499,7 @@

    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.

    @@ -502,10 +510,10 @@

    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

    @@ -516,7 +524,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -530,12 +538,12 @@
    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

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

    @@ -572,13 +580,13 @@
    Parameters:
      -
    • delay (float) – How long to wait before starting the task.

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

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

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

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

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

    Return type:
    -

    None

    +

    None

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

    @@ -690,7 +698,7 @@ - + diff --git a/v11.0.0/py-modindex.html b/v11.0.0/py-modindex.html index 3d757198c..9997e1ed9 100644 --- a/v11.0.0/py-modindex.html +++ b/v11.0.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v11.0.0 + Python Module Index - Pydis Core v11.0.0 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -634,7 +642,7 @@

    Python Module Index

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

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -678,7 +698,7 @@

    Versions

    - + diff --git a/v11.0.1/.buildinfo b/v11.0.1/.buildinfo index 528196f12..d6f2e33f6 100644 --- a/v11.0.1/.buildinfo +++ b/v11.0.1/.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: 3bb2cd1ba62de21da68104bbd4a62688 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: dfa70b96fa33b28c65644b290d674e4a tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v11.0.1/_static/basic.css b/v11.0.1/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v11.0.1/_static/basic.css +++ b/v11.0.1/_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/v11.0.1/_static/doctools.js b/v11.0.1/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v11.0.1/_static/doctools.js +++ b/v11.0.1/_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/v11.0.1/_static/language_data.js b/v11.0.1/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v11.0.1/_static/language_data.js +++ b/v11.0.1/_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/v11.0.1/_static/searchtools.js b/v11.0.1/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v11.0.1/_static/searchtools.js +++ b/v11.0.1/_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/v11.0.1/changelog.html b/v11.0.1/changelog.html index c00e0a6f6..57e3aee9d 100644 --- a/v11.0.1/changelog.html +++ b/v11.0.1/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -586,7 +594,7 @@

    9.3.0 13th December 2022

    @@ -868,7 +876,7 @@

    - + diff --git a/v11.0.1/development.html b/v11.0.1/development.html index b340b403b..7452042ea 100644 --- a/v11.0.1/development.html +++ b/v11.0.1/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -580,7 +588,7 @@

    Option 2 - + diff --git a/v11.0.1/genindex.html b/v11.0.1/genindex.html index af98b7f22..47a9f5c3b 100644 --- a/v11.0.1/genindex.html +++ b/v11.0.1/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v11.0.1 + Index - Pydis Core v11.0.1 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -514,6 +522,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_computed_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_core_schema__ (PaginationEmojis attribute), [1] @@ -548,6 +564,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_fields_set__ (PaginationEmojis attribute), [1] @@ -866,28 +890,12 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PaginationEmojis attribute), [1] - -
  • model_config (PaginationEmojis attribute), [1]
  • -
  • model_fields (PaginationEmojis attribute), [1] - -
  • @@ -1320,7 +1328,7 @@

    W

    - + diff --git a/v11.0.1/index.html b/v11.0.1/index.html index 31094ebf3..b0c791f9d 100644 --- a/v11.0.1/index.html +++ b/v11.0.1/index.html @@ -5,13 +5,13 @@ - + Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -496,10 +504,12 @@

    ReferencePaginationEmojis.__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__
  • @@ -508,9 +518,7 @@

    ReferencePaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -598,7 +606,7 @@

      Extras - + diff --git a/v11.0.1/index_redirect.html b/v11.0.1/index_redirect.html index 03459914b..bf3c4fd84 100644 --- a/v11.0.1/index_redirect.html +++ b/v11.0.1/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v11.0.1 - + @@ -55,7 +55,7 @@

      - + diff --git a/v11.0.1/objects.inv b/v11.0.1/objects.inv index 4bd96a3f47163273908f81cb4fa72ae9cfe5a6d0..edba1742d8cb63ab7f38eac3d6c26d30c365929a 100644 GIT binary patch delta 2653 zcmV-j3ZnJH6~YyefPYFKF`p|C_`CI~cu zoOplzfS) zb9f$Ev8n(PhLwtcK6n4{jaLX!PBlW63x7m!Md}QJ)6`tZW+UV| z=II<1#t?bagexkzvOrjCNjIe??pOsy38RGTc{m9pSk8E+go*m?PP{)WDN7Me=RL(% z>jEjFY{AY$VgjcpFKObFF_9rHP)c@)&8mEYqq>yv4pW9VjQ9X6xevI4^2`*x+|h*0 zDXc;Y1EAVQHh%|75_`!@WsoGJN)y?-g@}|wB6El{B4_!SiyiS0QWVi;fwn@t%mL9@ z&kRQugsD`L&BJ-cCf1i+Q|6)0uk%9h?{P*s)GlPdSZIe$ekHm9hRytCHFct09r`8 zGtY<)U|zxZDK<4XvCX<*#Lxu7HdrZori7(|+?NEYWJ_`!1in;SmQ($RyF5);Rs=!H*c2x+agVo74>;!-| z+KXaF|9@vhN&xhoflh5>@(8YIX0DXdUvZd`Ct>C{{!FuJkdGQmBcx`igD%3H-W_d( zem`jbboTavq4s;c^N$At?%m!)$7;__9c=aEg(-rL<)!I@uGzIcezb?H!$9}EtawM@ zfDC2uy1Rfx5cBzlFT2KISMG^zFF9 zLZ&WUF-;&M+Bax6T3=idbG+XWBr#P4J)7umYg(y1lN4AdTi=+boAwP^`bL!GuabE3 z^T9|S!4+AVJ`UJDO$7Ga%!c5Vmh;d{P1#u7t86YstJ(k;1>2)s@E5X2RZXquubxYu zoPRCZ4)!2uf|D)f8OX!NcHGm}uyJ;DBi?%^M+(P!34bKI6Z?k9x)FlYjT# zBHBqdPk0X?A>jbHVPS7f`|E@kN6F^vs z8dpEUyRKJXkKehMt7QWYxJB}?u7CW!Ud?fZ!uA*u7IX=3l378~+&?`q+M5Ff$Ae!! z9SRd9gSzTDScdV{chH>XWp`1~)aH=4L1t=`XaPJ&@t$A49P$&@!?@HqAvZKl2}jRT;l76TDl^pGpErI+@3y z_XY9E@wmm3r0d=23Y$rgrqqe8Wgd(D1pUqHJMDvet}tD2o0Q-U*ndGLL*cAa@&%b? z&`I^i77|2i!&SBL`_7!fMx#9fF!Gh1Cm_Jr1tqYelpP!gl`|CDriq!MRE{;^>&`fA zPVx-8V#{`&E0jUI3Ry9Nv;2iO2K_x9`yWdx=LXHiU+f^%8tDZ$z7bA+H*@`*aoqYsm0 zpg;a;D$pDMG!f{H-dO{BWB$N8H%$S0qn{%Hy*V*Q|M_!biv07(?ymm4aZeL}-smT3 zzq#y_q~AQ!X@AOZGH06*8(28CG|P*p4)X^IsICVeBBIVYu(XgG_G4KwHR!{_f@;Wz zg+`90_!86Bi+LP(Nb5$0Fkf!UuBX2}5##`7ejDHtkQ-r5>gX4D-oq$CTP)12I z@&=kbtt`hUO>488+sDG@kda+g;VG@$6pqN~gc1 zBC)$i9xhgP@v1$IQnE9Di`=eN?$~!O*LU2B1he?2WBt$gi70IzA~Hgq^3?PI7J%W6 zX%7aXy;|RYYY(HNS;Nz@_$+k1vj4>5UWz|SqJQHXk(8FH`h*vmKsG>9>_4?X)F@x; z09n($E2}Q`@P?Z4y*;lSi7syVcp2(+XUMp7AsXHV@-pCIpU8OqHVARpDDomqZ{N1K zJ&Vp%s>@i%dKZ7UhtbFmUJ$hIW?yl05{+zt1;Xv@l@&K9(dBJ~V6cY`hvND;8r$Fp z1b^F2^^e=LXlyqY7<6anmbg8OU@4#wf`O#b_;fEAoV?(SM2;!26WE6fa;gK>J_<9O zXfxJha}Z6;|DD6%O(Bk(lV~i35<=KZw~X7f2$CcPfq$1&6?d;hmy#$T@P}lJ*d9eA zi~3=R$Myela}td#h=<^I*UrbyNi?=%9aaY1S=}DDXVLh|8VLBwI-K};9)Sj)Fpkra zYTUaNT^xQv7>?t#xH^o+)g1)(L<`2p^Qfb3Mnup3-e_9h*FK71nQZ$v*4OHL9_!!l LZ5;eR*_+9LF^VhU delta 2654 zcmV-k3ZeDF6~h&ffPdd}<0uk-*I%Kk+q$>O-M;Qy#_{Z>DzlSHGCN!MLSc!>Y!GMx zIr07V2l`=4j%+moDf<*5x4y3hP17Kn6#JAaln6=UV*g7n(vp$*-?1olQR;schhML@ zI%of=fB*DT{3+`E^jYZ7SXBTC!%D?JpL>4z!7GF)ry8M31%INqB6WtqX=-j{-UxY) zdFq407$R?)a76`I76@xC>88}g9jl-yVU%#~hm$aZrN=uZOw_GA@%gNzEJZZ+dyB2s z1yV%WiuFTc0;ea9H1W-t$dDE&B|F5tj8AY>*Am`g%J7Df5MU(_0as9-nTnS?nh>AL zDx@#~s_kSxP=AuxTS1ILl8h=%WUCe;QVNO8CC-TS(lHl162PS>qRRqpg?RA+(O7%B zqYApzSrT{e{rZU&L_>(I4$~i?a^?y?VpdFT~t|fPy8UQUM-I;ep z2e6>v`xG0?O>DO=7%?=nU`v8jvL!j51-?{Tq-58cP#8dBg)<1fTI7ZG?V5 zP5yND@qx+pd%W|n2LkRr-b2S~&rO$UBgPAh0v*Xq3j|%UYkU1@FIR`D?fF3B9f1Qf zw86YM5=pGfQX+XF+LOqPZDSQ~MK0B}qBim==zj=ID+YnOy1u`KG*usS6b#xruCS2B z3Rg_yh=>jinvL3vD`JlK8-gUJilApR7+FgzRbY|=>tq`m(?k`aA_5=eB*e}8O^J7ZMM`aX#eEETUDy;8kJQZRxx`@*^h zXmi7Owpby|_ccRxZw3M`Dtt8yf$0jbZHojZ=zggf?GlYJpi{Jx)~j)3&DQ!1NzC8{ zRlP@chNU(jpz^gaMEOQ?RjcrguR27a9?;`*BysH1UR2evX}h0+N4@F{$$M`R?SGnJ zAiM`qAmISGVP&pbPs z^y+$J;%1!a#_FnI`af2RNJ#r#)F+f8SCzC4+>8F#QBWUPRK?1N{#|uc#(}UDHL8Au zc3rK$9=~iaXJrElxOwtk&P%c@|QHO+|_{W?1Xx6-1RjkQ$O zz^xEY>?U`h;{h_YgYc-+v4Z2yrjoj|J66&MqC_bZ;xs@WS)AbAEPpBqB+bN+LGKF^ zlH+lUB}v!2(H%CEAWf|kYh?ke{RI6jXq)!I0~<^i+@>J}19k|Lp?`2TQVIo`Wza?S zMi$~kYQa^toBYm{V6)L40T}tpt`iVob3qAgP|6O9gX$RyZ4<-HR4T_B@O5V#HYfRp zNLb+6$d0#QE7;qzP~QaBM~~_vM>D%@J~CsTk$@Cc90{$QS{PD0jie-}ArnaLF3%uA zaoF$-()=hsu6svzdVhY@FzpzhLk3j<0=E&uj|!ND6@m(wr!|erEt4w@hjXr1FxqL^ zVBzSepoL5R+zj;a z47>2;ZaH}2`JJ-#g3&wW@daX?nCTao9hM6ilysIiRW`q?K7alK7^!!jfCTGZ@vql^ zp!@5`r!{)K{qGtuc^qH^(A?Y77s?1M`tzcg9Q^sR`o(_U>^`AiK=MhEUpW40fnPBG zX>ngLdgrh&81uBKFBrW~&=*VzpO`P45>rCHaP008Uoh@z0belsN%5X9`=oHskJK~T z3q$S}?1kW5?0-Gmq}Q24rIu#-aH+%mK_OFDgAWOth80*gbQ;uQ;qYllhlN9^Ar+Pj zqlVZQ4yA@v_>gdFNRbZ-sRk8UG^`rbV8PI8h=1YmYDk4;L#&Pl%Z6D8;*Sco-YKw9 zxOKw2*!w;SaVL1@_@#O>-FL3aq7c%w=^c3^axvb*9)Cr=0GlE_wFecyTg(J(Wq>kD zl94yi0%;{VzA##g-P}H|zCGNa+uwe_eS$2AcF-@te);zB_4?^)eS=otZr12w{pMWZv@wvas}MC;X~!HJ!Cpff_c&$ zC^I(+!hdXTqUI)9hz4Q36caPynw*8KIR;Q;1>GSAVkr4vr3tZ~_pXOn)qCvhneh!$FxN{>KKHKp!;NkSgc>OjAaX9|*B24cz zwzw@tXN>AH*3s_b@AfhpIhPB9);+>2ZVJ)Ju~s15&Iwp?Q;04f4g`Ze93vFh*U{Lq zJ%1qBZUTSYmZGsUR$$Pb^H}1x6u}ZZAp`@dpz-MmFF1L@8HpSdTPLs&SL9R$s?!lX zlxXwNV{;Kr%w?~HASSH*4gY~`onaBF~ Md+P`P4;QMlNV?<^jQ{`u diff --git a/v11.0.1/output/pydis_core.async_stats.html b/v11.0.1/output/pydis_core.async_stats.html index 5e0a4cc96..11475f94d 100644 --- a/v11.0.1/output/pydis_core.async_stats.html +++ b/v11.0.1/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -466,11 +474,11 @@
      Parameters:
      @@ -479,10 +487,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

      @@ -564,7 +572,7 @@ - + diff --git a/v11.0.1/output/pydis_core.exts.html b/v11.0.1/output/pydis_core.exts.html index 319d43b00..c8df812bb 100644 --- a/v11.0.1/output/pydis_core.exts.html +++ b/v11.0.1/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -506,7 +514,7 @@ - + diff --git a/v11.0.1/output/pydis_core.html b/v11.0.1/output/pydis_core.html index 8f0ed40cf..14094dd4b 100644 --- a/v11.0.1/output/pydis_core.html +++ b/v11.0.1/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -465,7 +473,7 @@

      ID of the guild that the bot belongs to.

      Type:
      -

      int

      +

      int

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

      The http session used for sending out HTTP requests.

      Type:
      -

      aiohttp.ClientSession

      +

      aiohttp.ClientSession

      @@ -498,7 +506,7 @@

      The url that statsd sends metrics to.

      Type:
      -

      str

      +

      str

      @@ -532,7 +540,7 @@ self.load_extensions. Use self.extensions to get the loaded extensions.

      Type:
      -

      frozenset[str]

      +

      frozenset[str]

      @@ -544,12 +552,12 @@
      Parameters:
      @@ -562,7 +570,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -573,7 +581,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -584,7 +592,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -595,7 +603,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -606,10 +614,10 @@

      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

      @@ -620,7 +628,7 @@

      Log the given message to #dev-log.

      Return type:
      -

      None

      +

      None

      @@ -633,7 +641,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

      Return type:
      -

      None

      +

      None

      @@ -644,7 +652,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -655,7 +663,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -667,7 +675,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -680,7 +688,7 @@ So registration needs to happen once the bot instance has been created.

      Return type:
      -

      None

      +

      None

      @@ -693,7 +701,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

      Return type:
      -

      Command | None

      +

      Command | None

      @@ -707,7 +715,7 @@ and ping_services().

      Return type:
      -

      None

      +

      None

      @@ -720,7 +728,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

      Return type:
      -

      None

      +

      None

      @@ -730,7 +738,7 @@
      exception EmptyPaginatorEmbedError[source]
      -

      Bases: Exception

      +

      Bases: Exception

      Raised when attempting to paginate with empty contents.

      @@ -743,11 +751,11 @@
      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.

      @@ -776,12 +784,12 @@
      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

      @@ -800,26 +808,26 @@
      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: @@ -853,9 +861,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.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:94398525258880', '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:93957697499888', '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.

      @@ -878,6 +892,13 @@

      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]
      @@ -911,13 +932,13 @@
      -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055dade90bc80,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007f3eccd7d7f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2a338c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f3eccdf8870,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2a33910,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f3ecd10ceb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2a33a00,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f3eccd7d7b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2a33960,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f3eccdd63b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2a339b0,                                         ),                                     ),                                     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(             0x000055743b2ef2f0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007fbbe7b7d870,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe1e66ba0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fbbe7b7d830,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe1e66c40,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fbbe7bd61f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe1e66c90,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fbbe7f0ceb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe1e66ce0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fbbe7bf87b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe1e66bf0,                                         ),                                     ),                                     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(                                 0x00007f3ec8166c70,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f3ec9ba78b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3eccdf8870,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2a33910,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ec82acbd0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f3ec2899530,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f3ec1f03630,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3eccd7d7f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2a338c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ec82acbd0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f3ec1f00470,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f3ec1f03f30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3eccd7d7b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2a33960,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ec82acbd0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f3ec1f01fb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f3ec1f007f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3eccdd63b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2a339b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ec82acbd0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f3ec1f00ab0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f3ec1f03bf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ecd10ceb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2a33a00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ec82acbd0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055dade90bc80,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3ec82acbd0,         ),         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(                                 0x00007fbbe24fdcb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fbbe4ad2a70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7bf87b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe1e66bf0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe274c950,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fbbe2356170,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fbbe2102df0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7b7d870,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe1e66ba0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe274c950,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fbbe12197b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fbbe1219eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7b7d830,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe1e66c40,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe274c950,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fbbe12196b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fbbe121bf70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7bd61f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe1e66c90,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe274c950,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fbbe1219ab0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fbbe12198b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7f0ceb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe1e66ce0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe274c950,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055743b2ef2f0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fbbe274c950,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

      @@ -927,32 +948,18 @@

      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.

      @@ -1207,10 +1214,12 @@

      SubmodulesPaginationEmojis.__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__
    • @@ -1219,9 +1228,7 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • StartupError
  • @@ -653,10 +661,12 @@

    SubmodulesPasteFile.__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__
  • @@ -665,19 +675,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -794,7 +802,7 @@

    Submodules - + diff --git a/v11.0.1/output/pydis_core.utils.interactions.html b/v11.0.1/output/pydis_core.utils.interactions.html index 570ede9df..ddf73b583 100644 --- a/v11.0.1/output/pydis_core.utils.interactions.html +++ b/v11.0.1/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -464,7 +472,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.

    @@ -479,7 +487,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

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

    @@ -517,7 +525,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -528,7 +536,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -539,7 +547,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -554,12 +562,12 @@
    Parameters:
    • user (User | Member) – The user to check

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

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

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

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

    Return type:
    -

    bool

    +

    bool

    @@ -647,7 +655,7 @@ - + diff --git a/v11.0.1/output/pydis_core.utils.lock.html b/v11.0.1/output/pydis_core.utils.lock.html index 6b244fa7e..c8cdb3c35 100644 --- a/v11.0.1/output/pydis_core.utils.lock.html +++ b/v11.0.1/output/pydis_core.utils.lock.html @@ -5,13 +5,13 @@ - + lock - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception LockedResourceError(resource_type, resource_id)[source]
    -

    Bases: RuntimeError

    +

    Bases: RuntimeError

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

    @@ -464,7 +472,7 @@

    Name of the locked resource’s type

    Type:
    -

    str

    +

    str

    @@ -475,7 +483,7 @@

    ID of the locked resource

    Type:
    -

    Hashable

    +

    Hashable

    @@ -490,7 +498,7 @@
    class SharedEvent[source]
    -

    Bases: object

    +

    Bases: object

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

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

    @@ -517,7 +525,7 @@

    Wait for all active holders to exit.

    Return type:
    -

    None

    +

    None

    @@ -532,12 +540,12 @@
    Parameters:
      -
    • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

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

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

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

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

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

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

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

    @@ -546,7 +554,7 @@

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -558,10 +566,10 @@

    See lock docs for more information.

    Parameters:
    -

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

    +

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -651,7 +659,7 @@ - + diff --git a/v11.0.1/output/pydis_core.utils.logging.html b/v11.0.1/output/pydis_core.utils.logging.html index 9a77e8cd9..973568b49 100644 --- a/v11.0.1/output/pydis_core.utils.logging.html +++ b/v11.0.1/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,8 +465,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]
    @@ -470,13 +478,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

    @@ -489,7 +497,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

    @@ -503,7 +511,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v11.0.1/output/pydis_core.utils.members.html b/v11.0.1/output/pydis_core.utils.members.html index 5125cccf7..a149222b1 100644 --- a/v11.0.1/output/pydis_core.utils.members.html +++ b/v11.0.1/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -460,10 +468,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.

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

    None

    +

    None

    @@ -560,7 +568,7 @@ - + diff --git a/v11.0.1/output/pydis_core.utils.messages.html b/v11.0.1/output/pydis_core.utils.messages.html index 0ecaa1795..5681c04be 100644 --- a/v11.0.1/output/pydis_core.utils.messages.html +++ b/v11.0.1/output/pydis_core.utils.messages.html @@ -5,13 +5,13 @@ - + messages - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -461,7 +469,7 @@ If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

    Return type:
    -

    bool

    +

    bool

    @@ -537,7 +545,7 @@ - + diff --git a/v11.0.1/output/pydis_core.utils.pagination.html b/v11.0.1/output/pydis_core.utils.pagination.html index 64e4f9c24..7603476ba 100644 --- a/v11.0.1/output/pydis_core.utils.pagination.html +++ b/v11.0.1/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - + pagination - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

    @@ -469,11 +477,11 @@
    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.

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

    @@ -526,26 +534,26 @@
    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: @@ -579,9 +587,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.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:94398524049280', '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:93957697468112', '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.

    @@ -604,6 +618,13 @@

    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]
    @@ -637,13 +658,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055dade7e4780,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007f3eccd7d7f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2bad430,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f3eccdd63b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2bad520,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f3eccdf8870,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2bad480,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f3eccd7d7b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2bad4d0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f3ecd10ceb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ec2bad570,                                         ),                                     ),                                     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(             0x000055743b2e76d0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007fbbe7b7d870,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe20543a0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fbbe7bf87b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe20543f0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fbbe7b7d830,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe2054440,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fbbe7bd61f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe2054490,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fbbe7f0ceb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe20544e0,                                         ),                                     ),                                     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(                                 0x00007f3ec835e870,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f3ec9ba78b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3eccdf8870,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2bad480,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ecb5d2720,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f3ec2355430,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f3ec2355370,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3eccd7d7f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2bad430,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ecb5d2720,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f3ec83197b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f3ec21c8cb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3eccd7d7b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2bad4d0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ecb5d2720,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f3ec21c8470,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f3ec21c89f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3eccdd63b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2bad520,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ecb5d2720,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f3ec21c8730,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f3ec21ca030,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ecd10ceb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ec2bad570,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ecb5d2720,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055dade7e4780,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3ecb5d2720,         ),         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(                                 0x00007fbbe2502f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fbbe25028f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7bf87b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe20543f0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe63f6460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fbbe2503470,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fbbe15397b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7b7d870,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe20543a0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe63f6460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fbbe1539ef0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fbbe153aab0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7b7d830,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe2054440,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe63f6460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fbbe15396b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fbbe153bfb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7bd61f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe2054490,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe63f6460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fbbe1539c30,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fbbe15398b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7f0ceb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe20544e0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe63f6460,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055743b2e76d0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fbbe63f6460,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

    @@ -653,26 +674,12 @@

    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.

    -
    -

    @@ -744,10 +751,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__
  • @@ -756,9 +765,7 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -773,7 +780,7 @@ - + diff --git a/v11.0.1/output/pydis_core.utils.paste_service.html b/v11.0.1/output/pydis_core.utils.paste_service.html index 03f62dcb2..cc8e56209 100644 --- a/v11.0.1/output/pydis_core.utils.paste_service.html +++ b/v11.0.1/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -467,9 +475,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"

    @@ -491,9 +499,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:94398527963392', '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:93957701145296', '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.

    @@ -516,6 +530,13 @@

    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]
    @@ -549,13 +570,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055dadeba0100,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f3ecc96b970,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f3ecc6545b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ecc3c0730,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f3ecd756ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ecd7530c0,                                         ),                                     ),                                     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(             0x000055743b6692d0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007fbbe8556ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe85530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007fbbe7469170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fbbe71d93b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007fbbe776ba30,                         ),                         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: 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(                                 0x00007f3ec164a870,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f3ec164a830,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ecc96b970,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f3ec164a8f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f3ec164a8b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ecd756ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ecd7530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ecb5d2830,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f3ec164a930,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f3ec164a970,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ecc6545b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ecc3c0730,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ecb5d2830,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055dadeba0100,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3ecb5d2830,         ),         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(                                 0x00007fbbe0a44c70,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fbbe0a44c30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe776ba30,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fbbe0a44cf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fbbe0a44cb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe8556ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe85530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe63f6570,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fbbe0a44d30,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fbbe0a44d70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe7469170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fbbe71d93b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fbbe63f6570,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055743b6692d0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fbbe63f6570,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -565,26 +586,12 @@

    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.

    -
    -
    @@ -595,8 +602,8 @@
    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.

    @@ -618,9 +625,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.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:94398527973984', '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:93957701137248', '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.

    @@ -643,6 +656,13 @@

    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]
    @@ -676,13 +696,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055dadeba2a60,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007f3ec209fb70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007f3ecd6ac2a0,                         ),                         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(             0x000055743b667360,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007fbbe84ac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007fbbe14e8430,                         ),                         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(                                 0x00007f3ec1649230,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f3ec16491f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ecd6ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f3ec16492b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f3ec1649270,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ec209fb70,                         ),                         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(             0x000055dadeba2a60,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3ecb5d2830,         ),         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(                                 0x00007fbbe0a5f9b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fbbe0a5f970,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe84ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fbbe0a5fa30,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fbbe0a5f9f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fbbe14e8430,                         ),                         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(             0x000055743b667360,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fbbe63f6570,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -692,46 +712,32 @@

    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.

    @@ -742,15 +748,15 @@
    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:
    @@ -827,10 +833,12 @@
  • 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__
  • @@ -839,19 +847,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -881,7 +887,7 @@ - + diff --git a/v11.0.1/output/pydis_core.utils.regex.html b/v11.0.1/output/pydis_core.utils.regex.html index fb31fac97..4eab817cc 100644 --- a/v11.0.1/output/pydis_core.utils.regex.html +++ b/v11.0.1/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -462,7 +470,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().

    @@ -557,7 +565,7 @@ - + diff --git a/v11.0.1/output/pydis_core.utils.scheduling.html b/v11.0.1/output/pydis_core.utils.scheduling.html index 024398a07..ed951cc6c 100644 --- a/v11.0.1/output/pydis_core.utils.scheduling.html +++ b/v11.0.1/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v11.0.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,7 +465,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 @@ -471,16 +479,16 @@

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

    @@ -491,7 +499,7 @@

    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.

    @@ -502,10 +510,10 @@

    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

    @@ -516,7 +524,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -530,12 +538,12 @@
    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

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

    @@ -572,13 +580,13 @@
    Parameters:
      -
    • delay (float) – How long to wait before starting the task.

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

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

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

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

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

    Return type:
    -

    None

    +

    None

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

    @@ -690,7 +698,7 @@ - + diff --git a/v11.0.1/py-modindex.html b/v11.0.1/py-modindex.html index 97ea67072..15fb2fa9b 100644 --- a/v11.0.1/py-modindex.html +++ b/v11.0.1/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v11.0.1 + Python Module Index - Pydis Core v11.0.1 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -634,7 +642,7 @@

    Python Module Index

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

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -678,7 +698,7 @@

    Versions

    - + diff --git a/v11.1.0/.buildinfo b/v11.1.0/.buildinfo index 586b1def8..12b3c1408 100644 --- a/v11.1.0/.buildinfo +++ b/v11.1.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: fff7f6902b692b327c7b103e29917c99 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 8ff3d7dd5a0cb47cf39c2ce27033d74b tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v11.1.0/_static/basic.css b/v11.1.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v11.1.0/_static/basic.css +++ b/v11.1.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/v11.1.0/_static/doctools.js b/v11.1.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v11.1.0/_static/doctools.js +++ b/v11.1.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/v11.1.0/_static/language_data.js b/v11.1.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v11.1.0/_static/language_data.js +++ b/v11.1.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/v11.1.0/_static/searchtools.js b/v11.1.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v11.1.0/_static/searchtools.js +++ b/v11.1.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/v11.1.0/changelog.html b/v11.1.0/changelog.html index b0a36921b..4b914c7eb 100644 --- a/v11.1.0/changelog.html +++ b/v11.1.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -591,7 +599,7 @@

    9.3.0 13th December 2022

    @@ -873,7 +881,7 @@

    - + diff --git a/v11.1.0/development.html b/v11.1.0/development.html index 02dba0e63..450cea5d7 100644 --- a/v11.1.0/development.html +++ b/v11.1.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -580,7 +588,7 @@

    Option 2 - + diff --git a/v11.1.0/genindex.html b/v11.1.0/genindex.html index 22b3bf2cf..7508baed5 100644 --- a/v11.1.0/genindex.html +++ b/v11.1.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v11.1.0 + Index - Pydis Core v11.1.0 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -514,6 +522,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_computed_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_core_schema__ (PaginationEmojis attribute), [1] @@ -548,6 +564,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_fields_set__ (PaginationEmojis attribute), [1] @@ -866,28 +890,12 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PaginationEmojis attribute), [1] - -
  • model_config (PaginationEmojis attribute), [1]
  • -
  • model_fields (PaginationEmojis attribute), [1] - -
  • @@ -1320,7 +1328,7 @@

    W

    - + diff --git a/v11.1.0/index.html b/v11.1.0/index.html index eabb07503..c7eda69f5 100644 --- a/v11.1.0/index.html +++ b/v11.1.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -496,10 +504,12 @@

    ReferencePaginationEmojis.__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__
  • @@ -508,9 +518,7 @@

    ReferencePaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -598,7 +606,7 @@

      Extras - + diff --git a/v11.1.0/index_redirect.html b/v11.1.0/index_redirect.html index b05e0fa66..992c71ec9 100644 --- a/v11.1.0/index_redirect.html +++ b/v11.1.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v11.1.0 - + @@ -55,7 +55,7 @@

      - + diff --git a/v11.1.0/objects.inv b/v11.1.0/objects.inv index c78b52007c3a2d8ddc02583fd9a2d299231acf7e..e31a7afdbfa9d74b0e9ef536163cd209ba5b65f8 100644 GIT binary patch delta 2653 zcmV-j3ZnJH6~YyefPYFKF`p|C_`CI~cu zoOplzfS) zb9f$Ev8n(PhLwtcK6n4{jaLX!PBlW63x7m!Md}QJ)6`tZW+UV| z=II<1#t?bagexkzvOrjCNjIe??pOsy38RGTc{m9pSk8E+go*m?PP{)WDN7Me=RL(% z>jEjFY{AY$VgjcpFKObFF_9rHP)c@)&8mEYqq>yv4pW9VjQ9X6xevI4^2`*x+|h*0 zDXc;Y1EAVQHh%|75_`!@WsoGJN)y?-g@}|wB6El{B4_!SiyiS0QWVi;fwn@t%mL9@ z&kRQugsD`L&BJ-cCf1i+Q|6)0uk%9h?{P*s)GlPdSZIe$ekHm9hRytCHFct09r`8 zGtY<)U|zxZDK<4XvCX<*#Lxu7HdrZori7(|+?NEYWJ_`!1in;SmQ($RyF5);Rs=!H*c2x+agVo74>;!-| z+KXaF|9@vhN&xhoflh5>@(8YIX0DXdUvZd`Ct>C{{!FuJkdGQmBcx`igD%3H-W_d( zem`jbboTavq4s;c^N$At?%m!)$7;__9c=aEg(-rL<)!I@uGzIcezb?H!$9}EtawM@ zfDC2uy1Rfx5cBzlFT2KISMG^zFF9 zLZ&WUF-;&M+Bax6T3=idbG+XWBr#P4J)7umYg(y1lN4AdTi=+boAwP^`bL!GuabE3 z^T9|S!4+AVJ`UJDO$7Ga%!c5Vmh;d{P1#u7t86YstJ(k;1>2)s@E5X2RZXquubxYu zoPRCZ4)!2uf|D)f8OX!NcHGm}uyJ;DBi?%^M+(P!34bKI6Z?k9x)FlYjT# zBHBqdPk0X?A>jbHVPS7f`|E@kN6F^vs z8dpEUyRKJXkKehMt7QWYxJB}?u7CW!Ud?fZ!uA*u7IX=3l378~+&?`q+M5Ff$Ae!! z9SRd9gSzTDScdV{chH>XWp`1~)aH=4L1t=`XaPJ&@t$A49P$&@!?@HqAvZKl2}jRT;l76TDl^pGpErI+@3y z_XY9E@wmm3r0d=23Y$rgrqqe8Wgd(D1pUqHJMDvet}tD2o0Q-U*ndGLL*cAa@&%b? z&`I^i77|2i!&SBL`_7!fMx#9fF!Gh1Cm_Jr1tqYelpP!gl`|CDriq!MRE{;^>&`fA zPVx-8V#{`&E0jUI3Ry9Nv;2iO2K_x9`yWdx=LXHiU+f^%8tDZ$z7bA+H*@`*aoqYsm0 zpg;a;D$pDMG!f{H-dO{BWB$N8H%$S0qn{%Hy*V*Q|M_!biv07(?ymm4aZeL}-smT3 zzq#y_q~AQ!X@AOZGH06*8(28CG|P*p4)X^IsICVeBBIVYu(XgG_G4KwHR!{_f@;Wz zg+`90_!86Bi+LP(Nb5$0Fkf!UuBX2}5##`7ejDHtkQ-r5>gX4D-oq$CTP)12I z@&=kbtt`hUO>488+sDG@kda+g;VG@$6pqN~gc1 zBC)$i9xhgP@v1$IQnE9Di`=eN?$~!O*LU2B1he?2WBt$gi70IzA~Hgq^3?PI7J%W6 zX%7aXy;|RYYY(HNS;Nz@_$+k1vj4>5UWz|SqJQHXk(8FH`h*vmKsG>9>_4?X)F@x; z09n($E2}Q`@P?Z4y*;lSi7syVcp2(+XUMp7AsXHV@-pCIpU8OqHVARpDDomqZ{N1K zJ&Vp%s>@i%dKZ7UhtbFmUJ$hIW?yl05{+zt1;Xv@l@&K9(dBJ~V6cY`hvND;8r$Fp z1b^F2^^e=LXlyqY7<6anmbg8OU@4#wf`O#b_;fEAoV?(SM2;!26WE6fa;gK>J_<9O zXfxJha}Z6;|DD6%O(Bk(lV~i35<=KZw~X7f2$CcPfq$1&6?d;hmy#$T@P}lJ*d9eA zi~3=R$Myela}td#h=<^I*UrbyNi?=%9aaY1S=}DDXVLh|8VLBwI-K};9)Sj)Fpkra zYTUaNT^xQv7>?t#xH^o+)g1)(L<`2p^Qfb3Mnup3-e_9h*FK71nQZ$v*4OHL9_!!l LZ5;eR*_+9LF^VhU delta 2654 zcmV-k3ZeDF6~h&ffPdd}<0uk-*I%Kk+q$>O-M;Qy#_{Z>DzlSHGCN!MLSc!>Y!GMx zIr07V2l`=4j%+moDf<*5x4y3hP17Kn6#JAaln6=UV*g7n(vp$*-?1olQR;schhML@ zI%of=fB*DT{3+`E^jYZ7SXBTC!%D?JpL>4z!7GF)ry8M31%INqB6WtqX=-j{-UxY) zdFq407$R?)a76`I76@xC>88}g9jl-yVU%#~hm$aZrN=uZOw_GA@%gNzEJZZ+dyB2s z1yV%WiuFTc0;ea9H1W-t$dDE&B|F5tj8AY>*Am`g%J7Df5MU(_0as9-nTnS?nh>AL zDx@#~s_kSxP=AuxTS1ILl8h=%WUCe;QVNO8CC-TS(lHl162PS>qRRqpg?RA+(O7%B zqYApzSrT{e{rZU&L_>(I4$~i?a^?y?VpdFT~t|fPy8UQUM-I;ep z2e6>v`xG0?O>DO=7%?=nU`v8jvL!j51-?{Tq-58cP#8dBg)<1fTI7ZG?V5 zP5yND@qx+pd%W|n2LkRr-b2S~&rO$UBgPAh0v*Xq3j|%UYkU1@FIR`D?fF3B9f1Qf zw86YM5=pGfQX+XF+LOqPZDSQ~MK0B}qBim==zj=ID+YnOy1u`KG*usS6b#xruCS2B z3Rg_yh=>jinvL3vD`JlK8-gUJilApR7+FgzRbY|=>tq`m(?k`aA_5=eB*e}8O^J7ZMM`aX#eEETUDy;8kJQZRxx`@*^h zXmi7Owpby|_ccRxZw3M`Dtt8yf$0jbZHojZ=zggf?GlYJpi{Jx)~j)3&DQ!1NzC8{ zRlP@chNU(jpz^gaMEOQ?RjcrguR27a9?;`*BysH1UR2evX}h0+N4@F{$$M`R?SGnJ zAiM`qAmISGVP&pbPs z^y+$J;%1!a#_FnI`af2RNJ#r#)F+f8SCzC4+>8F#QBWUPRK?1N{#|uc#(}UDHL8Au zc3rK$9=~iaXJrElxOwtk&P%c@|QHO+|_{W?1Xx6-1RjkQ$O zz^xEY>?U`h;{h_YgYc-+v4Z2yrjoj|J66&MqC_bZ;xs@WS)AbAEPpBqB+bN+LGKF^ zlH+lUB}v!2(H%CEAWf|kYh?ke{RI6jXq)!I0~<^i+@>J}19k|Lp?`2TQVIo`Wza?S zMi$~kYQa^toBYm{V6)L40T}tpt`iVob3qAgP|6O9gX$RyZ4<-HR4T_B@O5V#HYfRp zNLb+6$d0#QE7;qzP~QaBM~~_vM>D%@J~CsTk$@Cc90{$QS{PD0jie-}ArnaLF3%uA zaoF$-()=hsu6svzdVhY@FzpzhLk3j<0=E&uj|!ND6@m(wr!|erEt4w@hjXr1FxqL^ zVBzSepoL5R+zj;a z47>2;ZaH}2`JJ-#g3&wW@daX?nCTao9hM6ilysIiRW`q?K7alK7^!!jfCTGZ@vql^ zp!@5`r!{)K{qGtuc^qH^(A?Y77s?1M`tzcg9Q^sR`o(_U>^`AiK=MhEUpW40fnPBG zX>ngLdgrh&81uBKFBrW~&=*VzpO`P45>rCHaP008Uoh@z0belsN%5X9`=oHskJK~T z3q$S}?1kW5?0-Gmq}Q24rIu#-aH+%mK_OFDgAWOth80*gbQ;uQ;qYllhlN9^Ar+Pj zqlVZQ4yA@v_>gdFNRbZ-sRk8UG^`rbV8PI8h=1YmYDk4;L#&Pl%Z6D8;*Sco-YKw9 zxOKw2*!w;SaVL1@_@#O>-FL3aq7c%w=^c3^axvb*9)Cr=0GlE_wFecyTg(J(Wq>kD zl94yi0%;{VzA##g-P}H|zCGNa+uwe_eS$2AcF-@te);zB_4?^)eS=otZr12w{pMWZv@wvas}MC;X~!HJ!Cpff_c&$ zC^I(+!hdXTqUI)9hz4Q36caPynw*8KIR;Q;1>GSAVkr4vr3tZ~_pXOn)qCvhneh!$FxN{>KKHKp!;NkSgc>OjAaX9|*B24cz zwzw@tXN>AH*3s_b@AfhpIhPB9);+>2ZVJ)Ju~s15&Iwp?Q;04f4g`Ze93vFh*U{Lq zJ%1qBZUTSYmZGsUR$$Pb^H}1x6u}ZZAp`@dpz-MmFF1L@8HpSdTPLs&SL9R$s?!lX zlxXwNV{;Kr%w?~HASSH*4gY~`onaBF~ Md+P`P4;QMlNV?<^jQ{`u diff --git a/v11.1.0/output/pydis_core.async_stats.html b/v11.1.0/output/pydis_core.async_stats.html index d97c02d2f..a748c79bc 100644 --- a/v11.1.0/output/pydis_core.async_stats.html +++ b/v11.1.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -466,11 +474,11 @@
      Parameters:
      @@ -479,10 +487,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

      @@ -564,7 +572,7 @@ - + diff --git a/v11.1.0/output/pydis_core.exts.html b/v11.1.0/output/pydis_core.exts.html index b406bf6cb..134b8c1e6 100644 --- a/v11.1.0/output/pydis_core.exts.html +++ b/v11.1.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -506,7 +514,7 @@ - + diff --git a/v11.1.0/output/pydis_core.html b/v11.1.0/output/pydis_core.html index 95d6edc5d..15e293dff 100644 --- a/v11.1.0/output/pydis_core.html +++ b/v11.1.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -465,7 +473,7 @@

      ID of the guild that the bot belongs to.

      Type:
      -

      int

      +

      int

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

      The http session used for sending out HTTP requests.

      Type:
      -

      aiohttp.ClientSession

      +

      aiohttp.ClientSession

      @@ -498,7 +506,7 @@

      The url that statsd sends metrics to.

      Type:
      -

      str

      +

      str

      @@ -532,7 +540,7 @@ self.load_extensions. Use self.extensions to get the loaded extensions.

      Type:
      -

      frozenset[str]

      +

      frozenset[str]

      @@ -544,12 +552,12 @@
      Parameters:
      @@ -562,7 +570,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -573,7 +581,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -584,7 +592,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -595,7 +603,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -606,10 +614,10 @@

      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

      @@ -620,7 +628,7 @@

      Log the given message to #dev-log.

      Return type:
      -

      None

      +

      None

      @@ -633,7 +641,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

      Return type:
      -

      None

      +

      None

      @@ -644,7 +652,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -655,7 +663,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -667,7 +675,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -680,7 +688,7 @@ So registration needs to happen once the bot instance has been created.

      Return type:
      -

      None

      +

      None

      @@ -693,7 +701,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

      Return type:
      -

      Command | None

      +

      Command | None

      @@ -707,7 +715,7 @@ and ping_services().

      Return type:
      -

      None

      +

      None

      @@ -720,7 +728,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

      Return type:
      -

      None

      +

      None

      @@ -730,7 +738,7 @@
      exception EmptyPaginatorEmbedError[source]
      -

      Bases: Exception

      +

      Bases: Exception

      Raised when attempting to paginate with empty contents.

      @@ -743,11 +751,11 @@
      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.

      @@ -776,12 +784,12 @@
      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

      @@ -800,26 +808,26 @@
      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: @@ -853,9 +861,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.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:94691603754640', '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:93882308407728', '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.

      @@ -878,6 +892,13 @@

      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]
      @@ -911,13 +932,13 @@
      -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000561f1b67ae90,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007fce0b979730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05cbac40,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fce0b9796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05cbace0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fce0bd60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05cbad80,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fce0b9d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05cbad30,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fce0b9f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05cbac90,                                         ),                                     ),                                     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(             0x00005562ada4b1b0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "right": SerField {                         key_py: Py(                             0x00007f26607797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2656642ba0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f26607f47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2656642b50,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f26607797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2656642b00,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f26607d2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2656642bf0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f2660b60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2656642c40,                                         ),                                     ),                                     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(                                 0x00007fce063818f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fce063812b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b9f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05cbac90,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce06538a10,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fce062a9130,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fce051f3eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b979730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05cbac40,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce06538a10,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fce051f0470,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fce051f3f30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b9796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05cbace0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce06538a10,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fce051f3ef0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fce051f0a30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b9d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05cbad30,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce06538a10,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fce051f0730,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fce051f10b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0bd60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05cbad80,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce06538a10,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000561f1b67ae90,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fce06538a10,         ),         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(                                 0x00007f265f7b4df0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f26566a85b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26607f47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2656642b50,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f2656f149a0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f2656f2f230,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f2655c4d830,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26607797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2656642b00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f2656f149a0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f2655c4e5f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f2655c4d730,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26607797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2656642ba0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f2656f149a0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f2655c4ff30,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f2655c4fe70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26607d2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2656642bf0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f2656f149a0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f2655c4db30,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f2655c4d930,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f2660b60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2656642c40,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f2656f149a0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005562ada4b1b0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f2656f149a0,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

      @@ -927,32 +948,18 @@

      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.

      @@ -1207,10 +1214,12 @@

      SubmodulesPaginationEmojis.__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__
    • @@ -1219,9 +1228,7 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • StartupError
  • @@ -653,10 +661,12 @@

    SubmodulesPasteFile.__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__
  • @@ -665,19 +675,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -794,7 +802,7 @@

    Submodules - + diff --git a/v11.1.0/output/pydis_core.utils.interactions.html b/v11.1.0/output/pydis_core.utils.interactions.html index f755a3058..e9a21ddbe 100644 --- a/v11.1.0/output/pydis_core.utils.interactions.html +++ b/v11.1.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -464,7 +472,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.

    @@ -479,7 +487,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

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

    @@ -517,7 +525,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -528,7 +536,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -539,7 +547,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -554,12 +562,12 @@
    Parameters:
    • user (User | Member) – The user to check

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

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

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

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

    Return type:
    -

    bool

    +

    bool

    @@ -647,7 +655,7 @@ - + diff --git a/v11.1.0/output/pydis_core.utils.lock.html b/v11.1.0/output/pydis_core.utils.lock.html index c1409117c..a1607b199 100644 --- a/v11.1.0/output/pydis_core.utils.lock.html +++ b/v11.1.0/output/pydis_core.utils.lock.html @@ -5,13 +5,13 @@ - + lock - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception LockedResourceError(resource_type, resource_id)[source]
    -

    Bases: RuntimeError

    +

    Bases: RuntimeError

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

    @@ -464,7 +472,7 @@

    Name of the locked resource’s type

    Type:
    -

    str

    +

    str

    @@ -475,7 +483,7 @@

    ID of the locked resource

    Type:
    -

    Hashable

    +

    Hashable

    @@ -490,7 +498,7 @@
    class SharedEvent[source]
    -

    Bases: object

    +

    Bases: object

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

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

    @@ -517,7 +525,7 @@

    Wait for all active holders to exit.

    Return type:
    -

    None

    +

    None

    @@ -532,12 +540,12 @@
    Parameters:
      -
    • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

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

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

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

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

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

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

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

    @@ -546,7 +554,7 @@

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -558,10 +566,10 @@

    See lock docs for more information.

    Parameters:
    -

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

    +

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -651,7 +659,7 @@ - + diff --git a/v11.1.0/output/pydis_core.utils.logging.html b/v11.1.0/output/pydis_core.utils.logging.html index df76ade33..b601e1457 100644 --- a/v11.1.0/output/pydis_core.utils.logging.html +++ b/v11.1.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,8 +465,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]
    @@ -470,13 +478,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

    @@ -489,7 +497,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

    @@ -503,7 +511,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v11.1.0/output/pydis_core.utils.members.html b/v11.1.0/output/pydis_core.utils.members.html index 3289a9779..f43b100c9 100644 --- a/v11.1.0/output/pydis_core.utils.members.html +++ b/v11.1.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -460,10 +468,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.

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

    None

    +

    None

    @@ -560,7 +568,7 @@ - + diff --git a/v11.1.0/output/pydis_core.utils.messages.html b/v11.1.0/output/pydis_core.utils.messages.html index c811bf6f0..40bfc764a 100644 --- a/v11.1.0/output/pydis_core.utils.messages.html +++ b/v11.1.0/output/pydis_core.utils.messages.html @@ -5,13 +5,13 @@ - + messages - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -461,7 +469,7 @@ If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

    Return type:
    -

    bool

    +

    bool

    @@ -537,7 +545,7 @@ - + diff --git a/v11.1.0/output/pydis_core.utils.pagination.html b/v11.1.0/output/pydis_core.utils.pagination.html index d5f6bf45d..4945948e7 100644 --- a/v11.1.0/output/pydis_core.utils.pagination.html +++ b/v11.1.0/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - + pagination - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

    @@ -469,11 +477,11 @@
    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.

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

    @@ -526,26 +534,26 @@
    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: @@ -579,9 +587,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.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:94691602544672', '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:93882308358704', '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.

    @@ -604,6 +618,13 @@

    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]
    @@ -637,13 +658,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000561f1b553820,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "last": SerField {                         key_py: Py(                             0x00007fce0b9d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05e9c260,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fce0b9f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05e9c1c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fce0b979730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05e9c170,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fce0bd60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05e9c2b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fce0b9796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce05e9c210,                                         ),                                     ),                                     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(             0x00005562ada3f230,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007f26607f47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2656828170,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f26607797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2656828120,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f2660b60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2656828260,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f26607d2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2656828210,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f26607797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f26568281c0,                                         ),                                     ),                                     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(                                 0x00007fce066571f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fce0563f370,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b9f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05e9c1c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce0a1ce510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fce0563f930,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fce05765730,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b979730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05e9c170,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce0a1ce510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fce088eef70,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fce054a3e70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b9796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05e9c210,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce0a1ce510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fce054a05f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fce054a0b70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b9d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05e9c260,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce0a1ce510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fce054a08b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fce054a1130,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0bd60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce05e9c2b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce0a1ce510,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000561f1b553820,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fce0a1ce510,         ),         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(                                 0x00007f265c18d6b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f265daab230,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26607f47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2656828170,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f265f34e460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f265c076130,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f2655f5d5f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26607797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2656828120,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f265f34e460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f2655f5f9f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f2655f5d7f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26607797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f26568281c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f265f34e460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f2655f5ff30,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f2655f5ffb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26607d2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2656828210,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f265f34e460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f2655f5da70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f2655f5d5b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f2660b60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2656828260,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f265f34e460,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005562ada3f230,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f265f34e460,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

    @@ -653,26 +674,12 @@

    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.

    -
    -

    @@ -744,10 +751,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__
  • @@ -756,9 +765,7 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -773,7 +780,7 @@ - + diff --git a/v11.1.0/output/pydis_core.utils.paste_service.html b/v11.1.0/output/pydis_core.utils.paste_service.html index 771d77f69..a4160ae82 100644 --- a/v11.1.0/output/pydis_core.utils.paste_service.html +++ b/v11.1.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -467,9 +475,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"

    @@ -491,9 +499,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:94691606275136', '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:93882312046864', '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.

    @@ -516,6 +530,13 @@

    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]
    @@ -549,13 +570,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000561f1b8e2440,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007fce0c356ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce0c3530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007fce0b5679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007fce0b29c370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fce0b0044b0,                                         ),                                     ),                                     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(             0x00005562addc3910,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f26606679b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f2661556ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f26615530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f26603a4e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f2660109030,                                         ),                                     ),                                     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(                                 0x00007fce04957f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fce04957ef0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b5679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fce04957fb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fce04957f70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0c356ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce0c3530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce0a1ce620,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fce04964030,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fce04964070,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0b29c370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fce0b0044b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fce0a1ce620,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000561f1b8e2440,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fce0a1ce620,         ),         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(                                 0x00007f265544cef0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f265544ceb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26606679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f265544cf70,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f265544cf30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f2661556ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f26615530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f265f34e570,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f265544cfb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f265544cff0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26603a4e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f2660109030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f265f34e570,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005562addc3910,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f265f34e570,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -565,26 +586,12 @@

    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.

    -
    -
    @@ -595,8 +602,8 @@
    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.

    @@ -618,9 +625,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.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:94691606623232', '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:93882312388784', '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.

    @@ -643,6 +656,13 @@

    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]
    @@ -676,13 +696,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000561f1b937400,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007fce0532cd30,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007fce0c2ac2a0,                         ),                         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(             0x00005562ade170b0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f26614ac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f2655eb0930,                         ),                         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(                                 0x00007fce04956930,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fce049568f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0c2ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fce049569b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fce04956970,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fce0532cd30,                         ),                         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(             0x0000561f1b937400,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fce0a1ce620,         ),         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(                                 0x00007f2655467c30,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f2655467bf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f26614ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f2655467cb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f2655467c70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f2655eb0930,                         ),                         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(             0x00005562ade170b0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f265f34e570,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -692,46 +712,32 @@

    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.

    @@ -742,15 +748,15 @@
    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:
    @@ -827,10 +833,12 @@
  • 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__
  • @@ -839,19 +847,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -881,7 +887,7 @@ - + diff --git a/v11.1.0/output/pydis_core.utils.regex.html b/v11.1.0/output/pydis_core.utils.regex.html index 5560f0aeb..a2cba0f0d 100644 --- a/v11.1.0/output/pydis_core.utils.regex.html +++ b/v11.1.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -462,7 +470,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().

    @@ -557,7 +565,7 @@ - + diff --git a/v11.1.0/output/pydis_core.utils.scheduling.html b/v11.1.0/output/pydis_core.utils.scheduling.html index ee9b7b1ee..cd9e5c0f9 100644 --- a/v11.1.0/output/pydis_core.utils.scheduling.html +++ b/v11.1.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,7 +465,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 @@ -471,16 +479,16 @@

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

    @@ -491,7 +499,7 @@

    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.

    @@ -502,10 +510,10 @@

    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

    @@ -516,7 +524,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -530,12 +538,12 @@
    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

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

    @@ -572,13 +580,13 @@
    Parameters:
      -
    • delay (float) – How long to wait before starting the task.

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

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

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

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

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

    Return type:
    -

    None

    +

    None

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

    @@ -690,7 +698,7 @@ - + diff --git a/v11.1.0/py-modindex.html b/v11.1.0/py-modindex.html index 11ff99115..4de62ab92 100644 --- a/v11.1.0/py-modindex.html +++ b/v11.1.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v11.1.0 + Python Module Index - Pydis Core v11.1.0 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -634,7 +642,7 @@

    Python Module Index

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

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -678,7 +698,7 @@

    Versions

    - + diff --git a/v11.2.0/.buildinfo b/v11.2.0/.buildinfo index 651a374c6..d75ec76dc 100644 --- a/v11.2.0/.buildinfo +++ b/v11.2.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: f67b7a888e44549c9a47125e9206d672 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: ae2fe974356ebff5f97c283c8d2bad04 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v11.2.0/_static/basic.css b/v11.2.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v11.2.0/_static/basic.css +++ b/v11.2.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/v11.2.0/_static/doctools.js b/v11.2.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v11.2.0/_static/doctools.js +++ b/v11.2.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/v11.2.0/_static/language_data.js b/v11.2.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v11.2.0/_static/language_data.js +++ b/v11.2.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/v11.2.0/_static/searchtools.js b/v11.2.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v11.2.0/_static/searchtools.js +++ b/v11.2.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/v11.2.0/changelog.html b/v11.2.0/changelog.html index 4847020d6..de348d7c1 100644 --- a/v11.2.0/changelog.html +++ b/v11.2.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -596,7 +604,7 @@

    9.3.0 13th December 2022

    @@ -878,7 +886,7 @@

    - + diff --git a/v11.2.0/development.html b/v11.2.0/development.html index 64ca2287e..56ff2c900 100644 --- a/v11.2.0/development.html +++ b/v11.2.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -580,7 +588,7 @@

    Option 2 - + diff --git a/v11.2.0/genindex.html b/v11.2.0/genindex.html index def22f62a..e807fb266 100644 --- a/v11.2.0/genindex.html +++ b/v11.2.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v11.2.0 + Index - Pydis Core v11.2.0 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -514,6 +522,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_computed_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_core_schema__ (PaginationEmojis attribute), [1] @@ -548,6 +564,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_fields_set__ (PaginationEmojis attribute), [1] @@ -866,28 +890,12 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PaginationEmojis attribute), [1] - -
  • model_config (PaginationEmojis attribute), [1]
  • -
  • model_fields (PaginationEmojis attribute), [1] - -
  • @@ -1320,7 +1328,7 @@

    W

    - + diff --git a/v11.2.0/index.html b/v11.2.0/index.html index f7efa4f1a..7493c9076 100644 --- a/v11.2.0/index.html +++ b/v11.2.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -496,10 +504,12 @@

    ReferencePaginationEmojis.__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__
  • @@ -508,9 +518,7 @@

    ReferencePaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -598,7 +606,7 @@

      Extras - + diff --git a/v11.2.0/index_redirect.html b/v11.2.0/index_redirect.html index 9ffbaabe8..efb610aad 100644 --- a/v11.2.0/index_redirect.html +++ b/v11.2.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v11.2.0 - + @@ -55,7 +55,7 @@

      - + diff --git a/v11.2.0/objects.inv b/v11.2.0/objects.inv index f4e9f1d54f5e0b8246438dfd82981218dd2d9137..d668296bcdcea1aa0446d132eabc932f6809172d 100644 GIT binary patch delta 2653 zcmV-j3ZnJH6~YyefPYFKF`p|C_`CI~cu zoOplzfS) zb9f$Ev8n(PhLwtcK6n4{jaLX!PBlW63x7m!Md}QJ)6`tZW+UV| z=II<1#t?bagexkzvOrjCNjIe??pOsy38RGTc{m9pSk8E+go*m?PP{)WDN7Me=RL(% z>jEjFY{AY$VgjcpFKObFF_9rHP)c@)&8mEYqq>yv4pW9VjQ9X6xevI4^2`*x+|h*0 zDXc;Y1EAVQHh%|75_`!@WsoGJN)y?-g@}|wB6El{B4_!SiyiS0QWVi;fwn@t%mL9@ z&kRQugsD`L&BJ-cCf1i+Q|6)0uk%9h?{P*s)GlPdSZIe$ekHm9hRytCHFct09r`8 zGtY<)U|zxZDK<4XvCX<*#Lxu7HdrZori7(|+?NEYWJ_`!1in;SmQ($RyF5);Rs=!H*c2x+agVo74>;!-| z+KXaF|9@vhN&xhoflh5>@(8YIX0DXdUvZd`Ct>C{{!FuJkdGQmBcx`igD%3H-W_d( zem`jbboTavq4s;c^N$At?%m!)$7;__9c=aEg(-rL<)!I@uGzIcezb?H!$9}EtawM@ zfDC2uy1Rfx5cBzlFT2KISMG^zFF9 zLZ&WUF-;&M+Bax6T3=idbG+XWBr#P4J)7umYg(y1lN4AdTi=+boAwP^`bL!GuabE3 z^T9|S!4+AVJ`UJDO$7Ga%!c5Vmh;d{P1#u7t86YstJ(k;1>2)s@E5X2RZXquubxYu zoPRCZ4)!2uf|D)f8OX!NcHGm}uyJ;DBi?%^M+(P!34bKI6Z?k9x)FlYjT# zBHBqdPk0X?A>jbHVPS7f`|E@kN6F^vs z8dpEUyRKJXkKehMt7QWYxJB}?u7CW!Ud?fZ!uA*u7IX=3l378~+&?`q+M5Ff$Ae!! z9SRd9gSzTDScdV{chH>XWp`1~)aH=4L1t=`XaPJ&@t$A49P$&@!?@HqAvZKl2}jRT;l76TDl^pGpErI+@3y z_XY9E@wmm3r0d=23Y$rgrqqe8Wgd(D1pUqHJMDvet}tD2o0Q-U*ndGLL*cAa@&%b? z&`I^i77|2i!&SBL`_7!fMx#9fF!Gh1Cm_Jr1tqYelpP!gl`|CDriq!MRE{;^>&`fA zPVx-8V#{`&E0jUI3Ry9Nv;2iO2K_x9`yWdx=LXHiU+f^%8tDZ$z7bA+H*@`*aoqYsm0 zpg;a;D$pDMG!f{H-dO{BWB$N8H%$S0qn{%Hy*V*Q|M_!biv07(?ymm4aZeL}-smT3 zzq#y_q~AQ!X@AOZGH06*8(28CG|P*p4)X^IsICVeBBIVYu(XgG_G4KwHR!{_f@;Wz zg+`90_!86Bi+LP(Nb5$0Fkf!UuBX2}5##`7ejDHtkQ-r5>gX4D-oq$CTP)12I z@&=kbtt`hUO>488+sDG@kda+g;VG@$6pqN~gc1 zBC)$i9xhgP@v1$IQnE9Di`=eN?$~!O*LU2B1he?2WBt$gi70IzA~Hgq^3?PI7J%W6 zX%7aXy;|RYYY(HNS;Nz@_$+k1vj4>5UWz|SqJQHXk(8FH`h*vmKsG>9>_4?X)F@x; z09n($E2}Q`@P?Z4y*;lSi7syVcp2(+XUMp7AsXHV@-pCIpU8OqHVARpDDomqZ{N1K zJ&Vp%s>@i%dKZ7UhtbFmUJ$hIW?yl05{+zt1;Xv@l@&K9(dBJ~V6cY`hvND;8r$Fp z1b^F2^^e=LXlyqY7<6anmbg8OU@4#wf`O#b_;fEAoV?(SM2;!26WE6fa;gK>J_<9O zXfxJha}Z6;|DD6%O(Bk(lV~i35<=KZw~X7f2$CcPfq$1&6?d;hmy#$T@P}lJ*d9eA zi~3=R$Myela}td#h=<^I*UrbyNi?=%9aaY1S=}DDXVLh|8VLBwI-K};9)Sj)Fpkra zYTUaNT^xQv7>?t#xH^o+)g1)(L<`2p^Qfb3Mnup3-e_9h*FK71nQZ$v*4OHL9_!!l LZ5;eR*_+9LF^VhU delta 2654 zcmV-k3ZeDF6~h&ffPdd}<0uk-*I%Kk+q$>O-M;Qy#_{Z>DzlSHGCN!MLSc!>Y!GMx zIr07V2l`=4j%+moDf<*5x4y3hP17Kn6#JAaln6=UV*g7n(vp$*-?1olQR;schhML@ zI%of=fB*DT{3+`E^jYZ7SXBTC!%D?JpL>4z!7GF)ry8M31%INqB6WtqX=-j{-UxY) zdFq407$R?)a76`I76@xC>88}g9jl-yVU%#~hm$aZrN=uZOw_GA@%gNzEJZZ+dyB2s z1yV%WiuFTc0;ea9H1W-t$dDE&B|F5tj8AY>*Am`g%J7Df5MU(_0as9-nTnS?nh>AL zDx@#~s_kSxP=AuxTS1ILl8h=%WUCe;QVNO8CC-TS(lHl162PS>qRRqpg?RA+(O7%B zqYApzSrT{e{rZU&L_>(I4$~i?a^?y?VpdFT~t|fPy8UQUM-I;ep z2e6>v`xG0?O>DO=7%?=nU`v8jvL!j51-?{Tq-58cP#8dBg)<1fTI7ZG?V5 zP5yND@qx+pd%W|n2LkRr-b2S~&rO$UBgPAh0v*Xq3j|%UYkU1@FIR`D?fF3B9f1Qf zw86YM5=pGfQX+XF+LOqPZDSQ~MK0B}qBim==zj=ID+YnOy1u`KG*usS6b#xruCS2B z3Rg_yh=>jinvL3vD`JlK8-gUJilApR7+FgzRbY|=>tq`m(?k`aA_5=eB*e}8O^J7ZMM`aX#eEETUDy;8kJQZRxx`@*^h zXmi7Owpby|_ccRxZw3M`Dtt8yf$0jbZHojZ=zggf?GlYJpi{Jx)~j)3&DQ!1NzC8{ zRlP@chNU(jpz^gaMEOQ?RjcrguR27a9?;`*BysH1UR2evX}h0+N4@F{$$M`R?SGnJ zAiM`qAmISGVP&pbPs z^y+$J;%1!a#_FnI`af2RNJ#r#)F+f8SCzC4+>8F#QBWUPRK?1N{#|uc#(}UDHL8Au zc3rK$9=~iaXJrElxOwtk&P%c@|QHO+|_{W?1Xx6-1RjkQ$O zz^xEY>?U`h;{h_YgYc-+v4Z2yrjoj|J66&MqC_bZ;xs@WS)AbAEPpBqB+bN+LGKF^ zlH+lUB}v!2(H%CEAWf|kYh?ke{RI6jXq)!I0~<^i+@>J}19k|Lp?`2TQVIo`Wza?S zMi$~kYQa^toBYm{V6)L40T}tpt`iVob3qAgP|6O9gX$RyZ4<-HR4T_B@O5V#HYfRp zNLb+6$d0#QE7;qzP~QaBM~~_vM>D%@J~CsTk$@Cc90{$QS{PD0jie-}ArnaLF3%uA zaoF$-()=hsu6svzdVhY@FzpzhLk3j<0=E&uj|!ND6@m(wr!|erEt4w@hjXr1FxqL^ zVBzSepoL5R+zj;a z47>2;ZaH}2`JJ-#g3&wW@daX?nCTao9hM6ilysIiRW`q?K7alK7^!!jfCTGZ@vql^ zp!@5`r!{)K{qGtuc^qH^(A?Y77s?1M`tzcg9Q^sR`o(_U>^`AiK=MhEUpW40fnPBG zX>ngLdgrh&81uBKFBrW~&=*VzpO`P45>rCHaP008Uoh@z0belsN%5X9`=oHskJK~T z3q$S}?1kW5?0-Gmq}Q24rIu#-aH+%mK_OFDgAWOth80*gbQ;uQ;qYllhlN9^Ar+Pj zqlVZQ4yA@v_>gdFNRbZ-sRk8UG^`rbV8PI8h=1YmYDk4;L#&Pl%Z6D8;*Sco-YKw9 zxOKw2*!w;SaVL1@_@#O>-FL3aq7c%w=^c3^axvb*9)Cr=0GlE_wFecyTg(J(Wq>kD zl94yi0%;{VzA##g-P}H|zCGNa+uwe_eS$2AcF-@te);zB_4?^)eS=otZr12w{pMWZv@wvas}MC;X~!HJ!Cpff_c&$ zC^I(+!hdXTqUI)9hz4Q36caPynw*8KIR;Q;1>GSAVkr4vr3tZ~_pXOn)qCvhneh!$FxN{>KKHKp!;NkSgc>OjAaX9|*B24cz zwzw@tXN>AH*3s_b@AfhpIhPB9);+>2ZVJ)Ju~s15&Iwp?Q;04f4g`Ze93vFh*U{Lq zJ%1qBZUTSYmZGsUR$$Pb^H}1x6u}ZZAp`@dpz-MmFF1L@8HpSdTPLs&SL9R$s?!lX zlxXwNV{;Kr%w?~HASSH*4gY~`onaBF~ Md+P`P4;QMlNV?<^jQ{`u diff --git a/v11.2.0/output/pydis_core.async_stats.html b/v11.2.0/output/pydis_core.async_stats.html index 476814858..db90375b2 100644 --- a/v11.2.0/output/pydis_core.async_stats.html +++ b/v11.2.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -466,11 +474,11 @@
      Parameters:
      @@ -479,10 +487,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

      @@ -564,7 +572,7 @@ - + diff --git a/v11.2.0/output/pydis_core.exts.html b/v11.2.0/output/pydis_core.exts.html index dce6a9a93..08040cd60 100644 --- a/v11.2.0/output/pydis_core.exts.html +++ b/v11.2.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -506,7 +514,7 @@ - + diff --git a/v11.2.0/output/pydis_core.html b/v11.2.0/output/pydis_core.html index ad85143aa..f795a02d5 100644 --- a/v11.2.0/output/pydis_core.html +++ b/v11.2.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -465,7 +473,7 @@

      ID of the guild that the bot belongs to.

      Type:
      -

      int

      +

      int

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

      The http session used for sending out HTTP requests.

      Type:
      -

      aiohttp.ClientSession

      +

      aiohttp.ClientSession

      @@ -498,7 +506,7 @@

      The url that statsd sends metrics to.

      Type:
      -

      str

      +

      str

      @@ -532,7 +540,7 @@ self.load_extensions. Use self.extensions to get the loaded extensions.

      Type:
      -

      frozenset[str]

      +

      frozenset[str]

      @@ -544,12 +552,12 @@
      Parameters:
      @@ -562,7 +570,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -573,7 +581,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -584,7 +592,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -595,7 +603,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -606,10 +614,10 @@

      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

      @@ -620,7 +628,7 @@

      Log the given message to #dev-log.

      Return type:
      -

      None

      +

      None

      @@ -633,7 +641,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

      Return type:
      -

      None

      +

      None

      @@ -644,7 +652,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -655,7 +663,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -667,7 +675,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -680,7 +688,7 @@ So registration needs to happen once the bot instance has been created.

      Return type:
      -

      None

      +

      None

      @@ -693,7 +701,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

      Return type:
      -

      Command | None

      +

      Command | None

      @@ -707,7 +715,7 @@ and ping_services().

      Return type:
      -

      None

      +

      None

      @@ -720,7 +728,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

      Return type:
      -

      None

      +

      None

      @@ -730,7 +738,7 @@
      exception EmptyPaginatorEmbedError[source]
      -

      Bases: Exception

      +

      Bases: Exception

      Raised when attempting to paginate with empty contents.

      @@ -743,11 +751,11 @@
      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.

      @@ -776,12 +784,12 @@
      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

      @@ -800,26 +808,26 @@
      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: @@ -853,9 +861,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.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:94027054051104', '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:94723292967824', '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.

      @@ -878,6 +892,13 @@

      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]
      @@ -911,13 +932,13 @@
      -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055846127ef20,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007f1573379730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156d9f2a10,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f15733f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156d9f2a60,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f15733796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156d9f2ab0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f1573760eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156d9f2b50,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f15733d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156d9f2b00,                                         ),                                     ),                                     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(             0x000056267c3ab390,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "last": SerField {                         key_py: Py(                             0x00007f3723dd2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e142e20,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f3723df47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e142d80,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f3724160eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e142e70,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f3723d797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e142d30,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f3723d797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e142dd0,                                         ),                                     ),                                     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(                                 0x00007f1570637030,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f1570583d30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f15733f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156d9f2a60,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f156e260af0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f156e025cb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f157055a4b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1573379730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156d9f2a10,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f156e260af0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f156cf1bc70,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f156cf18430,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f15733796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156d9f2ab0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f156e260af0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f156cf1bef0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f156cf189b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f15733d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156d9f2b00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f156e260af0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f156cf186f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f156cf18df0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1573760eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156d9f2b50,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f156e260af0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055846127ef20,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f156e260af0,         ),         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(                                 0x00007f371ebe53b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f3720f9fa30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723df47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e142d80,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f371ebe0a10,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f371eaa26b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f371d7318b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723d797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e142d30,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f371ebe0a10,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f371d733a70,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f371d731770,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723d797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e142dd0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f371ebe0a10,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f371d733f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f371d733eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723dd2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e142e20,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f371ebe0a10,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f371d731b70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f371d7319b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3724160eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e142e70,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f371ebe0a10,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056267c3ab390,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f371ebe0a10,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

      @@ -927,32 +948,18 @@

      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.

      @@ -1207,10 +1214,12 @@

      SubmodulesPaginationEmojis.__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__
    • @@ -1219,9 +1228,7 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • StartupError
  • @@ -653,10 +661,12 @@

    SubmodulesPasteFile.__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__
  • @@ -665,19 +675,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -794,7 +802,7 @@

    Submodules - + diff --git a/v11.2.0/output/pydis_core.utils.interactions.html b/v11.2.0/output/pydis_core.utils.interactions.html index 59735677e..e7aaa8893 100644 --- a/v11.2.0/output/pydis_core.utils.interactions.html +++ b/v11.2.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -464,7 +472,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.

    @@ -479,7 +487,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

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

    @@ -517,7 +525,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -528,7 +536,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -539,7 +547,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -554,12 +562,12 @@
    Parameters:
    • user (User | Member) – The user to check

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

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

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

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

    Return type:
    -

    bool

    +

    bool

    @@ -647,7 +655,7 @@ - + diff --git a/v11.2.0/output/pydis_core.utils.lock.html b/v11.2.0/output/pydis_core.utils.lock.html index 42ad2f6e2..acc191bab 100644 --- a/v11.2.0/output/pydis_core.utils.lock.html +++ b/v11.2.0/output/pydis_core.utils.lock.html @@ -5,13 +5,13 @@ - + lock - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception LockedResourceError(resource_type, resource_id)[source]
    -

    Bases: RuntimeError

    +

    Bases: RuntimeError

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

    @@ -464,7 +472,7 @@

    Name of the locked resource’s type

    Type:
    -

    str

    +

    str

    @@ -475,7 +483,7 @@

    ID of the locked resource

    Type:
    -

    Hashable

    +

    Hashable

    @@ -490,7 +498,7 @@
    class SharedEvent[source]
    -

    Bases: object

    +

    Bases: object

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

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

    @@ -517,7 +525,7 @@

    Wait for all active holders to exit.

    Return type:
    -

    None

    +

    None

    @@ -532,12 +540,12 @@
    Parameters:
      -
    • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

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

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

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

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

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

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

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

    @@ -546,7 +554,7 @@

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -558,10 +566,10 @@

    See lock docs for more information.

    Parameters:
    -

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

    +

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -651,7 +659,7 @@ - + diff --git a/v11.2.0/output/pydis_core.utils.logging.html b/v11.2.0/output/pydis_core.utils.logging.html index c84487652..a0b76234d 100644 --- a/v11.2.0/output/pydis_core.utils.logging.html +++ b/v11.2.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,8 +465,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]
    @@ -470,13 +478,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

    @@ -489,7 +497,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

    @@ -503,7 +511,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v11.2.0/output/pydis_core.utils.members.html b/v11.2.0/output/pydis_core.utils.members.html index 6f0de88b3..657dd093a 100644 --- a/v11.2.0/output/pydis_core.utils.members.html +++ b/v11.2.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -460,10 +468,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.

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

    None

    +

    None

    @@ -560,7 +568,7 @@ - + diff --git a/v11.2.0/output/pydis_core.utils.messages.html b/v11.2.0/output/pydis_core.utils.messages.html index d9c17d669..2d8c9af8c 100644 --- a/v11.2.0/output/pydis_core.utils.messages.html +++ b/v11.2.0/output/pydis_core.utils.messages.html @@ -5,13 +5,13 @@ - + messages - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -461,7 +469,7 @@ If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

    Return type:
    -

    bool

    +

    bool

    @@ -537,7 +545,7 @@ - + diff --git a/v11.2.0/output/pydis_core.utils.pagination.html b/v11.2.0/output/pydis_core.utils.pagination.html index 4ac24f452..d4389422c 100644 --- a/v11.2.0/output/pydis_core.utils.pagination.html +++ b/v11.2.0/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - + pagination - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

    @@ -469,11 +477,11 @@
    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.

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

    @@ -526,26 +534,26 @@
    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: @@ -579,9 +587,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.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:94027054934800', '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:94723292414544', '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.

    @@ -604,6 +618,13 @@

    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]
    @@ -637,13 +658,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000558461356b10,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007f15733f48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156dbd0080,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f1573379730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156dbd0030,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f15733d2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156dbd0120,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f1573760eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156dbd0170,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f15733796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f156dbd00d0,                                         ),                                     ),                                     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(             0x000056267c324250,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007f3723df47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e518260,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f3723d797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e5182b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f3723dd2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e518300,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f3723d797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e518210,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f3724160eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f371e518350,                                         ),                                     ),                                     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(                                 0x00007f156e2a7db0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f156d357870,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f15733f48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156dbd0080,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1571f26510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f156d357e30,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f156d979970,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1573379730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156dbd0030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1571f26510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f1570637030,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f156d2f0d30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f15733796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156dbd00d0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1571f26510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f156d2f04f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f156d2f0ab0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f15733d2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156dbd0120,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1571f26510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f156d2f07b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f156d2f2130,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1573760eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f156dbd0170,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1571f26510,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000558461356b10,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1571f26510,         ),         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(                                 0x00007f371eb6a770,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f371da398f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723df47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e518260,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f37228c2460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f371da3a870,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f371da397b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723d797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e518210,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f37228c2460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f371da39670,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f371da3bf30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723d797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e5182b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f37228c2460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f371da3be70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f371da3aef0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723dd2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e518300,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f37228c2460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f371da3a030,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f371da396f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3724160eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f371e518350,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f37228c2460,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056267c324250,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f37228c2460,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

    @@ -653,26 +674,12 @@

    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.

    -
    -

    @@ -744,10 +751,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__
  • @@ -756,9 +765,7 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -773,7 +780,7 @@ - + diff --git a/v11.2.0/output/pydis_core.utils.paste_service.html b/v11.2.0/output/pydis_core.utils.paste_service.html index 41be6d2c7..370c67ab6 100644 --- a/v11.2.0/output/pydis_core.utils.paste_service.html +++ b/v11.2.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -467,9 +475,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"

    @@ -491,9 +499,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:94027057760880', '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:94723296422464', '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.

    @@ -516,6 +530,13 @@

    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]
    @@ -549,13 +570,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000558461608a70,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "name": SerField {                         key_py: Py(                             0x00007f1574156ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f15741530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f1572f9c370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f1572d044b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007f15732679f0,                         ),                         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: 3,             },         ),         has_extra: false,         root_model: false,         name: "PasteFile",     }, ), definitions=[])
    +__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000056267c6f6a40,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f3723c679b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f3724b56ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3724b530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f3723934e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f372369d030,                                         ),                                     ),                                     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(                                 0x00007f156c81bfb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f156c81bf70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f15732679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f156c62c070,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f156c62c030,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1574156ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f15741530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1571f26620,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f156c62c0b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f156c62c0f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f1572f9c370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f1572d044b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f1571f26620,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000558461608a70,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1571f26620,         ),         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(                                 0x00007f371cf44cb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f371cf44c70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723c679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f371cf44d30,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f371cf44cf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3724b56ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3724b530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f37228c2570,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f371cf44d70,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f371cf44db0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3723934e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f372369d030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f37228c2570,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056267c6f6a40,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f37228c2570,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -565,26 +586,12 @@

    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.

    -
    -
    @@ -595,8 +602,8 @@
    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.

    @@ -618,9 +625,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.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:94027057969232', '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:94723296437760', '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.

    @@ -643,6 +656,13 @@

    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]
    @@ -676,13 +696,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055846163b850,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f15740ac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f156d028df0,                         ),                         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(             0x000056267c6fa600,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007f3724aac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007f371d97c6b0,                         ),                         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(                                 0x00007f156c81a970,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f156c81a930,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f15740ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f156c81a9f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f156c81a9b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f156d028df0,                         ),                         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(             0x000055846163b850,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f1571f26620,         ),         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(                                 0x00007f371cf5f9b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f371cf5f970,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3724aac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f371cf5fa30,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f371cf5f9f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f371d97c6b0,                         ),                         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(             0x000056267c6fa600,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f37228c2570,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -692,46 +712,32 @@

    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.

    @@ -742,15 +748,15 @@
    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:
    @@ -827,10 +833,12 @@
  • 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__
  • @@ -839,19 +847,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -881,7 +887,7 @@ - + diff --git a/v11.2.0/output/pydis_core.utils.regex.html b/v11.2.0/output/pydis_core.utils.regex.html index 292b15c8d..e965842f9 100644 --- a/v11.2.0/output/pydis_core.utils.regex.html +++ b/v11.2.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -462,7 +470,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().

    @@ -557,7 +565,7 @@ - + diff --git a/v11.2.0/output/pydis_core.utils.scheduling.html b/v11.2.0/output/pydis_core.utils.scheduling.html index 1e3de4e89..11dce642f 100644 --- a/v11.2.0/output/pydis_core.utils.scheduling.html +++ b/v11.2.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v11.2.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,7 +465,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 @@ -471,16 +479,16 @@

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

    @@ -491,7 +499,7 @@

    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.

    @@ -502,10 +510,10 @@

    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

    @@ -516,7 +524,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -530,12 +538,12 @@
    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

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

    @@ -572,13 +580,13 @@
    Parameters:
      -
    • delay (float) – How long to wait before starting the task.

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

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

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

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

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

    Return type:
    -

    None

    +

    None

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

    @@ -690,7 +698,7 @@ - + diff --git a/v11.2.0/py-modindex.html b/v11.2.0/py-modindex.html index 8b4686b3c..09b81508c 100644 --- a/v11.2.0/py-modindex.html +++ b/v11.2.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v11.2.0 + Python Module Index - Pydis Core v11.2.0 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -634,7 +642,7 @@

    Python Module Index

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

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -678,7 +698,7 @@

    Versions

    - + diff --git a/v11.3.0/.buildinfo b/v11.3.0/.buildinfo index 2667c1e3b..518202be6 100644 --- a/v11.3.0/.buildinfo +++ b/v11.3.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: da75be29dd8d6ef2c429a3cfde9dc9cd +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 3fe6307270aa771f97bf0bcbe78b17b1 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v11.3.0/_static/basic.css b/v11.3.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v11.3.0/_static/basic.css +++ b/v11.3.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/v11.3.0/_static/doctools.js b/v11.3.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v11.3.0/_static/doctools.js +++ b/v11.3.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/v11.3.0/_static/language_data.js b/v11.3.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v11.3.0/_static/language_data.js +++ b/v11.3.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/v11.3.0/_static/searchtools.js b/v11.3.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v11.3.0/_static/searchtools.js +++ b/v11.3.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/v11.3.0/changelog.html b/v11.3.0/changelog.html index 3955051f6..b884357ba 100644 --- a/v11.3.0/changelog.html +++ b/v11.3.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -601,7 +609,7 @@

    9.3.0 13th December 2022

    @@ -883,7 +891,7 @@

    - + diff --git a/v11.3.0/development.html b/v11.3.0/development.html index 21ca0546d..80940d8dd 100644 --- a/v11.3.0/development.html +++ b/v11.3.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -580,7 +588,7 @@

    Option 2 - + diff --git a/v11.3.0/genindex.html b/v11.3.0/genindex.html index 4f35f25c7..4586ded47 100644 --- a/v11.3.0/genindex.html +++ b/v11.3.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v11.3.0 + Index - Pydis Core v11.3.0 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -514,6 +522,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_computed_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_core_schema__ (PaginationEmojis attribute), [1] @@ -548,6 +564,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_fields_set__ (PaginationEmojis attribute), [1] @@ -866,28 +890,12 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PaginationEmojis attribute), [1] - -
  • model_config (PaginationEmojis attribute), [1]
  • -
  • model_fields (PaginationEmojis attribute), [1] - -
  • @@ -1320,7 +1328,7 @@

    W

    - + diff --git a/v11.3.0/index.html b/v11.3.0/index.html index c792902f0..db4103ff8 100644 --- a/v11.3.0/index.html +++ b/v11.3.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -496,10 +504,12 @@

    ReferencePaginationEmojis.__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__
  • @@ -508,9 +518,7 @@

    ReferencePaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -598,7 +606,7 @@

      Extras - + diff --git a/v11.3.0/index_redirect.html b/v11.3.0/index_redirect.html index fc011fd23..3e7232580 100644 --- a/v11.3.0/index_redirect.html +++ b/v11.3.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v11.3.0 - + @@ -55,7 +55,7 @@

      - + diff --git a/v11.3.0/objects.inv b/v11.3.0/objects.inv index 974730d9ef84d03d4368068dd2e93fbf152441cc..5716ab1359f464f02fc3eb97b61d7caaca2d03a9 100644 GIT binary patch delta 2653 zcmV-j3ZnJH6~YyefPYFKF`p|C_`CI~cu zoOplzfS) zb9f$Ev8n(PhLwtcK6n4{jaLX!PBlW63x7m!Md}QJ)6`tZW+UV| z=II<1#t?bagexkzvOrjCNjIe??pOsy38RGTc{m9pSk8E+go*m?PP{)WDN7Me=RL(% z>jEjFY{AY$VgjcpFKObFF_9rHP)c@)&8mEYqq>yv4pW9VjQ9X6xevI4^2`*x+|h*0 zDXc;Y1EAVQHh%|75_`!@WsoGJN)y?-g@}|wB6El{B4_!SiyiS0QWVi;fwn@t%mL9@ z&kRQugsD`L&BJ-cCf1i+Q|6)0uk%9h?{P*s)GlPdSZIe$ekHm9hRytCHFct09r`8 zGtY<)U|zxZDK<4XvCX<*#Lxu7HdrZori7(|+?NEYWJ_`!1in;SmQ($RyF5);Rs=!H*c2x+agVo74>;!-| z+KXaF|9@vhN&xhoflh5>@(8YIX0DXdUvZd`Ct>C{{!FuJkdGQmBcx`igD%3H-W_d( zem`jbboTavq4s;c^N$At?%m!)$7;__9c=aEg(-rL<)!I@uGzIcezb?H!$9}EtawM@ zfDC2uy1Rfx5cBzlFT2KISMG^zFF9 zLZ&WUF-;&M+Bax6T3=idbG+XWBr#P4J)7umYg(y1lN4AdTi=+boAwP^`bL!GuabE3 z^T9|S!4+AVJ`UJDO$7Ga%!c5Vmh;d{P1#u7t86YstJ(k;1>2)s@E5X2RZXquubxYu zoPRCZ4)!2uf|D)f8OX!NcHGm}uyJ;DBi?%^M+(P!34bKI6Z?k9x)FlYjT# zBHBqdPk0X?A>jbHVPS7f`|E@kN6F^vs z8dpEUyRKJXkKehMt7QWYxJB}?u7CW!Ud?fZ!uA*u7IX=3l378~+&?`q+M5Ff$Ae!! z9SRd9gSzTDScdV{chH>XWp`1~)aH=4L1t=`XaPJ&@t$A49P$&@!?@HqAvZKl2}jRT;l76TDl^pGpErI+@3y z_XY9E@wmm3r0d=23Y$rgrqqe8Wgd(D1pUqHJMDvet}tD2o0Q-U*ndGLL*cAa@&%b? z&`I^i77|2i!&SBL`_7!fMx#9fF!Gh1Cm_Jr1tqYelpP!gl`|CDriq!MRE{;^>&`fA zPVx-8V#{`&E0jUI3Ry9Nv;2iO2K_x9`yWdx=LXHiU+f^%8tDZ$z7bA+H*@`*aoqYsm0 zpg;a;D$pDMG!f{H-dO{BWB$N8H%$S0qn{%Hy*V*Q|M_!biv07(?ymm4aZeL}-smT3 zzq#y_q~AQ!X@AOZGH06*8(28CG|P*p4)X^IsICVeBBIVYu(XgG_G4KwHR!{_f@;Wz zg+`90_!86Bi+LP(Nb5$0Fkf!UuBX2}5##`7ejDHtkQ-r5>gX4D-oq$CTP)12I z@&=kbtt`hUO>488+sDG@kda+g;VG@$6pqN~gc1 zBC)$i9xhgP@v1$IQnE9Di`=eN?$~!O*LU2B1he?2WBt$gi70IzA~Hgq^3?PI7J%W6 zX%7aXy;|RYYY(HNS;Nz@_$+k1vj4>5UWz|SqJQHXk(8FH`h*vmKsG>9>_4?X)F@x; z09n($E2}Q`@P?Z4y*;lSi7syVcp2(+XUMp7AsXHV@-pCIpU8OqHVARpDDomqZ{N1K zJ&Vp%s>@i%dKZ7UhtbFmUJ$hIW?yl05{+zt1;Xv@l@&K9(dBJ~V6cY`hvND;8r$Fp z1b^F2^^e=LXlyqY7<6anmbg8OU@4#wf`O#b_;fEAoV?(SM2;!26WE6fa;gK>J_<9O zXfxJha}Z6;|DD6%O(Bk(lV~i35<=KZw~X7f2$CcPfq$1&6?d;hmy#$T@P}lJ*d9eA zi~3=R$Myela}td#h=<^I*UrbyNi?=%9aaY1S=}DDXVLh|8VLBwI-K};9)Sj)Fpkra zYTUaNT^xQv7>?t#xH^o+)g1)(L<`2p^Qfb3Mnup3-e_9h*FK71nQZ$v*4OHL9_!!l LZ5;eR*_+9LF^VhU delta 2654 zcmV-k3ZeDF6~h&ffPdd}<0uk-*I%Kk+q$>O-M;Qy#_{Z>DzlSHGCN!MLSc!>Y!GMx zIr07V2l`=4j%+moDf<*5x4y3hP17Kn6#JAaln6=UV*g7n(vp$*-?1olQR;schhML@ zI%of=fB*DT{3+`E^jYZ7SXBTC!%D?JpL>4z!7GF)ry8M31%INqB6WtqX=-j{-UxY) zdFq407$R?)a76`I76@xC>88}g9jl-yVU%#~hm$aZrN=uZOw_GA@%gNzEJZZ+dyB2s z1yV%WiuFTc0;ea9H1W-t$dDE&B|F5tj8AY>*Am`g%J7Df5MU(_0as9-nTnS?nh>AL zDx@#~s_kSxP=AuxTS1ILl8h=%WUCe;QVNO8CC-TS(lHl162PS>qRRqpg?RA+(O7%B zqYApzSrT{e{rZU&L_>(I4$~i?a^?y?VpdFT~t|fPy8UQUM-I;ep z2e6>v`xG0?O>DO=7%?=nU`v8jvL!j51-?{Tq-58cP#8dBg)<1fTI7ZG?V5 zP5yND@qx+pd%W|n2LkRr-b2S~&rO$UBgPAh0v*Xq3j|%UYkU1@FIR`D?fF3B9f1Qf zw86YM5=pGfQX+XF+LOqPZDSQ~MK0B}qBim==zj=ID+YnOy1u`KG*usS6b#xruCS2B z3Rg_yh=>jinvL3vD`JlK8-gUJilApR7+FgzRbY|=>tq`m(?k`aA_5=eB*e}8O^J7ZMM`aX#eEETUDy;8kJQZRxx`@*^h zXmi7Owpby|_ccRxZw3M`Dtt8yf$0jbZHojZ=zggf?GlYJpi{Jx)~j)3&DQ!1NzC8{ zRlP@chNU(jpz^gaMEOQ?RjcrguR27a9?;`*BysH1UR2evX}h0+N4@F{$$M`R?SGnJ zAiM`qAmISGVP&pbPs z^y+$J;%1!a#_FnI`af2RNJ#r#)F+f8SCzC4+>8F#QBWUPRK?1N{#|uc#(}UDHL8Au zc3rK$9=~iaXJrElxOwtk&P%c@|QHO+|_{W?1Xx6-1RjkQ$O zz^xEY>?U`h;{h_YgYc-+v4Z2yrjoj|J66&MqC_bZ;xs@WS)AbAEPpBqB+bN+LGKF^ zlH+lUB}v!2(H%CEAWf|kYh?ke{RI6jXq)!I0~<^i+@>J}19k|Lp?`2TQVIo`Wza?S zMi$~kYQa^toBYm{V6)L40T}tpt`iVob3qAgP|6O9gX$RyZ4<-HR4T_B@O5V#HYfRp zNLb+6$d0#QE7;qzP~QaBM~~_vM>D%@J~CsTk$@Cc90{$QS{PD0jie-}ArnaLF3%uA zaoF$-()=hsu6svzdVhY@FzpzhLk3j<0=E&uj|!ND6@m(wr!|erEt4w@hjXr1FxqL^ zVBzSepoL5R+zj;a z47>2;ZaH}2`JJ-#g3&wW@daX?nCTao9hM6ilysIiRW`q?K7alK7^!!jfCTGZ@vql^ zp!@5`r!{)K{qGtuc^qH^(A?Y77s?1M`tzcg9Q^sR`o(_U>^`AiK=MhEUpW40fnPBG zX>ngLdgrh&81uBKFBrW~&=*VzpO`P45>rCHaP008Uoh@z0belsN%5X9`=oHskJK~T z3q$S}?1kW5?0-Gmq}Q24rIu#-aH+%mK_OFDgAWOth80*gbQ;uQ;qYllhlN9^Ar+Pj zqlVZQ4yA@v_>gdFNRbZ-sRk8UG^`rbV8PI8h=1YmYDk4;L#&Pl%Z6D8;*Sco-YKw9 zxOKw2*!w;SaVL1@_@#O>-FL3aq7c%w=^c3^axvb*9)Cr=0GlE_wFecyTg(J(Wq>kD zl94yi0%;{VzA##g-P}H|zCGNa+uwe_eS$2AcF-@te);zB_4?^)eS=otZr12w{pMWZv@wvas}MC;X~!HJ!Cpff_c&$ zC^I(+!hdXTqUI)9hz4Q36caPynw*8KIR;Q;1>GSAVkr4vr3tZ~_pXOn)qCvhneh!$FxN{>KKHKp!;NkSgc>OjAaX9|*B24cz zwzw@tXN>AH*3s_b@AfhpIhPB9);+>2ZVJ)Ju~s15&Iwp?Q;04f4g`Ze93vFh*U{Lq zJ%1qBZUTSYmZGsUR$$Pb^H}1x6u}ZZAp`@dpz-MmFF1L@8HpSdTPLs&SL9R$s?!lX zlxXwNV{;Kr%w?~HASSH*4gY~`onaBF~ Md+P`P4;QMlNV?<^jQ{`u diff --git a/v11.3.0/output/pydis_core.async_stats.html b/v11.3.0/output/pydis_core.async_stats.html index 80e8b4e1a..fdc820694 100644 --- a/v11.3.0/output/pydis_core.async_stats.html +++ b/v11.3.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -466,11 +474,11 @@
      Parameters:
      @@ -479,10 +487,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

      @@ -564,7 +572,7 @@ - + diff --git a/v11.3.0/output/pydis_core.exts.html b/v11.3.0/output/pydis_core.exts.html index f41e9d2c4..db63a226a 100644 --- a/v11.3.0/output/pydis_core.exts.html +++ b/v11.3.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -506,7 +514,7 @@ - + diff --git a/v11.3.0/output/pydis_core.html b/v11.3.0/output/pydis_core.html index a6ce6c97a..40934d8b8 100644 --- a/v11.3.0/output/pydis_core.html +++ b/v11.3.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -465,7 +473,7 @@

      ID of the guild that the bot belongs to.

      Type:
      -

      int

      +

      int

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

      The http session used for sending out HTTP requests.

      Type:
      -

      aiohttp.ClientSession

      +

      aiohttp.ClientSession

      @@ -498,7 +506,7 @@

      The url that statsd sends metrics to.

      Type:
      -

      str

      +

      str

      @@ -532,7 +540,7 @@ self.load_extensions. Use self.extensions to get the loaded extensions.

      Type:
      -

      frozenset[str]

      +

      frozenset[str]

      @@ -544,12 +552,12 @@
      Parameters:
      @@ -562,7 +570,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -573,7 +581,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -584,7 +592,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -595,7 +603,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -606,10 +614,10 @@

      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

      @@ -620,7 +628,7 @@

      Log the given message to #dev-log.

      Return type:
      -

      None

      +

      None

      @@ -633,7 +641,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

      Return type:
      -

      None

      +

      None

      @@ -644,7 +652,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -655,7 +663,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -667,7 +675,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -680,7 +688,7 @@ So registration needs to happen once the bot instance has been created.

      Return type:
      -

      None

      +

      None

      @@ -693,7 +701,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

      Return type:
      -

      Command | None

      +

      Command | None

      @@ -707,7 +715,7 @@ and ping_services().

      Return type:
      -

      None

      +

      None

      @@ -720,7 +728,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

      Return type:
      -

      None

      +

      None

      @@ -730,7 +738,7 @@
      exception EmptyPaginatorEmbedError[source]
      -

      Bases: Exception

      +

      Bases: Exception

      Raised when attempting to paginate with empty contents.

      @@ -743,11 +751,11 @@
      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.

      @@ -776,12 +784,12 @@
      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

      @@ -800,26 +808,26 @@
      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: @@ -853,9 +861,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.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:93928774418464', '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:94782196653216', '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.

      @@ -878,6 +892,13 @@

      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]
      @@ -911,13 +932,13 @@
      -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000556d7f3bc020,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007fb4cbbf48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c62bac40,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fb4cbb796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c62bac90,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fb4cbb79730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c62babf0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fb4cbbd2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c62bace0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fb4cbf60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c62bad30,                                         ),                                     ),                                     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(             0x0000563433299ca0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "right": SerField {                         key_py: Py(                             0x00007fe032d797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d25afb0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fe033160eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d25b050,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fe032df47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d25af60,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fe032d797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d25af10,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fe032dd2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d25b000,                                         ),                                     ),                                     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(                                 0x00007fb4c6119cb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fb4cb39ec30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbbf48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c62bac40,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4c6b3cb60,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fb4c68b3fb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fb4c5607fb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbb79730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c62babf0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4c6b3cb60,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fb4c5604430,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fb4c5607f30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbb796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c62bac90,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4c6b3cb60,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fb4c5607e70,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fb4c56049b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbbd2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c62bace0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4c6b3cb60,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fb4c56046f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fb4c5604db0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbf60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c62bad30,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4c6b3cb60,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000556d7f3bc020,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb4c6b3cb60,         ),         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(                                 0x00007fe02db6e430,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fe02dce1b30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032df47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d25af60,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe02dcf8a70,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fe02c5897f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fe02c58a8b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032d797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d25af10,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe02dcf8a70,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fe02c589970,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fe02c5896f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032d797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d25afb0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe02dcf8a70,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fe02c58bf30,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fe02c58af30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032dd2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d25b000,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe02dcf8a70,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fe02c58a0f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fe02c5898f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe033160eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d25b050,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe02dcf8a70,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000563433299ca0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fe02dcf8a70,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

      @@ -927,32 +948,18 @@

      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.

      @@ -1207,10 +1214,12 @@

      SubmodulesPaginationEmojis.__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__
    • @@ -1219,9 +1228,7 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • StartupError
  • @@ -653,10 +661,12 @@

    SubmodulesPasteFile.__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__
  • @@ -665,19 +675,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -794,7 +802,7 @@

    Submodules - + diff --git a/v11.3.0/output/pydis_core.utils.interactions.html b/v11.3.0/output/pydis_core.utils.interactions.html index 9ae1b1400..03b5a99ae 100644 --- a/v11.3.0/output/pydis_core.utils.interactions.html +++ b/v11.3.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -464,7 +472,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.

    @@ -479,7 +487,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

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

    @@ -517,7 +525,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -528,7 +536,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -539,7 +547,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -554,12 +562,12 @@
    Parameters:
    • user (User | Member) – The user to check

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

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

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

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

    Return type:
    -

    bool

    +

    bool

    @@ -647,7 +655,7 @@ - + diff --git a/v11.3.0/output/pydis_core.utils.lock.html b/v11.3.0/output/pydis_core.utils.lock.html index dd90c0210..836e8df0d 100644 --- a/v11.3.0/output/pydis_core.utils.lock.html +++ b/v11.3.0/output/pydis_core.utils.lock.html @@ -5,13 +5,13 @@ - + lock - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception LockedResourceError(resource_type, resource_id)[source]
    -

    Bases: RuntimeError

    +

    Bases: RuntimeError

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

    @@ -464,7 +472,7 @@

    Name of the locked resource’s type

    Type:
    -

    str

    +

    str

    @@ -475,7 +483,7 @@

    ID of the locked resource

    Type:
    -

    Hashable

    +

    Hashable

    @@ -490,7 +498,7 @@
    class SharedEvent[source]
    -

    Bases: object

    +

    Bases: object

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

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

    @@ -517,7 +525,7 @@

    Wait for all active holders to exit.

    Return type:
    -

    None

    +

    None

    @@ -532,12 +540,12 @@
    Parameters:
      -
    • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

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

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

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

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

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

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

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

    @@ -546,7 +554,7 @@

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -558,10 +566,10 @@

    See lock docs for more information.

    Parameters:
    -

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

    +

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

    Return type:
    -

    Callable

    +

    Callable

    @@ -651,7 +659,7 @@ - + diff --git a/v11.3.0/output/pydis_core.utils.logging.html b/v11.3.0/output/pydis_core.utils.logging.html index 654864f58..0d9d9ce21 100644 --- a/v11.3.0/output/pydis_core.utils.logging.html +++ b/v11.3.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,8 +465,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]
    @@ -470,13 +478,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

    @@ -489,7 +497,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

    @@ -503,7 +511,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v11.3.0/output/pydis_core.utils.members.html b/v11.3.0/output/pydis_core.utils.members.html index 25bb013e8..877e36c36 100644 --- a/v11.3.0/output/pydis_core.utils.members.html +++ b/v11.3.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -460,10 +468,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.

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

    None

    +

    None

    @@ -560,7 +568,7 @@ - + diff --git a/v11.3.0/output/pydis_core.utils.messages.html b/v11.3.0/output/pydis_core.utils.messages.html index 84b021931..8ea91040e 100644 --- a/v11.3.0/output/pydis_core.utils.messages.html +++ b/v11.3.0/output/pydis_core.utils.messages.html @@ -5,13 +5,13 @@ - + messages - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -461,7 +469,7 @@ If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

    Return type:
    -

    bool

    +

    bool

    @@ -537,7 +545,7 @@ - + diff --git a/v11.3.0/output/pydis_core.utils.pagination.html b/v11.3.0/output/pydis_core.utils.pagination.html index ad7f56106..ec9ea411a 100644 --- a/v11.3.0/output/pydis_core.utils.pagination.html +++ b/v11.3.0/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - + pagination - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

    @@ -469,11 +477,11 @@
    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.

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

    @@ -526,26 +534,26 @@
    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: @@ -579,9 +587,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.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:93928773714768', '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:94782197123936', '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.

    @@ -604,6 +618,13 @@

    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]
    @@ -637,13 +658,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000556d7f310350,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "left": SerField {                         key_py: Py(                             0x00007fb4cbb79730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c6490210,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007fb4cbbf48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c6490260,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fb4cbb796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c64902b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fb4cbbd2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c6490300,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fb4cbf60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4c6490350,                                         ),                                     ),                                     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(             0x000056343330cb60,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007fe032df47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d630300,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007fe032d797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d630350,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007fe032dd2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d6303a0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007fe032d797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d6302b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007fe033160eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe02d6303f0,                                         ),                                     ),                                     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(                                 0x00007fb4c5b735b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fb4c5b73b70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbbf48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c6490260,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4ca6e6510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fb4c62398f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fb4c62392b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbb79730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c6490210,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4ca6e6510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fb4c8df5cf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fb4c5910d30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbb796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c64902b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4ca6e6510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fb4c59104f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fb4c5910a70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbbd2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c6490300,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4ca6e6510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fb4c59107b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fb4c5911ff0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cbf60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4c6490350,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4ca6e6510,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000556d7f310350,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb4ca6e6510,         ),         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(                                 0x00007fe02fe90f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007fe02ff9fa30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032df47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d630300,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe0318c2460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007fe02dc82770,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007fe02c3896b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032d797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d6302b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe0318c2460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007fe02c38a570,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007fe02c389870,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032d797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d630350,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe0318c2460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007fe02c38bf30,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007fe02c38bfb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032dd2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d6303a0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe0318c2460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007fe02c389af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007fe02c3898f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe033160eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe02d6303f0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe0318c2460,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000056343330cb60,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fe0318c2460,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

    @@ -653,26 +674,12 @@

    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.

    -
    -

    @@ -744,10 +751,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__
  • @@ -756,9 +765,7 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -773,7 +780,7 @@ - + diff --git a/v11.3.0/output/pydis_core.utils.paste_service.html b/v11.3.0/output/pydis_core.utils.paste_service.html index 5e9f79aab..bbdd78d5e 100644 --- a/v11.3.0/output/pydis_core.utils.paste_service.html +++ b/v11.3.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -467,9 +475,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"

    @@ -491,9 +499,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:93928778340848', '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:94782200294976', '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.

    @@ -516,6 +530,13 @@

    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]
    @@ -549,13 +570,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000556d7f7799f0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "lexer": SerField {                         key_py: Py(                             0x00007fb4cb788130,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4cb4f4270,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "content": SerField {                         key_py: Py(                             0x00007fb4cba679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007fb4cc956ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fb4cc9530c0,                                         ),                                     ),                                     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(             0x0000563433612e40,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007fe032c679b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007fe032934e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe03269d030,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007fe033b56ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007fe033b530c0,                                         ),                                     ),                                     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(                                 0x00007fb4c4ebc270,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fb4c4ebc230,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cba679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fb4c4ebc2f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fb4c4ebc2b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cc956ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4cc9530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4ca6e6620,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fb4c4ebc330,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fb4c4ebc370,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cb788130,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fb4cb4f4270,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fb4ca6e6620,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000556d7f7799f0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb4ca6e6620,         ),         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(                                 0x00007fe01f848ab0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007fe01f848a70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032c679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007fe01f848b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007fe01f848af0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe033b56ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe033b530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe0318c2570,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007fe01f848b70,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007fe01f848bb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe032934e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe03269d030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007fe0318c2570,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000563433612e40,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fe0318c2570,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

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

    @@ -565,26 +586,12 @@

    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.

    -
    -
    @@ -595,8 +602,8 @@
    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.

    @@ -618,9 +625,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.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:93928778336288', '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:94782200631792', '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.

    @@ -643,6 +656,13 @@

    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]
    @@ -676,13 +696,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000556d7f778820,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007fb4c5914e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007fb4cc8ac2a0,                         ),                         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(             0x00005634336651f0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "link": SerField {                         key_py: Py(                             0x00007fe033aac2a0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "removal": SerField {                         key_py: Py(                             0x00007fe02c2b82f0,                         ),                         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(                                 0x00007fb4c4eb2c30,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fb4c4eb2bf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4cc8ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fb4c4eb2cb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fb4c4eb2c70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fb4c5914e70,                         ),                         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(             0x0000556d7f778820,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fb4ca6e6620,         ),         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(                                 0x00007fe01f863830,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007fe01f8637f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe033aac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007fe01f8638b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007fe01f863870,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fe02c2b82f0,                         ),                         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(             0x00005634336651f0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fe0318c2570,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

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

    @@ -692,46 +712,32 @@

    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.

    @@ -742,15 +748,15 @@
    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:
    @@ -827,10 +833,12 @@
  • 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__
  • @@ -839,19 +847,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -881,7 +887,7 @@ - + diff --git a/v11.3.0/output/pydis_core.utils.regex.html b/v11.3.0/output/pydis_core.utils.regex.html index 7abb87d56..390a4be98 100644 --- a/v11.3.0/output/pydis_core.utils.regex.html +++ b/v11.3.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -462,7 +470,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().

    @@ -557,7 +565,7 @@ - + diff --git a/v11.3.0/output/pydis_core.utils.scheduling.html b/v11.3.0/output/pydis_core.utils.scheduling.html index 2db3b227d..4905538d2 100644 --- a/v11.3.0/output/pydis_core.utils.scheduling.html +++ b/v11.3.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v11.3.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,7 +465,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 @@ -471,16 +479,16 @@

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

    @@ -491,7 +499,7 @@

    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.

    @@ -502,10 +510,10 @@

    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

    @@ -516,7 +524,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -530,12 +538,12 @@
    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

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

    @@ -572,13 +580,13 @@
    Parameters:
      -
    • delay (float) – How long to wait before starting the task.

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

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

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

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

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

    Return type:
    -

    None

    +

    None

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

    @@ -690,7 +698,7 @@ - + diff --git a/v11.3.0/py-modindex.html b/v11.3.0/py-modindex.html index 71403b01d..48cf20fed 100644 --- a/v11.3.0/py-modindex.html +++ b/v11.3.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v11.3.0 + Python Module Index - Pydis Core v11.3.0 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -634,7 +642,7 @@

    Python Module Index

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

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -678,7 +698,7 @@

    Versions

    - + diff --git a/v11.3.1/.buildinfo b/v11.3.1/.buildinfo index 8a5e247ad..8f3d78d5a 100644 --- a/v11.3.1/.buildinfo +++ b/v11.3.1/.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: 24f5fa6c81f3ca017d920a7f1610b0fb +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: e1dc27a4c3136f9546f3000a0c5fb1db tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v11.3.1/_static/basic.css b/v11.3.1/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v11.3.1/_static/basic.css +++ b/v11.3.1/_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/v11.3.1/_static/doctools.js b/v11.3.1/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v11.3.1/_static/doctools.js +++ b/v11.3.1/_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/v11.3.1/_static/language_data.js b/v11.3.1/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v11.3.1/_static/language_data.js +++ b/v11.3.1/_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/v11.3.1/_static/searchtools.js b/v11.3.1/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v11.3.1/_static/searchtools.js +++ b/v11.3.1/_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/v11.3.1/changelog.html b/v11.3.1/changelog.html index b10f955c1..ec7104e60 100644 --- a/v11.3.1/changelog.html +++ b/v11.3.1/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -606,7 +614,7 @@

    9.3.0 13th December 2022

    @@ -888,7 +896,7 @@

    - + diff --git a/v11.3.1/development.html b/v11.3.1/development.html index 73e2dc669..dd3e55ada 100644 --- a/v11.3.1/development.html +++ b/v11.3.1/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -580,7 +588,7 @@

    Option 2 - + diff --git a/v11.3.1/genindex.html b/v11.3.1/genindex.html index afa44d44c..be9172114 100644 --- a/v11.3.1/genindex.html +++ b/v11.3.1/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v11.3.1 + Index - Pydis Core v11.3.1 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -514,6 +522,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_computed_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_core_schema__ (PaginationEmojis attribute), [1] @@ -548,6 +564,14 @@

    _

  • (PasteFile attribute)
  • (PasteResponse attribute) +
  • + +
  • __pydantic_fields__ (PaginationEmojis attribute), [1] + +
  • __pydantic_fields_set__ (PaginationEmojis attribute), [1] @@ -866,28 +890,12 @@

    M

  • maybe_raise_for_status() (APIClient static method)
  • -
  • model_computed_fields (PaginationEmojis attribute), [1] - -
  • model_config (PaginationEmojis attribute), [1]
  • -
  • model_fields (PaginationEmojis attribute), [1] - -
  • @@ -1320,7 +1328,7 @@

    W

    - + diff --git a/v11.3.1/index.html b/v11.3.1/index.html index 2f103351c..12749cbfb 100644 --- a/v11.3.1/index.html +++ b/v11.3.1/index.html @@ -5,13 +5,13 @@ - + Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -496,10 +504,12 @@

    ReferencePaginationEmojis.__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__
  • @@ -508,9 +518,7 @@

    ReferencePaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • StartupError
      @@ -598,7 +606,7 @@

      Extras - + diff --git a/v11.3.1/index_redirect.html b/v11.3.1/index_redirect.html index be846578b..468e4a4e0 100644 --- a/v11.3.1/index_redirect.html +++ b/v11.3.1/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v11.3.1 - + @@ -55,7 +55,7 @@

      - + diff --git a/v11.3.1/objects.inv b/v11.3.1/objects.inv index c08a17dbbdf977df580068aa15309770b292ba75..3a75245d55ef2d68c45aafed24636d7203f94260 100644 GIT binary patch delta 2653 zcmV-j3ZnJH6~YyefPYFKF`p|C_`CI~cu zoOplzfS) zb9f$Ev8n(PhLwtcK6n4{jaLX!PBlW63x7m!Md}QJ)6`tZW+UV| z=II<1#t?bagexkzvOrjCNjIe??pOsy38RGTc{m9pSk8E+go*m?PP{)WDN7Me=RL(% z>jEjFY{AY$VgjcpFKObFF_9rHP)c@)&8mEYqq>yv4pW9VjQ9X6xevI4^2`*x+|h*0 zDXc;Y1EAVQHh%|75_`!@WsoGJN)y?-g@}|wB6El{B4_!SiyiS0QWVi;fwn@t%mL9@ z&kRQugsD`L&BJ-cCf1i+Q|6)0uk%9h?{P*s)GlPdSZIe$ekHm9hRytCHFct09r`8 zGtY<)U|zxZDK<4XvCX<*#Lxu7HdrZori7(|+?NEYWJ_`!1in;SmQ($RyF5);Rs=!H*c2x+agVo74>;!-| z+KXaF|9@vhN&xhoflh5>@(8YIX0DXdUvZd`Ct>C{{!FuJkdGQmBcx`igD%3H-W_d( zem`jbboTavq4s;c^N$At?%m!)$7;__9c=aEg(-rL<)!I@uGzIcezb?H!$9}EtawM@ zfDC2uy1Rfx5cBzlFT2KISMG^zFF9 zLZ&WUF-;&M+Bax6T3=idbG+XWBr#P4J)7umYg(y1lN4AdTi=+boAwP^`bL!GuabE3 z^T9|S!4+AVJ`UJDO$7Ga%!c5Vmh;d{P1#u7t86YstJ(k;1>2)s@E5X2RZXquubxYu zoPRCZ4)!2uf|D)f8OX!NcHGm}uyJ;DBi?%^M+(P!34bKI6Z?k9x)FlYjT# zBHBqdPk0X?A>jbHVPS7f`|E@kN6F^vs z8dpEUyRKJXkKehMt7QWYxJB}?u7CW!Ud?fZ!uA*u7IX=3l378~+&?`q+M5Ff$Ae!! z9SRd9gSzTDScdV{chH>XWp`1~)aH=4L1t=`XaPJ&@t$A49P$&@!?@HqAvZKl2}jRT;l76TDl^pGpErI+@3y z_XY9E@wmm3r0d=23Y$rgrqqe8Wgd(D1pUqHJMDvet}tD2o0Q-U*ndGLL*cAa@&%b? z&`I^i77|2i!&SBL`_7!fMx#9fF!Gh1Cm_Jr1tqYelpP!gl`|CDriq!MRE{;^>&`fA zPVx-8V#{`&E0jUI3Ry9Nv;2iO2K_x9`yWdx=LXHiU+f^%8tDZ$z7bA+H*@`*aoqYsm0 zpg;a;D$pDMG!f{H-dO{BWB$N8H%$S0qn{%Hy*V*Q|M_!biv07(?ymm4aZeL}-smT3 zzq#y_q~AQ!X@AOZGH06*8(28CG|P*p4)X^IsICVeBBIVYu(XgG_G4KwHR!{_f@;Wz zg+`90_!86Bi+LP(Nb5$0Fkf!UuBX2}5##`7ejDHtkQ-r5>gX4D-oq$CTP)12I z@&=kbtt`hUO>488+sDG@kda+g;VG@$6pqN~gc1 zBC)$i9xhgP@v1$IQnE9Di`=eN?$~!O*LU2B1he?2WBt$gi70IzA~Hgq^3?PI7J%W6 zX%7aXy;|RYYY(HNS;Nz@_$+k1vj4>5UWz|SqJQHXk(8FH`h*vmKsG>9>_4?X)F@x; z09n($E2}Q`@P?Z4y*;lSi7syVcp2(+XUMp7AsXHV@-pCIpU8OqHVARpDDomqZ{N1K zJ&Vp%s>@i%dKZ7UhtbFmUJ$hIW?yl05{+zt1;Xv@l@&K9(dBJ~V6cY`hvND;8r$Fp z1b^F2^^e=LXlyqY7<6anmbg8OU@4#wf`O#b_;fEAoV?(SM2;!26WE6fa;gK>J_<9O zXfxJha}Z6;|DD6%O(Bk(lV~i35<=KZw~X7f2$CcPfq$1&6?d;hmy#$T@P}lJ*d9eA zi~3=R$Myela}td#h=<^I*UrbyNi?=%9aaY1S=}DDXVLh|8VLBwI-K};9)Sj)Fpkra zYTUaNT^xQv7>?t#xH^o+)g1)(L<`2p^Qfb3Mnup3-e_9h*FK71nQZ$v*4OHL9_!!l LZ5;eR*_+9LF^VhU delta 2654 zcmV-k3ZeDF6~h&ffPdd}<0uk-*I%Kk+q$>O-M;Qy#_{Z>DzlSHGCN!MLSc!>Y!GMx zIr07V2l`=4j%+moDf<*5x4y3hP17Kn6#JAaln6=UV*g7n(vp$*-?1olQR;schhML@ zI%of=fB*DT{3+`E^jYZ7SXBTC!%D?JpL>4z!7GF)ry8M31%INqB6WtqX=-j{-UxY) zdFq407$R?)a76`I76@xC>88}g9jl-yVU%#~hm$aZrN=uZOw_GA@%gNzEJZZ+dyB2s z1yV%WiuFTc0;ea9H1W-t$dDE&B|F5tj8AY>*Am`g%J7Df5MU(_0as9-nTnS?nh>AL zDx@#~s_kSxP=AuxTS1ILl8h=%WUCe;QVNO8CC-TS(lHl162PS>qRRqpg?RA+(O7%B zqYApzSrT{e{rZU&L_>(I4$~i?a^?y?VpdFT~t|fPy8UQUM-I;ep z2e6>v`xG0?O>DO=7%?=nU`v8jvL!j51-?{Tq-58cP#8dBg)<1fTI7ZG?V5 zP5yND@qx+pd%W|n2LkRr-b2S~&rO$UBgPAh0v*Xq3j|%UYkU1@FIR`D?fF3B9f1Qf zw86YM5=pGfQX+XF+LOqPZDSQ~MK0B}qBim==zj=ID+YnOy1u`KG*usS6b#xruCS2B z3Rg_yh=>jinvL3vD`JlK8-gUJilApR7+FgzRbY|=>tq`m(?k`aA_5=eB*e}8O^J7ZMM`aX#eEETUDy;8kJQZRxx`@*^h zXmi7Owpby|_ccRxZw3M`Dtt8yf$0jbZHojZ=zggf?GlYJpi{Jx)~j)3&DQ!1NzC8{ zRlP@chNU(jpz^gaMEOQ?RjcrguR27a9?;`*BysH1UR2evX}h0+N4@F{$$M`R?SGnJ zAiM`qAmISGVP&pbPs z^y+$J;%1!a#_FnI`af2RNJ#r#)F+f8SCzC4+>8F#QBWUPRK?1N{#|uc#(}UDHL8Au zc3rK$9=~iaXJrElxOwtk&P%c@|QHO+|_{W?1Xx6-1RjkQ$O zz^xEY>?U`h;{h_YgYc-+v4Z2yrjoj|J66&MqC_bZ;xs@WS)AbAEPpBqB+bN+LGKF^ zlH+lUB}v!2(H%CEAWf|kYh?ke{RI6jXq)!I0~<^i+@>J}19k|Lp?`2TQVIo`Wza?S zMi$~kYQa^toBYm{V6)L40T}tpt`iVob3qAgP|6O9gX$RyZ4<-HR4T_B@O5V#HYfRp zNLb+6$d0#QE7;qzP~QaBM~~_vM>D%@J~CsTk$@Cc90{$QS{PD0jie-}ArnaLF3%uA zaoF$-()=hsu6svzdVhY@FzpzhLk3j<0=E&uj|!ND6@m(wr!|erEt4w@hjXr1FxqL^ zVBzSepoL5R+zj;a z47>2;ZaH}2`JJ-#g3&wW@daX?nCTao9hM6ilysIiRW`q?K7alK7^!!jfCTGZ@vql^ zp!@5`r!{)K{qGtuc^qH^(A?Y77s?1M`tzcg9Q^sR`o(_U>^`AiK=MhEUpW40fnPBG zX>ngLdgrh&81uBKFBrW~&=*VzpO`P45>rCHaP008Uoh@z0belsN%5X9`=oHskJK~T z3q$S}?1kW5?0-Gmq}Q24rIu#-aH+%mK_OFDgAWOth80*gbQ;uQ;qYllhlN9^Ar+Pj zqlVZQ4yA@v_>gdFNRbZ-sRk8UG^`rbV8PI8h=1YmYDk4;L#&Pl%Z6D8;*Sco-YKw9 zxOKw2*!w;SaVL1@_@#O>-FL3aq7c%w=^c3^axvb*9)Cr=0GlE_wFecyTg(J(Wq>kD zl94yi0%;{VzA##g-P}H|zCGNa+uwe_eS$2AcF-@te);zB_4?^)eS=otZr12w{pMWZv@wvas}MC;X~!HJ!Cpff_c&$ zC^I(+!hdXTqUI)9hz4Q36caPynw*8KIR;Q;1>GSAVkr4vr3tZ~_pXOn)qCvhneh!$FxN{>KKHKp!;NkSgc>OjAaX9|*B24cz zwzw@tXN>AH*3s_b@AfhpIhPB9);+>2ZVJ)Ju~s15&Iwp?Q;04f4g`Ze93vFh*U{Lq zJ%1qBZUTSYmZGsUR$$Pb^H}1x6u}ZZAp`@dpz-MmFF1L@8HpSdTPLs&SL9R$s?!lX zlxXwNV{;Kr%w?~HASSH*4gY~`onaBF~ Md+P`P4;QMlNV?<^jQ{`u diff --git a/v11.3.1/output/pydis_core.async_stats.html b/v11.3.1/output/pydis_core.async_stats.html index 00899c966..d5808725d 100644 --- a/v11.3.1/output/pydis_core.async_stats.html +++ b/v11.3.1/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -466,11 +474,11 @@
      Parameters:
      @@ -479,10 +487,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

      @@ -564,7 +572,7 @@ - + diff --git a/v11.3.1/output/pydis_core.exts.html b/v11.3.1/output/pydis_core.exts.html index c41a53483..c58b63382 100644 --- a/v11.3.1/output/pydis_core.exts.html +++ b/v11.3.1/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -506,7 +514,7 @@ - + diff --git a/v11.3.1/output/pydis_core.html b/v11.3.1/output/pydis_core.html index 2a89255da..081abbb4b 100644 --- a/v11.3.1/output/pydis_core.html +++ b/v11.3.1/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
    • + v11.5.0 +
    • + +
    • + v11.4.0 +
    • +
    • v11.3.1
    • @@ -465,7 +473,7 @@

      ID of the guild that the bot belongs to.

      Type:
      -

      int

      +

      int

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

      The http session used for sending out HTTP requests.

      Type:
      -

      aiohttp.ClientSession

      +

      aiohttp.ClientSession

      @@ -498,7 +506,7 @@

      The url that statsd sends metrics to.

      Type:
      -

      str

      +

      str

      @@ -532,7 +540,7 @@ self.load_extensions. Use self.extensions to get the loaded extensions.

      Type:
      -

      frozenset[str]

      +

      frozenset[str]

      @@ -544,12 +552,12 @@
      Parameters:
      @@ -562,7 +570,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -573,7 +581,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -584,7 +592,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -595,7 +603,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -606,10 +614,10 @@

      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

      @@ -620,7 +628,7 @@

      Log the given message to #dev-log.

      Return type:
      -

      None

      +

      None

      @@ -633,7 +641,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

      Return type:
      -

      None

      +

      None

      @@ -644,7 +652,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -655,7 +663,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -667,7 +675,7 @@

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

      Return type:
      -

      None

      +

      None

      @@ -680,7 +688,7 @@ So registration needs to happen once the bot instance has been created.

      Return type:
      -

      None

      +

      None

      @@ -693,7 +701,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

      Return type:
      -

      Command | None

      +

      Command | None

      @@ -707,7 +715,7 @@ and ping_services().

      Return type:
      -

      None

      +

      None

      @@ -720,7 +728,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

      Return type:
      -

      None

      +

      None

      @@ -730,7 +738,7 @@
      exception EmptyPaginatorEmbedError[source]
      -

      Bases: Exception

      +

      Bases: Exception

      Raised when attempting to paginate with empty contents.

      @@ -743,11 +751,11 @@
      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.

      @@ -776,12 +784,12 @@
      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

      @@ -800,26 +808,26 @@
      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: @@ -853,9 +861,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.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:94212568989344', '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:93905484457904', '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.

      @@ -878,6 +892,13 @@

      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]
      @@ -911,13 +932,13 @@
      -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055af92b53ea0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "right": SerField {                         key_py: Py(                             0x00007f9d38f796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2ecd6f10,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f9d38fd2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2ecd6f60,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f9d39360eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2ecd6fb0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f9d38ff48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2ecd6ec0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f9d38f79730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2ecd6e70,                                         ),                                     ),                                     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(             0x00005568130b27b0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "first": SerField {                         key_py: Py(                             0x00007f3cabbf47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca615ab50,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f3cabb797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca615aba0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f3cabf60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca615ac40,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f3cabb797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca615ab00,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f3cabbd2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca615abf0,                                         ),                                     ),                                     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(                                 0x00007f9d3412cbf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f9d35f22970,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d38ff48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2ecd6ec0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d3456cbb0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f9d2e2e6230,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f9d2e2e43f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d38f79730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2ecd6e70,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d3456cbb0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f9d2e2e7f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f9d2e2e7cb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d38f796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2ecd6f10,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d3456cbb0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f9d2e2e5f30,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f9d2e2e4770,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d38fd2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2ecd6f60,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d3456cbb0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f9d2e2e4a70,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f9d2e2e7eb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d39360eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2ecd6fb0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d3456cbb0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055af92b53ea0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f9d3456cbb0,         ),         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(                                 0x00007f3ca680bfb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f3ca8e9fb30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabbf47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca615ab50,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ca6bfcac0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f3ca6865b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f3ca69dd570,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabb797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca615ab00,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ca6bfcac0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f3ca57757f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f3ca5777a30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabb797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca615aba0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ca6bfcac0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f3ca57756f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f3ca5777f30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabbd2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca615abf0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ca6bfcac0,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f3ca5775b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f3ca57758f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabf60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca615ac40,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3ca6bfcac0,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x00005568130b27b0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3ca6bfcac0,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

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

      @@ -927,32 +948,18 @@

      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.

      @@ -1207,10 +1214,12 @@

      SubmodulesPaginationEmojis.__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__
    • @@ -1219,9 +1228,7 @@

      SubmodulesPaginationEmojis.__pydantic_serializer__
    • PaginationEmojis.__pydantic_validator__
    • PaginationEmojis.__signature__
    • -
    • PaginationEmojis.model_computed_fields
    • PaginationEmojis.model_config
    • -
    • PaginationEmojis.model_fields
  • StartupError
  • @@ -653,10 +661,12 @@

    SubmodulesPasteFile.__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__
  • @@ -665,19 +675,19 @@

    SubmodulesPasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -794,7 +802,7 @@

    Submodules - + diff --git a/v11.3.1/output/pydis_core.utils.interactions.html b/v11.3.1/output/pydis_core.utils.interactions.html index 289496455..d0c85c0ae 100644 --- a/v11.3.1/output/pydis_core.utils.interactions.html +++ b/v11.3.1/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -464,7 +472,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.

    @@ -479,7 +487,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

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

    @@ -517,7 +525,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -528,7 +536,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -539,7 +547,7 @@

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

    Return type:
    -

    None

    +

    None

    @@ -554,12 +562,12 @@
    Parameters:
    • user (User | Member) – The user to check

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

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

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

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

    Return type:
    -

    bool

    +

    bool

    @@ -647,7 +655,7 @@ - + diff --git a/v11.3.1/output/pydis_core.utils.lock.html b/v11.3.1/output/pydis_core.utils.lock.html index d4183b9cc..c9457ebea 100644 --- a/v11.3.1/output/pydis_core.utils.lock.html +++ b/v11.3.1/output/pydis_core.utils.lock.html @@ -5,13 +5,13 @@ - + lock - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception LockedResourceError(resource_type, resource_id)[source]
    -

    Bases: RuntimeError

    +

    Bases: RuntimeError

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

    @@ -464,7 +472,7 @@

    Name of the locked resource’s type

    Type:
    -

    str

    +

    str

    @@ -475,7 +483,7 @@

    ID of the locked resource

    Type:
    -

    Hashable

    +

    Hashable

    @@ -490,7 +498,7 @@
    class SharedEvent[source]
    -

    Bases: object

    +

    Bases: object

    Context manager managing an internal event exposed through the wait coro.

    While any code is executing in this context manager, the underlying event will not be set; when all of the holders finish the event will be set.

    @@ -517,7 +525,7 @@

    Wait for all active holders to exit.

    Return type:
    -

    None

    +

    None

    @@ -532,12 +540,12 @@
    Parameters:
      -
    • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

    • -
    • resource_id (Hashable | Callable[[OrderedDict[str, Any]], Hashable | Awaitable[Hashable]]) – identifies a resource on which to perform a mutually exclusive operation. +

    • namespace (Hashable) – An identifier used to prevent collisions among resource IDs.

    • +
    • resource_id (Hashable | Callable[[OrderedDict[str, Any]], Hashable | Awaitable[Hashable]]) – identifies a resource on which to perform a mutually exclusive operation. It may also be a callable or awaitable which will return the resource ID given an ordered mapping of the parameters’ names to arguments’ values.

    • -
    • raise_error (bool) – If True, raise LockedResourceError if the lock cannot be acquired.

    • -
    • wait (bool) – If True, wait until the lock becomes available. Otherwise, if any other mutually +

    • raise_error (bool) – If True, raise LockedResourceError if the lock cannot be acquired.

    • +
    • wait (bool) – If True, wait until the lock becomes available. Otherwise, if any other mutually exclusive function currently holds the lock for a resource, do not run the decorated function and return None.

    @@ -546,7 +554,7 @@

    LockedResourceError – If the lock can’t be acquired and raise_error is set to True.

    Return type:
    -

    Callable

    +

    Callable

    @@ -558,10 +566,10 @@

    See lock docs for more information.

    Parameters:
    -

    func (Callable[[Any], Hashable | Awaitable[Hashable]] | None) – An optional callable or awaitable which will return the ID given the argument value.

    +

    func (Callable[[Any], Hashable | Awaitable[Hashable]] | None) – An optional callable or awaitable which will return the ID given the argument value.

    Return type:
    -

    Callable

    +

    Callable

    @@ -651,7 +659,7 @@ - + diff --git a/v11.3.1/output/pydis_core.utils.logging.html b/v11.3.1/output/pydis_core.utils.logging.html index 3d7274f37..5e6c50e5d 100644 --- a/v11.3.1/output/pydis_core.utils.logging.html +++ b/v11.3.1/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,8 +465,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]
    @@ -470,13 +478,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

    @@ -489,7 +497,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

    @@ -503,7 +511,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v11.3.1/output/pydis_core.utils.members.html b/v11.3.1/output/pydis_core.utils.members.html index 4ff977ae2..727e972c9 100644 --- a/v11.3.1/output/pydis_core.utils.members.html +++ b/v11.3.1/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -460,10 +468,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.

    @@ -478,12 +486,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -560,7 +568,7 @@ - + diff --git a/v11.3.1/output/pydis_core.utils.messages.html b/v11.3.1/output/pydis_core.utils.messages.html index c7ad21f06..cb36ff499 100644 --- a/v11.3.1/output/pydis_core.utils.messages.html +++ b/v11.3.1/output/pydis_core.utils.messages.html @@ -5,13 +5,13 @@ - + messages - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -461,7 +469,7 @@ If allow_mods is True, allow users with moderator roles even if they’re not in allowed_users.

    Return type:
    -

    bool

    +

    bool

    @@ -537,7 +545,7 @@ - + diff --git a/v11.3.1/output/pydis_core.utils.pagination.html b/v11.3.1/output/pydis_core.utils.pagination.html index f60548e82..6e546d001 100644 --- a/v11.3.1/output/pydis_core.utils.pagination.html +++ b/v11.3.1/output/pydis_core.utils.pagination.html @@ -5,13 +5,13 @@ - + pagination - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -456,7 +464,7 @@
    exception EmptyPaginatorEmbedError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when attempting to paginate with empty contents.

    @@ -469,11 +477,11 @@
    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.

    @@ -502,12 +510,12 @@
    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

    @@ -526,26 +534,26 @@
    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: @@ -579,9 +587,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.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:94212568970880', '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:93905484919440', '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.

    @@ -604,6 +618,13 @@

    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]
    @@ -637,13 +658,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055af92b4f680,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "right": SerField {                         key_py: Py(                             0x00007f9d38f796f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2eea4210,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f9d38fd2270,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2eea4260,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f9d38f79730,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2eea4170,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f9d38ff48b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2eea41c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "delete": SerField {                         key_py: Py(                             0x00007f9d39360eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d2eea42b0,                                         ),                                     ),                                     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(             0x0000556813123290,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "delete": SerField {                         key_py: Py(                             0x00007f3cabf60eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca63383a0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "first": SerField {                         key_py: Py(                             0x00007f3cabbf47b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca63382b0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "left": SerField {                         key_py: Py(                             0x00007f3cabb797f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca6338260,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "last": SerField {                         key_py: Py(                             0x00007f3cabbd2170,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca6338350,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "right": SerField {                         key_py: Py(                             0x00007f3cabb797b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3ca6338300,                                         ),                                     ),                                     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(                                 0x00007f9d3459f0b0,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f9d346bec70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d38ff48b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2eea41c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d37822510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f9d35f22970,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f9d2e646bf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d38f79730,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2eea4170,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d37822510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f9d2e646d70,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f9d2e646e30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d38f796f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2eea4210,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d37822510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f9d2e5eaab0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f9d2e5ea2b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d38fd2270,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2eea4260,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d37822510,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f9d2e5e8930,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f9d2e5e8330,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d39360eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d2eea42b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d37822510,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055af92b4f680,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f9d37822510,         ),         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(                                 0x00007f3ca8d94f70,                             ),                             path: LookupPath(                                 [                                     S(                                         "first",                                         Py(                                             0x00007f3ca6a36ab0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabbf47b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca63382b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3caa74e460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "left",                         lookup_key: Simple {                             key: "left",                             py_key: Py(                                 0x00007f3ca6b9e130,                             ),                             path: LookupPath(                                 [                                     S(                                         "left",                                         Py(                                             0x00007f3ca5a797f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabb797f0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca6338260,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3caa74e460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "right",                         lookup_key: Simple {                             key: "right",                             py_key: Py(                                 0x00007f3ca5a7ba30,                             ),                             path: LookupPath(                                 [                                     S(                                         "right",                                         Py(                                             0x00007f3ca5a796f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabb797b0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca6338300,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3caa74e460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "last",                         lookup_key: Simple {                             key: "last",                             py_key: Py(                                 0x00007f3ca5a7bdf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "last",                                         Py(                                             0x00007f3ca5a7bcf0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabbd2170,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca6338350,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3caa74e460,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "delete",                         lookup_key: Simple {                             key: "delete",                             py_key: Py(                                 0x00007f3ca5a79af0,                             ),                             path: LookupPath(                                 [                                     S(                                         "delete",                                         Py(                                             0x00007f3ca5a798f0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cabf60eb0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3ca63383a0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3caa74e460,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PaginationEmojis",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x0000556813123290,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3caa74e460,         ),         name: "PaginationEmojis",     }, ), definitions=[], cache_strings=True)

    The pydantic-core SchemaValidator used to validate instances of the model.

    @@ -653,26 +674,12 @@

    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.

    -
    -

    @@ -744,10 +751,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__
  • @@ -756,9 +765,7 @@
  • PaginationEmojis.__pydantic_serializer__
  • PaginationEmojis.__pydantic_validator__
  • PaginationEmojis.__signature__
  • -
  • PaginationEmojis.model_computed_fields
  • PaginationEmojis.model_config
  • -
  • PaginationEmojis.model_fields
  • @@ -773,7 +780,7 @@ - + diff --git a/v11.3.1/output/pydis_core.utils.paste_service.html b/v11.3.1/output/pydis_core.utils.paste_service.html index afd505ef5..c1b0e7ad1 100644 --- a/v11.3.1/output/pydis_core.utils.paste_service.html +++ b/v11.3.1/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -467,9 +475,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"

    @@ -491,9 +499,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:94212572897344', '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:93905488424976', '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.

    @@ -516,6 +530,13 @@

    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]
    @@ -549,13 +570,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055af92f0e040,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f9d38b679f0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f9d39956ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d399530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f9d3889c370,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f9d386044b0,                                         ),                                     ),                                     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(             0x000055681347b010,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "content": SerField {                         key_py: Py(                             0x00007f3caba679b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "name": SerField {                         key_py: Py(                             0x00007f3cac956ea0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3cac9530c0,                                         ),                                     ),                                     serializer: Str(                                         StrSerializer,                                     ),                                 },                             ),                         ),                         required: true,                     },                     "lexer": SerField {                         key_py: Py(                             0x00007f3cab7a4e70,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007f3cab509030,                                         ),                                     ),                                     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(                                 0x00007f9d2d93bdf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f9d2d93bdb0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d38b679f0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f9d2d93be70,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f9d2d93be30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d39956ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d399530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d37822620,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f9d2d93beb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f9d2d93bef0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d3889c370,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f9d386044b0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f9d37822620,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055af92f0e040,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f9d37822620,         ),         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(                                 0x00007f3ca4e38b30,                             ),                             path: LookupPath(                                 [                                     S(                                         "content",                                         Py(                                             0x00007f3ca4e38af0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3caba679b0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_key: Simple {                             key: "name",                             py_key: Py(                                 0x00007f3ca4e38bb0,                             ),                             path: LookupPath(                                 [                                     S(                                         "name",                                         Py(                                             0x00007f3ca4e38b70,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cac956ea0,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3cac9530c0,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3caa74e570,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "lexer",                         lookup_key: Simple {                             key: "lexer",                             py_key: Py(                                 0x00007f3ca4e38bf0,                             ),                             path: LookupPath(                                 [                                     S(                                         "lexer",                                         Py(                                             0x00007f3ca4e38c30,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cab7a4e70,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007f3cab509030,                                     ),                                 ),                                 on_error: Raise,                                 validator: Str(                                     StrValidator {                                         strict: false,                                         coerce_numbers_to_str: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[str]",                                 undefined: Py(                                     0x00007f3caa74e570,                                 ),                             },                         ),                         frozen: false,                     },                 ],                 model_name: "PasteFile",                 extra_behavior: Ignore,                 extras_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,             },         ),         class: Py(             0x000055681347b010,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3caa74e570,         ),         name: "PasteFile",     }, ), definitions=[], cache_strings=True)

    The pydantic-core SchemaValidator used to validate instances of the model.

    @@ -565,26 +586,12 @@

    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.

    -
    -
    @@ -595,8 +602,8 @@
    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.

    @@ -618,9 +625,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.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:94212572907936', '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:93905488429264', '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.

    @@ -643,6 +656,13 @@

    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]
    @@ -676,13 +696,13 @@
    -__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x000055af92f109a0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007f9d2e33cbb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007f9d398ac2a0,                         ),                         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(             0x000055681347c0d0,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "removal": SerField {                         key_py: Py(                             0x00007f3ca59a2eb0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Str(                                 StrSerializer,                             ),                         ),                         required: true,                     },                     "link": SerField {                         key_py: Py(                             0x00007f3cac8ac2a0,                         ),                         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(                                 0x00007f9d2d93a7f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f9d2d93a7b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d398ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f9d2d93a870,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f9d2d93a830,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f9d2e33cbb0,                         ),                         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(             0x000055af92f109a0,         ),         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f9d37822620,         ),         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(                                 0x00007f3ca4e53870,                             ),                             path: LookupPath(                                 [                                     S(                                         "link",                                         Py(                                             0x00007f3ca4e53830,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3cac8ac2a0,                         ),                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "removal",                         lookup_key: Simple {                             key: "removal",                             py_key: Py(                                 0x00007f3ca4e538f0,                             ),                             path: LookupPath(                                 [                                     S(                                         "removal",                                         Py(                                             0x00007f3ca4e538b0,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007f3ca59a2eb0,                         ),                         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(             0x000055681347c0d0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007f3caa74e570,         ),         name: "PasteResponse",     }, ), definitions=[], cache_strings=True)

    The pydantic-core SchemaValidator used to validate instances of the model.

    @@ -692,46 +712,32 @@

    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.

    @@ -742,15 +748,15 @@
    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:
    @@ -827,10 +833,12 @@
  • 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__
  • @@ -839,19 +847,19 @@
  • PasteFile.__pydantic_serializer__
  • PasteFile.__pydantic_validator__
  • PasteFile.__signature__
  • -
  • PasteFile.model_computed_fields
  • PasteFile.model_config
  • -
  • PasteFile.model_fields
  • PasteResponse
  • PasteTooLongError
  • @@ -881,7 +887,7 @@ - + diff --git a/v11.3.1/output/pydis_core.utils.regex.html b/v11.3.1/output/pydis_core.utils.regex.html index 88be6dee8..1cf32449f 100644 --- a/v11.3.1/output/pydis_core.utils.regex.html +++ b/v11.3.1/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -462,7 +470,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().

    @@ -557,7 +565,7 @@ - + diff --git a/v11.3.1/output/pydis_core.utils.scheduling.html b/v11.3.1/output/pydis_core.utils.scheduling.html index 1837aef17..1a3a39716 100644 --- a/v11.3.1/output/pydis_core.utils.scheduling.html +++ b/v11.3.1/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,7 +465,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 @@ -471,16 +479,16 @@

    __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.

    @@ -491,7 +499,7 @@

    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.

    @@ -502,10 +510,10 @@

    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

    @@ -516,7 +524,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -530,12 +538,12 @@
    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

    @@ -552,13 +560,13 @@
    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

    @@ -572,13 +580,13 @@
    Parameters:
      -
    • delay (float) – How long to wait before starting the task.

    • -
    • task_id (Hashable) – A unique ID to create the task with.

    • -
    • coroutine (Coroutine) – The function to be called.

    • +
    • delay (float) – How long to wait before starting the task.

    • +
    • task_id (Hashable) – A unique ID to create the task with.

    • +
    • coroutine (Coroutine) – The function to be called.

    Return type:
    -

    None

    +

    None

    @@ -588,23 +596,23 @@
    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

    @@ -690,7 +698,7 @@ - + diff --git a/v11.3.1/py-modindex.html b/v11.3.1/py-modindex.html index bbf200c9d..dceffe964 100644 --- a/v11.3.1/py-modindex.html +++ b/v11.3.1/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v11.3.1 + Python Module Index - Pydis Core v11.3.1 - + @@ -328,6 +328,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -634,7 +642,7 @@

    Python Module Index

    - + diff --git a/v11.3.1/search.html b/v11.3.1/search.html index b86d4087b..445130664 100644 --- a/v11.3.1/search.html +++ b/v11.3.1/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v11.3.1 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -489,7 +497,7 @@ - + diff --git a/v11.3.1/searchindex.js b/v11.3.1/searchindex.js index f34bbc394..4119636bf 100644 --- a/v11.3.1/searchindex.js +++ b/v11.3.1/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"Bot Core Project Documentation": [[2, null]], "Changelog": [[0, null]], "Extras": [[2, "extras"]], "Exts": [[5, null]], "Local Development & Testing": [[1, null]], "Modules:": [[2, null]], "Option 1": [[1, "option-1"]], "Option 2": [[1, "option-2"]], "Pydis Core": [[3, null]], "Reference": [[2, "reference"]], "Submodules": [[3, "submodules"], [7, "submodules"], [14, "submodules"]], "Subpackages": [[3, "subpackages"], [7, "subpackages"], [13, "subpackages"]], "Utils": [[7, null]], "abc": [[15, null]], "async_stats": [[4, null]], "caching": [[8, null]], "channel": [[9, null]], "checks": [[10, null]], "commands": [[11, null]], "commands package": [[14, null]], "cooldown": [[12, null]], "error_handling package": [[13, null]], "function": [[17, null]], "interactions": [[18, null]], "lock": [[19, null]], "logging": [[20, null]], "manager": [[16, null]], "members": [[21, null]], "messages": [[22, null]], "pagination": [[23, null]], "paste_service": [[24, null]], "regex": [[25, null]], "scheduling": [[26, null]], "site_api": [[6, null]]}, "docnames": ["changelog", "development", "index", "output/pydis_core", "output/pydis_core.async_stats", "output/pydis_core.exts", "output/pydis_core.site_api", "output/pydis_core.utils", "output/pydis_core.utils.caching", "output/pydis_core.utils.channel", "output/pydis_core.utils.checks", "output/pydis_core.utils.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.error_handling", "output/pydis_core.utils.error_handling.commands", "output/pydis_core.utils.error_handling.commands.abc", "output/pydis_core.utils.error_handling.commands.manager", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.lock", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "output/pydis_core.utils.messages", "output/pydis_core.utils.pagination", "output/pydis_core.utils.paste_service", "output/pydis_core.utils.regex", "output/pydis_core.utils.scheduling"], "envversion": {"sphinx": 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.error_handling.commands.rst", "output/pydis_core.utils.error_handling.commands.abc.rst", "output/pydis_core.utils.error_handling.commands.manager.rst", "output/pydis_core.utils.function.rst", "output/pydis_core.utils.interactions.rst", "output/pydis_core.utils.lock.rst", "output/pydis_core.utils.logging.rst", "output/pydis_core.utils.members.rst", "output/pydis_core.utils.messages.rst", "output/pydis_core.utils.pagination.rst", "output/pydis_core.utils.paste_service.rst", "output/pydis_core.utils.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__class_vars__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__class_vars__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__class_vars__", false]], "__class_vars__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.__contains__", false]], "__enter__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__enter__", false]], "__exit__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__exit__", false]], "__init__() (apiclient method)": [[6, "pydis_core.site_api.APIClient.__init__", false]], "__init__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__init__", false]], "__init__() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.__init__", false]], "__init__() (botbase method)": [[3, "pydis_core.BotBase.__init__", false]], "__init__() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.__init__", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.__init__", false]], "__init__() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (contextcheckfailure method)": [[10, "pydis_core.utils.checks.ContextCheckFailure.__init__", false]], "__init__() (deletemessagebutton method)": [[18, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (linepaginator method)": [[3, "pydis_core.LinePaginator.__init__", false], [23, "pydis_core.utils.pagination.LinePaginator.__init__", false]], "__init__() (lockedresourceerror method)": [[19, "pydis_core.utils.lock.LockedResourceError.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__private_attributes__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__private_attributes__", false]], "__private_attributes__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_complete__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_complete__", false]], "__pydantic_complete__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_core_schema__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_core_schema__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_custom_init__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_decorators__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_decorators__", false]], "__pydantic_decorators__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_extra__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_extra__", false]], "__pydantic_extra__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields_set__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields_set__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_generic_metadata__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_parent_namespace__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_post_init__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_post_init__", false]], "__pydantic_post_init__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_private__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_private__", false]], "__pydantic_private__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_serializer__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_serializer__", false]], "__pydantic_serializer__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_validator__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_validator__", false]], "__pydantic_validator__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__signature__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__signature__", false]], "__signature__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__signature__", false]], "__str__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__str__", false]], "abstractcommanderrorhandler (class in pydis_core.utils.error_handling.commands)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler", false]], "abstractcommanderrorhandler (class in pydis_core.utils.error_handling.commands.abc)": [[15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler", false]], "add_cog() (botbase method)": [[3, "pydis_core.BotBase.add_cog", false]], "add_command() (botbase method)": [[3, "pydis_core.BotBase.add_command", false]], "add_line() (linepaginator method)": [[3, "pydis_core.LinePaginator.add_line", false], [23, "pydis_core.utils.pagination.LinePaginator.add_line", false]], "all_extensions (botbase attribute)": [[3, "pydis_core.BotBase.all_extensions", false]], "api_client (botbase attribute)": [[3, "pydis_core.BotBase.api_client", false]], "apiclient (class in pydis_core.site_api)": [[6, "pydis_core.site_api.APIClient", false]], "apply_monkey_patches() (in module pydis_core.utils)": [[7, "pydis_core.utils.apply_monkey_patches", false]], "asynccache (class in pydis_core.utils.caching)": [[8, "pydis_core.utils.caching.AsyncCache", false]], "asyncstatsclient (class in pydis_core.async_stats)": [[4, "pydis_core.async_stats.AsyncStatsClient", false]], "block_duplicate_invocations() (in module pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[18, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[11, "pydis_core.utils.commands.clean_text_or_reply", false]], "clear() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.clear", false]], "clear() (botbase method)": [[3, "pydis_core.BotBase.clear", false]], "close() (apiclient method)": [[6, "pydis_core.site_api.APIClient.close", false]], "close() (botbase method)": [[3, "pydis_core.BotBase.close", false]], "command_wraps() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.command_wraps", false]], "commanderrormanager (class in pydis_core.utils.error_handling.commands)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager", false]], "commanderrormanager (class in pydis_core.utils.error_handling.commands.manager)": [[16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager", false]], "commandoncooldown": [[12, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "contextcheckfailure": [[10, "pydis_core.utils.checks.ContextCheckFailure", false]], "cooldown_with_role_bypass() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.cooldown_with_role_bypass", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[26, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.DISCORD_INVITE", false]], "emptypaginatorembederror": [[3, "pydis_core.EmptyPaginatorEmbedError", false], [23, "pydis_core.utils.pagination.EmptyPaginatorEmbedError", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.FORMATTED_CODE_REGEX", false]], "get() (apiclient method)": [[6, "pydis_core.site_api.APIClient.get", false]], "get_arg_value() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_arg_value", false]], "get_arg_value_wrapper() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_arg_value_wrapper", false]], "get_bound_args() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_bound_args", false]], "get_logger() (in module pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.get_logger", false]], "get_or_fetch_channel() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.get_or_fetch_channel", false]], "get_or_fetch_member() (in module pydis_core.utils.members)": [[21, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[17, "pydis_core.utils.function.GlobalNameConflictError", false]], "guild_id (botbase attribute)": [[3, "pydis_core.BotBase.guild_id", false]], "handle_app_command_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.handle_app_command_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.handle_app_command_error", false]], "handle_error() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.handle_error", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.handle_error", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[13, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[21, "pydis_core.utils.members.handle_role_change", false]], "handle_text_command_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.handle_text_command_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.handle_text_command_error", false]], "has_any_role_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.has_any_role_check", false]], "has_no_roles_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.has_no_roles_check", false]], "http_session (botbase attribute)": [[3, "pydis_core.BotBase.http_session", false]], "id (lockedresourceerror attribute)": [[19, "pydis_core.utils.lock.LockedResourceError.id", false]], "in_whitelist_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.in_whitelist_check", false]], "interaction_check() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "inwhitelistcheckfailure": [[10, "pydis_core.utils.checks.InWhitelistCheckFailure", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "linepaginator (class in pydis_core)": [[3, "pydis_core.LinePaginator", false]], "linepaginator (class in pydis_core.utils.pagination)": [[23, "pydis_core.utils.pagination.LinePaginator", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "lock() (in module pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.lock", false]], "lock_arg() (in module pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.lock_arg", false]], "lockedresourceerror": [[19, "pydis_core.utils.lock.LockedResourceError", false]], "log_format (in module pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.log_format", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "max_paste_size (in module pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.MAX_PASTE_SIZE", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", false]], "model_computed_fields (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_computed_fields", false], [23, "pydis_core.utils.pagination.PaginationEmojis.model_computed_fields", false]], "model_computed_fields (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.model_computed_fields", false]], "model_computed_fields (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.model_computed_fields", false]], "model_config (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_config", false], [23, "pydis_core.utils.pagination.PaginationEmojis.model_config", false]], "model_config (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "model_fields (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_fields", false], [23, "pydis_core.utils.pagination.PaginationEmojis.model_fields", false]], "model_fields (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.model_fields", false]], "model_fields (pasteresponse attribute)": [[24, "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.error_handling.commands", false], [15, "module-pydis_core.utils.error_handling.commands.abc", false], [16, "module-pydis_core.utils.error_handling.commands.manager", false], [17, "module-pydis_core.utils.function", false], [18, "module-pydis_core.utils.interactions", false], [19, "module-pydis_core.utils.lock", false], [20, "module-pydis_core.utils.logging", false], [21, "module-pydis_core.utils.members", false], [22, "module-pydis_core.utils.messages", false], [23, "module-pydis_core.utils.pagination", false], [24, "module-pydis_core.utils.paste_service", false], [25, "module-pydis_core.utils.regex", false], [26, "module-pydis_core.utils.scheduling", false]], "on_guild_available() (botbase method)": [[3, "pydis_core.BotBase.on_guild_available", false]], "on_guild_unavailable() (botbase method)": [[3, "pydis_core.BotBase.on_guild_unavailable", false]], "on_timeout() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.P", false]], "paginate() (linepaginator class method)": [[3, "pydis_core.LinePaginator.paginate", false], [23, "pydis_core.utils.pagination.LinePaginator.paginate", false]], "paginationemojis (class in pydis_core)": [[3, "pydis_core.PaginationEmojis", false]], "paginationemojis (class in pydis_core.utils.pagination)": [[23, "pydis_core.utils.pagination.PaginationEmojis", false]], "pastefile (class in pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[24, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[24, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[24, "pydis_core.utils.paste_service.PasteUploadError", false]], "patch() (apiclient method)": [[6, "pydis_core.site_api.APIClient.patch", false]], "ping_services() (botbase method)": [[3, "pydis_core.BotBase.ping_services", false]], "post() (apiclient method)": [[6, "pydis_core.site_api.APIClient.post", false]], "process_commands() (botbase method)": [[3, "pydis_core.BotBase.process_commands", false]], "put() (apiclient method)": [[6, "pydis_core.site_api.APIClient.put", false]], "pydis_core": [[3, "module-pydis_core", false]], "pydis_core.async_stats": [[4, "module-pydis_core.async_stats", false]], "pydis_core.exts": [[5, "module-pydis_core.exts", false]], "pydis_core.site_api": [[6, "module-pydis_core.site_api", false]], "pydis_core.utils": [[7, "module-pydis_core.utils", false]], "pydis_core.utils.caching": [[8, "module-pydis_core.utils.caching", false]], "pydis_core.utils.channel": [[9, "module-pydis_core.utils.channel", false]], "pydis_core.utils.checks": [[10, "module-pydis_core.utils.checks", false]], "pydis_core.utils.commands": [[11, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[12, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[13, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.error_handling.commands": [[14, "module-pydis_core.utils.error_handling.commands", false]], "pydis_core.utils.error_handling.commands.abc": [[15, "module-pydis_core.utils.error_handling.commands.abc", false]], "pydis_core.utils.error_handling.commands.manager": [[16, "module-pydis_core.utils.error_handling.commands.manager", false]], "pydis_core.utils.function": [[17, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[18, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.lock": [[19, "module-pydis_core.utils.lock", false]], "pydis_core.utils.logging": [[20, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[21, "module-pydis_core.utils.members", false]], "pydis_core.utils.messages": [[22, "module-pydis_core.utils.messages", false]], "pydis_core.utils.pagination": [[23, "module-pydis_core.utils.pagination", false]], "pydis_core.utils.paste_service": [[24, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[25, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[26, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.RAW_CODE_REGEX", false]], "reaction_check() (in module pydis_core.utils.messages)": [[22, "pydis_core.utils.messages.reaction_check", false]], "redis_session (botbase attribute)": [[3, "pydis_core.BotBase.redis_session", false]], "register_command_error_manager() (botbase method)": [[3, "pydis_core.BotBase.register_command_error_manager", false]], "register_handler() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.register_handler", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.register_handler", false]], "remove_command() (botbase method)": [[3, "pydis_core.BotBase.remove_command", false]], "request() (apiclient method)": [[6, "pydis_core.site_api.APIClient.request", false]], "responsecodeerror": [[6, "pydis_core.site_api.ResponseCodeError", false]], "schedule() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[26, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.send_to_paste_service", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "sharedevent (class in pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.SharedEvent", false]], "should_handle_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.should_handle_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.should_handle_error", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "stats (botbase attribute)": [[3, "pydis_core.BotBase.stats", false]], "statsd_url (botbase attribute)": [[3, "pydis_core.BotBase.statsd_url", false]], "stop() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[20, "pydis_core.utils.logging.CustomLogger.trace", false]], "type (lockedresourceerror attribute)": [[19, "pydis_core.utils.lock.LockedResourceError.type", false]], "unqualify() (in module pydis_core.utils)": [[7, "pydis_core.utils.unqualify", false]], "update_wrapper_globals() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.update_wrapper_globals", false]], "user_has_access() (in module pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.user_has_access", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck", false]], "wait() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.wait", false]], "wait_until_guild_available() (botbase method)": [[3, "pydis_core.BotBase.wait_until_guild_available", false]]}, "objects": {"": [[3, 0, 0, "-", "pydis_core"]], "pydis_core": [[3, 1, 1, "", "BotBase"], [3, 4, 1, "", "EmptyPaginatorEmbedError"], [3, 1, 1, "", "LinePaginator"], [3, 1, 1, "", "PaginationEmojis"], [3, 4, 1, "", "StartupError"], [4, 0, 0, "-", "async_stats"], [5, 0, 0, "-", "exts"], [6, 0, 0, "-", "site_api"], [7, 0, 0, "-", "utils"]], "pydis_core.BotBase": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_cog"], [3, 2, 1, "", "add_command"], [3, 3, 1, "", "all_extensions"], [3, 3, 1, "", "api_client"], [3, 2, 1, "", "clear"], [3, 2, 1, "", "close"], [3, 3, 1, "", "guild_id"], [3, 3, 1, "", "http_session"], [3, 2, 1, "", "load_extensions"], [3, 2, 1, "", "log_to_dev_log"], [3, 2, 1, "", "on_guild_available"], [3, 2, 1, "", "on_guild_unavailable"], [3, 2, 1, "", "ping_services"], [3, 2, 1, "", "process_commands"], [3, 3, 1, "", "redis_session"], [3, 2, 1, "", "register_command_error_manager"], [3, 2, 1, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 3, 1, "", "stats"], [3, 3, 1, "", "statsd_url"], [3, 2, 1, "", "wait_until_guild_available"]], "pydis_core.LinePaginator": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_line"], [3, 2, 1, "", "paginate"]], "pydis_core.PaginationEmojis": [[3, 3, 1, "", "__class_vars__"], [3, 3, 1, "", "__private_attributes__"], [3, 3, 1, "", "__pydantic_complete__"], [3, 3, 1, "", "__pydantic_core_schema__"], [3, 3, 1, "", "__pydantic_custom_init__"], [3, 3, 1, "", "__pydantic_decorators__"], [3, 3, 1, "", "__pydantic_extra__"], [3, 3, 1, "", "__pydantic_fields_set__"], [3, 3, 1, "", "__pydantic_generic_metadata__"], [3, 3, 1, "", "__pydantic_parent_namespace__"], [3, 3, 1, "", "__pydantic_post_init__"], [3, 3, 1, "", "__pydantic_private__"], [3, 3, 1, "", "__pydantic_serializer__"], [3, 3, 1, "", "__pydantic_validator__"], [3, 3, 1, "", "__signature__"], [3, 3, 1, "", "model_computed_fields"], [3, 3, 1, "", "model_config"], [3, 3, 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, 4, 1, "", "ResponseCodeError"]], "pydis_core.site_api.APIClient": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "close"], [6, 2, 1, "", "delete"], [6, 2, 1, "", "get"], [6, 2, 1, "", "maybe_raise_for_status"], [6, 2, 1, "", "patch"], [6, 2, 1, "", "post"], [6, 2, 1, "", "put"], [6, 2, 1, "", "request"]], "pydis_core.site_api.ResponseCodeError": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "__str__"]], "pydis_core.utils": [[7, 5, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "checks"], [11, 0, 0, "-", "commands"], [12, 0, 0, "-", "cooldown"], [13, 0, 0, "-", "error_handling"], [17, 0, 0, "-", "function"], [18, 0, 0, "-", "interactions"], [19, 0, 0, "-", "lock"], [20, 0, 0, "-", "logging"], [21, 0, 0, "-", "members"], [22, 0, 0, "-", "messages"], [23, 0, 0, "-", "pagination"], [24, 0, 0, "-", "paste_service"], [25, 0, 0, "-", "regex"], [26, 0, 0, "-", "scheduling"], [7, 5, 1, "", "unqualify"]], "pydis_core.utils.caching": [[8, 1, 1, "", "AsyncCache"]], "pydis_core.utils.caching.AsyncCache": [[8, 2, 1, "", "__call__"], [8, 2, 1, "", "__init__"], [8, 2, 1, "", "clear"]], "pydis_core.utils.channel": [[9, 5, 1, "", "get_or_fetch_channel"], [9, 5, 1, "", "is_in_category"]], "pydis_core.utils.checks": [[10, 4, 1, "", "ContextCheckFailure"], [10, 4, 1, "", "InWhitelistCheckFailure"], [10, 5, 1, "", "cooldown_with_role_bypass"], [10, 5, 1, "", "has_any_role_check"], [10, 5, 1, "", "has_no_roles_check"], [10, 5, 1, "", "in_whitelist_check"]], "pydis_core.utils.checks.ContextCheckFailure": [[10, 2, 1, "", "__init__"]], "pydis_core.utils.commands": [[11, 5, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[12, 4, 1, "", "CommandOnCooldown"], [12, 6, 1, "", "P"], [12, 1, 1, "", "R"], [12, 5, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[12, 2, 1, "", "__init__"], [12, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[14, 0, 0, "-", "commands"], [13, 5, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.error_handling.commands": [[14, 1, 1, "", "AbstractCommandErrorHandler"], [14, 1, 1, "", "CommandErrorManager"], [15, 0, 0, "-", "abc"], [16, 0, 0, "-", "manager"]], "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler": [[14, 2, 1, "", "handle_app_command_error"], [14, 2, 1, "", "handle_text_command_error"], [14, 2, 1, "", "should_handle_error"]], "pydis_core.utils.error_handling.commands.CommandErrorManager": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "handle_error"], [14, 2, 1, "", "register_handler"]], "pydis_core.utils.error_handling.commands.abc": [[15, 1, 1, "", "AbstractCommandErrorHandler"]], "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler": [[15, 2, 1, "", "handle_app_command_error"], [15, 2, 1, "", "handle_text_command_error"], [15, 2, 1, "", "should_handle_error"]], "pydis_core.utils.error_handling.commands.manager": [[16, 1, 1, "", "CommandErrorManager"]], "pydis_core.utils.error_handling.commands.manager.CommandErrorManager": [[16, 2, 1, "", "__init__"], [16, 2, 1, "", "handle_error"], [16, 2, 1, "", "register_handler"]], "pydis_core.utils.function": [[17, 4, 1, "", "GlobalNameConflictError"], [17, 5, 1, "", "command_wraps"], [17, 5, 1, "", "get_arg_value"], [17, 5, 1, "", "get_arg_value_wrapper"], [17, 5, 1, "", "get_bound_args"], [17, 5, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[18, 1, 1, "", "DeleteMessageButton"], [18, 1, 1, "", "ViewWithUserAndRoleCheck"], [18, 5, 1, "", "user_has_access"]], "pydis_core.utils.interactions.DeleteMessageButton": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "interaction_check"], [18, 2, 1, "", "on_timeout"], [18, 2, 1, "", "stop"]], "pydis_core.utils.lock": [[19, 4, 1, "", "LockedResourceError"], [19, 1, 1, "", "SharedEvent"], [19, 5, 1, "", "lock"], [19, 5, 1, "", "lock_arg"]], "pydis_core.utils.lock.LockedResourceError": [[19, 2, 1, "", "__init__"], [19, 3, 1, "", "id"], [19, 3, 1, "", "type"]], "pydis_core.utils.lock.SharedEvent": [[19, 2, 1, "", "__enter__"], [19, 2, 1, "", "__exit__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "wait"]], "pydis_core.utils.logging": [[20, 1, 1, "", "CustomLogger"], [20, 5, 1, "", "get_logger"], [20, 6, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[20, 2, 1, "", "trace"]], "pydis_core.utils.members": [[21, 5, 1, "", "get_or_fetch_member"], [21, 5, 1, "", "handle_role_change"]], "pydis_core.utils.messages": [[22, 5, 1, "", "reaction_check"]], "pydis_core.utils.pagination": [[23, 4, 1, "", "EmptyPaginatorEmbedError"], [23, 1, 1, "", "LinePaginator"], [23, 1, 1, "", "PaginationEmojis"]], "pydis_core.utils.pagination.LinePaginator": [[23, 2, 1, "", "__init__"], [23, 2, 1, "", "add_line"], [23, 2, 1, "", "paginate"]], "pydis_core.utils.pagination.PaginationEmojis": [[23, 3, 1, "", "__class_vars__"], [23, 3, 1, "", "__private_attributes__"], [23, 3, 1, "", "__pydantic_complete__"], [23, 3, 1, "", "__pydantic_core_schema__"], [23, 3, 1, "", "__pydantic_custom_init__"], [23, 3, 1, "", "__pydantic_decorators__"], [23, 3, 1, "", "__pydantic_extra__"], [23, 3, 1, "", "__pydantic_fields_set__"], [23, 3, 1, "", "__pydantic_generic_metadata__"], [23, 3, 1, "", "__pydantic_parent_namespace__"], [23, 3, 1, "", "__pydantic_post_init__"], [23, 3, 1, "", "__pydantic_private__"], [23, 3, 1, "", "__pydantic_serializer__"], [23, 3, 1, "", "__pydantic_validator__"], [23, 3, 1, "", "__signature__"], [23, 3, 1, "", "model_computed_fields"], [23, 3, 1, "", "model_config"], [23, 3, 1, "", "model_fields"]], "pydis_core.utils.paste_service": [[24, 6, 1, "", "MAX_PASTE_SIZE"], [24, 1, 1, "", "PasteFile"], [24, 1, 1, "", "PasteResponse"], [24, 4, 1, "", "PasteTooLongError"], [24, 4, 1, "", "PasteUnsupportedLexerError"], [24, 4, 1, "", "PasteUploadError"], [24, 5, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[24, 3, 1, "", "__class_vars__"], [24, 3, 1, "", "__private_attributes__"], [24, 3, 1, "", "__pydantic_complete__"], [24, 3, 1, "", "__pydantic_core_schema__"], [24, 3, 1, "", "__pydantic_custom_init__"], [24, 3, 1, "", "__pydantic_decorators__"], [24, 3, 1, "", "__pydantic_extra__"], [24, 3, 1, "", "__pydantic_fields_set__"], [24, 3, 1, "", "__pydantic_generic_metadata__"], [24, 3, 1, "", "__pydantic_parent_namespace__"], [24, 3, 1, "", "__pydantic_post_init__"], [24, 3, 1, "", "__pydantic_private__"], [24, 3, 1, "", "__pydantic_serializer__"], [24, 3, 1, "", "__pydantic_validator__"], [24, 3, 1, "", "__signature__"], [24, 3, 1, "", "model_computed_fields"], [24, 3, 1, "", "model_config"], [24, 3, 1, "", "model_fields"]], "pydis_core.utils.paste_service.PasteResponse": [[24, 3, 1, "", "__class_vars__"], [24, 3, 1, "", "__private_attributes__"], [24, 3, 1, "", "__pydantic_complete__"], [24, 3, 1, "", "__pydantic_core_schema__"], [24, 3, 1, "", "__pydantic_custom_init__"], [24, 3, 1, "", "__pydantic_decorators__"], [24, 3, 1, "", "__pydantic_extra__"], [24, 3, 1, "", "__pydantic_fields_set__"], [24, 3, 1, "", "__pydantic_generic_metadata__"], [24, 3, 1, "", "__pydantic_parent_namespace__"], [24, 3, 1, "", "__pydantic_post_init__"], [24, 3, 1, "", "__pydantic_private__"], [24, 3, 1, "", "__pydantic_serializer__"], [24, 3, 1, "", "__pydantic_validator__"], [24, 3, 1, "", "__signature__"], [24, 3, 1, "", "model_computed_fields"], [24, 3, 1, "", "model_config"], [24, 3, 1, "", "model_fields"]], "pydis_core.utils.regex": [[25, 6, 1, "", "DISCORD_INVITE"], [25, 6, 1, "", "FORMATTED_CODE_REGEX"], [25, 6, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[26, 1, 1, "", "Scheduler"], [26, 5, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[26, 2, 1, "", "__contains__"], [26, 2, 1, "", "__init__"], [26, 2, 1, "", "cancel"], [26, 2, 1, "", "cancel_all"], [26, 2, 1, "", "schedule"], [26, 2, 1, "", "schedule_at"], [26, 2, 1, "", "schedule_later"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "exception", "Python exception"], "5": ["py", "function", "Python function"], "6": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:exception", "5": "py:function", "6": "py:data"}, "terms": {"": [0, 1, 3, 7, 8, 10, 11, 12, 17, 18, 19, 20, 22, 23, 24, 25, 26], "0": [0, 8, 10, 18, 19, 20], "0a0": 0, "0eb3d26": 0, "0x000055af92b4f680": 23, "0x000055af92b53ea0": 3, "0x000055af92f0e040": 24, "0x000055af92f109a0": 24, "0x00007f9d2d93a7b0": 24, "0x00007f9d2d93a7f0": 24, "0x00007f9d2d93a830": 24, "0x00007f9d2d93a870": 24, "0x00007f9d2d93bdb0": 24, "0x00007f9d2d93bdf0": 24, "0x00007f9d2d93be30": 24, "0x00007f9d2d93be70": 24, "0x00007f9d2d93beb0": 24, "0x00007f9d2d93bef0": 24, "0x00007f9d2e2e43f0": 3, "0x00007f9d2e2e4770": 3, "0x00007f9d2e2e4a70": 3, "0x00007f9d2e2e5f30": 3, "0x00007f9d2e2e6230": 3, "0x00007f9d2e2e7cb0": 3, "0x00007f9d2e2e7eb0": 3, "0x00007f9d2e2e7f70": 3, "0x00007f9d2e33cbb0": 24, "0x00007f9d2e5e8330": 23, "0x00007f9d2e5e8930": 23, "0x00007f9d2e5ea2b0": 23, "0x00007f9d2e5eaab0": 23, "0x00007f9d2e646bf0": 23, "0x00007f9d2e646d70": 23, "0x00007f9d2e646e30": 23, "0x00007f9d2ecd6e70": 3, "0x00007f9d2ecd6ec0": 3, "0x00007f9d2ecd6f10": 3, "0x00007f9d2ecd6f60": 3, "0x00007f9d2ecd6fb0": 3, "0x00007f9d2eea4170": 23, "0x00007f9d2eea41c0": 23, "0x00007f9d2eea4210": 23, "0x00007f9d2eea4260": 23, "0x00007f9d2eea42b0": 23, "0x00007f9d3412cbf0": 3, "0x00007f9d3456cbb0": 3, "0x00007f9d3459f0b0": 23, "0x00007f9d346bec70": 23, "0x00007f9d35f22970": [3, 23], "0x00007f9d37822510": 23, "0x00007f9d37822620": 24, "0x00007f9d386044b0": 24, "0x00007f9d3889c370": 24, "0x00007f9d38b679f0": 24, "0x00007f9d38f796f0": [3, 23], "0x00007f9d38f79730": [3, 23], "0x00007f9d38fd2270": [3, 23], "0x00007f9d38ff48b0": [3, 23], "0x00007f9d39360eb0": [3, 23], "0x00007f9d398ac2a0": 24, "0x00007f9d399530c0": 24, "0x00007f9d39956ea0": 24, "1": [0, 20], "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, "15": 0, "151": 0, "157": 0, "158": 0, "162": 0, "169": 0, "16th": 0, "170": 0, "171": 0, "172": 0, "173": 0, "174": 0, "175": 0, "176": 0, "177": 0, "179": 0, "17th": 0, "180": 18, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "189": 0, "18th": 0, "190": 0, "192": 0, "194": 0, "195": 0, "196": 0, "197": 0, "199": 0, "19th": 0, "2": [0, 3, 18, 24], "200": 0, "202": 0, "2021": 0, "2022": 0, "2023": 0, "2024": 0, "204": [0, 6], "205": 0, "206": 0, "207": 0, "208": 0, "209": 0, "20th": 0, "210": 0, "21st": 0, "22nd": 0, "23rd": 0, "244": 0, "24th": 0, "254": 0, "25th": 0, "26th": 0, "27th": 0, "28th": 0, "29": 0, "2nd": 0, "3": [0, 24], "30": 0, "300": [3, 23], "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "4000": [3, 23], "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 3, 12, 23], "500": [3, 23], "524288": 24, "54": 0, "56": 0, "561": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "637136429717389331": [3, 23], "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "6th": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "90001": [0, 13], "91": 0, "93": 0, "94212568970880": 23, "94212568989344": 3, "94212572897344": 24, "94212572907936": 24, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 23, 24, 26], "As": 0, "Be": 0, "For": 17, "If": [3, 6, 10, 12, 17, 18, 19, 22, 23, 26], "In": [3, 23], "It": [3, 7, 19, 23], "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 20, 21, 23, 24, 26], "These": [3, 23], "To": [1, 3, 20], "_": 0, "__annotations__": 17, "__args__": [3, 23, 24], "__call__": [7, 8], "__class_vars__": [2, 3, 7, 23, 24], "__contains__": [7, 26], "__dict__": 17, "__doc__": 17, "__enter__": [7, 19], "__exit__": [7, 19], "__fields__": [3, 23, 24], "__get_pydantic_json_schema__": [3, 23, 24], "__global__": 17, "__init__": [0, 2, 3, 4, 6, 7, 8, 10, 12, 13, 14, 16, 18, 19, 23, 24, 26], "__module__": 17, "__name__": 17, "__origin__": [3, 23, 24], "__parameters__": [3, 23, 24], "__private_attributes__": [2, 3, 7, 23, 24], "__pydantic_complete__": [2, 3, 7, 23, 24], "__pydantic_core_schema__": [2, 3, 7, 23, 24], "__pydantic_custom_init__": [2, 3, 7, 23, 24], "__pydantic_decorators__": [2, 3, 7, 23, 24], "__pydantic_extra__": [2, 3, 7, 23, 24], "__pydantic_fields_set__": [2, 3, 7, 23, 24], "__pydantic_generic_metadata__": [2, 3, 7, 23, 24], "__pydantic_parent_namespace__": [2, 3, 7, 23, 24], "__pydantic_post_init__": [2, 3, 7, 23, 24], "__pydantic_private__": [2, 3, 7, 23, 24], "__pydantic_serializer__": [2, 3, 7, 23, 24], "__pydantic_validator__": [2, 3, 7, 23, 24], "__qualname__": 17, "__root_validators__": [3, 23, 24], "__signature__": [2, 3, 7, 23, 24], "__str__": [3, 6], "__validators__": [3, 23, 24], "_decor": [3, 23, 24], "_exc_tb": 19, "_exc_typ": 19, "_exc_val": 19, "_gener": [3, 23, 24], "_guild_avail": 0, "_p": 17, "_r": 17, "_transport": 0, "abc": [0, 13, 14], "abl": 0, "about": [3, 12, 23, 24], "abstract": [0, 14, 15], "abstractcommanderrorhandl": [0, 7, 13, 14, 15], "abstracteventloop": [4, 26], "accept": [17, 18], "access": 18, "acquir": 19, "across": [0, 3, 20, 23], "act": 7, "action": 0, "activ": 19, "actual": 0, "ad": [0, 1, 3, 7, 18, 20, 23], "add": [0, 3, 10, 12, 23], "add_cog": [2, 3], "add_command": [2, 3], "add_lin": [2, 3, 7, 23], "add_rol": 21, "addit": 0, "after": [0, 3, 18, 23, 26], "again": 1, "aid": [3, 23], "aiodn": 0, "aiohttp": [0, 3, 6, 24], "alia": [3, 7, 12, 23, 24], "alias": [3, 7], "alias_pi": [3, 23, 24], "all": [0, 1, 3, 4, 7, 14, 16, 19, 20, 26], "all_command": 3, "all_extens": [2, 3], "allow": [0, 1, 3, 18, 22, 23, 24], "allow_mod": 22, "allowed_emoji": 22, "allowed_rol": [0, 1, 3, 18, 22, 23], "allowed_us": [0, 18, 22], "alpha": 0, "alreadi": [3, 23, 26], "also": [0, 3, 7, 17, 18, 19, 23], "alwai": 10, "among": 19, "amount": [3, 23], "an": [0, 1, 3, 4, 6, 7, 8, 9, 10, 14, 15, 17, 19, 20, 23, 24, 26], "ani": [3, 6, 10, 17, 19, 23, 24, 25, 26], "annot": [3, 17, 23, 24], "anymor": [3, 23], "anyth": [1, 24], "api": [0, 3, 6, 21], "api_cli": [0, 2, 3], "apicli": [0, 2, 3, 6], "app": [0, 3, 14, 15], "appear": 3, "append": [3, 23], "appli": [3, 7, 8, 10, 12, 19, 23, 24], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 17, 18, 22, 23, 24, 25], "arg": [3, 12, 17, 19, 20, 23, 24], "arg_offset": 8, "args_preprocessor": 12, "argument": [6, 7, 8, 11, 12, 17, 19, 20, 21], "around": 6, "assign": 17, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21, 23, 24], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 26], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 19, 21, 23], "attr": 0, "attribut": [0, 3, 7, 17, 23, 24], "august": 0, "authent": 6, "author": [3, 10, 22, 23], "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 3, 23, 24], "avail": [0, 3, 14, 16, 19], "avoid": [0, 3, 23], "await": [0, 3, 12, 18, 19, 21, 23], "awar": [0, 26], "back": 0, "backtick": [3, 23], "bad": 0, "badargu": 11, "base": [0, 3, 4, 6, 8, 10, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 26], "basemodel": [3, 23, 24], "basic": [0, 18], "becaus": [3, 17], "becom": [3, 19], "been": [0, 3], "befor": [0, 3, 10, 18, 19, 23, 26], "before_invok": 10, "behav": 17, "behavior": 10, "behaviour": [0, 3], "being": [0, 7, 10, 21], "belong": 3, "below": [1, 19], "best": [3, 23], "between": [0, 1, 17], "bind": [3, 17], "block": [0, 3, 12, 23, 25], "block_duplicate_invoc": [3, 7, 12], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 10, 12, 14, 15, 18, 19, 22, 23, 24, 26], "bot": [0, 1, 3, 7, 9, 22], "bot_token": 1, "botbas": [0, 2, 3], "both": [0, 1, 3, 24], "bound": [3, 23, 24], "boundari": [3, 23], "break": [0, 3, 17, 23], "broke": 0, "buckettyp": 10, "bug": 0, "build": [3, 23, 24], "bump": 0, "button": [0, 18], "buttonstyl": 18, "bypass": 10, "bypass_rol": 10, "byte": 24, "cach": [0, 3, 7, 9, 21], "cache_str": [3, 23, 24], "calcul": 26, "call": [0, 3, 12, 17, 26], "call_without_cooldown": [7, 12], "callabl": [8, 10, 12, 17, 19, 21], "callback": [7, 10, 18], "can": [0, 1, 3, 10, 18, 19, 20, 23, 26], "cancel": [7, 26], "cancel_al": [7, 26], "cannot": [0, 3, 19, 23], "capabl": [14, 16], "captur": [0, 17, 25], "carri": 18, "case": [0, 3, 23], "categori": [9, 10], "category_id": 9, "caus": [3, 7, 23], "certain": [0, 1], "chang": [0, 1, 3, 17, 23], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 10, 12], "channel_id": 9, "charact": [0, 3, 23], "chardet": 0, "check": [0, 3, 6, 7, 9, 12, 13, 18, 22, 26], "checkfailur": 10, "choos": [14, 16], "chunk": 0, "ci": 0, "cl": [3, 23, 24], "class": [0, 3, 4, 6, 8, 12, 14, 15, 16, 18, 19, 20, 23, 24, 26], "classmethod": [3, 23], "classvar": [3, 23, 24], "clean": [0, 11], "clean_text_or_repli": [3, 7, 11], "clear": [2, 3, 7, 8, 19], "click": 18, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 24], "close": [0, 2, 3, 6, 26], "cloudflar": 7, "code": [0, 1, 3, 6, 19, 23, 25], "codepoint": [3, 23], "coerce_numbers_to_str": [3, 23, 24], "cog": [0, 3, 5], "collect": 10, "collis": 19, "com": [0, 24], "comma": 1, "command": [0, 1, 3, 7, 9, 10, 12, 13, 15, 16, 17, 19, 23], "command_wrap": [3, 7, 17], "commanderror": 12, "commanderrormanag": [0, 7, 13, 14, 16], "commandinvokeerror": 0, "commandoncooldown": [3, 7, 12], "commit": 0, "common": [0, 1, 3, 7, 20, 25], "commun": [3, 4], "complet": [3, 23, 24], "complianc": 0, "compos": 1, "comput": [3, 23, 24], "computed_field": [3, 23, 24], "computedfield": [3, 23, 24], "computedfieldinfo": [3, 23, 24], "concurr": 0, "config": [0, 3, 23, 24], "configdict": [3, 23, 24], "configur": [1, 3, 23, 24], "conflict": 17, "conform": [3, 23, 24], "connect": [0, 3, 4], "connector": 3, "constructor": [3, 6], "contain": [1, 3, 10, 18, 23, 24, 26], "content": [0, 3, 11, 23, 24], "context": [3, 10, 11, 14, 15, 19, 23], "context_or_interact": [14, 16], "contextcheckfailur": [3, 7, 10], "continu": [3, 23], "control": 0, "cooldown": [3, 7, 10], "cooldown_dur": 12, "cooldown_with_role_bypass": [3, 7, 10], "copi": [1, 17], "copy_default": [3, 23, 24], "core": [0, 1, 23, 24], "coreschema": [3, 23, 24], "coro": [19, 21, 26], "coroutin": [8, 19, 21, 26], "correct": [0, 1], "correspond": [3, 23, 24], "could": [0, 21], "count": 19, "crash": 0, "creat": [0, 3, 4, 8, 12, 17, 23, 26], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 26], "creation": 0, "criteria": 0, "ctx": [3, 10, 11, 18, 23], "current": [0, 3, 19, 23, 26], "custom": [0, 3, 8, 20, 23, 24], "custom_init": [3, 23, 24], "customlogg": [3, 7, 20], "cut": 0, "d": [1, 17], "dai": 0, "data": [3, 23, 24], "datetim": 26, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 3, 8, 10, 12, 17, 19, 23, 24], "decorator_func": 17, "decoratorinfo": [3, 23, 24], "decrement": 19, "default": [0, 1, 3, 10, 14, 16, 17, 23, 24], "defin": [3, 23, 24], "definit": [3, 23, 24], "delai": 26, "delet": [0, 3, 6, 8, 18, 23, 24], "deletemessagebutton": [0, 3, 7, 18], "depend": [0, 9], "deprec": 0, "describ": 10, "detail": 17, "detect": 0, "determin": [14, 15, 16], "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [3, 6, 17, 23, 24], "dictat": 0, "dictionari": [3, 23, 24], "did": 0, "directli": [0, 17], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 11, 13, 14, 16, 17, 21, 23, 25], "discord_invit": [0, 3, 7, 25], "disnak": 0, "distinguish": 26, "django": 6, "dm": 10, "do": [0, 1, 9, 19], "doc": [0, 19], "docker": 1, "docstr": 0, "document": 0, "doe": [0, 17], "doesn": [3, 10, 26], "don": [0, 10, 26], "done": [3, 18, 23, 26], "drop": 0, "due": 0, "dummi": [0, 3], "dump": [3, 23, 24], "duplic": [0, 12], "durat": 10, "dure": [3, 23, 24], "dynam": 0, "e": [3, 23], "each": [0, 3, 23], "edit": 3, "effort": [3, 23], "either": [0, 3], "els": 11, "elsewher": 26, "emb": [0, 3, 23], "emit": 3, "emoji": [0, 3, 22, 23], "empti": [3, 23], "emptypaginatorembederror": [2, 3, 7, 23], "enabl": [0, 1], "encount": 24, "end": [3, 23], "endpoint": 6, "ensur": [0, 3, 18, 25], "entir": [0, 3], "env": 1, "environ": [0, 1], "equival": 6, "error": [0, 3, 6, 7, 13, 14, 15, 16, 21, 24], "error_handl": [0, 3, 7], "etc": [1, 10], "evalu": 17, "even": 22, "event": [0, 3, 4, 19, 26], "event_loop": 26, "eventu": [3, 23, 24], "everi": [3, 23], "exact": 1, "exampl": [3, 23], "exc_info": 20, "exce": [3, 8, 23], "exceed": [3, 23], "except": [3, 6, 10, 12, 14, 16, 17, 19, 20, 23, 24, 26], "exception_on_empty_emb": [3, 23], "excess": [3, 23], "exclud": [3, 23, 24], "exclus": 19, "execut": [19, 26], "exist": [0, 1, 26], "exit": 19, "expect": 21, "expiri": 0, "explain": 0, "explicitli": [3, 23, 24], "expos": 19, "express": 25, "ext": [0, 2, 3, 7, 9, 10, 11, 23], "extend": 0, "extens": [0, 3], "extra": [0, 3, 6, 23, 24], "extra_behavior": [3, 23, 24], "extra_seri": [3, 23, 24], "extract": 0, "extras_valid": [3, 23, 24], "facilit": 0, "fail": [9, 10, 24], "fail_sil": 10, "failur": 21, "fakeredi": 0, "fals": [3, 10, 12, 19, 23, 24], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 21], "few": 1, "field": [3, 23, 24], "field_seri": [3, 23, 24], "field_valid": [3, 23, 24], "fieldinfo": [3, 23, 24], "fifo": 8, "file": [0, 1, 24], "filter": [0, 3, 23, 24], "finish": [3, 19, 23], "first": [3, 14, 16, 23], "five": [3, 23], "fix": 0, "float": [10, 12, 18, 26], "folder": 1, "footer": [3, 23], "footer_text": [3, 23], "forbidden": [0, 9, 13], "format": [24, 25], "formatt": 20, "formatted_code_regex": [3, 7, 25], "forum": 0, "forwardref": 17, "found": [3, 17, 21, 26], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 17, 18, 21, 23, 24, 26], "from_attribut": [3, 23, 24], "frozen": [3, 23, 24], "frozenset": [3, 17], "func": [17, 19], "function": [0, 3, 7, 8, 9, 12, 19, 20, 21, 23, 24, 26], "functool": [3, 17, 23, 24], "futur": [10, 26], "g": [3, 23], "gatewai": 3, "gener": [0, 3, 12, 23, 24, 26], "generalfieldsseri": [3, 23, 24], "get": [0, 3, 6, 9, 17, 21], "get_arg_valu": [3, 7, 17], "get_arg_value_wrapp": [3, 7, 17], "get_bound_arg": [3, 7, 17], "get_json_schema_update_func": [3, 23, 24], "get_logg": [3, 7, 20], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 21], "git": 1, "github": 0, "give": 3, "given": [0, 3, 4, 7, 9, 11, 17, 19, 20, 21, 26], "global": 17, "globalnameconflicterror": [3, 7, 17], "go": [1, 3, 19, 23], "greater": 24, "groundwork": 1, "group": [7, 25], "guild": [0, 1, 3, 10, 21], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 2, 3], "guildchannel": 9, "ha": [0, 3, 7, 10, 18, 23, 24], "handl": [0, 13, 14, 15, 16, 21, 26], "handle_app_command_error": [13, 14, 15], "handle_error": [13, 14, 16], "handle_forbidden_from_block": [3, 7, 13], "handle_role_chang": [0, 3, 7, 21], "handle_text_command_error": [13, 14, 15], "handler": [0, 3, 14, 15, 16], "happen": 3, "has_any_role_check": [3, 7, 10], "has_extra": [3, 23, 24], "has_no_roles_check": [3, 7, 10], "hashabl": [19, 26], "have": [0, 9, 10, 17, 20], "heavi": 7, "help": [0, 1], "helper": [0, 9, 12, 21], "hold": [3, 19, 23], "holder": 19, "hook": 0, "host": 4, "houston": 20, "how": [0, 8, 10, 17, 26], "howev": 1, "http": [0, 3, 6, 24, 25], "http_session": [2, 3, 24], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 10, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "icon": [3, 23], "icon_url": [3, 23], "id": [1, 3, 7, 9, 10, 18, 19, 23, 26], "identifi": [19, 26], "ignor": [1, 3, 7, 17, 22, 23, 24], "ignored_conflict_nam": 17, "immedi": 26, "implement": [0, 3, 4, 8, 18, 20], "import": 0, "in_whitelist": 10, "in_whitelist_check": [3, 7, 10], "inadequ": 3, "includ": [0, 1, 3, 13, 23, 24], "incorrect": 0, "increment": 19, "independantli": 0, "index": 2, "indic": [3, 21, 23], "individu": 3, "info": [0, 1], "inform": [2, 19, 20], "init": [0, 3, 4, 23, 24], "initi": [6, 26], "initialis": [3, 8], "input": 18, "insert": [3, 23], "insid": [3, 23], "inspect": [3, 23, 24], "instal": [0, 1], "instanc": [0, 3, 6, 8, 9, 10, 20, 23, 24, 26], "instanti": [3, 18, 23, 24, 26], "instead": [3, 12, 26], "int": [3, 4, 8, 9, 10, 17, 18, 23, 24], "intend": 21, "intent": 1, "interact": [0, 3, 7, 9, 14, 15, 23], "interactin": 21, "interaction_check": [7, 18], "interest": 20, "intern": [3, 7, 19], "intersphinx": 0, "introduc": 10, "invalid": 9, "invaliddata": 9, "invit": [0, 25], "invoc": [0, 12], "invok": [1, 10, 12, 18], "inwhitelistcheckfailur": [3, 7, 10], "is_in_categori": [3, 7, 9], "isn": [0, 13, 17], "issu": 10, "item": 8, "iter": [10, 12, 14, 16], "its": [0, 3, 12, 17], "itself": 18, "januari": 0, "json": 6, "json_schema_update_func": [3, 23, 24], "juli": 0, "june": 0, "just": 0, "keep": [3, 23, 26], "kei": [3, 8, 23, 24], "key_pi": [3, 23, 24], "keyword": [6, 7, 17, 20], "known": 26, "kwarg": [3, 6, 12, 17, 18, 20, 26], "label": [0, 18], "lancebot": 1, "larg": 24, "larger": 24, "last": [3, 10, 18, 23], "latest": 0, "lead": 0, "least": 10, "left": [3, 23], "length": [3, 12, 23], "level": [0, 7, 20], "lexer": [0, 24], "librari": [0, 1], "like": [1, 17], "limit": [3, 23], "line": [3, 23], "linepagin": [0, 2, 3, 7, 23], "linesep": [3, 23], "link": 24, "lint": 0, "list": [0, 1, 3, 18, 23, 24], "listen": 18, "liter": [3, 23, 24], "ll": [1, 26], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": [3, 23, 24], "local": [2, 3, 23, 24], "localhost": 4, "lock": [0, 3, 7], "lock_arg": [3, 7, 19], "lockedresourceerror": [3, 7, 19], "log": [0, 3, 7, 13, 21, 26], "log_format": [0, 3, 7, 20], "log_to_dev_log": [2, 3], "logger": [0, 20], "logic": 0, "long": [10, 24, 26], "longer": [0, 18], "look": [17, 26], "lookup_kei": [3, 23, 24], "lookuppath": [3, 23, 24], "loop": [4, 26], "lot": 0, "lru": 8, "lua": 0, "lupa": 0, "m": 1, "machin": 1, "made": [0, 22], "mai": [0, 3, 8, 19, 23, 24], "main": 0, "make": [0, 1, 3, 20, 23], "manag": [0, 3, 13, 14, 19], "mani": [0, 3, 8], "manipul": [0, 17], "manual": 3, "map": [3, 17, 19, 23, 24], "march": 0, "mark": 0, "match": [0, 3, 17], "max": 24, "max_length": 24, "max_lin": [3, 23], "max_paste_s": [3, 7, 24], "max_siz": [3, 8, 23, 24], "maximum": [3, 8, 23, 24], "maybe_raise_for_statu": [3, 6], "mean": 1, "meant": 0, "member": [0, 3, 7, 18], "member_id": 21, "mention": [1, 3], "messag": [0, 3, 7, 11, 12, 13, 18, 20, 23, 26], "message_id": 22, "message_typ": 0, "metadata": [3, 23, 24], "method": [0, 3, 4, 6, 7, 20, 23, 24], "metric": 3, "might": [1, 3, 10], "migrat": 0, "minut": [3, 23], "miss": 0, "mod": 0, "mode": [3, 23, 24], "model": [3, 23, 24], "model_computed_field": [2, 3, 7, 23, 24], "model_config": [2, 3, 7, 23, 24], "model_field": [2, 3, 7, 23, 24], "model_nam": [3, 23, 24], "model_post_init": [3, 23, 24], "model_seri": [3, 23, 24], "model_valid": [3, 23, 24], "modelfield": [3, 23, 24], "modelfieldsvalid": [3, 23, 24], "modelprivateattr": [3, 23, 24], "modelseri": [3, 23, 24], "modelvalid": [3, 23, 24], "moder": [3, 18, 22, 23], "modifi": [1, 21], "modify_model_json_schema": [3, 23, 24], "modul": [0, 3, 7, 17, 23, 24, 26], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [0, 1, 3, 17, 19, 23], "most": 1, "move": 0, "msg": 20, "multipl": 0, "multivers": 0, "must": [0, 17, 19, 26], "mutual": 19, "mypi": 20, "n": [3, 23], "name": [3, 7, 17, 19, 20, 23, 24, 26], "name_or_po": [17, 19], "name_pi": [3, 23, 24], "namespac": [0, 3, 19, 23, 24, 26], "navig": [0, 1, 3, 23], "na\u00efv": 26, "need": [0, 1, 3, 23], "never": [3, 23, 24], "new": [0, 1, 3, 4, 6, 8, 17, 23, 26], "newer": 0, "newli": 0, "next": [0, 3, 23], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "noreturn": [14, 15], "normal": 3, "notabl": 0, "note": [0, 10], "notfound": 9, "notic": 0, "notifi": 12, "novemb": 0, "now": [0, 1, 26], "number": [0, 3, 10, 23, 24], "object": [3, 6, 7, 8, 9, 12, 14, 16, 19, 21, 23, 24, 26], "occur": 18, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": [3, 23, 24], "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 18], "onc": [0, 3, 8], "one": [0, 3, 10, 14, 16, 23], "ones": 1, "onli": [0, 3, 18], "onto": [3, 23], "oper": [3, 19, 23, 26], "option": [0, 8, 17, 19], "order": [3, 8, 14, 16, 17, 19, 23, 26], "ordereddict": [17, 19], "origin": [0, 3, 18, 23, 24], "other": [0, 1, 19, 26], "otherwis": [10, 19, 26], "our": [0, 1, 7], "out": [0, 1, 3, 18], "output": 25, "over": [0, 3, 23], "overflow": [3, 23], "overrid": [3, 23], "overwrit": [0, 3], "own": [0, 17], "p": [3, 7, 12], "packag": [0, 3, 7], "page": [2, 3, 23], "pagin": [0, 2, 3, 7], "pagination_emoji": [3, 23], "paginationemoji": [2, 3, 7, 23], "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 19, 20, 21, 23, 24, 26], "paramspec": [12, 17], "parent": [0, 3, 18, 23, 24], "pars": 25, "partial": [3, 23, 24], "pass": [0, 3, 6, 17, 20, 21, 26], "past": [0, 24, 26], "paste_servic": [0, 3, 7], "paste_url": 24, "pastebin": 0, "pastefil": [0, 3, 7, 24], "pasterespons": [3, 7, 24], "pastetoolongerror": [3, 7, 24], "pasteunsupportedlexererror": [3, 7, 24], "pasteuploaderror": [3, 7, 24], "patch": [0, 3, 6, 7], "path": [1, 3, 23, 24], "pattern": 25, "pep": 0, "per": [3, 10, 23], "perform": 19, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "place": [3, 23], "pleas": 25, "pluggableschemavalid": [3, 23, 24], "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": [8, 17, 19], "possibl": 1, "post": [3, 6, 23, 24], "post_init": [3, 23, 24], "pre": 1, "predic": [0, 14, 15], "prefix": [1, 3, 4, 23], "prematur": 26, "press": 0, "prevent": [12, 19, 26], "previous": 0, "prioriti": [14, 16], "privat": [3, 23, 24], "privatechannel": [0, 9], "problem": [10, 20], "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 20], "provid": [0, 1, 3, 8, 11, 13, 23, 26], "public": 0, "publish": 0, "purpos": [3, 21, 23, 24], "push": 0, "put": [3, 6], "py": [0, 3, 17, 23, 24], "py_kei": [3, 23, 24], "pydant": [0, 3, 23, 24], "pydantic_js_annotation_funct": [3, 23, 24], "pydantic_js_funct": [3, 23, 24], "pydanticgenericmetadata": [3, 23, 24], "pydi": [0, 2], "pydis_cor": [0, 1, 3, 18, 20, 23, 24], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 24, 26], "pythondiscord": [0, 24], "qualifi": 7, "quot": 25, "r": [3, 7, 12], "rais": [3, 6, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21, 23, 24, 26], "raise_error": 19, "raise_for_statu": 6, "rate": 10, "rather": 7, "raw": [12, 25], "raw_code_regex": [3, 7, 25], "rc2": 0, "re": [1, 3, 13, 22, 26], "reach": 19, "reaction": [0, 3, 22, 23], "reaction_check": [0, 3, 7, 22], "read": 0, "readi": 3, "real": 0, "reason": [3, 23], "rebuild": [3, 23, 24], "receiv": [0, 6, 9], "recognis": 20, "reconnect": 0, "redi": [0, 3], "redirect": 10, "redirect_channel": 10, "redis_sess": [2, 3], "rediscach": 0, "redissess": 3, "ref": [3, 23, 24], "refer": 0, "referenc": 0, "reflect": 17, "regex": [0, 3, 7], "regist": [0, 14, 16], "register_command_error_manag": [2, 3], "register_handl": [13, 14, 16], "registr": [3, 14, 16], "regular": 25, "reinstal": 1, "reject": 24, "relat": [8, 14, 16, 20], "releas": 0, "relev": 3, "reli": 0, "remain": [3, 23], "remov": [0, 3, 18, 22, 23, 24], "remove_command": [2, 3], "remove_rol": 21, "renam": 0, "replac": [3, 10, 17, 23, 24], "repli": [3, 11, 12, 13, 23], "repo": 0, "represent": 6, "request": [0, 3, 6, 25], "requir": [0, 1, 3, 23, 24, 26], "required_field": [3, 23, 24], "resolut": 0, "resolv": [3, 17], "resourc": 19, "resource_id": 19, "resource_typ": 19, "respons": [0, 6, 24], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "restrict": [0, 3, 23], "restrict_to_us": [3, 23], "result": [0, 26], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "reusabl": 5, "revalid": [3, 23, 24], "revert": 0, "right": [0, 3, 23], "role": [0, 1, 3, 10, 18, 21, 22, 23], "root": [1, 3, 7], "root_alias": 7, "root_model": [3, 23, 24], "root_valid": [3, 23, 24], "rout": 7, "ruff": 0, "rule": 0, "run": [0, 1, 12, 19, 26], "runtimeerror": 19, "safe": 0, "same": [12, 26], "sampl": 0, "sanitis": 25, "save": [0, 3, 24], "scale": [3, 23], "scale_to_s": [3, 23], "schedul": [0, 3, 7], "schedule_at": [7, 26], "schedule_lat": [7, 26], "schema": [3, 23, 24], "schemafilt": [3, 23, 24], "schemaseri": [3, 23, 24], "schemavalid": [3, 23, 24], "script": 0, "search": 2, "second": [3, 10, 12, 18, 23, 26], "secondari": 18, "see": [0, 1, 17, 18, 19], "self": [0, 3, 18], "send": [0, 3, 6, 18, 23], "send_notic": 12, "send_to_paste_servic": [0, 3, 7, 24], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [3, 7, 17, 18, 23], "serfield": [3, 23, 24], "serial": [3, 23, 24], "serv": [3, 23], "server": [3, 25], "servic": [0, 1, 3, 24], "session": [0, 3, 6, 24], "session_kwarg": 6, "set": [0, 1, 3, 12, 17, 18, 19, 23, 24], "set_author": [3, 23], "setup": [0, 3], "setup_hook": [2, 3], "sever": 20, "share": [0, 17], "sharedev": [3, 7, 19], "should": [0, 1, 3, 6, 14, 15, 18, 23, 24], "should_handle_error": [13, 14, 15, 16], "should_rais": 6, "signatur": [3, 12, 23, 24], "silent": 10, "similar": [3, 18, 23, 24, 25], "simpl": [3, 23, 24], "simpledict": [3, 23, 24], "sinc": 10, "singl": [0, 3, 23], "sir": 1, "site": [0, 3, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [3, 8, 23, 24], "so": [0, 1, 3, 7], "socket": 4, "sole": 21, "some": [0, 3, 23, 24], "someth": 25, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "specif": [0, 10], "specifi": [0, 10, 12, 18], "sphinx": 0, "split": 0, "stabl": 0, "standardis": [0, 20], "start": [0, 3, 26], "startup": 3, "startuperror": [2, 3], "stat": [0, 2, 3, 4], "state": 17, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 2, 3], "step": 1, "still": [3, 23, 24], "stop": [0, 7, 18], "store": [0, 3, 7, 8, 23], "str": [3, 4, 6, 7, 10, 11, 17, 18, 19, 20, 23, 24, 26], "strict": [3, 23, 24], "string": [0, 6], "strserial": [3, 23, 24], "strvalid": [3, 23, 24], "style": 18, "sub": [0, 3], "submodul": [2, 13], "subpackag": 2, "subtract": 26, "success": [0, 24], "suffix": [3, 23], "suggest": 26, "support": [0, 4, 7, 26], "suppressed_except": 26, "sure": 1, "switch": [3, 23], "sync": [0, 3], "sync_app_command": 3, "synthes": [3, 23, 24], "system": [0, 1, 14, 16], "t": [0, 3, 10, 11, 13, 17, 19, 26], "target": [0, 8], "task": [0, 26], "task_id": 26, "task_return": 26, "templat": 1, "test": 2, "text": [0, 3, 6, 11, 14, 15, 23, 24], "textchannel": 9, "than": [7, 24], "thei": [3, 17, 22], "them": [1, 3, 17, 26], "thi": [0, 1, 3, 7, 9, 10, 12, 17, 18, 19, 21, 23, 24, 25, 26], "thread": [0, 9], "three": [3, 23], "through": [14, 16, 19], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 10, 26], "timeout": [0, 3, 18, 23], "timezon": 26, "titl": [3, 23, 24], "token": [1, 6], "toml": [0, 1], "too": 24, "tool": [3, 7], "top": 7, "total": [3, 23], "trace": [0, 7, 20], "track": 26, "transport": 4, "trashcan": [3, 23], "tree": 3, "trigger": 10, "true": [3, 6, 10, 12, 19, 20, 22, 23, 24, 26], "truncat": [3, 23], "tupl": [17, 26], "turn": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "type_": 10, "typeerror": [10, 17], "typehint": 17, "typevar": [12, 17, 26], "u": [0, 3, 23], "ui": 18, "unavail": 3, "unawait": 26, "undefin": [3, 23, 24], "under": 7, "underli": 19, "union": 10, "uniqu": 26, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 26, "unsupport": 24, "unti": [3, 23], "until": [0, 3, 19, 25], "up": [0, 1, 3, 23], "updat": [0, 17], "update_wrapper_glob": [3, 7, 17], "upload": [0, 24], "upon": 0, "url": [0, 3, 6, 23, 24], "urllib": 25, "us": [0, 1, 3, 4, 6, 7, 9, 10, 12, 17, 19, 20, 21, 23, 24, 25, 26], "usag": 0, "user": [0, 3, 10, 12, 18, 22, 23], "user_has_access": [0, 3, 7, 18], "utc": 26, "util": [0, 1, 2, 3, 8, 17, 18, 20, 23, 24], "v1": [0, 3, 23, 24], "valid": [0, 3, 23, 24], "validate_default": [3, 23, 24], "valu": [3, 12, 17, 19, 20, 23, 24], "valueerror": [6, 17, 24], "vari": 1, "variabl": [1, 3, 23, 24], "variou": [0, 9], "verifi": 10, "version": [0, 11], "view": [0, 18], "viewwithuserandrolecheck": [0, 3, 7, 18], "wa": [0, 9, 10, 26], "wait": [0, 3, 7, 19, 26], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 26], "wasn": 11, "we": [20, 21], "websocket": 0, "were": 3, "what": 1, "when": [0, 3, 4, 6, 7, 8, 10, 12, 17, 19, 23, 24, 26], "where": 10, "whether": [0, 3, 6, 9, 10, 14, 15, 18, 23, 24], "which": [0, 1, 3, 7, 10, 12, 17, 19, 23, 26], "while": [3, 12, 19, 23], "whitelist": 10, "whitespac": [0, 25], "who": [0, 18], "whom": [3, 23], "withdefault": [3, 23, 24], "withdefaultseri": [3, 23, 24], "withdefaultvalid": [3, 23, 24], "within": [0, 3], "without": [0, 10], "won": 17, "word": [3, 23], "work": [0, 1], "worker": 7, "workflow": 0, "would": [3, 23], "wrap": [8, 17, 26], "wrapper": [0, 6, 12, 17, 26], "write": [0, 1], "wrong": 0, "www": 0, "x": 0, "you": [0, 1, 9, 25], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "checks", "commands", "cooldown", "error_handling package", "commands package", "abc", "manager", "function", "interactions", "lock", "logging", "members", "messages", "pagination", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "abc": 15, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "check": 10, "command": [11, 14], "cooldown": 12, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 13, "ext": 5, "extra": 2, "function": 17, "interact": 18, "local": 1, "lock": 19, "log": 20, "manag": 16, "member": 21, "messag": 22, "modul": 2, "option": 1, "packag": [13, 14], "pagin": 23, "paste_servic": 24, "project": 2, "pydi": 3, "refer": 2, "regex": 25, "schedul": 26, "site_api": 6, "submodul": [3, 7, 14], "subpackag": [3, 7, 13], "test": 1, "util": 7}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Bot Core Project Documentation": [[2, null]], "Changelog": [[0, null]], "Extras": [[2, "extras"]], "Exts": [[5, null]], "Local Development & Testing": [[1, null]], "Modules:": [[2, null]], "Option 1": [[1, "option-1"]], "Option 2": [[1, "option-2"]], "Pydis Core": [[3, null]], "Reference": [[2, "reference"]], "Submodules": [[3, "submodules"], [7, "submodules"], [14, "submodules"]], "Subpackages": [[3, "subpackages"], [7, "subpackages"], [13, "subpackages"]], "Utils": [[7, null]], "abc": [[15, null]], "async_stats": [[4, null]], "caching": [[8, null]], "channel": [[9, null]], "checks": [[10, null]], "commands": [[11, null]], "commands package": [[14, null]], "cooldown": [[12, null]], "error_handling package": [[13, null]], "function": [[17, null]], "interactions": [[18, null]], "lock": [[19, null]], "logging": [[20, null]], "manager": [[16, null]], "members": [[21, null]], "messages": [[22, null]], "pagination": [[23, null]], "paste_service": [[24, null]], "regex": [[25, null]], "scheduling": [[26, null]], "site_api": [[6, null]]}, "docnames": ["changelog", "development", "index", "output/pydis_core", "output/pydis_core.async_stats", "output/pydis_core.exts", "output/pydis_core.site_api", "output/pydis_core.utils", "output/pydis_core.utils.caching", "output/pydis_core.utils.channel", "output/pydis_core.utils.checks", "output/pydis_core.utils.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.error_handling", "output/pydis_core.utils.error_handling.commands", "output/pydis_core.utils.error_handling.commands.abc", "output/pydis_core.utils.error_handling.commands.manager", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.lock", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "output/pydis_core.utils.messages", "output/pydis_core.utils.pagination", "output/pydis_core.utils.paste_service", "output/pydis_core.utils.regex", "output/pydis_core.utils.scheduling"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2}, "filenames": ["changelog.rst", "development.rst", "index.rst", "output/pydis_core.rst", "output/pydis_core.async_stats.rst", "output/pydis_core.exts.rst", "output/pydis_core.site_api.rst", "output/pydis_core.utils.rst", "output/pydis_core.utils.caching.rst", "output/pydis_core.utils.channel.rst", "output/pydis_core.utils.checks.rst", "output/pydis_core.utils.commands.rst", "output/pydis_core.utils.cooldown.rst", "output/pydis_core.utils.error_handling.rst", "output/pydis_core.utils.error_handling.commands.rst", "output/pydis_core.utils.error_handling.commands.abc.rst", "output/pydis_core.utils.error_handling.commands.manager.rst", "output/pydis_core.utils.function.rst", "output/pydis_core.utils.interactions.rst", "output/pydis_core.utils.lock.rst", "output/pydis_core.utils.logging.rst", "output/pydis_core.utils.members.rst", "output/pydis_core.utils.messages.rst", "output/pydis_core.utils.pagination.rst", "output/pydis_core.utils.paste_service.rst", "output/pydis_core.utils.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__class_vars__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__class_vars__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__class_vars__", false]], "__class_vars__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__class_vars__", false]], "__class_vars__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__class_vars__", false]], "__contains__() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.__contains__", false]], "__enter__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__enter__", false]], "__exit__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__exit__", false]], "__init__() (apiclient method)": [[6, "pydis_core.site_api.APIClient.__init__", false]], "__init__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__init__", false]], "__init__() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.__init__", false]], "__init__() (botbase method)": [[3, "pydis_core.BotBase.__init__", false]], "__init__() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.__init__", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.__init__", false]], "__init__() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (contextcheckfailure method)": [[10, "pydis_core.utils.checks.ContextCheckFailure.__init__", false]], "__init__() (deletemessagebutton method)": [[18, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (linepaginator method)": [[3, "pydis_core.LinePaginator.__init__", false], [23, "pydis_core.utils.pagination.LinePaginator.__init__", false]], "__init__() (lockedresourceerror method)": [[19, "pydis_core.utils.lock.LockedResourceError.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", false]], "__private_attributes__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__private_attributes__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__private_attributes__", false]], "__private_attributes__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__private_attributes__", false]], "__private_attributes__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__private_attributes__", false]], "__pydantic_complete__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_complete__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_complete__", false]], "__pydantic_complete__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_complete__", false]], "__pydantic_complete__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_complete__", false]], "__pydantic_computed_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_computed_fields__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_computed_fields__", false]], "__pydantic_computed_fields__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_computed_fields__", false]], "__pydantic_core_schema__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_core_schema__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_core_schema__", false]], "__pydantic_core_schema__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_core_schema__", false]], "__pydantic_custom_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_custom_init__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_custom_init__", false]], "__pydantic_custom_init__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_custom_init__", false]], "__pydantic_decorators__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_decorators__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_decorators__", false]], "__pydantic_decorators__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_decorators__", false]], "__pydantic_decorators__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_decorators__", false]], "__pydantic_extra__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_extra__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_extra__", false]], "__pydantic_extra__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_extra__", false]], "__pydantic_extra__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_extra__", false]], "__pydantic_fields__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields__", false]], "__pydantic_fields__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields__", false]], "__pydantic_fields__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields__", false]], "__pydantic_fields_set__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_fields_set__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_fields_set__", false]], "__pydantic_fields_set__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_fields_set__", false]], "__pydantic_generic_metadata__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_generic_metadata__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_generic_metadata__", false]], "__pydantic_generic_metadata__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_generic_metadata__", false]], "__pydantic_parent_namespace__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_parent_namespace__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_parent_namespace__", false]], "__pydantic_parent_namespace__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_parent_namespace__", false]], "__pydantic_post_init__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_post_init__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_post_init__", false]], "__pydantic_post_init__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_post_init__", false]], "__pydantic_post_init__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_post_init__", false]], "__pydantic_private__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_private__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_private__", false]], "__pydantic_private__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_private__", false]], "__pydantic_private__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_private__", false]], "__pydantic_serializer__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_serializer__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_serializer__", false]], "__pydantic_serializer__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_serializer__", false]], "__pydantic_serializer__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_serializer__", false]], "__pydantic_validator__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__pydantic_validator__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__pydantic_validator__", false]], "__pydantic_validator__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__pydantic_validator__", false]], "__pydantic_validator__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__pydantic_validator__", false]], "__signature__ (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.__signature__", false], [23, "pydis_core.utils.pagination.PaginationEmojis.__signature__", false]], "__signature__ (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.__signature__", false]], "__signature__ (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.__signature__", false]], "__str__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__str__", false]], "abstractcommanderrorhandler (class in pydis_core.utils.error_handling.commands)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler", false]], "abstractcommanderrorhandler (class in pydis_core.utils.error_handling.commands.abc)": [[15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler", false]], "add_cog() (botbase method)": [[3, "pydis_core.BotBase.add_cog", false]], "add_command() (botbase method)": [[3, "pydis_core.BotBase.add_command", false]], "add_line() (linepaginator method)": [[3, "pydis_core.LinePaginator.add_line", false], [23, "pydis_core.utils.pagination.LinePaginator.add_line", false]], "all_extensions (botbase attribute)": [[3, "pydis_core.BotBase.all_extensions", false]], "api_client (botbase attribute)": [[3, "pydis_core.BotBase.api_client", false]], "apiclient (class in pydis_core.site_api)": [[6, "pydis_core.site_api.APIClient", false]], "apply_monkey_patches() (in module pydis_core.utils)": [[7, "pydis_core.utils.apply_monkey_patches", false]], "asynccache (class in pydis_core.utils.caching)": [[8, "pydis_core.utils.caching.AsyncCache", false]], "asyncstatsclient (class in pydis_core.async_stats)": [[4, "pydis_core.async_stats.AsyncStatsClient", false]], "block_duplicate_invocations() (in module pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[12, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[18, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[11, "pydis_core.utils.commands.clean_text_or_reply", false]], "clear() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.clear", false]], "clear() (botbase method)": [[3, "pydis_core.BotBase.clear", false]], "close() (apiclient method)": [[6, "pydis_core.site_api.APIClient.close", false]], "close() (botbase method)": [[3, "pydis_core.BotBase.close", false]], "command_wraps() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.command_wraps", false]], "commanderrormanager (class in pydis_core.utils.error_handling.commands)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager", false]], "commanderrormanager (class in pydis_core.utils.error_handling.commands.manager)": [[16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager", false]], "commandoncooldown": [[12, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "contextcheckfailure": [[10, "pydis_core.utils.checks.ContextCheckFailure", false]], "cooldown_with_role_bypass() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.cooldown_with_role_bypass", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[26, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.DISCORD_INVITE", false]], "emptypaginatorembederror": [[3, "pydis_core.EmptyPaginatorEmbedError", false], [23, "pydis_core.utils.pagination.EmptyPaginatorEmbedError", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.FORMATTED_CODE_REGEX", false]], "get() (apiclient method)": [[6, "pydis_core.site_api.APIClient.get", false]], "get_arg_value() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_arg_value", false]], "get_arg_value_wrapper() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_arg_value_wrapper", false]], "get_bound_args() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.get_bound_args", false]], "get_logger() (in module pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.get_logger", false]], "get_or_fetch_channel() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.get_or_fetch_channel", false]], "get_or_fetch_member() (in module pydis_core.utils.members)": [[21, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[17, "pydis_core.utils.function.GlobalNameConflictError", false]], "guild_id (botbase attribute)": [[3, "pydis_core.BotBase.guild_id", false]], "handle_app_command_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.handle_app_command_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.handle_app_command_error", false]], "handle_error() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.handle_error", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.handle_error", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[13, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[21, "pydis_core.utils.members.handle_role_change", false]], "handle_text_command_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.handle_text_command_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.handle_text_command_error", false]], "has_any_role_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.has_any_role_check", false]], "has_no_roles_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.has_no_roles_check", false]], "http_session (botbase attribute)": [[3, "pydis_core.BotBase.http_session", false]], "id (lockedresourceerror attribute)": [[19, "pydis_core.utils.lock.LockedResourceError.id", false]], "in_whitelist_check() (in module pydis_core.utils.checks)": [[10, "pydis_core.utils.checks.in_whitelist_check", false]], "interaction_check() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "inwhitelistcheckfailure": [[10, "pydis_core.utils.checks.InWhitelistCheckFailure", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "linepaginator (class in pydis_core)": [[3, "pydis_core.LinePaginator", false]], "linepaginator (class in pydis_core.utils.pagination)": [[23, "pydis_core.utils.pagination.LinePaginator", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "lock() (in module pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.lock", false]], "lock_arg() (in module pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.lock_arg", false]], "lockedresourceerror": [[19, "pydis_core.utils.lock.LockedResourceError", false]], "log_format (in module pydis_core.utils.logging)": [[20, "pydis_core.utils.logging.log_format", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "max_paste_size (in module pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.MAX_PASTE_SIZE", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", false]], "model_config (paginationemojis attribute)": [[3, "pydis_core.PaginationEmojis.model_config", false], [23, "pydis_core.utils.pagination.PaginationEmojis.model_config", false]], "model_config (pastefile attribute)": [[24, "pydis_core.utils.paste_service.PasteFile.model_config", false]], "model_config (pasteresponse attribute)": [[24, "pydis_core.utils.paste_service.PasteResponse.model_config", false]], "module": [[3, "module-pydis_core", false], [4, "module-pydis_core.async_stats", false], [5, "module-pydis_core.exts", false], [6, "module-pydis_core.site_api", false], [7, "module-pydis_core.utils", false], [8, "module-pydis_core.utils.caching", false], [9, "module-pydis_core.utils.channel", false], [10, "module-pydis_core.utils.checks", false], [11, "module-pydis_core.utils.commands", false], [12, "module-pydis_core.utils.cooldown", false], [13, "module-pydis_core.utils.error_handling", false], [14, "module-pydis_core.utils.error_handling.commands", false], [15, "module-pydis_core.utils.error_handling.commands.abc", false], [16, "module-pydis_core.utils.error_handling.commands.manager", false], [17, "module-pydis_core.utils.function", false], [18, "module-pydis_core.utils.interactions", false], [19, "module-pydis_core.utils.lock", false], [20, "module-pydis_core.utils.logging", false], [21, "module-pydis_core.utils.members", false], [22, "module-pydis_core.utils.messages", false], [23, "module-pydis_core.utils.pagination", false], [24, "module-pydis_core.utils.paste_service", false], [25, "module-pydis_core.utils.regex", false], [26, "module-pydis_core.utils.scheduling", false]], "on_guild_available() (botbase method)": [[3, "pydis_core.BotBase.on_guild_available", false]], "on_guild_unavailable() (botbase method)": [[3, "pydis_core.BotBase.on_guild_unavailable", false]], "on_timeout() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.P", false]], "paginate() (linepaginator class method)": [[3, "pydis_core.LinePaginator.paginate", false], [23, "pydis_core.utils.pagination.LinePaginator.paginate", false]], "paginationemojis (class in pydis_core)": [[3, "pydis_core.PaginationEmojis", false]], "paginationemojis (class in pydis_core.utils.pagination)": [[23, "pydis_core.utils.pagination.PaginationEmojis", false]], "pastefile (class in pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.PasteFile", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[24, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[24, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[24, "pydis_core.utils.paste_service.PasteUploadError", false]], "patch() (apiclient method)": [[6, "pydis_core.site_api.APIClient.patch", false]], "ping_services() (botbase method)": [[3, "pydis_core.BotBase.ping_services", false]], "post() (apiclient method)": [[6, "pydis_core.site_api.APIClient.post", false]], "process_commands() (botbase method)": [[3, "pydis_core.BotBase.process_commands", false]], "put() (apiclient method)": [[6, "pydis_core.site_api.APIClient.put", false]], "pydis_core": [[3, "module-pydis_core", false]], "pydis_core.async_stats": [[4, "module-pydis_core.async_stats", false]], "pydis_core.exts": [[5, "module-pydis_core.exts", false]], "pydis_core.site_api": [[6, "module-pydis_core.site_api", false]], "pydis_core.utils": [[7, "module-pydis_core.utils", false]], "pydis_core.utils.caching": [[8, "module-pydis_core.utils.caching", false]], "pydis_core.utils.channel": [[9, "module-pydis_core.utils.channel", false]], "pydis_core.utils.checks": [[10, "module-pydis_core.utils.checks", false]], "pydis_core.utils.commands": [[11, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[12, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[13, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.error_handling.commands": [[14, "module-pydis_core.utils.error_handling.commands", false]], "pydis_core.utils.error_handling.commands.abc": [[15, "module-pydis_core.utils.error_handling.commands.abc", false]], "pydis_core.utils.error_handling.commands.manager": [[16, "module-pydis_core.utils.error_handling.commands.manager", false]], "pydis_core.utils.function": [[17, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[18, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.lock": [[19, "module-pydis_core.utils.lock", false]], "pydis_core.utils.logging": [[20, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[21, "module-pydis_core.utils.members", false]], "pydis_core.utils.messages": [[22, "module-pydis_core.utils.messages", false]], "pydis_core.utils.pagination": [[23, "module-pydis_core.utils.pagination", false]], "pydis_core.utils.paste_service": [[24, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[25, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[26, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[12, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[25, "pydis_core.utils.regex.RAW_CODE_REGEX", false]], "reaction_check() (in module pydis_core.utils.messages)": [[22, "pydis_core.utils.messages.reaction_check", false]], "redis_session (botbase attribute)": [[3, "pydis_core.BotBase.redis_session", false]], "register_command_error_manager() (botbase method)": [[3, "pydis_core.BotBase.register_command_error_manager", false]], "register_handler() (commanderrormanager method)": [[14, "pydis_core.utils.error_handling.commands.CommandErrorManager.register_handler", false], [16, "pydis_core.utils.error_handling.commands.manager.CommandErrorManager.register_handler", false]], "remove_command() (botbase method)": [[3, "pydis_core.BotBase.remove_command", false]], "request() (apiclient method)": [[6, "pydis_core.site_api.APIClient.request", false]], "responsecodeerror": [[6, "pydis_core.site_api.ResponseCodeError", false]], "schedule() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[26, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[26, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[24, "pydis_core.utils.paste_service.send_to_paste_service", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "sharedevent (class in pydis_core.utils.lock)": [[19, "pydis_core.utils.lock.SharedEvent", false]], "should_handle_error() (abstractcommanderrorhandler method)": [[14, "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler.should_handle_error", false], [15, "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler.should_handle_error", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "stats (botbase attribute)": [[3, "pydis_core.BotBase.stats", false]], "statsd_url (botbase attribute)": [[3, "pydis_core.BotBase.statsd_url", false]], "stop() (viewwithuserandrolecheck method)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.stop", false]], "trace() (customlogger method)": [[20, "pydis_core.utils.logging.CustomLogger.trace", false]], "type (lockedresourceerror attribute)": [[19, "pydis_core.utils.lock.LockedResourceError.type", false]], "unqualify() (in module pydis_core.utils)": [[7, "pydis_core.utils.unqualify", false]], "update_wrapper_globals() (in module pydis_core.utils.function)": [[17, "pydis_core.utils.function.update_wrapper_globals", false]], "user_has_access() (in module pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.user_has_access", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[18, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck", false]], "wait() (sharedevent method)": [[19, "pydis_core.utils.lock.SharedEvent.wait", false]], "wait_until_guild_available() (botbase method)": [[3, "pydis_core.BotBase.wait_until_guild_available", false]]}, "objects": {"": [[3, 0, 0, "-", "pydis_core"]], "pydis_core": [[3, 1, 1, "", "BotBase"], [3, 4, 1, "", "EmptyPaginatorEmbedError"], [3, 1, 1, "", "LinePaginator"], [3, 1, 1, "", "PaginationEmojis"], [3, 4, 1, "", "StartupError"], [4, 0, 0, "-", "async_stats"], [5, 0, 0, "-", "exts"], [6, 0, 0, "-", "site_api"], [7, 0, 0, "-", "utils"]], "pydis_core.BotBase": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_cog"], [3, 2, 1, "", "add_command"], [3, 3, 1, "", "all_extensions"], [3, 3, 1, "", "api_client"], [3, 2, 1, "", "clear"], [3, 2, 1, "", "close"], [3, 3, 1, "", "guild_id"], [3, 3, 1, "", "http_session"], [3, 2, 1, "", "load_extensions"], [3, 2, 1, "", "log_to_dev_log"], [3, 2, 1, "", "on_guild_available"], [3, 2, 1, "", "on_guild_unavailable"], [3, 2, 1, "", "ping_services"], [3, 2, 1, "", "process_commands"], [3, 3, 1, "", "redis_session"], [3, 2, 1, "", "register_command_error_manager"], [3, 2, 1, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 3, 1, "", "stats"], [3, 3, 1, "", "statsd_url"], [3, 2, 1, "", "wait_until_guild_available"]], "pydis_core.LinePaginator": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_line"], [3, 2, 1, "", "paginate"]], "pydis_core.PaginationEmojis": [[3, 3, 1, "", "__class_vars__"], [3, 3, 1, "", "__private_attributes__"], [3, 3, 1, "", "__pydantic_complete__"], [3, 3, 1, "", "__pydantic_computed_fields__"], [3, 3, 1, "", "__pydantic_core_schema__"], [3, 3, 1, "", "__pydantic_custom_init__"], [3, 3, 1, "", "__pydantic_decorators__"], [3, 3, 1, "", "__pydantic_extra__"], [3, 3, 1, "", "__pydantic_fields__"], [3, 3, 1, "", "__pydantic_fields_set__"], [3, 3, 1, "", "__pydantic_generic_metadata__"], [3, 3, 1, "", "__pydantic_parent_namespace__"], [3, 3, 1, "", "__pydantic_post_init__"], [3, 3, 1, "", "__pydantic_private__"], [3, 3, 1, "", "__pydantic_serializer__"], [3, 3, 1, "", "__pydantic_validator__"], [3, 3, 1, "", "__signature__"], [3, 3, 1, "", "model_config"]], "pydis_core.StartupError": [[3, 2, 1, "", "__init__"]], "pydis_core.async_stats": [[4, 1, 1, "", "AsyncStatsClient"]], "pydis_core.async_stats.AsyncStatsClient": [[4, 2, 1, "", "__init__"], [4, 2, 1, "", "create_socket"]], "pydis_core.site_api": [[6, 1, 1, "", "APIClient"], [6, 4, 1, "", "ResponseCodeError"]], "pydis_core.site_api.APIClient": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "close"], [6, 2, 1, "", "delete"], [6, 2, 1, "", "get"], [6, 2, 1, "", "maybe_raise_for_status"], [6, 2, 1, "", "patch"], [6, 2, 1, "", "post"], [6, 2, 1, "", "put"], [6, 2, 1, "", "request"]], "pydis_core.site_api.ResponseCodeError": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "__str__"]], "pydis_core.utils": [[7, 5, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "checks"], [11, 0, 0, "-", "commands"], [12, 0, 0, "-", "cooldown"], [13, 0, 0, "-", "error_handling"], [17, 0, 0, "-", "function"], [18, 0, 0, "-", "interactions"], [19, 0, 0, "-", "lock"], [20, 0, 0, "-", "logging"], [21, 0, 0, "-", "members"], [22, 0, 0, "-", "messages"], [23, 0, 0, "-", "pagination"], [24, 0, 0, "-", "paste_service"], [25, 0, 0, "-", "regex"], [26, 0, 0, "-", "scheduling"], [7, 5, 1, "", "unqualify"]], "pydis_core.utils.caching": [[8, 1, 1, "", "AsyncCache"]], "pydis_core.utils.caching.AsyncCache": [[8, 2, 1, "", "__call__"], [8, 2, 1, "", "__init__"], [8, 2, 1, "", "clear"]], "pydis_core.utils.channel": [[9, 5, 1, "", "get_or_fetch_channel"], [9, 5, 1, "", "is_in_category"]], "pydis_core.utils.checks": [[10, 4, 1, "", "ContextCheckFailure"], [10, 4, 1, "", "InWhitelistCheckFailure"], [10, 5, 1, "", "cooldown_with_role_bypass"], [10, 5, 1, "", "has_any_role_check"], [10, 5, 1, "", "has_no_roles_check"], [10, 5, 1, "", "in_whitelist_check"]], "pydis_core.utils.checks.ContextCheckFailure": [[10, 2, 1, "", "__init__"]], "pydis_core.utils.commands": [[11, 5, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[12, 4, 1, "", "CommandOnCooldown"], [12, 6, 1, "", "P"], [12, 1, 1, "", "R"], [12, 5, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[12, 2, 1, "", "__init__"], [12, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[14, 0, 0, "-", "commands"], [13, 5, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.error_handling.commands": [[14, 1, 1, "", "AbstractCommandErrorHandler"], [14, 1, 1, "", "CommandErrorManager"], [15, 0, 0, "-", "abc"], [16, 0, 0, "-", "manager"]], "pydis_core.utils.error_handling.commands.AbstractCommandErrorHandler": [[14, 2, 1, "", "handle_app_command_error"], [14, 2, 1, "", "handle_text_command_error"], [14, 2, 1, "", "should_handle_error"]], "pydis_core.utils.error_handling.commands.CommandErrorManager": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "handle_error"], [14, 2, 1, "", "register_handler"]], "pydis_core.utils.error_handling.commands.abc": [[15, 1, 1, "", "AbstractCommandErrorHandler"]], "pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler": [[15, 2, 1, "", "handle_app_command_error"], [15, 2, 1, "", "handle_text_command_error"], [15, 2, 1, "", "should_handle_error"]], "pydis_core.utils.error_handling.commands.manager": [[16, 1, 1, "", "CommandErrorManager"]], "pydis_core.utils.error_handling.commands.manager.CommandErrorManager": [[16, 2, 1, "", "__init__"], [16, 2, 1, "", "handle_error"], [16, 2, 1, "", "register_handler"]], "pydis_core.utils.function": [[17, 4, 1, "", "GlobalNameConflictError"], [17, 5, 1, "", "command_wraps"], [17, 5, 1, "", "get_arg_value"], [17, 5, 1, "", "get_arg_value_wrapper"], [17, 5, 1, "", "get_bound_args"], [17, 5, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[18, 1, 1, "", "DeleteMessageButton"], [18, 1, 1, "", "ViewWithUserAndRoleCheck"], [18, 5, 1, "", "user_has_access"]], "pydis_core.utils.interactions.DeleteMessageButton": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "interaction_check"], [18, 2, 1, "", "on_timeout"], [18, 2, 1, "", "stop"]], "pydis_core.utils.lock": [[19, 4, 1, "", "LockedResourceError"], [19, 1, 1, "", "SharedEvent"], [19, 5, 1, "", "lock"], [19, 5, 1, "", "lock_arg"]], "pydis_core.utils.lock.LockedResourceError": [[19, 2, 1, "", "__init__"], [19, 3, 1, "", "id"], [19, 3, 1, "", "type"]], "pydis_core.utils.lock.SharedEvent": [[19, 2, 1, "", "__enter__"], [19, 2, 1, "", "__exit__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "wait"]], "pydis_core.utils.logging": [[20, 1, 1, "", "CustomLogger"], [20, 5, 1, "", "get_logger"], [20, 6, 1, "", "log_format"]], "pydis_core.utils.logging.CustomLogger": [[20, 2, 1, "", "trace"]], "pydis_core.utils.members": [[21, 5, 1, "", "get_or_fetch_member"], [21, 5, 1, "", "handle_role_change"]], "pydis_core.utils.messages": [[22, 5, 1, "", "reaction_check"]], "pydis_core.utils.pagination": [[23, 4, 1, "", "EmptyPaginatorEmbedError"], [23, 1, 1, "", "LinePaginator"], [23, 1, 1, "", "PaginationEmojis"]], "pydis_core.utils.pagination.LinePaginator": [[23, 2, 1, "", "__init__"], [23, 2, 1, "", "add_line"], [23, 2, 1, "", "paginate"]], "pydis_core.utils.pagination.PaginationEmojis": [[23, 3, 1, "", "__class_vars__"], [23, 3, 1, "", "__private_attributes__"], [23, 3, 1, "", "__pydantic_complete__"], [23, 3, 1, "", "__pydantic_computed_fields__"], [23, 3, 1, "", "__pydantic_core_schema__"], [23, 3, 1, "", "__pydantic_custom_init__"], [23, 3, 1, "", "__pydantic_decorators__"], [23, 3, 1, "", "__pydantic_extra__"], [23, 3, 1, "", "__pydantic_fields__"], [23, 3, 1, "", "__pydantic_fields_set__"], [23, 3, 1, "", "__pydantic_generic_metadata__"], [23, 3, 1, "", "__pydantic_parent_namespace__"], [23, 3, 1, "", "__pydantic_post_init__"], [23, 3, 1, "", "__pydantic_private__"], [23, 3, 1, "", "__pydantic_serializer__"], [23, 3, 1, "", "__pydantic_validator__"], [23, 3, 1, "", "__signature__"], [23, 3, 1, "", "model_config"]], "pydis_core.utils.paste_service": [[24, 6, 1, "", "MAX_PASTE_SIZE"], [24, 1, 1, "", "PasteFile"], [24, 1, 1, "", "PasteResponse"], [24, 4, 1, "", "PasteTooLongError"], [24, 4, 1, "", "PasteUnsupportedLexerError"], [24, 4, 1, "", "PasteUploadError"], [24, 5, 1, "", "send_to_paste_service"]], "pydis_core.utils.paste_service.PasteFile": [[24, 3, 1, "", "__class_vars__"], [24, 3, 1, "", "__private_attributes__"], [24, 3, 1, "", "__pydantic_complete__"], [24, 3, 1, "", "__pydantic_computed_fields__"], [24, 3, 1, "", "__pydantic_core_schema__"], [24, 3, 1, "", "__pydantic_custom_init__"], [24, 3, 1, "", "__pydantic_decorators__"], [24, 3, 1, "", "__pydantic_extra__"], [24, 3, 1, "", "__pydantic_fields__"], [24, 3, 1, "", "__pydantic_fields_set__"], [24, 3, 1, "", "__pydantic_generic_metadata__"], [24, 3, 1, "", "__pydantic_parent_namespace__"], [24, 3, 1, "", "__pydantic_post_init__"], [24, 3, 1, "", "__pydantic_private__"], [24, 3, 1, "", "__pydantic_serializer__"], [24, 3, 1, "", "__pydantic_validator__"], [24, 3, 1, "", "__signature__"], [24, 3, 1, "", "model_config"]], "pydis_core.utils.paste_service.PasteResponse": [[24, 3, 1, "", "__class_vars__"], [24, 3, 1, "", "__private_attributes__"], [24, 3, 1, "", "__pydantic_complete__"], [24, 3, 1, "", "__pydantic_computed_fields__"], [24, 3, 1, "", "__pydantic_core_schema__"], [24, 3, 1, "", "__pydantic_custom_init__"], [24, 3, 1, "", "__pydantic_decorators__"], [24, 3, 1, "", "__pydantic_extra__"], [24, 3, 1, "", "__pydantic_fields__"], [24, 3, 1, "", "__pydantic_fields_set__"], [24, 3, 1, "", "__pydantic_generic_metadata__"], [24, 3, 1, "", "__pydantic_parent_namespace__"], [24, 3, 1, "", "__pydantic_post_init__"], [24, 3, 1, "", "__pydantic_private__"], [24, 3, 1, "", "__pydantic_serializer__"], [24, 3, 1, "", "__pydantic_validator__"], [24, 3, 1, "", "__signature__"], [24, 3, 1, "", "model_config"]], "pydis_core.utils.regex": [[25, 6, 1, "", "DISCORD_INVITE"], [25, 6, 1, "", "FORMATTED_CODE_REGEX"], [25, 6, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[26, 1, 1, "", "Scheduler"], [26, 5, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[26, 2, 1, "", "__contains__"], [26, 2, 1, "", "__init__"], [26, 2, 1, "", "cancel"], [26, 2, 1, "", "cancel_all"], [26, 2, 1, "", "schedule"], [26, 2, 1, "", "schedule_at"], [26, 2, 1, "", "schedule_later"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "exception", "Python exception"], "5": ["py", "function", "Python function"], "6": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:exception", "5": "py:function", "6": "py:data"}, "terms": {"": [0, 1, 3, 7, 8, 10, 11, 12, 17, 18, 19, 20, 22, 23, 24, 25, 26], "0": [0, 8, 10, 18, 19, 20], "0a0": 0, "0eb3d26": 0, "0x00005568130b27b0": 3, "0x0000556813123290": 23, "0x000055681347b010": 24, "0x000055681347c0d0": 24, "0x00007f3ca4e38af0": 24, "0x00007f3ca4e38b30": 24, "0x00007f3ca4e38b70": 24, "0x00007f3ca4e38bb0": 24, "0x00007f3ca4e38bf0": 24, "0x00007f3ca4e38c30": 24, "0x00007f3ca4e53830": 24, "0x00007f3ca4e53870": 24, "0x00007f3ca4e538b0": 24, "0x00007f3ca4e538f0": 24, "0x00007f3ca57756f0": 3, "0x00007f3ca57757f0": 3, "0x00007f3ca57758f0": 3, "0x00007f3ca5775b30": 3, "0x00007f3ca5777a30": 3, "0x00007f3ca5777f30": 3, "0x00007f3ca59a2eb0": 24, "0x00007f3ca5a796f0": 23, "0x00007f3ca5a797f0": 23, "0x00007f3ca5a798f0": 23, "0x00007f3ca5a79af0": 23, "0x00007f3ca5a7ba30": 23, "0x00007f3ca5a7bcf0": 23, "0x00007f3ca5a7bdf0": 23, "0x00007f3ca615ab00": 3, "0x00007f3ca615ab50": 3, "0x00007f3ca615aba0": 3, "0x00007f3ca615abf0": 3, "0x00007f3ca615ac40": 3, "0x00007f3ca6338260": 23, "0x00007f3ca63382b0": 23, "0x00007f3ca6338300": 23, "0x00007f3ca6338350": 23, "0x00007f3ca63383a0": 23, "0x00007f3ca680bfb0": 3, "0x00007f3ca6865b30": 3, "0x00007f3ca69dd570": 3, "0x00007f3ca6a36ab0": 23, "0x00007f3ca6b9e130": 23, "0x00007f3ca6bfcac0": 3, "0x00007f3ca8d94f70": 23, "0x00007f3ca8e9fb30": 3, "0x00007f3caa74e460": 23, "0x00007f3caa74e570": 24, "0x00007f3cab509030": 24, "0x00007f3cab7a4e70": 24, "0x00007f3caba679b0": 24, "0x00007f3cabb797b0": [3, 23], "0x00007f3cabb797f0": [3, 23], "0x00007f3cabbd2170": [3, 23], "0x00007f3cabbf47b0": [3, 23], "0x00007f3cabf60eb0": [3, 23], "0x00007f3cac8ac2a0": 24, "0x00007f3cac9530c0": 24, "0x00007f3cac956ea0": 24, "1": [0, 20], "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, "15": 0, "151": 0, "157": 0, "158": 0, "162": 0, "169": 0, "16th": 0, "170": 0, "171": 0, "172": 0, "173": 0, "174": 0, "175": 0, "176": 0, "177": 0, "179": 0, "17th": 0, "180": 18, "181": 0, "182": 0, "183": 0, "184": 0, "185": 0, "187": 0, "188": 0, "189": 0, "18th": 0, "190": 0, "192": 0, "194": 0, "195": 0, "196": 0, "197": 0, "199": 0, "19th": 0, "2": [0, 3, 18, 24], "200": 0, "202": 0, "2021": 0, "2022": 0, "2023": 0, "2024": 0, "204": [0, 6], "205": 0, "206": 0, "207": 0, "208": 0, "209": 0, "20th": 0, "210": 0, "21st": 0, "22nd": 0, "23rd": 0, "244": 0, "24th": 0, "254": 0, "25th": 0, "26th": 0, "27th": 0, "28th": 0, "29": 0, "2nd": 0, "3": [0, 24], "30": 0, "300": [3, 23], "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "4000": [3, 23], "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 3, 12, 23], "500": [3, 23], "524288": 24, "54": 0, "56": 0, "561": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "637136429717389331": [3, 23], "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "6th": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "90001": [0, 13], "91": 0, "93": 0, "93905484457904": 3, "93905484919440": 23, "93905488424976": 24, "93905488429264": 24, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 23, 24, 26], "As": 0, "Be": 0, "For": 17, "If": [3, 6, 10, 12, 17, 18, 19, 22, 23, 26], "In": [3, 23], "It": [3, 7, 19, 23], "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 20, 21, 23, 24, 26], "These": [3, 23], "To": [1, 3, 20], "_": 0, "__annotations__": 17, "__args__": [3, 23, 24], "__call__": [7, 8], "__class_vars__": [2, 3, 7, 23, 24], "__contains__": [7, 26], "__dict__": 17, "__doc__": 17, "__enter__": [7, 19], "__exit__": [7, 19], "__fields__": [3, 23, 24], "__get_pydantic_json_schema__": [3, 23, 24], "__global__": 17, "__init__": [0, 2, 3, 4, 6, 7, 8, 10, 12, 13, 14, 16, 18, 19, 23, 24, 26], "__module__": 17, "__name__": 17, "__origin__": [3, 23, 24], "__parameters__": [3, 23, 24], "__private_attributes__": [2, 3, 7, 23, 24], "__pydantic_complete__": [2, 3, 7, 23, 24], "__pydantic_computed_fields__": [2, 3, 7, 23, 24], "__pydantic_core_schema__": [2, 3, 7, 23, 24], "__pydantic_custom_init__": [2, 3, 7, 23, 24], "__pydantic_decorators__": [2, 3, 7, 23, 24], "__pydantic_extra__": [2, 3, 7, 23, 24], "__pydantic_fields__": [2, 3, 7, 23, 24], "__pydantic_fields_set__": [2, 3, 7, 23, 24], "__pydantic_generic_metadata__": [2, 3, 7, 23, 24], "__pydantic_parent_namespace__": [2, 3, 7, 23, 24], "__pydantic_post_init__": [2, 3, 7, 23, 24], "__pydantic_private__": [2, 3, 7, 23, 24], "__pydantic_serializer__": [2, 3, 7, 23, 24], "__pydantic_validator__": [2, 3, 7, 23, 24], "__qualname__": 17, "__root_validators__": [3, 23, 24], "__signature__": [2, 3, 7, 23, 24], "__str__": [3, 6], "__validators__": [3, 23, 24], "_decor": [3, 23, 24], "_exc_tb": 19, "_exc_typ": 19, "_exc_val": 19, "_gener": [3, 23, 24], "_guild_avail": 0, "_p": 17, "_r": 17, "_transport": 0, "abc": [0, 13, 14], "abl": 0, "about": [3, 12, 23, 24], "abstract": [0, 14, 15], "abstractcommanderrorhandl": [0, 7, 13, 14, 15], "abstracteventloop": [4, 26], "accept": [17, 18], "access": 18, "acquir": 19, "across": [0, 3, 20, 23], "act": 7, "action": 0, "activ": 19, "actual": 0, "ad": [0, 1, 3, 7, 18, 20, 23], "add": [0, 3, 10, 12, 23], "add_cog": [2, 3], "add_command": [2, 3], "add_lin": [2, 3, 7, 23], "add_rol": 21, "addit": 0, "after": [0, 3, 18, 23, 26], "again": 1, "aid": [3, 23], "aiodn": 0, "aiohttp": [0, 3, 6, 24], "alia": [3, 7, 12, 23, 24], "alias": [3, 7], "alias_pi": [3, 23, 24], "all": [0, 1, 3, 4, 7, 14, 16, 19, 20, 26], "all_command": 3, "all_extens": [2, 3], "allow": [0, 1, 3, 18, 22, 23, 24], "allow_mod": 22, "allowed_emoji": 22, "allowed_rol": [0, 1, 3, 18, 22, 23], "allowed_us": [0, 18, 22], "alpha": 0, "alreadi": [3, 23, 26], "also": [0, 3, 7, 17, 18, 19, 23], "alwai": 10, "among": 19, "amount": [3, 23], "an": [0, 1, 3, 4, 6, 7, 8, 9, 10, 14, 15, 17, 19, 20, 23, 24, 26], "ani": [3, 6, 10, 17, 19, 23, 24, 25, 26], "annot": [3, 17, 23, 24], "anymor": [3, 23], "anyth": [1, 24], "api": [0, 3, 6, 21], "api_cli": [0, 2, 3], "apicli": [0, 2, 3, 6], "app": [0, 3, 14, 15], "appear": 3, "append": [3, 23], "appli": [3, 7, 8, 10, 12, 19, 23, 24], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [0, 1, 3, 8, 17, 18, 22, 23, 24, 25], "arg": [3, 12, 17, 19, 20, 23, 24], "arg_offset": 8, "args_preprocessor": 12, "argument": [6, 7, 8, 11, 12, 17, 19, 20, 21], "around": 6, "assign": 17, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21, 23, 24], "async_rediscach": [0, 3], "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 26], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 19, 21, 23], "attr": 0, "attribut": [0, 3, 7, 17, 23, 24], "august": 0, "authent": 6, "author": [3, 10, 22, 23], "auto": 0, "auto_mod": 0, "autogener": 0, "automat": [0, 3, 23, 24], "avail": [0, 3, 14, 16, 19], "avoid": [0, 3, 23], "await": [0, 3, 12, 18, 19, 21, 23], "awar": [0, 26], "back": 0, "backtick": [3, 23], "bad": 0, "badargu": 11, "base": [0, 3, 4, 6, 8, 10, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 26], "basemodel": [3, 23, 24], "basic": [0, 18], "becaus": [3, 17], "becom": [3, 19], "been": [0, 3], "befor": [0, 3, 10, 18, 19, 23, 26], "before_invok": 10, "behav": 17, "behavior": 10, "behaviour": [0, 3], "being": [0, 7, 10, 21], "belong": 3, "below": [1, 19], "best": [3, 23], "between": [0, 1, 17], "bind": [3, 17], "block": [0, 3, 12, 23, 25], "block_duplicate_invoc": [3, 7, 12], "bodi": 0, "boilerpl": 0, "bool": [3, 6, 9, 10, 12, 14, 15, 18, 19, 22, 23, 24, 26], "bot": [0, 1, 3, 7, 9, 22], "bot_token": 1, "botbas": [0, 2, 3], "both": [0, 1, 3, 24], "bound": [3, 23, 24], "boundari": [3, 23], "break": [0, 3, 17, 23], "broke": 0, "buckettyp": 10, "bug": 0, "build": [3, 23, 24], "bump": 0, "button": [0, 18], "buttonstyl": 18, "bypass": 10, "bypass_rol": 10, "byte": 24, "cach": [0, 3, 7, 9, 21], "cache_str": [3, 23, 24], "calcul": 26, "call": [0, 3, 12, 17, 26], "call_without_cooldown": [7, 12], "callabl": [8, 10, 12, 17, 19, 21], "callback": [7, 10, 18], "can": [0, 1, 3, 10, 18, 19, 20, 23, 26], "cancel": [7, 26], "cancel_al": [7, 26], "cannot": [0, 3, 19, 23], "capabl": [14, 16], "captur": [0, 17, 25], "carri": 18, "case": [0, 3, 23], "categori": [9, 10], "category_id": 9, "caus": [3, 7, 23], "certain": [0, 1], "chang": [0, 1, 3, 17, 23], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 10, 12], "channel_id": 9, "charact": [0, 3, 23], "chardet": 0, "check": [0, 3, 6, 7, 9, 12, 13, 18, 22, 26], "checkfailur": 10, "choos": [14, 16], "chunk": 0, "ci": 0, "cl": [3, 23, 24], "class": [0, 3, 4, 6, 8, 12, 14, 15, 16, 18, 19, 20, 23, 24, 26], "classmethod": [3, 23], "classvar": [3, 23, 24], "clean": [0, 11], "clean_text_or_repli": [3, 7, 11], "clear": [2, 3, 7, 8, 19], "click": 18, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 24], "close": [0, 2, 3, 6, 26], "cloudflar": 7, "code": [0, 1, 3, 6, 19, 23, 25], "codepoint": [3, 23], "coerce_numbers_to_str": [3, 23, 24], "cog": [0, 3, 5], "collect": 10, "collis": 19, "com": [0, 24], "comma": 1, "command": [0, 1, 3, 7, 9, 10, 12, 13, 15, 16, 17, 19, 23], "command_wrap": [3, 7, 17], "commanderror": 12, "commanderrormanag": [0, 7, 13, 14, 16], "commandinvokeerror": 0, "commandoncooldown": [3, 7, 12], "commit": 0, "common": [0, 1, 3, 7, 20, 25], "commun": [3, 4], "complet": [3, 23, 24], "complianc": 0, "compos": 1, "comput": [3, 23, 24], "computed_field": [3, 23, 24], "computedfield": [3, 23, 24], "computedfieldinfo": [3, 23, 24], "concurr": 0, "config": [0, 3, 23, 24], "configdict": [3, 23, 24], "configur": [1, 3, 23, 24], "conflict": 17, "conform": [3, 23, 24], "connect": [0, 3, 4], "connector": 3, "constructor": [3, 6], "contain": [1, 3, 10, 18, 23, 24, 26], "content": [0, 3, 11, 23, 24], "context": [3, 10, 11, 14, 15, 19, 23], "context_or_interact": [14, 16], "contextcheckfailur": [3, 7, 10], "continu": [3, 23], "control": 0, "cooldown": [3, 7, 10], "cooldown_dur": 12, "cooldown_with_role_bypass": [3, 7, 10], "copi": [1, 17], "copy_default": [3, 23, 24], "core": [0, 1, 23, 24], "coreschema": [3, 23, 24], "coro": [19, 21, 26], "coroutin": [8, 19, 21, 26], "correct": [0, 1], "correspond": [3, 23, 24], "could": [0, 21], "count": 19, "crash": 0, "creat": [0, 3, 4, 8, 12, 17, 23, 26], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 26], "creation": 0, "criteria": 0, "ctx": [3, 10, 11, 18, 23], "current": [0, 3, 19, 23, 26], "custom": [0, 3, 8, 20, 23, 24], "custom_init": [3, 23, 24], "customlogg": [3, 7, 20], "cut": 0, "d": [1, 17], "dai": 0, "data": [3, 23, 24], "datetim": 26, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 3, 8, 10, 12, 17, 19, 23, 24], "decorator_func": 17, "decoratorinfo": [3, 23, 24], "decrement": 19, "default": [0, 1, 3, 10, 14, 16, 17, 23, 24], "defin": [3, 23, 24], "definit": [3, 23, 24], "delai": 26, "delet": [0, 3, 6, 8, 18, 23, 24], "deletemessagebutton": [0, 3, 7, 18], "depend": [0, 9], "deprec": 0, "describ": 10, "detail": 17, "detect": 0, "determin": [14, 15, 16], "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": [3, 6, 17, 23, 24], "dictat": 0, "dictionari": [3, 23, 24], "did": 0, "directli": [0, 17], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 11, 13, 14, 16, 17, 21, 23, 25], "discord_invit": [0, 3, 7, 25], "disnak": 0, "distinguish": 26, "django": 6, "dm": 10, "do": [0, 1, 9, 19], "doc": [0, 19], "docker": 1, "docstr": 0, "document": 0, "doe": [0, 17], "doesn": [3, 10, 26], "don": [0, 10, 26], "done": [3, 18, 23, 26], "drop": 0, "due": 0, "dummi": [0, 3], "dump": [3, 23, 24], "duplic": [0, 12], "durat": 10, "dure": [3, 23, 24], "dynam": 0, "e": [3, 23], "each": [0, 3, 23], "edit": 3, "effort": [3, 23], "either": [0, 3], "els": 11, "elsewher": 26, "emb": [0, 3, 23], "emit": 3, "emoji": [0, 3, 22, 23], "empti": [3, 23], "emptypaginatorembederror": [2, 3, 7, 23], "enabl": [0, 1], "encount": 24, "end": [3, 23], "endpoint": 6, "ensur": [0, 3, 18, 25], "entir": [0, 3], "env": 1, "environ": [0, 1], "equival": 6, "error": [0, 3, 6, 7, 13, 14, 15, 16, 21, 24], "error_handl": [0, 3, 7], "etc": [1, 10], "evalu": 17, "even": 22, "event": [0, 3, 4, 19, 26], "event_loop": 26, "eventu": [3, 23, 24], "everi": [3, 23], "exact": 1, "exampl": [3, 23], "exc_info": 20, "exce": [3, 8, 23], "exceed": [3, 23], "except": [3, 6, 10, 12, 14, 16, 17, 19, 20, 23, 24, 26], "exception_on_empty_emb": [3, 23], "excess": [3, 23], "exclud": [3, 23, 24], "exclus": 19, "execut": [19, 26], "exist": [0, 1, 26], "exit": 19, "expect": 21, "expiri": 0, "explain": 0, "explicitli": [3, 23, 24], "expos": 19, "express": 25, "ext": [0, 2, 3, 7, 9, 10, 11, 23], "extend": 0, "extens": [0, 3], "extra": [0, 3, 6, 23, 24], "extra_behavior": [3, 23, 24], "extra_seri": [3, 23, 24], "extract": 0, "extras_valid": [3, 23, 24], "facilit": 0, "fail": [9, 10, 24], "fail_sil": 10, "failur": 21, "fakeredi": 0, "fals": [3, 10, 12, 19, 23, 24], "featur": [0, 1, 3], "februari": 0, "fetch": [9, 21], "few": 1, "field": [3, 23, 24], "field_seri": [3, 23, 24], "field_valid": [3, 23, 24], "fieldinfo": [3, 23, 24], "fifo": 8, "file": [0, 1, 24], "filter": [0, 3, 23, 24], "finish": [3, 19, 23], "first": [3, 14, 16, 23], "five": [3, 23], "fix": 0, "float": [10, 12, 18, 26], "folder": 1, "footer": [3, 23], "footer_text": [3, 23], "forbidden": [0, 9, 13], "format": [24, 25], "formatt": 20, "formatted_code_regex": [3, 7, 25], "forum": 0, "forwardref": 17, "found": [3, 17, 21, 26], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 17, 18, 21, 23, 24, 26], "from_attribut": [3, 23, 24], "frozen": [3, 23, 24], "frozenset": [3, 17], "func": [17, 19], "function": [0, 3, 7, 8, 9, 12, 19, 20, 21, 23, 26], "functool": 17, "futur": [10, 26], "g": [3, 23], "gatewai": 3, "gener": [0, 3, 12, 23, 24, 26], "generalfieldsseri": [3, 23, 24], "generic_origin": [3, 23, 24], "get": [0, 3, 6, 9, 17, 21], "get_arg_valu": [3, 7, 17], "get_arg_value_wrapp": [3, 7, 17], "get_bound_arg": [3, 7, 17], "get_logg": [3, 7, 20], "get_or_fetch_channel": [0, 3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 21], "git": 1, "github": 0, "give": 3, "given": [0, 3, 4, 7, 9, 11, 17, 19, 20, 21, 26], "global": 17, "globalnameconflicterror": [3, 7, 17], "go": [1, 3, 19, 23], "greater": 24, "groundwork": 1, "group": [7, 25], "guild": [0, 1, 3, 10, 21], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 2, 3], "guildchannel": 9, "ha": [0, 3, 7, 10, 18, 23, 24], "handl": [0, 13, 14, 15, 16, 21, 26], "handle_app_command_error": [13, 14, 15], "handle_error": [13, 14, 16], "handle_forbidden_from_block": [3, 7, 13], "handle_role_chang": [0, 3, 7, 21], "handle_text_command_error": [13, 14, 15], "handler": [0, 3, 14, 15, 16], "happen": 3, "has_any_role_check": [3, 7, 10], "has_extra": [3, 23, 24], "has_no_roles_check": [3, 7, 10], "hashabl": [19, 26], "have": [0, 9, 10, 17, 20], "heavi": 7, "help": [0, 1], "helper": [0, 9, 12, 21], "hold": [3, 19, 23], "holder": 19, "hook": 0, "host": 4, "houston": 20, "how": [0, 8, 10, 17, 26], "howev": 1, "http": [0, 3, 6, 24, 25], "http_session": [2, 3, 24], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 10, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "icon": [3, 23], "icon_url": [3, 23], "id": [1, 3, 7, 9, 10, 18, 19, 23, 26], "identifi": [19, 26], "ignor": [1, 3, 7, 17, 22, 23, 24], "ignored_conflict_nam": 17, "immedi": 26, "implement": [0, 3, 4, 8, 18, 20], "import": 0, "in_whitelist": 10, "in_whitelist_check": [3, 7, 10], "inadequ": 3, "includ": [0, 1, 3, 13, 23, 24], "incorrect": 0, "increment": 19, "independantli": 0, "index": 2, "indic": [3, 21, 23], "individu": 3, "info": [0, 1], "inform": [2, 19, 20], "init": [0, 3, 4, 23, 24], "initi": [6, 26], "initialis": [3, 8], "input": 18, "insert": [3, 23], "insid": [3, 23], "inspect": [3, 23, 24], "instal": [0, 1], "instanc": [0, 3, 6, 8, 9, 10, 20, 23, 24, 26], "instanti": [3, 18, 23, 24, 26], "instead": [3, 12, 26], "int": [3, 4, 8, 9, 10, 17, 18, 23, 24], "intend": 21, "intent": 1, "interact": [0, 3, 7, 9, 14, 15, 23], "interactin": 21, "interaction_check": [7, 18], "interest": 20, "intern": [3, 7, 19], "intersphinx": 0, "introduc": 10, "invalid": 9, "invaliddata": 9, "invit": [0, 25], "invoc": [0, 12], "invok": [1, 10, 12, 18], "inwhitelistcheckfailur": [3, 7, 10], "is_in_categori": [3, 7, 9], "isn": [0, 13, 17], "issu": 10, "item": 8, "iter": [10, 12, 14, 16], "its": [0, 3, 12, 17], "itself": 18, "januari": 0, "json": 6, "juli": 0, "june": 0, "just": 0, "keep": [3, 23, 26], "kei": [3, 8, 23, 24], "key_pi": [3, 23, 24], "keyword": [6, 7, 17, 20], "known": 26, "kwarg": [3, 6, 12, 17, 18, 20, 26], "label": [0, 18], "lancebot": 1, "larg": 24, "larger": 24, "last": [3, 10, 18, 23], "latest": 0, "lead": 0, "least": 10, "left": [3, 23], "length": [3, 12, 23], "level": [0, 7, 20], "lexer": [0, 24], "librari": [0, 1], "like": [1, 17], "limit": [3, 23], "line": [3, 23], "linepagin": [0, 2, 3, 7, 23], "linesep": [3, 23], "link": 24, "lint": 0, "list": [0, 1, 3, 18, 23, 24], "listen": 18, "liter": [3, 23, 24], "ll": [1, 26], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "loc_by_alia": [3, 23, 24], "local": 2, "localhost": 4, "lock": [0, 3, 7], "lock_arg": [3, 7, 19], "lockedresourceerror": [3, 7, 19], "log": [0, 3, 7, 13, 21, 26], "log_format": [0, 3, 7, 20], "log_to_dev_log": [2, 3], "logger": [0, 20], "logic": 0, "long": [10, 24, 26], "longer": [0, 18], "look": [17, 26], "lookup_kei": [3, 23, 24], "lookuppath": [3, 23, 24], "loop": [4, 26], "lot": 0, "lru": 8, "lua": 0, "lupa": 0, "m": 1, "machin": 1, "made": [0, 22], "mai": [0, 3, 8, 19, 23, 24], "main": 0, "make": [0, 1, 3, 20, 23], "manag": [0, 3, 13, 14, 19], "mani": [0, 3, 8], "manipul": [0, 17], "manual": 3, "map": [17, 19], "march": 0, "mark": 0, "match": [0, 3, 17], "max": 24, "max_length": 24, "max_lin": [3, 23], "max_paste_s": [3, 7, 24], "max_siz": [3, 8, 23, 24], "maximum": [3, 8, 23, 24], "maybe_raise_for_statu": [3, 6], "mean": 1, "meant": 0, "member": [0, 3, 7, 18], "member_id": 21, "mention": [1, 3], "messag": [0, 3, 7, 11, 12, 13, 18, 20, 23, 26], "message_id": 22, "message_typ": 0, "metadata": [3, 23, 24], "method": [0, 3, 4, 6, 7, 20, 23, 24], "metric": 3, "might": [1, 3, 10], "migrat": 0, "minut": [3, 23], "miss": 0, "mod": 0, "mode": [3, 23, 24], "model": [3, 23, 24], "model_config": [2, 3, 7, 23, 24], "model_nam": [3, 23, 24], "model_post_init": [3, 23, 24], "model_seri": [3, 23, 24], "model_valid": [3, 23, 24], "modelfield": [3, 23, 24], "modelfieldsvalid": [3, 23, 24], "modelprivateattr": [3, 23, 24], "modelseri": [3, 23, 24], "modelvalid": [3, 23, 24], "moder": [3, 18, 22, 23], "modifi": [1, 21], "modul": [0, 3, 7, 17, 23, 24, 26], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [0, 1, 3, 17, 19, 23], "most": 1, "move": 0, "msg": 20, "multipl": 0, "multivers": 0, "must": [0, 17, 19, 26], "mutual": 19, "mypi": 20, "n": [3, 23], "name": [3, 7, 17, 19, 20, 23, 24, 26], "name_or_po": [17, 19], "name_pi": [3, 23, 24], "namespac": [0, 3, 19, 23, 24, 26], "navig": [0, 1, 3, 23], "na\u00efv": 26, "need": [0, 1, 3, 23], "never": [3, 23, 24], "new": [0, 1, 3, 4, 6, 8, 17, 23, 26], "newer": 0, "newli": 0, "next": [0, 3, 23], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "noreturn": [14, 15], "normal": 3, "notabl": 0, "note": [0, 10], "notfound": 9, "notic": 0, "notifi": 12, "novemb": 0, "now": [0, 1, 26], "number": [0, 3, 10, 23, 24], "object": [3, 6, 7, 8, 9, 12, 14, 16, 19, 21, 23, 24, 26], "occur": 18, "octob": 0, "offset": 8, "ok": 6, "older": 0, "on_error": [3, 23, 24], "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 18], "onc": [0, 3, 8], "one": [0, 3, 10, 14, 16, 23], "ones": 1, "onli": [0, 3, 18], "onto": [3, 23], "oper": [3, 19, 23, 26], "option": [0, 8, 17, 19], "order": [3, 8, 14, 16, 17, 19, 23, 26], "ordereddict": [17, 19], "origin": [0, 3, 18, 23, 24], "other": [0, 1, 19, 26], "otherwis": [10, 19, 26], "our": [0, 1, 7], "out": [0, 1, 3, 18], "output": 25, "over": [0, 3, 23], "overflow": [3, 23], "overrid": [3, 23], "overwrit": [0, 3], "own": [0, 17], "p": [3, 7, 12], "packag": [0, 3, 7], "page": [2, 3, 23], "pagin": [0, 2, 3, 7], "pagination_emoji": [3, 23], "paginationemoji": [2, 3, 7, 23], "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 19, 20, 21, 23, 24, 26], "paramspec": [12, 17], "parent": [0, 3, 18, 23, 24], "pars": 25, "pass": [0, 3, 6, 17, 20, 21, 26], "past": [0, 24, 26], "paste_servic": [0, 3, 7], "paste_url": 24, "pastebin": 0, "pastefil": [0, 3, 7, 24], "pasterespons": [3, 7, 24], "pastetoolongerror": [3, 7, 24], "pasteunsupportedlexererror": [3, 7, 24], "pasteuploaderror": [3, 7, 24], "patch": [0, 3, 6, 7], "path": [1, 3, 23, 24], "pattern": 25, "pep": 0, "per": [3, 10, 23], "perform": 19, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "place": [3, 23], "pleas": 25, "pluggableschemavalid": [3, 23, 24], "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": [8, 17, 19], "possibl": 1, "post": [3, 6, 23, 24], "post_init": [3, 23, 24], "pre": 1, "predic": [0, 14, 15], "prefix": [1, 3, 4, 23], "prematur": 26, "press": 0, "prevent": [12, 19, 26], "previous": 0, "prioriti": [14, 16], "privat": [3, 23, 24], "privatechannel": [0, 9], "problem": [10, 20], "process": [0, 3], "process_command": [0, 2, 3], "program": 1, "project": [0, 1, 20], "provid": [0, 1, 3, 8, 11, 13, 23, 26], "public": 0, "publish": 0, "purpos": [3, 21, 23, 24], "push": 0, "put": [3, 6], "py": [0, 3, 17, 23, 24], "py_kei": [3, 23, 24], "pydant": [0, 3, 23, 24], "pydantic_js_funct": [3, 23, 24], "pydanticgenericmetadata": [3, 23, 24], "pydi": [0, 2], "pydis_cor": [0, 1, 3, 18, 20, 23, 24], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 24, 26], "pythondiscord": [0, 24], "qualifi": 7, "quot": 25, "r": [3, 7, 12], "rais": [3, 6, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21, 23, 24, 26], "raise_error": 19, "raise_for_statu": 6, "rate": 10, "rather": 7, "raw": [12, 25], "raw_code_regex": [3, 7, 25], "rc2": 0, "re": [1, 3, 13, 22, 26], "reach": 19, "reaction": [0, 3, 22, 23], "reaction_check": [0, 3, 7, 22], "read": 0, "readi": 3, "real": 0, "reason": [3, 23], "rebuild": [3, 23, 24], "receiv": [0, 6, 9], "recognis": 20, "reconnect": 0, "redi": [0, 3], "redirect": 10, "redirect_channel": 10, "redis_sess": [2, 3], "rediscach": 0, "redissess": 3, "ref": [3, 23, 24], "refer": 0, "referenc": 0, "reflect": 17, "regex": [0, 3, 7], "regist": [0, 14, 16], "register_command_error_manag": [2, 3], "register_handl": [13, 14, 16], "registr": [3, 14, 16], "regular": 25, "reinstal": 1, "reject": 24, "relat": [8, 14, 16, 20], "releas": 0, "relev": 3, "reli": 0, "remain": [3, 23], "remov": [0, 3, 18, 22, 23, 24], "remove_command": [2, 3], "remove_rol": 21, "renam": 0, "replac": [3, 10, 17, 23, 24], "repli": [3, 11, 12, 13, 23], "repo": 0, "represent": 6, "request": [0, 3, 6, 25], "requir": [0, 1, 3, 23, 24, 26], "required_field": [3, 23, 24], "resolut": 0, "resolv": [3, 17], "resourc": 19, "resource_id": 19, "resource_typ": 19, "respons": [0, 6, 24], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "restrict": [0, 3, 23], "restrict_to_us": [3, 23], "result": [0, 26], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "reusabl": 5, "revalid": [3, 23, 24], "revert": 0, "right": [0, 3, 23], "role": [0, 1, 3, 10, 18, 21, 22, 23], "root": [1, 3, 7], "root_alias": 7, "root_model": [3, 23, 24], "root_valid": [3, 23, 24], "rout": 7, "ruff": 0, "rule": 0, "run": [0, 1, 12, 19, 26], "runtimeerror": 19, "safe": 0, "same": [12, 26], "sampl": 0, "sanitis": 25, "save": [0, 3, 24], "scale": [3, 23], "scale_to_s": [3, 23], "schedul": [0, 3, 7], "schedule_at": [7, 26], "schedule_lat": [7, 26], "schema": [3, 23, 24], "schemafilt": [3, 23, 24], "schemaseri": [3, 23, 24], "schemavalid": [3, 23, 24], "script": 0, "search": 2, "second": [3, 10, 12, 18, 23, 26], "secondari": 18, "see": [0, 1, 17, 18, 19], "self": [0, 3, 18], "send": [0, 3, 6, 18, 23], "send_notic": 12, "send_to_paste_servic": [0, 3, 7, 24], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [3, 7, 17, 18, 23], "serfield": [3, 23, 24], "serial": [3, 23, 24], "serv": [3, 23], "server": [3, 25], "servic": [0, 1, 3, 24], "session": [0, 3, 6, 24], "session_kwarg": 6, "set": [0, 1, 3, 12, 17, 18, 19, 23, 24], "set_author": [3, 23], "setup": [0, 3], "setup_hook": [2, 3], "sever": 20, "share": [0, 17], "sharedev": [3, 7, 19], "should": [0, 1, 3, 6, 14, 15, 18, 23, 24], "should_handle_error": [13, 14, 15, 16], "should_rais": 6, "signatur": [3, 12, 23, 24], "silent": 10, "similar": [3, 18, 23, 24, 25], "simpl": [3, 23, 24], "simpledict": [3, 23, 24], "sinc": 10, "singl": [0, 3, 23], "sir": 1, "site": [0, 3, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [3, 8, 23, 24], "so": [0, 1, 3, 7], "socket": 4, "sole": 21, "some": [0, 3, 23, 24], "someth": 25, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], "specif": [0, 10], "specifi": [0, 10, 12, 18], "sphinx": 0, "split": 0, "stabl": 0, "standardis": [0, 20], "start": [0, 3, 26], "startup": 3, "startuperror": [2, 3], "stat": [0, 2, 3, 4], "state": 17, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 2, 3], "step": 1, "still": [3, 23, 24], "stop": [0, 7, 18], "store": [0, 3, 7, 8, 23], "str": [3, 4, 6, 7, 10, 11, 17, 18, 19, 20, 23, 24, 26], "strict": [3, 23, 24], "string": [0, 6], "strserial": [3, 23, 24], "strvalid": [3, 23, 24], "style": 18, "sub": [0, 3], "submodul": [2, 13], "subpackag": 2, "subtract": 26, "success": [0, 24], "suffix": [3, 23], "suggest": 26, "support": [0, 4, 7, 26], "suppressed_except": 26, "sure": 1, "switch": [3, 23], "sync": [0, 3], "sync_app_command": 3, "synthes": [3, 23, 24], "system": [0, 1, 14, 16], "t": [0, 3, 10, 11, 13, 17, 19, 26], "target": [0, 8], "task": [0, 26], "task_id": 26, "task_return": 26, "templat": 1, "test": 2, "text": [0, 3, 6, 11, 14, 15, 23, 24], "textchannel": 9, "than": [7, 24], "thei": [3, 17, 22], "them": [1, 3, 17, 26], "thi": [0, 1, 3, 7, 9, 10, 12, 17, 18, 19, 21, 23, 24, 25, 26], "thread": [0, 9], "three": [3, 23], "through": [14, 16, 19], "thrown": 7, "thu": 3, "tild": 0, "time": [0, 10, 26], "timeout": [0, 3, 18, 23], "timezon": 26, "titl": [3, 23, 24], "token": [1, 6], "toml": [0, 1], "too": 24, "tool": [3, 7], "top": 7, "total": [3, 23], "trace": [0, 7, 20], "track": 26, "transport": 4, "trashcan": [3, 23], "tree": 3, "trigger": 10, "true": [3, 6, 10, 12, 19, 20, 22, 23, 24, 26], "truncat": [3, 23], "tupl": [17, 26], "turn": 19, "two": 7, "type": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26], "type_": 10, "typeerror": [10, 17], "typehint": 17, "typevar": [12, 17, 26], "u": [0, 3, 23], "ui": 18, "unavail": 3, "unawait": 26, "undefin": [3, 23, 24], "under": 7, "underli": 19, "union": 10, "uniqu": 26, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 26, "unsupport": 24, "unti": [3, 23], "until": [0, 3, 19, 25], "up": [0, 1, 3, 23], "updat": [0, 17], "update_wrapper_glob": [3, 7, 17], "upload": [0, 24], "upon": 0, "url": [0, 3, 6, 23, 24], "urllib": 25, "us": [0, 1, 3, 4, 6, 7, 9, 10, 12, 17, 19, 20, 21, 23, 24, 25, 26], "usag": 0, "user": [0, 3, 10, 12, 18, 22, 23], "user_has_access": [0, 3, 7, 18], "utc": 26, "util": [0, 1, 2, 3, 8, 17, 18, 20, 23, 24], "v1": [0, 3, 23, 24], "valid": [0, 3, 23, 24], "validate_default": [3, 23, 24], "valu": [3, 12, 17, 19, 20, 23, 24], "valueerror": [6, 17, 24], "vari": 1, "variabl": [1, 3, 23, 24], "variou": [0, 9], "verifi": 10, "version": [0, 11], "view": [0, 18], "viewwithuserandrolecheck": [0, 3, 7, 18], "wa": [0, 9, 10, 26], "wait": [0, 3, 7, 19, 26], "wait_until_guild_avail": [2, 3], "want": 1, "warn": [0, 26], "wasn": 11, "we": [20, 21], "websocket": 0, "were": 3, "what": 1, "when": [0, 3, 4, 6, 7, 8, 10, 12, 17, 19, 23, 24, 26], "where": 10, "whether": [0, 3, 6, 9, 10, 14, 15, 18, 23, 24], "which": [0, 1, 3, 7, 10, 12, 17, 19, 23, 26], "while": [3, 12, 19, 23], "whitelist": 10, "whitespac": [0, 25], "who": [0, 18], "whom": [3, 23], "withdefault": [3, 23, 24], "withdefaultseri": [3, 23, 24], "withdefaultvalid": [3, 23, 24], "within": [0, 3], "without": [0, 10], "won": 17, "word": [3, 23], "work": [0, 1], "worker": 7, "workflow": 0, "would": [3, 23], "wrap": [8, 17, 26], "wrapper": [0, 6, 12, 17, 26], "write": [0, 1], "wrong": 0, "www": 0, "x": 0, "you": [0, 1, 9, 25], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "checks", "commands", "cooldown", "error_handling package", "commands package", "abc", "manager", "function", "interactions", "lock", "logging", "members", "messages", "pagination", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "abc": 15, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "check": 10, "command": [11, 14], "cooldown": 12, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 13, "ext": 5, "extra": 2, "function": 17, "interact": 18, "local": 1, "lock": 19, "log": 20, "manag": 16, "member": 21, "messag": 22, "modul": 2, "option": 1, "packag": [13, 14], "pagin": 23, "paste_servic": 24, "project": 2, "pydi": 3, "refer": 2, "regex": 25, "schedul": 26, "site_api": 6, "submodul": [3, 7, 14], "subpackag": [3, 7, 13], "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v11.3.1/versions.html b/v11.3.1/versions.html index a297937f4..250e4b32f 100644 --- a/v11.3.1/versions.html +++ b/v11.3.1/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v11.3.1 - + @@ -329,6 +329,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -551,6 +559,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -678,7 +698,7 @@

    Versions

    - + diff --git a/v11.4.0/.buildinfo b/v11.4.0/.buildinfo new file mode 100644 index 000000000..47b28ef7c --- /dev/null +++ b/v11.4.0/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 252e733b722c016e199af5ec794258a9 +tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v11.4.0/.nojekyll b/v11.4.0/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/v11.4.0/_static/basic.css b/v11.4.0/_static/basic.css new file mode 100644 index 000000000..7ebbd6d07 --- /dev/null +++ b/v11.4.0/_static/basic.css @@ -0,0 +1,914 @@ +/* + * Sphinx stylesheet -- basic theme. + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin-top: 10px; +} + +ul.search li { + padding: 5px 0; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 360px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a:visited { + color: #551A8B; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +nav.contents, +aside.topic, +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +nav.contents, +aside.topic, +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +nav.contents > :last-child, +aside.topic > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +nav.contents::after, +aside.topic::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +aside.footnote > span, +div.citation > span { + float: left; +} +aside.footnote > span:last-of-type, +div.citation > span:last-of-type { + padding-right: 0.5em; +} +aside.footnote > p { + margin-left: 2em; +} +div.citation > p { + margin-left: 4em; +} +aside.footnote > p:last-of-type, +div.citation > p:last-of-type { + margin-bottom: 0em; +} +aside.footnote > p:last-of-type:after, +div.citation > p:last-of-type:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +.sig dd { + margin-top: 0px; + margin-bottom: 0px; +} + +.sig dl { + margin-top: 0px; + margin-bottom: 0px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +.translated { + background-color: rgba(207, 255, 207, 0.2) +} + +.untranslated { + background-color: rgba(255, 207, 207, 0.2) +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/v11.4.0/_static/changelog.css b/v11.4.0/_static/changelog.css new file mode 100644 index 000000000..343792a16 --- /dev/null +++ b/v11.4.0/_static/changelog.css @@ -0,0 +1,11 @@ +[data-theme='dark'] #changelog .dark, +[data-theme='light'] #changelog .light, +[data-theme='auto'] #changelog .light { + display: inline; +} + +[data-theme='dark'] #changelog .light, +[data-theme='light'] #changelog .dark, +[data-theme='auto'] #changelog .dark { + display: none; +} diff --git a/v11.4.0/_static/changelog.js b/v11.4.0/_static/changelog.js new file mode 100644 index 000000000..94834eaa4 --- /dev/null +++ b/v11.4.0/_static/changelog.js @@ -0,0 +1,41 @@ +/** Update the changelog colors in dark mode */ +function changelog_color_main() { + const changelog = document.getElementById("changelog"); + + function updateEntryColor(span) { + const lightColorSpan = span; + const darkColorSpan = lightColorSpan.cloneNode(true); + + lightColorSpan.parentElement.insertBefore(darkColorSpan, lightColorSpan); + + lightColorSpan.classList.add("light"); + darkColorSpan.classList.add("dark"); + + let color; + switch (darkColorSpan.textContent) { + case "Feature": + color = "#5BF38E"; + break; + case "Support": + color = "#55A5E7"; + break; + case "Bug": + color = "#E14F4F"; + break; + default: + color = lightColorSpan.style.color; + } + + darkColorSpan.style["color"] = color; + } + + const TYPES = ["Feature", "Bug", "Support", "Breaking"]; + + if (changelog !== null) { + Array.from(changelog.getElementsByTagName("span")) + .filter(value => TYPES.includes(value.textContent)) + .forEach(updateEntryColor) + } +} + +changelog_color_main(); diff --git a/v11.4.0/_static/debug.css b/v11.4.0/_static/debug.css new file mode 100644 index 000000000..74d4aec33 --- /dev/null +++ b/v11.4.0/_static/debug.css @@ -0,0 +1,69 @@ +/* + This CSS file should be overridden by the theme authors. It's + meant for debugging and developing the skeleton that this theme provides. +*/ +body { + font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, + "Apple Color Emoji", "Segoe UI Emoji"; + background: lavender; +} +.sb-announcement { + background: rgb(131, 131, 131); +} +.sb-announcement__inner { + background: black; + color: white; +} +.sb-header { + background: lightskyblue; +} +.sb-header__inner { + background: royalblue; + color: white; +} +.sb-header-secondary { + background: lightcyan; +} +.sb-header-secondary__inner { + background: cornflowerblue; + color: white; +} +.sb-sidebar-primary { + background: lightgreen; +} +.sb-main { + background: blanchedalmond; +} +.sb-main__inner { + background: antiquewhite; +} +.sb-header-article { + background: lightsteelblue; +} +.sb-article-container { + background: snow; +} +.sb-article-main { + background: white; +} +.sb-footer-article { + background: lightpink; +} +.sb-sidebar-secondary { + background: lightgoldenrodyellow; +} +.sb-footer-content { + background: plum; +} +.sb-footer-content__inner { + background: palevioletred; +} +.sb-footer { + background: pink; +} +.sb-footer__inner { + background: salmon; +} +.sb-article { + background: white; +} diff --git a/v11.4.0/_static/doctools.js b/v11.4.0/_static/doctools.js new file mode 100644 index 000000000..0398ebb9f --- /dev/null +++ b/v11.4.0/_static/doctools.js @@ -0,0 +1,149 @@ +/* + * Base JavaScript utilities for all Sphinx HTML documentation. + */ +"use strict"; + +const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([ + "TEXTAREA", + "INPUT", + "SELECT", + "BUTTON", +]); + +const _ready = (callback) => { + if (document.readyState !== "loading") { + callback(); + } else { + document.addEventListener("DOMContentLoaded", callback); + } +}; + +/** + * Small JavaScript module for the documentation. + */ +const Documentation = { + init: () => { + Documentation.initDomainIndexTable(); + Documentation.initOnKeyListeners(); + }, + + /** + * i18n support + */ + TRANSLATIONS: {}, + PLURAL_EXPR: (n) => (n === 1 ? 0 : 1), + LOCALE: "unknown", + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext: (string) => { + const translated = Documentation.TRANSLATIONS[string]; + switch (typeof translated) { + case "undefined": + return string; // no translation + case "string": + return translated; // translation exists + default: + return translated[0]; // (singular, plural) translation tuple exists + } + }, + + ngettext: (singular, plural, n) => { + const translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated !== "undefined") + return translated[Documentation.PLURAL_EXPR(n)]; + return n === 1 ? singular : plural; + }, + + addTranslations: (catalog) => { + Object.assign(Documentation.TRANSLATIONS, catalog.messages); + Documentation.PLURAL_EXPR = new Function( + "n", + `return (${catalog.plural_expr})` + ); + Documentation.LOCALE = catalog.locale; + }, + + /** + * helper function to focus on search bar + */ + focusSearchBar: () => { + document.querySelectorAll("input[name=q]")[0]?.focus(); + }, + + /** + * Initialise the domain index toggle buttons + */ + initDomainIndexTable: () => { + const toggler = (el) => { + const idNumber = el.id.substr(7); + const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`); + if (el.src.substr(-9) === "minus.png") { + el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`; + toggledRows.forEach((el) => (el.style.display = "none")); + } else { + el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`; + toggledRows.forEach((el) => (el.style.display = "")); + } + }; + + const togglerElements = document.querySelectorAll("img.toggler"); + togglerElements.forEach((el) => + el.addEventListener("click", (event) => toggler(event.currentTarget)) + ); + togglerElements.forEach((el) => (el.style.display = "")); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler); + }, + + initOnKeyListeners: () => { + // only install a listener if it is really needed + if ( + !DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS && + !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS + ) + return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.altKey || event.ctrlKey || event.metaKey) return; + + if (!event.shiftKey) { + switch (event.key) { + case "ArrowLeft": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const prevLink = document.querySelector('link[rel="prev"]'); + if (prevLink && prevLink.href) { + window.location.href = prevLink.href; + event.preventDefault(); + } + break; + case "ArrowRight": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const nextLink = document.querySelector('link[rel="next"]'); + if (nextLink && nextLink.href) { + window.location.href = nextLink.href; + event.preventDefault(); + } + break; + } + } + + // some keyboard layouts may need Shift to get / + switch (event.key) { + case "/": + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; + Documentation.focusSearchBar(); + event.preventDefault(); + } + }); + }, +}; + +// quick alias for translations +const _ = Documentation.gettext; + +_ready(Documentation.init); diff --git a/v11.4.0/_static/documentation_options.js b/v11.4.0/_static/documentation_options.js new file mode 100644 index 000000000..ffeec763e --- /dev/null +++ b/v11.4.0/_static/documentation_options.js @@ -0,0 +1,13 @@ +const DOCUMENTATION_OPTIONS = { + VERSION: '11.4.0', + LANGUAGE: 'en', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false, + SHOW_SEARCH_SUMMARY: true, + ENABLE_SEARCH_SHORTCUTS: true, +}; \ No newline at end of file diff --git a/v11.4.0/_static/file.png b/v11.4.0/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/v11.4.0/_static/index.css b/v11.4.0/_static/index.css new file mode 100644 index 000000000..54f3f7718 --- /dev/null +++ b/v11.4.0/_static/index.css @@ -0,0 +1,3 @@ +h1 { + font-weight: 300; +} diff --git a/v11.4.0/_static/language_data.js b/v11.4.0/_static/language_data.js new file mode 100644 index 000000000..c7fe6c6fa --- /dev/null +++ b/v11.4.0/_static/language_data.js @@ -0,0 +1,192 @@ +/* + * This script contains the language-specific data used by searchtools.js, + * namely the list of stopwords, stemmer, scorer and splitter. + */ + +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"]; + + +/* Non-minified version is copied as a separate JS file, if available */ + +/** + * Porter Stemmer + */ +var Stemmer = function() { + + var step2list = { + ational: 'ate', + tional: 'tion', + enci: 'ence', + anci: 'ance', + izer: 'ize', + bli: 'ble', + alli: 'al', + entli: 'ent', + eli: 'e', + ousli: 'ous', + ization: 'ize', + ation: 'ate', + ator: 'ate', + alism: 'al', + iveness: 'ive', + fulness: 'ful', + ousness: 'ous', + aliti: 'al', + iviti: 'ive', + biliti: 'ble', + logi: 'log' + }; + + var step3list = { + icate: 'ic', + ative: '', + alize: 'al', + iciti: 'ic', + ical: 'ic', + ful: '', + ness: '' + }; + + var c = "[^aeiou]"; // consonant + var v = "[aeiouy]"; // vowel + var C = c + "[^aeiouy]*"; // consonant sequence + var V = v + "[aeiou]*"; // vowel sequence + + var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 + var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 + var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 + var s_v = "^(" + C + ")?" + v; // vowel in stem + + this.stemWord = function (w) { + var stem; + var suffix; + var firstch; + var origword = w; + + if (w.length < 3) + return w; + + var re; + var re2; + var re3; + var re4; + + firstch = w.substr(0,1); + if (firstch == "y") + w = firstch.toUpperCase() + w.substr(1); + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) + w = w.replace(re,"$1$2"); + else if (re2.test(w)) + w = w.replace(re2,"$1$2"); + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) + w = w + "e"; + else if (re3.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + else if (re4.test(w)) + w = w + "e"; + } + } + + // Step 1c + re = /^(.+?)y$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(s_v); + if (re.test(stem)) + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step2list[suffix]; + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step3list[suffix]; + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) + w = stem; + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) + w = stem; + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) + w = stem; + } + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + if (firstch == "y") + w = firstch.toLowerCase() + w.substr(1); + return w; + } +} + diff --git a/v11.4.0/_static/logo.css b/v11.4.0/_static/logo.css new file mode 100644 index 000000000..a9c28e5c0 --- /dev/null +++ b/v11.4.0/_static/logo.css @@ -0,0 +1,3 @@ +.sidebar-logo { + border-radius: 50%; +} diff --git a/v11.4.0/_static/minus.png b/v11.4.0/_static/minus.png new file mode 100644 index 0000000000000000000000000000000000000000..d96755fdaf8bb2214971e0db9c1fd3077d7c419d GIT binary patch literal 90 zcmeAS@N?(olHy`uVBq!ia0vp^+#t*WBp7;*Yy1LIik>cxAr*|t7R?Mi>2?kWtu=nj kDsEF_5m^0CR;1wuP-*O&G^0G}KYk!hp00i_>zopr08q^qX#fBK literal 0 HcmV?d00001 diff --git a/v11.4.0/_static/plus.png b/v11.4.0/_static/plus.png new file mode 100644 index 0000000000000000000000000000000000000000..7107cec93a979b9a5f64843235a16651d563ce2d GIT binary patch literal 90 zcmeAS@N?(olHy`uVBq!ia0vp^+#t*WBp7;*Yy1LIik>cxAr*|t7R?Mi>2?kWtu>-2 m3q%Vub%g%s<8sJhVPMczOq}xhg9DJoz~JfX=d#Wzp$Pyb1r*Kz literal 0 HcmV?d00001 diff --git a/v11.4.0/_static/pygments.css b/v11.4.0/_static/pygments.css new file mode 100644 index 000000000..02b4b1281 --- /dev/null +++ b/v11.4.0/_static/pygments.css @@ -0,0 +1,258 @@ +.highlight pre { line-height: 125%; } +.highlight td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } +.highlight span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } +.highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +.highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +.highlight .hll { background-color: #ffffcc } +.highlight { background: #f8f8f8; } +.highlight .c { color: #8f5902; font-style: italic } /* Comment */ +.highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */ +.highlight .g { color: #000000 } /* Generic */ +.highlight .k { color: #204a87; font-weight: bold } /* Keyword */ +.highlight .l { color: #000000 } /* Literal */ +.highlight .n { color: #000000 } /* Name */ +.highlight .o { color: #ce5c00; font-weight: bold } /* Operator */ +.highlight .x { color: #000000 } /* Other */ +.highlight .p { color: #000000; font-weight: bold } /* Punctuation */ +.highlight .ch { color: #8f5902; font-style: italic } /* Comment.Hashbang */ +.highlight .cm { color: #8f5902; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #8f5902; font-style: italic } /* Comment.Preproc */ +.highlight .cpf { color: #8f5902; font-style: italic } /* Comment.PreprocFile */ +.highlight .c1 { color: #8f5902; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #8f5902; font-style: italic } /* Comment.Special */ +.highlight .gd { color: #a40000 } /* Generic.Deleted */ +.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */ +.highlight .ges { color: #000000; font-weight: bold; font-style: italic } /* Generic.EmphStrong */ +.highlight .gr { color: #ef2929 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #00A000 } /* Generic.Inserted */ +.highlight .go { color: #000000; font-style: italic } /* Generic.Output */ +.highlight .gp { color: #8f5902 } /* Generic.Prompt */ +.highlight .gs { color: #000000; font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #a40000; font-weight: bold } /* Generic.Traceback */ +.highlight .kc { color: #204a87; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #204a87; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #204a87; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #204a87; font-weight: bold } /* Keyword.Pseudo */ +.highlight .kr { color: #204a87; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #204a87; font-weight: bold } /* Keyword.Type */ +.highlight .ld { color: #000000 } /* Literal.Date */ +.highlight .m { color: #0000cf; font-weight: bold } /* Literal.Number */ +.highlight .s { color: #4e9a06 } /* Literal.String */ +.highlight .na { color: #c4a000 } /* Name.Attribute */ +.highlight .nb { color: #204a87 } /* Name.Builtin */ +.highlight .nc { color: #000000 } /* Name.Class */ +.highlight .no { color: #000000 } /* Name.Constant */ +.highlight .nd { color: #5c35cc; font-weight: bold } /* Name.Decorator */ +.highlight .ni { color: #ce5c00 } /* Name.Entity */ +.highlight .ne { color: #cc0000; font-weight: bold } /* Name.Exception */ +.highlight .nf { color: #000000 } /* Name.Function */ +.highlight .nl { color: #f57900 } /* Name.Label */ +.highlight .nn { color: #000000 } /* Name.Namespace */ +.highlight .nx { color: #000000 } /* Name.Other */ +.highlight .py { color: #000000 } /* Name.Property */ +.highlight .nt { color: #204a87; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #000000 } /* Name.Variable */ +.highlight .ow { color: #204a87; font-weight: bold } /* Operator.Word */ +.highlight .pm { color: #000000; font-weight: bold } /* Punctuation.Marker */ +.highlight .w { color: #f8f8f8 } /* Text.Whitespace */ +.highlight .mb { color: #0000cf; font-weight: bold } /* Literal.Number.Bin */ +.highlight .mf { color: #0000cf; font-weight: bold } /* Literal.Number.Float */ +.highlight .mh { color: #0000cf; font-weight: bold } /* Literal.Number.Hex */ +.highlight .mi { color: #0000cf; font-weight: bold } /* Literal.Number.Integer */ +.highlight .mo { color: #0000cf; font-weight: bold } /* Literal.Number.Oct */ +.highlight .sa { color: #4e9a06 } /* Literal.String.Affix */ +.highlight .sb { color: #4e9a06 } /* Literal.String.Backtick */ +.highlight .sc { color: #4e9a06 } /* Literal.String.Char */ +.highlight .dl { color: #4e9a06 } /* Literal.String.Delimiter */ +.highlight .sd { color: #8f5902; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #4e9a06 } /* Literal.String.Double */ +.highlight .se { color: #4e9a06 } /* Literal.String.Escape */ +.highlight .sh { color: #4e9a06 } /* Literal.String.Heredoc */ +.highlight .si { color: #4e9a06 } /* Literal.String.Interpol */ +.highlight .sx { color: #4e9a06 } /* Literal.String.Other */ +.highlight .sr { color: #4e9a06 } /* Literal.String.Regex */ +.highlight .s1 { color: #4e9a06 } /* Literal.String.Single */ +.highlight .ss { color: #4e9a06 } /* Literal.String.Symbol */ +.highlight .bp { color: #3465a4 } /* Name.Builtin.Pseudo */ +.highlight .fm { color: #000000 } /* Name.Function.Magic */ +.highlight .vc { color: #000000 } /* Name.Variable.Class */ +.highlight .vg { color: #000000 } /* Name.Variable.Global */ +.highlight .vi { color: #000000 } /* Name.Variable.Instance */ +.highlight .vm { color: #000000 } /* Name.Variable.Magic */ +.highlight .il { color: #0000cf; font-weight: bold } /* Literal.Number.Integer.Long */ +@media not print { +body[data-theme="dark"] .highlight pre { line-height: 125%; } +body[data-theme="dark"] .highlight td.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; } +body[data-theme="dark"] .highlight span.linenos { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; } +body[data-theme="dark"] .highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +body[data-theme="dark"] .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +body[data-theme="dark"] .highlight .hll { background-color: #404040 } +body[data-theme="dark"] .highlight { background: #202020; color: #d0d0d0 } +body[data-theme="dark"] .highlight .c { color: #ababab; font-style: italic } /* Comment */ +body[data-theme="dark"] .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ +body[data-theme="dark"] .highlight .esc { color: #d0d0d0 } /* Escape */ +body[data-theme="dark"] .highlight .g { color: #d0d0d0 } /* Generic */ +body[data-theme="dark"] .highlight .k { color: #6ebf26; font-weight: bold } /* Keyword */ +body[data-theme="dark"] .highlight .l { color: #d0d0d0 } /* Literal */ +body[data-theme="dark"] .highlight .n { color: #d0d0d0 } /* Name */ +body[data-theme="dark"] .highlight .o { color: #d0d0d0 } /* Operator */ +body[data-theme="dark"] .highlight .x { color: #d0d0d0 } /* Other */ +body[data-theme="dark"] .highlight .p { color: #d0d0d0 } /* Punctuation */ +body[data-theme="dark"] .highlight .ch { color: #ababab; font-style: italic } /* Comment.Hashbang */ +body[data-theme="dark"] .highlight .cm { color: #ababab; font-style: italic } /* Comment.Multiline */ +body[data-theme="dark"] .highlight .cp { color: #ff3a3a; font-weight: bold } /* Comment.Preproc */ +body[data-theme="dark"] .highlight .cpf { color: #ababab; font-style: italic } /* Comment.PreprocFile */ +body[data-theme="dark"] .highlight .c1 { color: #ababab; font-style: italic } /* Comment.Single */ +body[data-theme="dark"] .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */ +body[data-theme="dark"] .highlight .gd { color: #ff3a3a } /* Generic.Deleted */ +body[data-theme="dark"] .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */ +body[data-theme="dark"] .highlight .ges { color: #d0d0d0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */ +body[data-theme="dark"] .highlight .gr { color: #ff3a3a } /* Generic.Error */ +body[data-theme="dark"] .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */ +body[data-theme="dark"] .highlight .gi { color: #589819 } /* Generic.Inserted */ +body[data-theme="dark"] .highlight .go { color: #cccccc } /* Generic.Output */ +body[data-theme="dark"] .highlight .gp { color: #aaaaaa } /* Generic.Prompt */ +body[data-theme="dark"] .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */ +body[data-theme="dark"] .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */ +body[data-theme="dark"] .highlight .gt { color: #ff3a3a } /* Generic.Traceback */ +body[data-theme="dark"] .highlight .kc { color: #6ebf26; font-weight: bold } /* Keyword.Constant */ +body[data-theme="dark"] .highlight .kd { color: #6ebf26; font-weight: bold } /* Keyword.Declaration */ +body[data-theme="dark"] .highlight .kn { color: #6ebf26; font-weight: bold } /* Keyword.Namespace */ +body[data-theme="dark"] .highlight .kp { color: #6ebf26 } /* Keyword.Pseudo */ +body[data-theme="dark"] .highlight .kr { color: #6ebf26; font-weight: bold } /* Keyword.Reserved */ +body[data-theme="dark"] .highlight .kt { color: #6ebf26; font-weight: bold } /* Keyword.Type */ +body[data-theme="dark"] .highlight .ld { color: #d0d0d0 } /* Literal.Date */ +body[data-theme="dark"] .highlight .m { color: #51b2fd } /* Literal.Number */ +body[data-theme="dark"] .highlight .s { color: #ed9d13 } /* Literal.String */ +body[data-theme="dark"] .highlight .na { color: #bbbbbb } /* Name.Attribute */ +body[data-theme="dark"] .highlight .nb { color: #2fbccd } /* Name.Builtin */ +body[data-theme="dark"] .highlight .nc { color: #71adff; text-decoration: underline } /* Name.Class */ +body[data-theme="dark"] .highlight .no { color: #40ffff } /* Name.Constant */ +body[data-theme="dark"] .highlight .nd { color: #ffa500 } /* Name.Decorator */ +body[data-theme="dark"] .highlight .ni { color: #d0d0d0 } /* Name.Entity */ +body[data-theme="dark"] .highlight .ne { color: #bbbbbb } /* Name.Exception */ +body[data-theme="dark"] .highlight .nf { color: #71adff } /* Name.Function */ +body[data-theme="dark"] .highlight .nl { color: #d0d0d0 } /* Name.Label */ +body[data-theme="dark"] .highlight .nn { color: #71adff; text-decoration: underline } /* Name.Namespace */ +body[data-theme="dark"] .highlight .nx { color: #d0d0d0 } /* Name.Other */ +body[data-theme="dark"] .highlight .py { color: #d0d0d0 } /* Name.Property */ +body[data-theme="dark"] .highlight .nt { color: #6ebf26; font-weight: bold } /* Name.Tag */ +body[data-theme="dark"] .highlight .nv { color: #40ffff } /* Name.Variable */ +body[data-theme="dark"] .highlight .ow { color: #6ebf26; font-weight: bold } /* Operator.Word */ +body[data-theme="dark"] .highlight .pm { color: #d0d0d0 } /* Punctuation.Marker */ +body[data-theme="dark"] .highlight .w { color: #666666 } /* Text.Whitespace */ +body[data-theme="dark"] .highlight .mb { color: #51b2fd } /* Literal.Number.Bin */ +body[data-theme="dark"] .highlight .mf { color: #51b2fd } /* Literal.Number.Float */ +body[data-theme="dark"] .highlight .mh { color: #51b2fd } /* Literal.Number.Hex */ +body[data-theme="dark"] .highlight .mi { color: #51b2fd } /* Literal.Number.Integer */ +body[data-theme="dark"] .highlight .mo { color: #51b2fd } /* Literal.Number.Oct */ +body[data-theme="dark"] .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */ +body[data-theme="dark"] .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */ +body[data-theme="dark"] .highlight .sc { color: #ed9d13 } /* Literal.String.Char */ +body[data-theme="dark"] .highlight .dl { color: #ed9d13 } /* Literal.String.Delimiter */ +body[data-theme="dark"] .highlight .sd { color: #ed9d13 } /* Literal.String.Doc */ +body[data-theme="dark"] .highlight .s2 { color: #ed9d13 } /* Literal.String.Double */ +body[data-theme="dark"] .highlight .se { color: #ed9d13 } /* Literal.String.Escape */ +body[data-theme="dark"] .highlight .sh { color: #ed9d13 } /* Literal.String.Heredoc */ +body[data-theme="dark"] .highlight .si { color: #ed9d13 } /* Literal.String.Interpol */ +body[data-theme="dark"] .highlight .sx { color: #ffa500 } /* Literal.String.Other */ +body[data-theme="dark"] .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */ +body[data-theme="dark"] .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */ +body[data-theme="dark"] .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */ +body[data-theme="dark"] .highlight .bp { color: #2fbccd } /* Name.Builtin.Pseudo */ +body[data-theme="dark"] .highlight .fm { color: #71adff } /* Name.Function.Magic */ +body[data-theme="dark"] .highlight .vc { color: #40ffff } /* Name.Variable.Class */ +body[data-theme="dark"] .highlight .vg { color: #40ffff } /* Name.Variable.Global */ +body[data-theme="dark"] .highlight .vi { color: #40ffff } /* Name.Variable.Instance */ +body[data-theme="dark"] .highlight .vm { color: #40ffff } /* Name.Variable.Magic */ +body[data-theme="dark"] .highlight .il { color: #51b2fd } /* Literal.Number.Integer.Long */ +@media (prefers-color-scheme: dark) { +body:not([data-theme="light"]) .highlight pre { line-height: 125%; } +body:not([data-theme="light"]) .highlight td.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; } +body:not([data-theme="light"]) .highlight span.linenos { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; } +body:not([data-theme="light"]) .highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +body:not([data-theme="light"]) .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +body:not([data-theme="light"]) .highlight .hll { background-color: #404040 } +body:not([data-theme="light"]) .highlight { background: #202020; color: #d0d0d0 } +body:not([data-theme="light"]) .highlight .c { color: #ababab; font-style: italic } /* Comment */ +body:not([data-theme="light"]) .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ +body:not([data-theme="light"]) .highlight .esc { color: #d0d0d0 } /* Escape */ +body:not([data-theme="light"]) .highlight .g { color: #d0d0d0 } /* Generic */ +body:not([data-theme="light"]) .highlight .k { color: #6ebf26; font-weight: bold } /* Keyword */ +body:not([data-theme="light"]) .highlight .l { color: #d0d0d0 } /* Literal */ +body:not([data-theme="light"]) .highlight .n { color: #d0d0d0 } /* Name */ +body:not([data-theme="light"]) .highlight .o { color: #d0d0d0 } /* Operator */ +body:not([data-theme="light"]) .highlight .x { color: #d0d0d0 } /* Other */ +body:not([data-theme="light"]) .highlight .p { color: #d0d0d0 } /* Punctuation */ +body:not([data-theme="light"]) .highlight .ch { color: #ababab; font-style: italic } /* Comment.Hashbang */ +body:not([data-theme="light"]) .highlight .cm { color: #ababab; font-style: italic } /* Comment.Multiline */ +body:not([data-theme="light"]) .highlight .cp { color: #ff3a3a; font-weight: bold } /* Comment.Preproc */ +body:not([data-theme="light"]) .highlight .cpf { color: #ababab; font-style: italic } /* Comment.PreprocFile */ +body:not([data-theme="light"]) .highlight .c1 { color: #ababab; font-style: italic } /* Comment.Single */ +body:not([data-theme="light"]) .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */ +body:not([data-theme="light"]) .highlight .gd { color: #ff3a3a } /* Generic.Deleted */ +body:not([data-theme="light"]) .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */ +body:not([data-theme="light"]) .highlight .ges { color: #d0d0d0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */ +body:not([data-theme="light"]) .highlight .gr { color: #ff3a3a } /* Generic.Error */ +body:not([data-theme="light"]) .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */ +body:not([data-theme="light"]) .highlight .gi { color: #589819 } /* Generic.Inserted */ +body:not([data-theme="light"]) .highlight .go { color: #cccccc } /* Generic.Output */ +body:not([data-theme="light"]) .highlight .gp { color: #aaaaaa } /* Generic.Prompt */ +body:not([data-theme="light"]) .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */ +body:not([data-theme="light"]) .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */ +body:not([data-theme="light"]) .highlight .gt { color: #ff3a3a } /* Generic.Traceback */ +body:not([data-theme="light"]) .highlight .kc { color: #6ebf26; font-weight: bold } /* Keyword.Constant */ +body:not([data-theme="light"]) .highlight .kd { color: #6ebf26; font-weight: bold } /* Keyword.Declaration */ +body:not([data-theme="light"]) .highlight .kn { color: #6ebf26; font-weight: bold } /* Keyword.Namespace */ +body:not([data-theme="light"]) .highlight .kp { color: #6ebf26 } /* Keyword.Pseudo */ +body:not([data-theme="light"]) .highlight .kr { color: #6ebf26; font-weight: bold } /* Keyword.Reserved */ +body:not([data-theme="light"]) .highlight .kt { color: #6ebf26; font-weight: bold } /* Keyword.Type */ +body:not([data-theme="light"]) .highlight .ld { color: #d0d0d0 } /* Literal.Date */ +body:not([data-theme="light"]) .highlight .m { color: #51b2fd } /* Literal.Number */ +body:not([data-theme="light"]) .highlight .s { color: #ed9d13 } /* Literal.String */ +body:not([data-theme="light"]) .highlight .na { color: #bbbbbb } /* Name.Attribute */ +body:not([data-theme="light"]) .highlight .nb { color: #2fbccd } /* Name.Builtin */ +body:not([data-theme="light"]) .highlight .nc { color: #71adff; text-decoration: underline } /* Name.Class */ +body:not([data-theme="light"]) .highlight .no { color: #40ffff } /* Name.Constant */ +body:not([data-theme="light"]) .highlight .nd { color: #ffa500 } /* Name.Decorator */ +body:not([data-theme="light"]) .highlight .ni { color: #d0d0d0 } /* Name.Entity */ +body:not([data-theme="light"]) .highlight .ne { color: #bbbbbb } /* Name.Exception */ +body:not([data-theme="light"]) .highlight .nf { color: #71adff } /* Name.Function */ +body:not([data-theme="light"]) .highlight .nl { color: #d0d0d0 } /* Name.Label */ +body:not([data-theme="light"]) .highlight .nn { color: #71adff; text-decoration: underline } /* Name.Namespace */ +body:not([data-theme="light"]) .highlight .nx { color: #d0d0d0 } /* Name.Other */ +body:not([data-theme="light"]) .highlight .py { color: #d0d0d0 } /* Name.Property */ +body:not([data-theme="light"]) .highlight .nt { color: #6ebf26; font-weight: bold } /* Name.Tag */ +body:not([data-theme="light"]) .highlight .nv { color: #40ffff } /* Name.Variable */ +body:not([data-theme="light"]) .highlight .ow { color: #6ebf26; font-weight: bold } /* Operator.Word */ +body:not([data-theme="light"]) .highlight .pm { color: #d0d0d0 } /* Punctuation.Marker */ +body:not([data-theme="light"]) .highlight .w { color: #666666 } /* Text.Whitespace */ +body:not([data-theme="light"]) .highlight .mb { color: #51b2fd } /* Literal.Number.Bin */ +body:not([data-theme="light"]) .highlight .mf { color: #51b2fd } /* Literal.Number.Float */ +body:not([data-theme="light"]) .highlight .mh { color: #51b2fd } /* Literal.Number.Hex */ +body:not([data-theme="light"]) .highlight .mi { color: #51b2fd } /* Literal.Number.Integer */ +body:not([data-theme="light"]) .highlight .mo { color: #51b2fd } /* Literal.Number.Oct */ +body:not([data-theme="light"]) .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */ +body:not([data-theme="light"]) .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */ +body:not([data-theme="light"]) .highlight .sc { color: #ed9d13 } /* Literal.String.Char */ +body:not([data-theme="light"]) .highlight .dl { color: #ed9d13 } /* Literal.String.Delimiter */ +body:not([data-theme="light"]) .highlight .sd { color: #ed9d13 } /* Literal.String.Doc */ +body:not([data-theme="light"]) .highlight .s2 { color: #ed9d13 } /* Literal.String.Double */ +body:not([data-theme="light"]) .highlight .se { color: #ed9d13 } /* Literal.String.Escape */ +body:not([data-theme="light"]) .highlight .sh { color: #ed9d13 } /* Literal.String.Heredoc */ +body:not([data-theme="light"]) .highlight .si { color: #ed9d13 } /* Literal.String.Interpol */ +body:not([data-theme="light"]) .highlight .sx { color: #ffa500 } /* Literal.String.Other */ +body:not([data-theme="light"]) .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */ +body:not([data-theme="light"]) .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */ +body:not([data-theme="light"]) .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */ +body:not([data-theme="light"]) .highlight .bp { color: #2fbccd } /* Name.Builtin.Pseudo */ +body:not([data-theme="light"]) .highlight .fm { color: #71adff } /* Name.Function.Magic */ +body:not([data-theme="light"]) .highlight .vc { color: #40ffff } /* Name.Variable.Class */ +body:not([data-theme="light"]) .highlight .vg { color: #40ffff } /* Name.Variable.Global */ +body:not([data-theme="light"]) .highlight .vi { color: #40ffff } /* Name.Variable.Instance */ +body:not([data-theme="light"]) .highlight .vm { color: #40ffff } /* Name.Variable.Magic */ +body:not([data-theme="light"]) .highlight .il { color: #51b2fd } /* Literal.Number.Integer.Long */ +} +} \ No newline at end of file diff --git a/v11.4.0/_static/scripts/furo-extensions.js b/v11.4.0/_static/scripts/furo-extensions.js new file mode 100644 index 000000000..e69de29bb diff --git a/v11.4.0/_static/scripts/furo.js b/v11.4.0/_static/scripts/furo.js new file mode 100644 index 000000000..0abb2afac --- /dev/null +++ b/v11.4.0/_static/scripts/furo.js @@ -0,0 +1,3 @@ +/*! For license information please see furo.js.LICENSE.txt */ +(()=>{var t={856:function(t,e,n){var o,r;r=void 0!==n.g?n.g:"undefined"!=typeof window?window:this,o=function(){return function(t){"use strict";var e={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},n=function(t,e,n){if(n.settings.events){var o=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});e.dispatchEvent(o)}},o=function(t){var e=0;if(t.offsetParent)for(;t;)e+=t.offsetTop,t=t.offsetParent;return e>=0?e:0},r=function(t){t&&t.sort((function(t,e){return o(t.content)=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},l=function(t,e){var n=t[t.length-1];if(function(t,e){return!(!s()||!c(t.content,e,!0))}(n,e))return n;for(var o=t.length-1;o>=0;o--)if(c(t[o].content,e))return t[o]},a=function(t,e){if(e.nested&&t.parentNode){var n=t.parentNode.closest("li");n&&(n.classList.remove(e.nestedClass),a(n,e))}},i=function(t,e){if(t){var o=t.nav.closest("li");o&&(o.classList.remove(e.navClass),t.content.classList.remove(e.contentClass),a(o,e),n("gumshoeDeactivate",o,{link:t.nav,content:t.content,settings:e}))}},u=function(t,e){if(e.nested){var n=t.parentNode.closest("li");n&&(n.classList.add(e.nestedClass),u(n,e))}};return function(o,c){var s,a,d,f,m,v={setup:function(){s=document.querySelectorAll(o),a=[],Array.prototype.forEach.call(s,(function(t){var e=document.getElementById(decodeURIComponent(t.hash.substr(1)));e&&a.push({nav:t,content:e})})),r(a)},detect:function(){var t=l(a,m);t?d&&t.content===d.content||(i(d,m),function(t,e){if(t){var o=t.nav.closest("li");o&&(o.classList.add(e.navClass),t.content.classList.add(e.contentClass),u(o,e),n("gumshoeActivate",o,{link:t.nav,content:t.content,settings:e}))}}(t,m),d=t):d&&(i(d,m),d=null)}},h=function(e){f&&t.cancelAnimationFrame(f),f=t.requestAnimationFrame(v.detect)},g=function(e){f&&t.cancelAnimationFrame(f),f=t.requestAnimationFrame((function(){r(a),v.detect()}))};return v.destroy=function(){d&&i(d,m),t.removeEventListener("scroll",h,!1),m.reflow&&t.removeEventListener("resize",g,!1),a=null,s=null,d=null,f=null,m=null},m=function(){var t={};return Array.prototype.forEach.call(arguments,(function(e){for(var n in e){if(!e.hasOwnProperty(n))return;t[n]=e[n]}})),t}(e,c||{}),v.setup(),v.detect(),t.addEventListener("scroll",h,!1),m.reflow&&t.addEventListener("resize",g,!1),v}}(r)}.apply(e,[]),void 0===o||(t.exports=o)}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var c=e[o]={exports:{}};return t[o].call(c.exports,c,c.exports,n),c.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=n(856),e=n.n(t),o=null,r=null,c=document.documentElement.scrollTop;const s=64;function l(){const t=localStorage.getItem("theme")||"auto";var e;"light"!==(e=window.matchMedia("(prefers-color-scheme: dark)").matches?"auto"===t?"light":"light"==t?"dark":"auto":"auto"===t?"dark":"dark"==t?"light":"auto")&&"dark"!==e&&"auto"!==e&&(console.error(`Got invalid theme mode: ${e}. Resetting to auto.`),e="auto"),document.body.dataset.theme=e,localStorage.setItem("theme",e),console.log(`Changed to ${e} mode.`)}function a(){!function(){const t=document.getElementsByClassName("theme-toggle");Array.from(t).forEach((t=>{t.addEventListener("click",l)}))}(),function(){let t=0,e=!1;window.addEventListener("scroll",(function(n){t=window.scrollY,e||(window.requestAnimationFrame((function(){var n;(function(t){const e=Math.floor(r.getBoundingClientRect().top);console.log(`headerTop: ${e}`),0==e&&t!=e?r.classList.add("scrolled"):r.classList.remove("scrolled")})(n=t),function(t){tc&&document.documentElement.classList.remove("show-back-to-top"),c=t}(n),function(t){null!==o&&(0==t?o.scrollTo(0,0):Math.ceil(t)>=Math.floor(document.documentElement.scrollHeight-window.innerHeight)?o.scrollTo(0,o.scrollHeight):document.querySelector(".scroll-current"))}(n),e=!1})),e=!0)})),window.scroll()}(),null!==o&&new(e())(".toc-tree a",{reflow:!0,recursive:!0,navClass:"scroll-current",offset:()=>{let t=parseFloat(getComputedStyle(document.documentElement).fontSize);return r.getBoundingClientRect().height+2.5*t+1}})}document.addEventListener("DOMContentLoaded",(function(){document.body.parentNode.classList.remove("no-js"),r=document.querySelector("header"),o=document.querySelector(".toc-scroll"),a()}))})()})(); +//# sourceMappingURL=furo.js.map \ No newline at end of file diff --git a/v11.4.0/_static/scripts/furo.js.LICENSE.txt b/v11.4.0/_static/scripts/furo.js.LICENSE.txt new file mode 100644 index 000000000..1632189c7 --- /dev/null +++ b/v11.4.0/_static/scripts/furo.js.LICENSE.txt @@ -0,0 +1,7 @@ +/*! + * gumshoejs v5.1.2 (patched by @pradyunsg) + * A simple, framework-agnostic scrollspy script. + * (c) 2019 Chris Ferdinandi + * MIT License + * http://github.com/cferdinandi/gumshoe + */ diff --git a/v11.4.0/_static/scripts/furo.js.map b/v11.4.0/_static/scripts/furo.js.map new file mode 100644 index 000000000..80ea12b85 --- /dev/null +++ b/v11.4.0/_static/scripts/furo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scripts/furo.js","mappings":";iCAAA,MAQWA,SAWS,IAAX,EAAAC,EACH,EAAAA,EACkB,oBAAXC,OACLA,OACAC,KAbO,EAAF,WACP,OAaJ,SAAUD,GACR,aAMA,IAAIE,EAAW,CAEbC,SAAU,SACVC,aAAc,SAGdC,QAAQ,EACRC,YAAa,SAGbC,OAAQ,EACRC,QAAQ,EAGRC,QAAQ,GA6BNC,EAAY,SAAUC,EAAMC,EAAMC,GAEpC,GAAKA,EAAOC,SAASL,OAArB,CAGA,IAAIM,EAAQ,IAAIC,YAAYL,EAAM,CAChCM,SAAS,EACTC,YAAY,EACZL,OAAQA,IAIVD,EAAKO,cAAcJ,EAVgB,CAWrC,EAOIK,EAAe,SAAUR,GAC3B,IAAIS,EAAW,EACf,GAAIT,EAAKU,aACP,KAAOV,GACLS,GAAYT,EAAKW,UACjBX,EAAOA,EAAKU,aAGhB,OAAOD,GAAY,EAAIA,EAAW,CACpC,EAMIG,EAAe,SAAUC,GACvBA,GACFA,EAASC,MAAK,SAAUC,EAAOC,GAG7B,OAFcR,EAAaO,EAAME,SACnBT,EAAaQ,EAAMC,UACF,EACxB,CACT,GAEJ,EAwCIC,EAAW,SAAUlB,EAAME,EAAUiB,GACvC,IAAIC,EAASpB,EAAKqB,wBACd1B,EAnCU,SAAUO,GAExB,MAA+B,mBAApBA,EAASP,OACX2B,WAAWpB,EAASP,UAItB2B,WAAWpB,EAASP,OAC7B,CA2Be4B,CAAUrB,GACvB,OAAIiB,EAEAK,SAASJ,EAAOD,OAAQ,KACvB/B,EAAOqC,aAAeC,SAASC,gBAAgBC,cAG7CJ,SAASJ,EAAOS,IAAK,KAAOlC,CACrC,EAMImC,EAAa,WACf,OACEC,KAAKC,KAAK5C,EAAOqC,YAAcrC,EAAO6C,cAnCjCF,KAAKG,IACVR,SAASS,KAAKC,aACdV,SAASC,gBAAgBS,aACzBV,SAASS,KAAKE,aACdX,SAASC,gBAAgBU,aACzBX,SAASS,KAAKP,aACdF,SAASC,gBAAgBC,aAkC7B,EAmBIU,EAAY,SAAUzB,EAAUX,GAClC,IAAIqC,EAAO1B,EAASA,EAAS2B,OAAS,GACtC,GAbgB,SAAUC,EAAMvC,GAChC,SAAI4B,MAAgBZ,EAASuB,EAAKxB,QAASf,GAAU,GAEvD,CAUMwC,CAAYH,EAAMrC,GAAW,OAAOqC,EACxC,IAAK,IAAII,EAAI9B,EAAS2B,OAAS,EAAGG,GAAK,EAAGA,IACxC,GAAIzB,EAASL,EAAS8B,GAAG1B,QAASf,GAAW,OAAOW,EAAS8B,EAEjE,EAOIC,EAAmB,SAAUC,EAAK3C,GAEpC,GAAKA,EAAST,QAAWoD,EAAIC,WAA7B,CAGA,IAAIC,EAAKF,EAAIC,WAAWE,QAAQ,MAC3BD,IAGLA,EAAGE,UAAUC,OAAOhD,EAASR,aAG7BkD,EAAiBG,EAAI7C,GAV0B,CAWjD,EAOIiD,EAAa,SAAUC,EAAOlD,GAEhC,GAAKkD,EAAL,CAGA,IAAIL,EAAKK,EAAMP,IAAIG,QAAQ,MACtBD,IAGLA,EAAGE,UAAUC,OAAOhD,EAASX,UAC7B6D,EAAMnC,QAAQgC,UAAUC,OAAOhD,EAASV,cAGxCoD,EAAiBG,EAAI7C,GAGrBJ,EAAU,oBAAqBiD,EAAI,CACjCM,KAAMD,EAAMP,IACZ5B,QAASmC,EAAMnC,QACff,SAAUA,IAjBM,CAmBpB,EAOIoD,EAAiB,SAAUT,EAAK3C,GAElC,GAAKA,EAAST,OAAd,CAGA,IAAIsD,EAAKF,EAAIC,WAAWE,QAAQ,MAC3BD,IAGLA,EAAGE,UAAUM,IAAIrD,EAASR,aAG1B4D,EAAeP,EAAI7C,GAVS,CAW9B,EA6LA,OA1JkB,SAAUsD,EAAUC,GAKpC,IACIC,EAAU7C,EAAU8C,EAASC,EAAS1D,EADtC2D,EAAa,CAUjBA,MAAmB,WAEjBH,EAAWhC,SAASoC,iBAAiBN,GAGrC3C,EAAW,GAGXkD,MAAMC,UAAUC,QAAQC,KAAKR,GAAU,SAAUjB,GAE/C,IAAIxB,EAAUS,SAASyC,eACrBC,mBAAmB3B,EAAK4B,KAAKC,OAAO,KAEjCrD,GAGLJ,EAAS0D,KAAK,CACZ1B,IAAKJ,EACLxB,QAASA,GAEb,IAGAL,EAAaC,EACf,EAKAgD,OAAoB,WAElB,IAAIW,EAASlC,EAAUzB,EAAUX,GAG5BsE,EASDb,GAAWa,EAAOvD,UAAY0C,EAAQ1C,UAG1CkC,EAAWQ,EAASzD,GAzFT,SAAUkD,EAAOlD,GAE9B,GAAKkD,EAAL,CAGA,IAAIL,EAAKK,EAAMP,IAAIG,QAAQ,MACtBD,IAGLA,EAAGE,UAAUM,IAAIrD,EAASX,UAC1B6D,EAAMnC,QAAQgC,UAAUM,IAAIrD,EAASV,cAGrC8D,EAAeP,EAAI7C,GAGnBJ,EAAU,kBAAmBiD,EAAI,CAC/BM,KAAMD,EAAMP,IACZ5B,QAASmC,EAAMnC,QACff,SAAUA,IAjBM,CAmBpB,CAqEIuE,CAASD,EAAQtE,GAGjByD,EAAUa,GAfJb,IACFR,EAAWQ,EAASzD,GACpByD,EAAU,KAchB,GAMIe,EAAgB,SAAUvE,GAExByD,GACFxE,EAAOuF,qBAAqBf,GAI9BA,EAAUxE,EAAOwF,sBAAsBf,EAAWgB,OACpD,EAMIC,EAAgB,SAAU3E,GAExByD,GACFxE,EAAOuF,qBAAqBf,GAI9BA,EAAUxE,EAAOwF,uBAAsB,WACrChE,EAAaC,GACbgD,EAAWgB,QACb,GACF,EAkDA,OA7CAhB,EAAWkB,QAAU,WAEfpB,GACFR,EAAWQ,EAASzD,GAItBd,EAAO4F,oBAAoB,SAAUN,GAAe,GAChDxE,EAASN,QACXR,EAAO4F,oBAAoB,SAAUF,GAAe,GAItDjE,EAAW,KACX6C,EAAW,KACXC,EAAU,KACVC,EAAU,KACV1D,EAAW,IACb,EAOEA,EA3XS,WACX,IAAI+E,EAAS,CAAC,EAOd,OANAlB,MAAMC,UAAUC,QAAQC,KAAKgB,WAAW,SAAUC,GAChD,IAAK,IAAIC,KAAOD,EAAK,CACnB,IAAKA,EAAIE,eAAeD,GAAM,OAC9BH,EAAOG,GAAOD,EAAIC,EACpB,CACF,IACOH,CACT,CAkXeK,CAAOhG,EAAUmE,GAAW,CAAC,GAGxCI,EAAW0B,QAGX1B,EAAWgB,SAGXzF,EAAOoG,iBAAiB,SAAUd,GAAe,GAC7CxE,EAASN,QACXR,EAAOoG,iBAAiB,SAAUV,GAAe,GAS9CjB,CACT,CAOF,CArcW4B,CAAQvG,EAChB,UAFM,SAEN,uBCXDwG,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAU1B,KAAK8B,EAAOD,QAASC,EAAQA,EAAOD,QAASJ,GAGpEK,EAAOD,OACf,CCrBAJ,EAAoBO,EAAKF,IACxB,IAAIG,EAASH,GAAUA,EAAOI,WAC7B,IAAOJ,EAAiB,QACxB,IAAM,EAEP,OADAL,EAAoBU,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,ECLdR,EAAoBU,EAAI,CAACN,EAASQ,KACjC,IAAI,IAAInB,KAAOmB,EACXZ,EAAoBa,EAAED,EAAYnB,KAASO,EAAoBa,EAAET,EAASX,IAC5EqB,OAAOC,eAAeX,EAASX,EAAK,CAAEuB,YAAY,EAAMC,IAAKL,EAAWnB,IAE1E,ECNDO,EAAoBxG,EAAI,WACvB,GAA0B,iBAAf0H,WAAyB,OAAOA,WAC3C,IACC,OAAOxH,MAAQ,IAAIyH,SAAS,cAAb,EAChB,CAAE,MAAOC,GACR,GAAsB,iBAAX3H,OAAqB,OAAOA,MACxC,CACA,CAPuB,GCAxBuG,EAAoBa,EAAI,CAACrB,EAAK6B,IAAUP,OAAOzC,UAAUqB,eAAenB,KAAKiB,EAAK6B,4CCK9EC,EAAY,KACZC,EAAS,KACTC,EAAgBzF,SAASC,gBAAgByF,UAC7C,MAAMC,EAAmB,GA8EzB,SAASC,IACP,MAAMC,EAAeC,aAAaC,QAAQ,UAAY,OAZxD,IAAkBC,EACH,WADGA,EAaItI,OAAOuI,WAAW,gCAAgCC,QAI/C,SAAjBL,EACO,QACgB,SAAhBA,EACA,OAEA,OAIU,SAAjBA,EACO,OACgB,QAAhBA,EACA,QAEA,SA9BoB,SAATG,GAA4B,SAATA,IACzCG,QAAQC,MAAM,2BAA2BJ,yBACzCA,EAAO,QAGThG,SAASS,KAAK4F,QAAQC,MAAQN,EAC9BF,aAAaS,QAAQ,QAASP,GAC9BG,QAAQK,IAAI,cAAcR,UA0B5B,CAkDA,SAASnC,KART,WAEE,MAAM4C,EAAUzG,SAAS0G,uBAAuB,gBAChDrE,MAAMsE,KAAKF,GAASlE,SAASqE,IAC3BA,EAAI9C,iBAAiB,QAAS8B,EAAe,GAEjD,CAGEiB,GA9CF,WAEE,IAAIC,EAA6B,EAC7BC,GAAU,EAEdrJ,OAAOoG,iBAAiB,UAAU,SAAUuB,GAC1CyB,EAA6BpJ,OAAOsJ,QAE/BD,IACHrJ,OAAOwF,uBAAsB,WAzDnC,IAAuB+D,GAxDvB,SAAgCA,GAC9B,MAAMC,EAAY7G,KAAK8G,MAAM3B,EAAO7F,wBAAwBQ,KAE5DgG,QAAQK,IAAI,cAAcU,KACT,GAAbA,GAAkBD,GAAaC,EACjC1B,EAAOjE,UAAUM,IAAI,YAErB2D,EAAOjE,UAAUC,OAAO,WAE5B,EAgDE4F,CADqBH,EA0DDH,GAvGtB,SAAmCG,GAC7BA,EAAYtB,EACd3F,SAASC,gBAAgBsB,UAAUC,OAAO,oBAEtCyF,EAAYxB,EACdzF,SAASC,gBAAgBsB,UAAUM,IAAI,oBAC9BoF,EAAYxB,GACrBzF,SAASC,gBAAgBsB,UAAUC,OAAO,oBAG9CiE,EAAgBwB,CAClB,CAoCEI,CAA0BJ,GAlC5B,SAA6BA,GACT,OAAd1B,IAKa,GAAb0B,EACF1B,EAAU+B,SAAS,EAAG,GAGtBjH,KAAKC,KAAK2G,IACV5G,KAAK8G,MAAMnH,SAASC,gBAAgBS,aAAehD,OAAOqC,aAE1DwF,EAAU+B,SAAS,EAAG/B,EAAU7E,cAGhBV,SAASuH,cAAc,mBAc3C,CAKEC,CAAoBP,GAwDdF,GAAU,CACZ,IAEAA,GAAU,EAEd,IACArJ,OAAO+J,QACT,CA6BEC,GA1BkB,OAAdnC,GAKJ,IAAI,IAAJ,CAAY,cAAe,CACzBrH,QAAQ,EACRyJ,WAAW,EACX9J,SAAU,iBACVI,OAAQ,KACN,IAAI2J,EAAMhI,WAAWiI,iBAAiB7H,SAASC,iBAAiB6H,UAChE,OAAOtC,EAAO7F,wBAAwBoI,OAAS,IAAMH,EAAM,CAAC,GAiBlE,CAcA5H,SAAS8D,iBAAiB,oBAT1B,WACE9D,SAASS,KAAKW,WAAWG,UAAUC,OAAO,SAE1CgE,EAASxF,SAASuH,cAAc,UAChChC,EAAYvF,SAASuH,cAAc,eAEnC1D,GACF","sources":["webpack:///./src/furo/assets/scripts/gumshoe-patched.js","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///./src/furo/assets/scripts/furo.js"],"sourcesContent":["/*!\n * gumshoejs v5.1.2 (patched by @pradyunsg)\n * A simple, framework-agnostic scrollspy script.\n * (c) 2019 Chris Ferdinandi\n * MIT License\n * http://github.com/cferdinandi/gumshoe\n */\n\n(function (root, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([], function () {\n return factory(root);\n });\n } else if (typeof exports === \"object\") {\n module.exports = factory(root);\n } else {\n root.Gumshoe = factory(root);\n }\n})(\n typeof global !== \"undefined\"\n ? global\n : typeof window !== \"undefined\"\n ? window\n : this,\n function (window) {\n \"use strict\";\n\n //\n // Defaults\n //\n\n var defaults = {\n // Active classes\n navClass: \"active\",\n contentClass: \"active\",\n\n // Nested navigation\n nested: false,\n nestedClass: \"active\",\n\n // Offset & reflow\n offset: 0,\n reflow: false,\n\n // Event support\n events: true,\n };\n\n //\n // Methods\n //\n\n /**\n * Merge two or more objects together.\n * @param {Object} objects The objects to merge together\n * @returns {Object} Merged values of defaults and options\n */\n var extend = function () {\n var merged = {};\n Array.prototype.forEach.call(arguments, function (obj) {\n for (var key in obj) {\n if (!obj.hasOwnProperty(key)) return;\n merged[key] = obj[key];\n }\n });\n return merged;\n };\n\n /**\n * Emit a custom event\n * @param {String} type The event type\n * @param {Node} elem The element to attach the event to\n * @param {Object} detail Any details to pass along with the event\n */\n var emitEvent = function (type, elem, detail) {\n // Make sure events are enabled\n if (!detail.settings.events) return;\n\n // Create a new event\n var event = new CustomEvent(type, {\n bubbles: true,\n cancelable: true,\n detail: detail,\n });\n\n // Dispatch the event\n elem.dispatchEvent(event);\n };\n\n /**\n * Get an element's distance from the top of the Document.\n * @param {Node} elem The element\n * @return {Number} Distance from the top in pixels\n */\n var getOffsetTop = function (elem) {\n var location = 0;\n if (elem.offsetParent) {\n while (elem) {\n location += elem.offsetTop;\n elem = elem.offsetParent;\n }\n }\n return location >= 0 ? location : 0;\n };\n\n /**\n * Sort content from first to last in the DOM\n * @param {Array} contents The content areas\n */\n var sortContents = function (contents) {\n if (contents) {\n contents.sort(function (item1, item2) {\n var offset1 = getOffsetTop(item1.content);\n var offset2 = getOffsetTop(item2.content);\n if (offset1 < offset2) return -1;\n return 1;\n });\n }\n };\n\n /**\n * Get the offset to use for calculating position\n * @param {Object} settings The settings for this instantiation\n * @return {Float} The number of pixels to offset the calculations\n */\n var getOffset = function (settings) {\n // if the offset is a function run it\n if (typeof settings.offset === \"function\") {\n return parseFloat(settings.offset());\n }\n\n // Otherwise, return it as-is\n return parseFloat(settings.offset);\n };\n\n /**\n * Get the document element's height\n * @private\n * @returns {Number}\n */\n var getDocumentHeight = function () {\n return Math.max(\n document.body.scrollHeight,\n document.documentElement.scrollHeight,\n document.body.offsetHeight,\n document.documentElement.offsetHeight,\n document.body.clientHeight,\n document.documentElement.clientHeight,\n );\n };\n\n /**\n * Determine if an element is in view\n * @param {Node} elem The element\n * @param {Object} settings The settings for this instantiation\n * @param {Boolean} bottom If true, check if element is above bottom of viewport instead\n * @return {Boolean} Returns true if element is in the viewport\n */\n var isInView = function (elem, settings, bottom) {\n var bounds = elem.getBoundingClientRect();\n var offset = getOffset(settings);\n if (bottom) {\n return (\n parseInt(bounds.bottom, 10) <\n (window.innerHeight || document.documentElement.clientHeight)\n );\n }\n return parseInt(bounds.top, 10) <= offset;\n };\n\n /**\n * Check if at the bottom of the viewport\n * @return {Boolean} If true, page is at the bottom of the viewport\n */\n var isAtBottom = function () {\n if (\n Math.ceil(window.innerHeight + window.pageYOffset) >=\n getDocumentHeight()\n )\n return true;\n return false;\n };\n\n /**\n * Check if the last item should be used (even if not at the top of the page)\n * @param {Object} item The last item\n * @param {Object} settings The settings for this instantiation\n * @return {Boolean} If true, use the last item\n */\n var useLastItem = function (item, settings) {\n if (isAtBottom() && isInView(item.content, settings, true)) return true;\n return false;\n };\n\n /**\n * Get the active content\n * @param {Array} contents The content areas\n * @param {Object} settings The settings for this instantiation\n * @return {Object} The content area and matching navigation link\n */\n var getActive = function (contents, settings) {\n var last = contents[contents.length - 1];\n if (useLastItem(last, settings)) return last;\n for (var i = contents.length - 1; i >= 0; i--) {\n if (isInView(contents[i].content, settings)) return contents[i];\n }\n };\n\n /**\n * Deactivate parent navs in a nested navigation\n * @param {Node} nav The starting navigation element\n * @param {Object} settings The settings for this instantiation\n */\n var deactivateNested = function (nav, settings) {\n // If nesting isn't activated, bail\n if (!settings.nested || !nav.parentNode) return;\n\n // Get the parent navigation\n var li = nav.parentNode.closest(\"li\");\n if (!li) return;\n\n // Remove the active class\n li.classList.remove(settings.nestedClass);\n\n // Apply recursively to any parent navigation elements\n deactivateNested(li, settings);\n };\n\n /**\n * Deactivate a nav and content area\n * @param {Object} items The nav item and content to deactivate\n * @param {Object} settings The settings for this instantiation\n */\n var deactivate = function (items, settings) {\n // Make sure there are items to deactivate\n if (!items) return;\n\n // Get the parent list item\n var li = items.nav.closest(\"li\");\n if (!li) return;\n\n // Remove the active class from the nav and content\n li.classList.remove(settings.navClass);\n items.content.classList.remove(settings.contentClass);\n\n // Deactivate any parent navs in a nested navigation\n deactivateNested(li, settings);\n\n // Emit a custom event\n emitEvent(\"gumshoeDeactivate\", li, {\n link: items.nav,\n content: items.content,\n settings: settings,\n });\n };\n\n /**\n * Activate parent navs in a nested navigation\n * @param {Node} nav The starting navigation element\n * @param {Object} settings The settings for this instantiation\n */\n var activateNested = function (nav, settings) {\n // If nesting isn't activated, bail\n if (!settings.nested) return;\n\n // Get the parent navigation\n var li = nav.parentNode.closest(\"li\");\n if (!li) return;\n\n // Add the active class\n li.classList.add(settings.nestedClass);\n\n // Apply recursively to any parent navigation elements\n activateNested(li, settings);\n };\n\n /**\n * Activate a nav and content area\n * @param {Object} items The nav item and content to activate\n * @param {Object} settings The settings for this instantiation\n */\n var activate = function (items, settings) {\n // Make sure there are items to activate\n if (!items) return;\n\n // Get the parent list item\n var li = items.nav.closest(\"li\");\n if (!li) return;\n\n // Add the active class to the nav and content\n li.classList.add(settings.navClass);\n items.content.classList.add(settings.contentClass);\n\n // Activate any parent navs in a nested navigation\n activateNested(li, settings);\n\n // Emit a custom event\n emitEvent(\"gumshoeActivate\", li, {\n link: items.nav,\n content: items.content,\n settings: settings,\n });\n };\n\n /**\n * Create the Constructor object\n * @param {String} selector The selector to use for navigation items\n * @param {Object} options User options and settings\n */\n var Constructor = function (selector, options) {\n //\n // Variables\n //\n\n var publicAPIs = {};\n var navItems, contents, current, timeout, settings;\n\n //\n // Methods\n //\n\n /**\n * Set variables from DOM elements\n */\n publicAPIs.setup = function () {\n // Get all nav items\n navItems = document.querySelectorAll(selector);\n\n // Create contents array\n contents = [];\n\n // Loop through each item, get it's matching content, and push to the array\n Array.prototype.forEach.call(navItems, function (item) {\n // Get the content for the nav item\n var content = document.getElementById(\n decodeURIComponent(item.hash.substr(1)),\n );\n if (!content) return;\n\n // Push to the contents array\n contents.push({\n nav: item,\n content: content,\n });\n });\n\n // Sort contents by the order they appear in the DOM\n sortContents(contents);\n };\n\n /**\n * Detect which content is currently active\n */\n publicAPIs.detect = function () {\n // Get the active content\n var active = getActive(contents, settings);\n\n // if there's no active content, deactivate and bail\n if (!active) {\n if (current) {\n deactivate(current, settings);\n current = null;\n }\n return;\n }\n\n // If the active content is the one currently active, do nothing\n if (current && active.content === current.content) return;\n\n // Deactivate the current content and activate the new content\n deactivate(current, settings);\n activate(active, settings);\n\n // Update the currently active content\n current = active;\n };\n\n /**\n * Detect the active content on scroll\n * Debounced for performance\n */\n var scrollHandler = function (event) {\n // If there's a timer, cancel it\n if (timeout) {\n window.cancelAnimationFrame(timeout);\n }\n\n // Setup debounce callback\n timeout = window.requestAnimationFrame(publicAPIs.detect);\n };\n\n /**\n * Update content sorting on resize\n * Debounced for performance\n */\n var resizeHandler = function (event) {\n // If there's a timer, cancel it\n if (timeout) {\n window.cancelAnimationFrame(timeout);\n }\n\n // Setup debounce callback\n timeout = window.requestAnimationFrame(function () {\n sortContents(contents);\n publicAPIs.detect();\n });\n };\n\n /**\n * Destroy the current instantiation\n */\n publicAPIs.destroy = function () {\n // Undo DOM changes\n if (current) {\n deactivate(current, settings);\n }\n\n // Remove event listeners\n window.removeEventListener(\"scroll\", scrollHandler, false);\n if (settings.reflow) {\n window.removeEventListener(\"resize\", resizeHandler, false);\n }\n\n // Reset variables\n contents = null;\n navItems = null;\n current = null;\n timeout = null;\n settings = null;\n };\n\n /**\n * Initialize the current instantiation\n */\n var init = function () {\n // Merge user options into defaults\n settings = extend(defaults, options || {});\n\n // Setup variables based on the current DOM\n publicAPIs.setup();\n\n // Find the currently active content\n publicAPIs.detect();\n\n // Setup event listeners\n window.addEventListener(\"scroll\", scrollHandler, false);\n if (settings.reflow) {\n window.addEventListener(\"resize\", resizeHandler, false);\n }\n };\n\n //\n // Initialize and return the public APIs\n //\n\n init();\n return publicAPIs;\n };\n\n //\n // Return the Constructor\n //\n\n return Constructor;\n },\n);\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","import Gumshoe from \"./gumshoe-patched.js\";\n\n////////////////////////////////////////////////////////////////////////////////\n// Scroll Handling\n////////////////////////////////////////////////////////////////////////////////\nvar tocScroll = null;\nvar header = null;\nvar lastScrollTop = document.documentElement.scrollTop;\nconst GO_TO_TOP_OFFSET = 64;\n\nfunction scrollHandlerForHeader(positionY) {\n const headerTop = Math.floor(header.getBoundingClientRect().top);\n\n console.log(`headerTop: ${headerTop}`);\n if (headerTop == 0 && positionY != headerTop) {\n header.classList.add(\"scrolled\");\n } else {\n header.classList.remove(\"scrolled\");\n }\n}\n\nfunction scrollHandlerForBackToTop(positionY) {\n if (positionY < GO_TO_TOP_OFFSET) {\n document.documentElement.classList.remove(\"show-back-to-top\");\n } else {\n if (positionY < lastScrollTop) {\n document.documentElement.classList.add(\"show-back-to-top\");\n } else if (positionY > lastScrollTop) {\n document.documentElement.classList.remove(\"show-back-to-top\");\n }\n }\n lastScrollTop = positionY;\n}\n\nfunction scrollHandlerForTOC(positionY) {\n if (tocScroll === null) {\n return;\n }\n\n // top of page.\n if (positionY == 0) {\n tocScroll.scrollTo(0, 0);\n } else if (\n // bottom of page.\n Math.ceil(positionY) >=\n Math.floor(document.documentElement.scrollHeight - window.innerHeight)\n ) {\n tocScroll.scrollTo(0, tocScroll.scrollHeight);\n } else {\n // somewhere in the middle.\n const current = document.querySelector(\".scroll-current\");\n if (current == null) {\n return;\n }\n\n // https://github.com/pypa/pip/issues/9159 This breaks scroll behaviours.\n // // scroll the currently \"active\" heading in toc, into view.\n // const rect = current.getBoundingClientRect();\n // if (0 > rect.top) {\n // current.scrollIntoView(true); // the argument is \"alignTop\"\n // } else if (rect.bottom > window.innerHeight) {\n // current.scrollIntoView(false);\n // }\n }\n}\n\nfunction scrollHandler(positionY) {\n scrollHandlerForHeader(positionY);\n scrollHandlerForBackToTop(positionY);\n scrollHandlerForTOC(positionY);\n}\n\n////////////////////////////////////////////////////////////////////////////////\n// Theme Toggle\n////////////////////////////////////////////////////////////////////////////////\nfunction setTheme(mode) {\n if (mode !== \"light\" && mode !== \"dark\" && mode !== \"auto\") {\n console.error(`Got invalid theme mode: ${mode}. Resetting to auto.`);\n mode = \"auto\";\n }\n\n document.body.dataset.theme = mode;\n localStorage.setItem(\"theme\", mode);\n console.log(`Changed to ${mode} mode.`);\n}\n\nfunction cycleThemeOnce() {\n const currentTheme = localStorage.getItem(\"theme\") || \"auto\";\n const prefersDark = window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n\n if (prefersDark) {\n // Auto (dark) -> Light -> Dark\n if (currentTheme === \"auto\") {\n setTheme(\"light\");\n } else if (currentTheme == \"light\") {\n setTheme(\"dark\");\n } else {\n setTheme(\"auto\");\n }\n } else {\n // Auto (light) -> Dark -> Light\n if (currentTheme === \"auto\") {\n setTheme(\"dark\");\n } else if (currentTheme == \"dark\") {\n setTheme(\"light\");\n } else {\n setTheme(\"auto\");\n }\n }\n}\n\n////////////////////////////////////////////////////////////////////////////////\n// Setup\n////////////////////////////////////////////////////////////////////////////////\nfunction setupScrollHandler() {\n // Taken from https://developer.mozilla.org/en-US/docs/Web/API/Document/scroll_event\n let last_known_scroll_position = 0;\n let ticking = false;\n\n window.addEventListener(\"scroll\", function (e) {\n last_known_scroll_position = window.scrollY;\n\n if (!ticking) {\n window.requestAnimationFrame(function () {\n scrollHandler(last_known_scroll_position);\n ticking = false;\n });\n\n ticking = true;\n }\n });\n window.scroll();\n}\n\nfunction setupScrollSpy() {\n if (tocScroll === null) {\n return;\n }\n\n // Scrollspy -- highlight table on contents, based on scroll\n new Gumshoe(\".toc-tree a\", {\n reflow: true,\n recursive: true,\n navClass: \"scroll-current\",\n offset: () => {\n let rem = parseFloat(getComputedStyle(document.documentElement).fontSize);\n return header.getBoundingClientRect().height + 2.5 * rem + 1;\n },\n });\n}\n\nfunction setupTheme() {\n // Attach event handlers for toggling themes\n const buttons = document.getElementsByClassName(\"theme-toggle\");\n Array.from(buttons).forEach((btn) => {\n btn.addEventListener(\"click\", cycleThemeOnce);\n });\n}\n\nfunction setup() {\n setupTheme();\n setupScrollHandler();\n setupScrollSpy();\n}\n\n////////////////////////////////////////////////////////////////////////////////\n// Main entrypoint\n////////////////////////////////////////////////////////////////////////////////\nfunction main() {\n document.body.parentNode.classList.remove(\"no-js\");\n\n header = document.querySelector(\"header\");\n tocScroll = document.querySelector(\".toc-scroll\");\n\n setup();\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", main);\n"],"names":["root","g","window","this","defaults","navClass","contentClass","nested","nestedClass","offset","reflow","events","emitEvent","type","elem","detail","settings","event","CustomEvent","bubbles","cancelable","dispatchEvent","getOffsetTop","location","offsetParent","offsetTop","sortContents","contents","sort","item1","item2","content","isInView","bottom","bounds","getBoundingClientRect","parseFloat","getOffset","parseInt","innerHeight","document","documentElement","clientHeight","top","isAtBottom","Math","ceil","pageYOffset","max","body","scrollHeight","offsetHeight","getActive","last","length","item","useLastItem","i","deactivateNested","nav","parentNode","li","closest","classList","remove","deactivate","items","link","activateNested","add","selector","options","navItems","current","timeout","publicAPIs","querySelectorAll","Array","prototype","forEach","call","getElementById","decodeURIComponent","hash","substr","push","active","activate","scrollHandler","cancelAnimationFrame","requestAnimationFrame","detect","resizeHandler","destroy","removeEventListener","merged","arguments","obj","key","hasOwnProperty","extend","setup","addEventListener","factory","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","n","getter","__esModule","d","a","definition","o","Object","defineProperty","enumerable","get","globalThis","Function","e","prop","tocScroll","header","lastScrollTop","scrollTop","GO_TO_TOP_OFFSET","cycleThemeOnce","currentTheme","localStorage","getItem","mode","matchMedia","matches","console","error","dataset","theme","setItem","log","buttons","getElementsByClassName","from","btn","setupTheme","last_known_scroll_position","ticking","scrollY","positionY","headerTop","floor","scrollHandlerForHeader","scrollHandlerForBackToTop","scrollTo","querySelector","scrollHandlerForTOC","scroll","setupScrollHandler","recursive","rem","getComputedStyle","fontSize","height"],"sourceRoot":""} \ No newline at end of file diff --git a/v11.4.0/_static/searchtools.js b/v11.4.0/_static/searchtools.js new file mode 100644 index 000000000..2c774d17a --- /dev/null +++ b/v11.4.0/_static/searchtools.js @@ -0,0 +1,632 @@ +/* + * Sphinx JavaScript utilities for the full-text search. + */ +"use strict"; + +/** + * Simple result scoring code. + */ +if (typeof Scorer === "undefined") { + var Scorer = { + // Implement the following function to further tweak the score for each result + // The function takes a result array [docname, title, anchor, descr, score, filename] + // and returns the new score. + /* + score: result => { + const [docname, title, anchor, descr, score, filename, kind] = result + return score + }, + */ + + // query matches the full name of an object + objNameMatch: 11, + // or matches in the last dotted part of the object name + objPartialMatch: 6, + // Additive scores depending on the priority of the object + objPrio: { + 0: 15, // used to be importantResults + 1: 5, // used to be objectResults + 2: -5, // used to be unimportantResults + }, + // Used when the priority is not in the mapping. + objPrioDefault: 0, + + // query found in title + title: 15, + partialTitle: 7, + // query found in terms + term: 5, + partialTerm: 2, + }; +} + +// 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); +}; + +/** + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping + */ +const _escapeRegExp = (string) => + string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string + +const _displayItem = (item, searchTerms, highlightTerms) => { + const docBuilder = DOCUMENTATION_OPTIONS.BUILDER; + const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX; + const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX; + const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY; + const contentRoot = document.documentElement.dataset.content_root; + + 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") { + // dirhtml builder + let dirname = docName + "/"; + if (dirname.match(/\/index\/$/)) + dirname = dirname.substring(0, dirname.length - 6); + else if (dirname === "index/") dirname = ""; + requestUrl = contentRoot + dirname; + linkUrl = requestUrl; + } else { + // normal html builders + requestUrl = contentRoot + docName + docFileSuffix; + linkUrl = docName + docLinkSuffix; + } + let linkEl = listItem.appendChild(document.createElement("a")); + linkEl.href = linkUrl + anchor; + linkEl.dataset.score = score; + linkEl.innerHTML = title; + if (descr) { + listItem.appendChild(document.createElement("span")).innerHTML = + " (" + descr + ")"; + // highlight search terms in the description + if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js + highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted")); + } + else if (showSearchSummary) + fetch(requestUrl) + .then((responseData) => responseData.text()) + .then((data) => { + if (data) + listItem.appendChild( + Search.makeSearchSummary(data, searchTerms, anchor) + ); + // highlight search terms in the summary + if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js + highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted")); + }); + Search.output.appendChild(listItem); +}; +const _finishSearch = (resultCount) => { + Search.stopPulse(); + Search.title.innerText = _("Search Results"); + if (!resultCount) + Search.status.innerText = Documentation.gettext( + "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 = 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 = ( + results, + resultCount, + searchTerms, + highlightTerms, +) => { + // results left, load the summary and display it + // this is intended to be dynamic (don't sub resultsCount) + if (results.length) { + _displayItem(results.pop(), searchTerms, highlightTerms); + setTimeout( + () => _displayNextItem(results, resultCount, searchTerms, highlightTerms), + 5 + ); + } + // search finished, update title and status message + else _finishSearch(resultCount); +}; +// Helper function used by query() to order search results. +// 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) => { + const leftScore = a[4]; + const rightScore = b[4]; + if (leftScore === rightScore) { + // same score: sort alphabetically + const leftTitle = a[1].toLowerCase(); + const rightTitle = b[1].toLowerCase(); + if (leftTitle === rightTitle) return 0; + return leftTitle > rightTitle ? -1 : 1; // inverted is intentional + } + return leftScore > rightScore ? 1 : -1; +}; + +/** + * Default splitQuery function. Can be overridden in ``sphinx.search`` with a + * custom function per language. + * + * The regular expression works by splitting the string on consecutive characters + * that are not Unicode letters, numbers, underscores, or emoji characters. + * This is the same as ``\W+`` in Python, preserving the surrogate pair area. + */ +if (typeof splitQuery === "undefined") { + var splitQuery = (query) => query + .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}]+/gu) + .filter(term => term) // remove remaining empty strings +} + +/** + * Search Module + */ +const Search = { + _index: null, + _queued_query: null, + _pulse_status: -1, + + htmlToText: (htmlString, anchor) => { + const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html'); + for (const removalQuery of [".headerlink", "script", "style"]) { + htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() }); + } + if (anchor) { + const anchorContent = htmlElement.querySelector(`[role="main"] ${anchor}`); + if (anchorContent) return anchorContent.textContent; + + console.warn( + `Anchored content block not found. Sphinx search tries to obtain it via DOM query '[role=main] ${anchor}'. Check your theme or template.` + ); + } + + // if anchor not specified or not found, fall back to main content + const docContent = htmlElement.querySelector('[role="main"]'); + if (docContent) return docContent.textContent; + + console.warn( + "Content block not found. Sphinx search tries to obtain it via DOM query '[role=main]'. Check your theme or template." + ); + return ""; + }, + + init: () => { + const query = new URLSearchParams(window.location.search).get("q"); + document + .querySelectorAll('input[name="q"]') + .forEach((el) => (el.value = query)); + if (query) Search.performSearch(query); + }, + + loadIndex: (url) => + (document.body.appendChild(document.createElement("script")).src = url), + + setIndex: (index) => { + Search._index = index; + if (Search._queued_query !== null) { + const query = Search._queued_query; + Search._queued_query = null; + Search.query(query); + } + }, + + hasIndex: () => Search._index !== null, + + deferQuery: (query) => (Search._queued_query = query), + + stopPulse: () => (Search._pulse_status = -1), + + startPulse: () => { + if (Search._pulse_status >= 0) return; + + const pulse = () => { + Search._pulse_status = (Search._pulse_status + 1) % 4; + Search.dots.innerText = ".".repeat(Search._pulse_status); + if (Search._pulse_status >= 0) window.setTimeout(pulse, 500); + }; + pulse(); + }, + + /** + * perform a search for something (or wait until index is loaded) + */ + performSearch: (query) => { + // create the required interface elements + const searchText = document.createElement("h2"); + searchText.textContent = _("Searching"); + const searchSummary = document.createElement("p"); + 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"); + Search.title = out.appendChild(searchText); + Search.dots = Search.title.appendChild(document.createElement("span")); + Search.status = out.appendChild(searchSummary); + Search.output = out.appendChild(searchList); + + const searchProgress = document.getElementById("search-progress"); + // Some themes don't use the search progress node + if (searchProgress) { + searchProgress.innerText = _("Preparing search..."); + } + Search.startPulse(); + + // index already loaded, the browser was quick! + if (Search.hasIndex()) Search.query(query); + else Search.deferQuery(query); + }, + + _parseQuery: (query) => { + // stem the search terms and add them to the correct list + const stemmer = new Stemmer(); + const searchTerms = new Set(); + const excludedTerms = new Set(); + const highlightTerms = new Set(); + const objectTerms = new Set(splitQuery(query.toLowerCase().trim())); + splitQuery(query.trim()).forEach((queryTerm) => { + const queryTermLower = queryTerm.toLowerCase(); + + // maybe skip this "word" + // stopwords array is from language_data.js + if ( + stopwords.indexOf(queryTermLower) !== -1 || + queryTerm.match(/^\d+$/) + ) + return; + + // stem the word + let word = stemmer.stemWord(queryTermLower); + // select the correct list + if (word[0] === "-") excludedTerms.add(word.substr(1)); + else { + searchTerms.add(word); + highlightTerms.add(queryTermLower); + } + }); + + if (SPHINX_HIGHLIGHT_ENABLED) { // set in sphinx_highlight.js + localStorage.setItem("sphinx_highlight_terms", [...highlightTerms].join(" ")) + } + + // console.debug("SEARCH: searching for:"); + // console.info("required: ", [...searchTerms]); + // console.info("excluded: ", [...excludedTerms]); + + return [query, searchTerms, excludedTerms, highlightTerms, objectTerms]; + }, + + /** + * execute search (requires search index to be loaded) + */ + _performSearch: (query, searchTerms, excludedTerms, highlightTerms, objectTerms) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + const allTitles = Search._index.alltitles; + 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, kind]. + const normalResults = []; + const nonMainIndexResults = []; + + _removeChildren(document.getElementById("search-progress")); + + const queryLower = query.toLowerCase().trim(); + for (const [title, foundTitles] of Object.entries(allTitles)) { + if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) { + for (const [file, id] of foundTitles) { + const score = Math.round(Scorer.title * queryLower.length / title.length); + const boost = titles[file] === title ? 1 : 0; // add a boost for document titles + normalResults.push([ + docNames[file], + titles[file] !== title ? `${titles[file]} > ${title}` : title, + id !== null ? "#" + id : "", + null, + score + boost, + filenames[file], + SearchResultKind.title, + ]); + } + } + } + + // search for explicit entries in index directives + for (const [entry, foundEntries] of Object.entries(indexEntries)) { + if (entry.includes(queryLower) && (queryLower.length >= entry.length/2)) { + for (const [file, id, isMain] of foundEntries) { + const score = Math.round(100 * queryLower.length / entry.length); + const result = [ + docNames[file], + titles[file], + id ? "#" + id : "", + null, + score, + filenames[file], + SearchResultKind.index, + ]; + if (isMain) { + normalResults.push(result); + } else { + nonMainIndexResults.push(result); + } + } + } + } + + // lookup as object + objectTerms.forEach((term) => + normalResults.push(...Search.performObjectSearch(term, objectTerms)) + ); + + // lookup as search terms in fulltext + normalResults.push(...Search.performTermsSearch(searchTerms, excludedTerms)); + + // let the scorer override scores with a custom scoring function + if (Scorer.score) { + normalResults.forEach((item) => (item[4] = Scorer.score(item))); + nonMainIndexResults.forEach((item) => (item[4] = Scorer.score(item))); + } + + // Sort each group of results by score and then alphabetically by name. + normalResults.sort(_orderResultsByScoreThenName); + nonMainIndexResults.sort(_orderResultsByScoreThenName); + + // Combine the result groups in (reverse) order. + // Non-main index entries are typically arbitrary cross-references, + // so display them after other results. + let results = [...nonMainIndexResults, ...normalResults]; + + // remove duplicate search results + // note the reversing of results, so that in the case of duplicates, the highest-scoring entry is kept + let seen = new Set(); + results = results.reverse().reduce((acc, result) => { + let resultStr = result.slice(0, 4).concat([result[5]]).map(v => String(v)).join(','); + if (!seen.has(resultStr)) { + acc.push(result); + seen.add(resultStr); + } + return acc; + }, []); + + return results.reverse(); + }, + + query: (query) => { + const [searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms] = Search._parseQuery(query); + const results = Search._performSearch(searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms); + + // for debugging + //Search.lastresults = results.slice(); // a copy + // console.info("search results:", Search.lastresults); + + // print the results + _displayNextItem(results, results.length, searchTerms, highlightTerms); + }, + + /** + * search for object names + */ + performObjectSearch: (object, objectTerms) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const objects = Search._index.objects; + const objNames = Search._index.objnames; + const titles = Search._index.titles; + + const results = []; + + const objectSearchCallback = (prefix, match) => { + const name = match[4] + const fullname = (prefix ? prefix + "." : "") + name; + const fullnameLower = fullname.toLowerCase(); + if (fullnameLower.indexOf(object) < 0) return; + + let score = 0; + const parts = fullnameLower.split("."); + + // check for different match types: exact matches of full name or + // "last name" (i.e. last dotted part) + if (fullnameLower === object || parts.slice(-1)[0] === object) + score += Scorer.objNameMatch; + else if (parts.slice(-1)[0].indexOf(object) > -1) + score += Scorer.objPartialMatch; // matches in last name + + const objName = objNames[match[1]][2]; + const title = titles[match[0]]; + + // If more than one term searched for, we require other words to be + // found in the name/title/description + const otherTerms = new Set(objectTerms); + otherTerms.delete(object); + if (otherTerms.size > 0) { + const haystack = `${prefix} ${name} ${objName} ${title}`.toLowerCase(); + if ( + [...otherTerms].some((otherTerm) => haystack.indexOf(otherTerm) < 0) + ) + return; + } + + let anchor = match[3]; + if (anchor === "") anchor = fullname; + else if (anchor === "-") anchor = objNames[match[1]][1] + "-" + fullname; + + const descr = objName + _(", in ") + title; + + // add custom score for some objects according to scorer + if (Scorer.objPrio.hasOwnProperty(match[2])) + score += Scorer.objPrio[match[2]]; + else score += Scorer.objPrioDefault; + + results.push([ + docNames[match[0]], + fullname, + "#" + anchor, + descr, + score, + filenames[match[0]], + SearchResultKind.object, + ]); + }; + Object.keys(objects).forEach((prefix) => + objects[prefix].forEach((array) => + objectSearchCallback(prefix, array) + ) + ); + return results; + }, + + /** + * search for full-text terms in the index + */ + performTermsSearch: (searchTerms, excludedTerms) => { + // prepare search + const terms = Search._index.terms; + const titleTerms = Search._index.titleterms; + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + + const scoreMap = new Map(); + const fileMap = new Map(); + + // perform the search on the required terms + searchTerms.forEach((word) => { + const files = []; + const arr = [ + { files: terms[word], score: Scorer.term }, + { files: titleTerms[word], score: Scorer.title }, + ]; + // add support for partial matches + if (word.length > 2) { + const escapedWord = _escapeRegExp(word); + if (!terms.hasOwnProperty(word)) { + Object.keys(terms).forEach((term) => { + if (term.match(escapedWord)) + arr.push({ files: terms[term], score: Scorer.partialTerm }); + }); + } + if (!titleTerms.hasOwnProperty(word)) { + Object.keys(titleTerms).forEach((term) => { + if (term.match(escapedWord)) + arr.push({ files: titleTerms[term], score: Scorer.partialTitle }); + }); + } + } + + // no match but word was a required one + if (arr.every((record) => record.files === undefined)) return; + + // found search word in contents + arr.forEach((record) => { + if (record.files === undefined) return; + + let recordFiles = record.files; + if (recordFiles.length === undefined) recordFiles = [recordFiles]; + files.push(...recordFiles); + + // set score for the word in each file + recordFiles.forEach((file) => { + if (!scoreMap.has(file)) scoreMap.set(file, {}); + scoreMap.get(file)[word] = record.score; + }); + }); + + // create the mapping + files.forEach((file) => { + if (!fileMap.has(file)) fileMap.set(file, [word]); + else if (fileMap.get(file).indexOf(word) === -1) fileMap.get(file).push(word); + }); + }); + + // now check if the files don't contain excluded terms + const results = []; + for (const [file, wordList] of fileMap) { + // check if all requirements are matched + + // as search terms with length < 3 are discarded + const filteredTermCount = [...searchTerms].filter( + (term) => term.length > 2 + ).length; + if ( + wordList.length !== searchTerms.size && + wordList.length !== filteredTermCount + ) + continue; + + // ensure that none of the excluded terms is in the search result + if ( + [...excludedTerms].some( + (term) => + terms[term] === file || + titleTerms[term] === file || + (terms[term] || []).includes(file) || + (titleTerms[term] || []).includes(file) + ) + ) + break; + + // select one (max) score for the file. + const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w])); + // add result to the result list + results.push([ + docNames[file], + titles[file], + "", + null, + score, + filenames[file], + SearchResultKind.text, + ]); + } + return results; + }, + + /** + * helper function to return a node containing the + * search summary for a given text. keywords is a list + * of stemmed words. + */ + makeSearchSummary: (htmlText, keywords, anchor) => { + const text = Search.htmlToText(htmlText, anchor); + if (text === "") return null; + + const textLower = text.toLowerCase(); + const actualStartPosition = [...keywords] + .map((k) => textLower.indexOf(k.toLowerCase())) + .filter((i) => i > -1) + .slice(-1)[0]; + const startWithContext = Math.max(actualStartPosition - 120, 0); + + const top = startWithContext === 0 ? "" : "..."; + const tail = startWithContext + 240 < text.length ? "..." : ""; + + let summary = document.createElement("p"); + summary.classList.add("context"); + summary.textContent = top + text.substr(startWithContext, 240).trim() + tail; + + return summary; + }, +}; + +_ready(Search.init); diff --git a/v11.4.0/_static/skeleton.css b/v11.4.0/_static/skeleton.css new file mode 100644 index 000000000..467c878c6 --- /dev/null +++ b/v11.4.0/_static/skeleton.css @@ -0,0 +1,296 @@ +/* Some sane resets. */ +html { + height: 100%; +} + +body { + margin: 0; + min-height: 100%; +} + +/* All the flexbox magic! */ +body, +.sb-announcement, +.sb-content, +.sb-main, +.sb-container, +.sb-container__inner, +.sb-article-container, +.sb-footer-content, +.sb-header, +.sb-header-secondary, +.sb-footer { + display: flex; +} + +/* These order things vertically */ +body, +.sb-main, +.sb-article-container { + flex-direction: column; +} + +/* Put elements in the center */ +.sb-header, +.sb-header-secondary, +.sb-container, +.sb-content, +.sb-footer, +.sb-footer-content { + justify-content: center; +} +/* Put elements at the ends */ +.sb-article-container { + justify-content: space-between; +} + +/* These elements grow. */ +.sb-main, +.sb-content, +.sb-container, +article { + flex-grow: 1; +} + +/* Because padding making this wider is not fun */ +article { + box-sizing: border-box; +} + +/* The announcements element should never be wider than the page. */ +.sb-announcement { + max-width: 100%; +} + +.sb-sidebar-primary, +.sb-sidebar-secondary { + flex-shrink: 0; + width: 17rem; +} + +.sb-announcement__inner { + justify-content: center; + + box-sizing: border-box; + height: 3rem; + + overflow-x: auto; + white-space: nowrap; +} + +/* Sidebars, with checkbox-based toggle */ +.sb-sidebar-primary, +.sb-sidebar-secondary { + position: fixed; + height: 100%; + top: 0; +} + +.sb-sidebar-primary { + left: -17rem; + transition: left 250ms ease-in-out; +} +.sb-sidebar-secondary { + right: -17rem; + transition: right 250ms ease-in-out; +} + +.sb-sidebar-toggle { + display: none; +} +.sb-sidebar-overlay { + position: fixed; + top: 0; + width: 0; + height: 0; + + transition: width 0ms ease 250ms, height 0ms ease 250ms, opacity 250ms ease; + + opacity: 0; + background-color: rgba(0, 0, 0, 0.54); +} + +#sb-sidebar-toggle--primary:checked + ~ .sb-sidebar-overlay[for="sb-sidebar-toggle--primary"], +#sb-sidebar-toggle--secondary:checked + ~ .sb-sidebar-overlay[for="sb-sidebar-toggle--secondary"] { + width: 100%; + height: 100%; + opacity: 1; + transition: width 0ms ease, height 0ms ease, opacity 250ms ease; +} + +#sb-sidebar-toggle--primary:checked ~ .sb-container .sb-sidebar-primary { + left: 0; +} +#sb-sidebar-toggle--secondary:checked ~ .sb-container .sb-sidebar-secondary { + right: 0; +} + +/* Full-width mode */ +.drop-secondary-sidebar-for-full-width-content + .hide-when-secondary-sidebar-shown { + display: none !important; +} +.drop-secondary-sidebar-for-full-width-content .sb-sidebar-secondary { + display: none !important; +} + +/* Mobile views */ +.sb-page-width { + width: 100%; +} + +.sb-article-container, +.sb-footer-content__inner, +.drop-secondary-sidebar-for-full-width-content .sb-article, +.drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 100vw; +} + +.sb-article, +.match-content-width { + padding: 0 1rem; + box-sizing: border-box; +} + +@media (min-width: 32rem) { + .sb-article, + .match-content-width { + padding: 0 2rem; + } +} + +/* Tablet views */ +@media (min-width: 42rem) { + .sb-article-container { + width: auto; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 42rem; + } + .sb-article, + .match-content-width { + width: 42rem; + } +} +@media (min-width: 46rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 46rem; + } + .sb-article, + .match-content-width { + width: 46rem; + } +} +@media (min-width: 50rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 50rem; + } + .sb-article, + .match-content-width { + width: 50rem; + } +} + +/* Tablet views */ +@media (min-width: 59rem) { + .sb-sidebar-secondary { + position: static; + } + .hide-when-secondary-sidebar-shown { + display: none !important; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 59rem; + } + .sb-article, + .match-content-width { + width: 42rem; + } +} +@media (min-width: 63rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 63rem; + } + .sb-article, + .match-content-width { + width: 46rem; + } +} +@media (min-width: 67rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 67rem; + } + .sb-article, + .match-content-width { + width: 50rem; + } +} + +/* Desktop views */ +@media (min-width: 76rem) { + .sb-sidebar-primary { + position: static; + } + .hide-when-primary-sidebar-shown { + display: none !important; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 59rem; + } + .sb-article, + .match-content-width { + width: 42rem; + } +} + +/* Full desktop views */ +@media (min-width: 80rem) { + .sb-article, + .match-content-width { + width: 46rem; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 63rem; + } +} + +@media (min-width: 84rem) { + .sb-article, + .match-content-width { + width: 50rem; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 67rem; + } +} + +@media (min-width: 88rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 67rem; + } + .sb-page-width { + width: 88rem; + } +} diff --git a/v11.4.0/_static/sphinx_highlight.js b/v11.4.0/_static/sphinx_highlight.js new file mode 100644 index 000000000..8a96c69a1 --- /dev/null +++ b/v11.4.0/_static/sphinx_highlight.js @@ -0,0 +1,154 @@ +/* Highlighting utilities for Sphinx HTML documentation. */ +"use strict"; + +const SPHINX_HIGHLIGHT_ENABLED = true + +/** + * highlight a given string on a node by wrapping it in + * span elements with the given class name. + */ +const _highlight = (node, addItems, text, className) => { + if (node.nodeType === Node.TEXT_NODE) { + const val = node.nodeValue; + const parent = node.parentNode; + const pos = val.toLowerCase().indexOf(text); + if ( + pos >= 0 && + !parent.classList.contains(className) && + !parent.classList.contains("nohighlight") + ) { + let span; + + const closestNode = parent.closest("body, svg, foreignObject"); + const isInSVG = closestNode && closestNode.matches("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.classList.add(className); + } + + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + const rest = document.createTextNode(val.substr(pos + text.length)); + parent.insertBefore( + span, + parent.insertBefore( + rest, + node.nextSibling + ) + ); + node.nodeValue = val.substr(0, pos); + /* There may be more occurrences of search term in this node. So call this + * function recursively on the remaining fragment. + */ + _highlight(rest, addItems, text, className); + + if (isInSVG) { + const rect = document.createElementNS( + "http://www.w3.org/2000/svg", + "rect" + ); + const bbox = parent.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute("class", className); + addItems.push({ parent: parent, target: rect }); + } + } + } else if (node.matches && !node.matches("button, select, textarea")) { + node.childNodes.forEach((el) => _highlight(el, addItems, text, className)); + } +}; +const _highlightText = (thisNode, text, className) => { + let addItems = []; + _highlight(thisNode, addItems, text, className); + addItems.forEach((obj) => + obj.parent.insertAdjacentElement("beforebegin", obj.target) + ); +}; + +/** + * Small JavaScript module for the documentation. + */ +const SphinxHighlight = { + + /** + * highlight the search words provided in localstorage in the text + */ + highlightSearchWords: () => { + if (!SPHINX_HIGHLIGHT_ENABLED) return; // bail if no highlight + + // get and clear terms from localstorage + const url = new URL(window.location); + const highlight = + localStorage.getItem("sphinx_highlight_terms") + || url.searchParams.get("highlight") + || ""; + localStorage.removeItem("sphinx_highlight_terms") + url.searchParams.delete("highlight"); + window.history.replaceState({}, "", url); + + // get individual terms from highlight string + const terms = highlight.toLowerCase().split(/\s+/).filter(x => x); + if (terms.length === 0) return; // nothing to do + + // There should never be more than one element matching "div.body" + const divBody = document.querySelectorAll("div.body"); + const body = divBody.length ? divBody[0] : document.querySelector("body"); + window.setTimeout(() => { + terms.forEach((term) => _highlightText(body, term, "highlighted")); + }, 10); + + const searchBox = document.getElementById("searchbox"); + if (searchBox === null) return; + searchBox.appendChild( + document + .createRange() + .createContextualFragment( + '" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + localStorage.removeItem("sphinx_highlight_terms") + }, + + initEscapeListener: () => { + // only install a listener if it is really needed + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return; + if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) { + SphinxHighlight.hideSearchWords(); + event.preventDefault(); + } + }); + }, +}; + +_ready(() => { + /* Do not call highlightSearchWords() when we are on the search page. + * It will highlight words from the *previous* search query. + */ + if (typeof Search === "undefined") SphinxHighlight.highlightSearchWords(); + SphinxHighlight.initEscapeListener(); +}); diff --git a/v11.4.0/_static/statsd_additional_objects.inv b/v11.4.0/_static/statsd_additional_objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..f84ab9f14f5c2ec141b89e450ee04a53384bfa8f GIT binary patch literal 308 zcmXv|El&eM5XBq`MH2*wNopW1E2yH97C}pzCT(zt`hWOdc%Zd1|&x)jnX-cP%|kByQMO8wK~Jl)S;W3#Bx33 z8*ai597JR=f*}7_n#7^f5f}xS8I%#Q^ID6~2r6(f>{LHxH&S&08e`NbLz1U|ZV{$r zYY2BF7S9?BV&7t0=lHi;9crRxVLw5eG4M%7s6oYG5@LucMX).rst-other-versions{padding:0}#furo-readthedocs-versions>.rst-other-versions small{opacity:1}#furo-readthedocs-versions .injected .rst-versions{position:unset}#furo-readthedocs-versions:focus-within,#furo-readthedocs-versions:hover{box-shadow:0 0 0 1px var(--color-sidebar-background-border)}#furo-readthedocs-versions:focus-within .rst-current-version,#furo-readthedocs-versions:hover .rst-current-version{background:#1a1c1e;font-size:inherit;height:auto;line-height:inherit;padding:12px;text-align:right}#furo-readthedocs-versions:focus-within .rst-current-version .fa-book,#furo-readthedocs-versions:hover .rst-current-version .fa-book{color:#fff;float:left}#furo-readthedocs-versions:focus-within .fa-caret-down,#furo-readthedocs-versions:hover .fa-caret-down{display:none}#furo-readthedocs-versions:focus-within .injected,#furo-readthedocs-versions:focus-within .rst-current-version,#furo-readthedocs-versions:focus-within .rst-other-versions,#furo-readthedocs-versions:hover .injected,#furo-readthedocs-versions:hover .rst-current-version,#furo-readthedocs-versions:hover .rst-other-versions{display:block}#furo-readthedocs-versions:focus-within>.rst-current-version,#furo-readthedocs-versions:hover>.rst-current-version{display:none}.highlight:hover button.copybtn{color:var(--color-code-foreground)}.highlight button.copybtn{align-items:center;background-color:var(--color-code-background);border:none;color:var(--color-background-item);cursor:pointer;height:1.25em;right:.5rem;top:.625rem;transition:color .3s,opacity .3s;width:1.25em}.highlight button.copybtn:hover{background-color:var(--color-code-background);color:var(--color-brand-content)}.highlight button.copybtn:after{background-color:transparent;color:var(--color-code-foreground);display:none}.highlight button.copybtn.success{color:#22863a;transition:color 0ms}.highlight button.copybtn.success:after{display:block}.highlight button.copybtn svg{padding:0}body{--sd-color-primary:var(--color-brand-primary);--sd-color-primary-highlight:var(--color-brand-content);--sd-color-primary-text:var(--color-background-primary);--sd-color-shadow:rgba(0,0,0,.05);--sd-color-card-border:var(--color-card-border);--sd-color-card-border-hover:var(--color-brand-content);--sd-color-card-background:var(--color-card-background);--sd-color-card-text:var(--color-foreground-primary);--sd-color-card-header:var(--color-card-marginals-background);--sd-color-card-footer:var(--color-card-marginals-background);--sd-color-tabs-label-active:var(--color-brand-content);--sd-color-tabs-label-hover:var(--color-foreground-muted);--sd-color-tabs-label-inactive:var(--color-foreground-muted);--sd-color-tabs-underline-active:var(--color-brand-content);--sd-color-tabs-underline-hover:var(--color-foreground-border);--sd-color-tabs-underline-inactive:var(--color-background-border);--sd-color-tabs-overline:var(--color-background-border);--sd-color-tabs-underline:var(--color-background-border)}.sd-tab-content{box-shadow:0 -2px var(--sd-color-tabs-overline),0 1px var(--sd-color-tabs-underline)}.sd-card{box-shadow:0 .1rem .25rem var(--sd-color-shadow),0 0 .0625rem rgba(0,0,0,.1)}.sd-shadow-sm{box-shadow:0 .1rem .25rem var(--sd-color-shadow),0 0 .0625rem rgba(0,0,0,.1)!important}.sd-shadow-md{box-shadow:0 .3rem .75rem var(--sd-color-shadow),0 0 .0625rem rgba(0,0,0,.1)!important}.sd-shadow-lg{box-shadow:0 .6rem 1.5rem var(--sd-color-shadow),0 0 .0625rem rgba(0,0,0,.1)!important}.sd-card-hover:hover{transform:none}.sd-cards-carousel{gap:.25rem;padding:.25rem}body{--tabs--label-text:var(--color-foreground-muted);--tabs--label-text--hover:var(--color-foreground-muted);--tabs--label-text--active:var(--color-brand-content);--tabs--label-text--active--hover:var(--color-brand-content);--tabs--label-background:transparent;--tabs--label-background--hover:transparent;--tabs--label-background--active:transparent;--tabs--label-background--active--hover:transparent;--tabs--padding-x:0.25em;--tabs--margin-x:1em;--tabs--border:var(--color-background-border);--tabs--label-border:transparent;--tabs--label-border--hover:var(--color-foreground-muted);--tabs--label-border--active:var(--color-brand-content);--tabs--label-border--active--hover:var(--color-brand-content)}[role=main] .container{max-width:none;padding-left:0;padding-right:0}.shadow.docutils{border:none;box-shadow:0 .2rem .5rem rgba(0,0,0,.05),0 0 .0625rem rgba(0,0,0,.1)!important}.sphinx-bs .card{background-color:var(--color-background-secondary);color:var(--color-foreground)} +/*# sourceMappingURL=furo-extensions.css.map*/ \ No newline at end of file diff --git a/v11.4.0/_static/styles/furo-extensions.css.map b/v11.4.0/_static/styles/furo-extensions.css.map new file mode 100644 index 000000000..c26eac7f5 --- /dev/null +++ b/v11.4.0/_static/styles/furo-extensions.css.map @@ -0,0 +1 @@ +{"version":3,"file":"styles/furo-extensions.css","mappings":"AAGA,2BACE,oFACA,4CAKE,6CAHA,YACA,eAEA,CACA,kDACE,yCAEF,8CACE,sCAEJ,8CACE,kDAEJ,2BAGE,uBACA,cAHA,gBACA,UAEA,CAGA,yCACE,mBAEF,gDAEE,gDADA,YACA,CACA,sDACE,gDACF,yDACE,sCAEJ,+CACE,UACA,qDACE,UAGF,mDACE,eAEJ,yEAEE,4DAEA,mHASE,mBAPA,kBAEA,YADA,oBAGA,aADA,gBAIA,CAEA,qIAEE,WADA,UACA,CAEJ,uGACE,aAEF,iUAGE,cAEF,mHACE,aC1EJ,gCACE,mCAEF,0BAEE,mBAUA,8CACA,YAFA,mCAKA,eAZA,cAIA,YADA,YAYA,iCAdA,YAcA,CAEA,gCAEE,8CADA,gCACA,CAEF,gCAGE,6BADA,mCADA,YAEA,CAEF,kCAEE,cADA,oBACA,CACA,wCACE,cAEJ,8BACE,UCzCN,KAEE,6CAA8C,CAC9C,uDAAwD,CACxD,uDAAwD,CAGxD,iCAAsC,CAGtC,+CAAgD,CAChD,uDAAwD,CACxD,uDAAwD,CACxD,oDAAqD,CACrD,6DAA8D,CAC9D,6DAA8D,CAG9D,uDAAwD,CACxD,yDAA0D,CAC1D,4DAA6D,CAC7D,2DAA4D,CAC5D,8DAA+D,CAC/D,iEAAkE,CAClE,uDAAwD,CACxD,wDAAyD,CAG3D,gBACE,qFAGF,SACE,6EAEF,cACE,uFAEF,cACE,uFAEF,cACE,uFAGF,qBACE,eAEF,mBACE,WACA,eChDF,KACE,gDAAiD,CACjD,uDAAwD,CACxD,qDAAsD,CACtD,4DAA6D,CAC7D,oCAAqC,CACrC,2CAA4C,CAC5C,4CAA6C,CAC7C,mDAAoD,CACpD,wBAAyB,CACzB,oBAAqB,CACrB,6CAA8C,CAC9C,gCAAiC,CACjC,yDAA0D,CAC1D,uDAAwD,CACxD,8DAA+D,CCbjE,uBACE,eACA,eACA,gBAGF,iBACE,YACA,+EAGF,iBACE,mDACA","sources":["webpack:///./src/furo/assets/styles/extensions/_readthedocs.sass","webpack:///./src/furo/assets/styles/extensions/_copybutton.sass","webpack:///./src/furo/assets/styles/extensions/_sphinx-design.sass","webpack:///./src/furo/assets/styles/extensions/_sphinx-inline-tabs.sass","webpack:///./src/furo/assets/styles/extensions/_sphinx-panels.sass"],"sourcesContent":["// This file contains the styles used for tweaking how ReadTheDoc's embedded\n// contents would show up inside the theme.\n\n#furo-sidebar-ad-placement\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal)\n .ethical-sidebar\n // Remove the border and box-shadow.\n border: none\n box-shadow: none\n // Manage the background colors.\n background: var(--color-background-secondary)\n &:hover\n background: var(--color-background-hover)\n // Ensure the text is legible.\n a\n color: var(--color-foreground-primary)\n\n .ethical-callout a\n color: var(--color-foreground-secondary) !important\n\n#furo-readthedocs-versions\n position: static\n width: 100%\n background: transparent\n display: block\n\n // Make the background color fit with the theme's aesthetic.\n .rst-versions\n background: rgb(26, 28, 30)\n\n .rst-current-version\n cursor: unset\n background: var(--color-sidebar-item-background)\n &:hover\n background: var(--color-sidebar-item-background)\n .fa-book\n color: var(--color-foreground-primary)\n\n > .rst-other-versions\n padding: 0\n small\n opacity: 1\n\n .injected\n .rst-versions\n position: unset\n\n &:hover,\n &:focus-within\n box-shadow: 0 0 0 1px var(--color-sidebar-background-border)\n\n .rst-current-version\n // Undo the tweaks done in RTD's CSS\n font-size: inherit\n line-height: inherit\n height: auto\n text-align: right\n padding: 12px\n\n // Match the rest of the body\n background: #1a1c1e\n\n .fa-book\n float: left\n color: white\n\n .fa-caret-down\n display: none\n\n .rst-current-version,\n .rst-other-versions,\n .injected\n display: block\n\n > .rst-current-version\n display: none\n",".highlight\n &:hover button.copybtn\n color: var(--color-code-foreground)\n\n button.copybtn\n // Align things correctly\n align-items: center\n\n height: 1.25em\n width: 1.25em\n\n top: 0.625rem // $code-spacing-vertical\n right: 0.5rem\n\n // Make it look better\n color: var(--color-background-item)\n background-color: var(--color-code-background)\n border: none\n\n // Change to cursor to make it obvious that you can click on it\n cursor: pointer\n\n // Transition smoothly, for aesthetics\n transition: color 300ms, opacity 300ms\n\n &:hover\n color: var(--color-brand-content)\n background-color: var(--color-code-background)\n\n &::after\n display: none\n color: var(--color-code-foreground)\n background-color: transparent\n\n &.success\n transition: color 0ms\n color: #22863a\n &::after\n display: block\n\n svg\n padding: 0\n","body\n // Colors\n --sd-color-primary: var(--color-brand-primary)\n --sd-color-primary-highlight: var(--color-brand-content)\n --sd-color-primary-text: var(--color-background-primary)\n\n // Shadows\n --sd-color-shadow: rgba(0, 0, 0, 0.05)\n\n // Cards\n --sd-color-card-border: var(--color-card-border)\n --sd-color-card-border-hover: var(--color-brand-content)\n --sd-color-card-background: var(--color-card-background)\n --sd-color-card-text: var(--color-foreground-primary)\n --sd-color-card-header: var(--color-card-marginals-background)\n --sd-color-card-footer: var(--color-card-marginals-background)\n\n // Tabs\n --sd-color-tabs-label-active: var(--color-brand-content)\n --sd-color-tabs-label-hover: var(--color-foreground-muted)\n --sd-color-tabs-label-inactive: var(--color-foreground-muted)\n --sd-color-tabs-underline-active: var(--color-brand-content)\n --sd-color-tabs-underline-hover: var(--color-foreground-border)\n --sd-color-tabs-underline-inactive: var(--color-background-border)\n --sd-color-tabs-overline: var(--color-background-border)\n --sd-color-tabs-underline: var(--color-background-border)\n\n// Tabs\n.sd-tab-content\n box-shadow: 0 -2px var(--sd-color-tabs-overline), 0 1px var(--sd-color-tabs-underline)\n\n// Shadows\n.sd-card // Have a shadow by default\n box-shadow: 0 0.1rem 0.25rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1)\n\n.sd-shadow-sm\n box-shadow: 0 0.1rem 0.25rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important\n\n.sd-shadow-md\n box-shadow: 0 0.3rem 0.75rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important\n\n.sd-shadow-lg\n box-shadow: 0 0.6rem 1.5rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important\n\n// Cards\n.sd-card-hover:hover // Don't change scale on hover\n transform: none\n\n.sd-cards-carousel // Have a bit of gap in the carousel by default\n gap: 0.25rem\n padding: 0.25rem\n","// This file contains styles to tweak sphinx-inline-tabs to work well with Furo.\n\nbody\n --tabs--label-text: var(--color-foreground-muted)\n --tabs--label-text--hover: var(--color-foreground-muted)\n --tabs--label-text--active: var(--color-brand-content)\n --tabs--label-text--active--hover: var(--color-brand-content)\n --tabs--label-background: transparent\n --tabs--label-background--hover: transparent\n --tabs--label-background--active: transparent\n --tabs--label-background--active--hover: transparent\n --tabs--padding-x: 0.25em\n --tabs--margin-x: 1em\n --tabs--border: var(--color-background-border)\n --tabs--label-border: transparent\n --tabs--label-border--hover: var(--color-foreground-muted)\n --tabs--label-border--active: var(--color-brand-content)\n --tabs--label-border--active--hover: var(--color-brand-content)\n","// This file contains styles to tweak sphinx-panels to work well with Furo.\n\n// sphinx-panels includes Bootstrap 4, which uses .container which can conflict\n// with docutils' `.. container::` directive.\n[role=\"main\"] .container\n max-width: initial\n padding-left: initial\n padding-right: initial\n\n// Make the panels look nicer!\n.shadow.docutils\n border: none\n box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important\n\n// Make panel colors respond to dark mode\n.sphinx-bs .card\n background-color: var(--color-background-secondary)\n color: var(--color-foreground)\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/v11.4.0/_static/styles/furo.css b/v11.4.0/_static/styles/furo.css new file mode 100644 index 000000000..05a56b17f --- /dev/null +++ b/v11.4.0/_static/styles/furo.css @@ -0,0 +1,2 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}@media print{.content-icon-container,.headerlink,.mobile-header,.related-pages{display:none!important}.highlight{border:.1pt solid var(--color-foreground-border)}a,blockquote,dl,ol,p,pre,table,ul{page-break-inside:avoid}caption,figure,h1,h2,h3,h4,h5,h6,img{page-break-after:avoid;page-break-inside:avoid}dl,ol,ul{page-break-before:avoid}}.visually-hidden{height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;clip:rect(0,0,0,0)!important;background:var(--color-background-primary);border:0!important;color:var(--color-foreground-primary);white-space:nowrap!important}:-moz-focusring{outline:auto}body{--font-stack:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;--font-stack--monospace:"SFMono-Regular",Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace;--font-stack--headings:var(--font-stack);--font-size--normal:100%;--font-size--small:87.5%;--font-size--small--2:81.25%;--font-size--small--3:75%;--font-size--small--4:62.5%;--sidebar-caption-font-size:var(--font-size--small--2);--sidebar-item-font-size:var(--font-size--small);--sidebar-search-input-font-size:var(--font-size--small);--toc-font-size:var(--font-size--small--3);--toc-font-size--mobile:var(--font-size--normal);--toc-title-font-size:var(--font-size--small--4);--admonition-font-size:0.8125rem;--admonition-title-font-size:0.8125rem;--code-font-size:var(--font-size--small--2);--api-font-size:var(--font-size--small);--header-height:calc(var(--sidebar-item-line-height) + var(--sidebar-item-spacing-vertical)*4);--header-padding:0.5rem;--sidebar-tree-space-above:1.5rem;--sidebar-caption-space-above:1rem;--sidebar-item-line-height:1rem;--sidebar-item-spacing-vertical:0.5rem;--sidebar-item-spacing-horizontal:1rem;--sidebar-item-height:calc(var(--sidebar-item-line-height) + var(--sidebar-item-spacing-vertical)*2);--sidebar-expander-width:var(--sidebar-item-height);--sidebar-search-space-above:0.5rem;--sidebar-search-input-spacing-vertical:0.5rem;--sidebar-search-input-spacing-horizontal:0.5rem;--sidebar-search-input-height:1rem;--sidebar-search-icon-size:var(--sidebar-search-input-height);--toc-title-padding:0.25rem 0;--toc-spacing-vertical:1.5rem;--toc-spacing-horizontal:1.5rem;--toc-item-spacing-vertical:0.4rem;--toc-item-spacing-horizontal:1rem;--icon-search:url('data:image/svg+xml;charset=utf-8,');--icon-pencil:url('data:image/svg+xml;charset=utf-8,');--icon-abstract:url('data:image/svg+xml;charset=utf-8,');--icon-info:url('data:image/svg+xml;charset=utf-8,');--icon-flame:url('data:image/svg+xml;charset=utf-8,');--icon-question:url('data:image/svg+xml;charset=utf-8,');--icon-warning:url('data:image/svg+xml;charset=utf-8,');--icon-failure:url('data:image/svg+xml;charset=utf-8,');--icon-spark:url('data:image/svg+xml;charset=utf-8,');--color-admonition-title--caution:#ff9100;--color-admonition-title-background--caution:rgba(255,145,0,.2);--color-admonition-title--warning:#ff9100;--color-admonition-title-background--warning:rgba(255,145,0,.2);--color-admonition-title--danger:#ff5252;--color-admonition-title-background--danger:rgba(255,82,82,.2);--color-admonition-title--attention:#ff5252;--color-admonition-title-background--attention:rgba(255,82,82,.2);--color-admonition-title--error:#ff5252;--color-admonition-title-background--error:rgba(255,82,82,.2);--color-admonition-title--hint:#00c852;--color-admonition-title-background--hint:rgba(0,200,82,.2);--color-admonition-title--tip:#00c852;--color-admonition-title-background--tip:rgba(0,200,82,.2);--color-admonition-title--important:#00bfa5;--color-admonition-title-background--important:rgba(0,191,165,.2);--color-admonition-title--note:#00b0ff;--color-admonition-title-background--note:rgba(0,176,255,.2);--color-admonition-title--seealso:#448aff;--color-admonition-title-background--seealso:rgba(68,138,255,.2);--color-admonition-title--admonition-todo:grey;--color-admonition-title-background--admonition-todo:hsla(0,0%,50%,.2);--color-admonition-title:#651fff;--color-admonition-title-background:rgba(101,31,255,.2);--icon-admonition-default:var(--icon-abstract);--color-topic-title:#14b8a6;--color-topic-title-background:rgba(20,184,166,.2);--icon-topic-default:var(--icon-pencil);--color-problematic:#b30000;--color-foreground-primary:#000;--color-foreground-secondary:#5a5c63;--color-foreground-muted:#6b6f76;--color-foreground-border:#878787;--color-background-primary:#fff;--color-background-secondary:#f8f9fb;--color-background-hover:#efeff4;--color-background-hover--transparent:#efeff400;--color-background-border:#eeebee;--color-background-item:#ccc;--color-announcement-background:#000000dd;--color-announcement-text:#eeebee;--color-brand-primary:#0a4bff;--color-brand-content:#2757dd;--color-brand-visited:#872ee0;--color-api-background:var(--color-background-hover--transparent);--color-api-background-hover:var(--color-background-hover);--color-api-overall:var(--color-foreground-secondary);--color-api-name:var(--color-problematic);--color-api-pre-name:var(--color-problematic);--color-api-paren:var(--color-foreground-secondary);--color-api-keyword:var(--color-foreground-primary);--color-api-added:#21632c;--color-api-added-border:#38a84d;--color-api-changed:#046172;--color-api-changed-border:#06a1bc;--color-api-deprecated:#605706;--color-api-deprecated-border:#f0d90f;--color-api-removed:#b30000;--color-api-removed-border:#ff5c5c;--color-highlight-on-target:#ffc;--color-inline-code-background:var(--color-background-secondary);--color-highlighted-background:#def;--color-highlighted-text:var(--color-foreground-primary);--color-guilabel-background:#ddeeff80;--color-guilabel-border:#bedaf580;--color-guilabel-text:var(--color-foreground-primary);--color-admonition-background:transparent;--color-table-header-background:var(--color-background-secondary);--color-table-border:var(--color-background-border);--color-card-border:var(--color-background-secondary);--color-card-background:transparent;--color-card-marginals-background:var(--color-background-secondary);--color-header-background:var(--color-background-primary);--color-header-border:var(--color-background-border);--color-header-text:var(--color-foreground-primary);--color-sidebar-background:var(--color-background-secondary);--color-sidebar-background-border:var(--color-background-border);--color-sidebar-brand-text:var(--color-foreground-primary);--color-sidebar-caption-text:var(--color-foreground-muted);--color-sidebar-link-text:var(--color-foreground-secondary);--color-sidebar-link-text--top-level:var(--color-brand-primary);--color-sidebar-item-background:var(--color-sidebar-background);--color-sidebar-item-background--current:var( --color-sidebar-item-background );--color-sidebar-item-background--hover:linear-gradient(90deg,var(--color-background-hover--transparent) 0%,var(--color-background-hover) var(--sidebar-item-spacing-horizontal),var(--color-background-hover) 100%);--color-sidebar-item-expander-background:transparent;--color-sidebar-item-expander-background--hover:var( --color-background-hover );--color-sidebar-search-text:var(--color-foreground-primary);--color-sidebar-search-background:var(--color-background-secondary);--color-sidebar-search-background--focus:var(--color-background-primary);--color-sidebar-search-border:var(--color-background-border);--color-sidebar-search-icon:var(--color-foreground-muted);--color-toc-background:var(--color-background-primary);--color-toc-title-text:var(--color-foreground-muted);--color-toc-item-text:var(--color-foreground-secondary);--color-toc-item-text--hover:var(--color-foreground-primary);--color-toc-item-text--active:var(--color-brand-primary);--color-content-foreground:var(--color-foreground-primary);--color-content-background:transparent;--color-link:var(--color-brand-content);--color-link-underline:var(--color-background-border);--color-link--hover:var(--color-brand-content);--color-link-underline--hover:var(--color-foreground-border);--color-link--visited:var(--color-brand-visited);--color-link-underline--visited:var(--color-background-border);--color-link--visited--hover:var(--color-brand-visited);--color-link-underline--visited--hover:var(--color-foreground-border)}.only-light{display:block!important}html body .only-dark{display:none!important}@media not print{body[data-theme=dark]{--color-problematic:#ee5151;--color-foreground-primary:#cfd0d0;--color-foreground-secondary:#9ca0a5;--color-foreground-muted:#81868d;--color-foreground-border:#666;--color-background-primary:#131416;--color-background-secondary:#1a1c1e;--color-background-hover:#1e2124;--color-background-hover--transparent:#1e212400;--color-background-border:#303335;--color-background-item:#444;--color-announcement-background:#000000dd;--color-announcement-text:#eeebee;--color-brand-primary:#3d94ff;--color-brand-content:#5ca5ff;--color-brand-visited:#b27aeb;--color-highlighted-background:#083563;--color-guilabel-background:#08356380;--color-guilabel-border:#13395f80;--color-api-keyword:var(--color-foreground-secondary);--color-highlight-on-target:#330;--color-api-added:#3db854;--color-api-added-border:#267334;--color-api-changed:#09b0ce;--color-api-changed-border:#056d80;--color-api-deprecated:#b1a10b;--color-api-deprecated-border:#6e6407;--color-api-removed:#ff7575;--color-api-removed-border:#b03b3b;--color-admonition-background:#18181a;--color-card-border:var(--color-background-secondary);--color-card-background:#18181a;--color-card-marginals-background:var(--color-background-hover)}html body[data-theme=dark] .only-light{display:none!important}body[data-theme=dark] .only-dark{display:block!important}@media(prefers-color-scheme:dark){body:not([data-theme=light]){--color-problematic:#ee5151;--color-foreground-primary:#cfd0d0;--color-foreground-secondary:#9ca0a5;--color-foreground-muted:#81868d;--color-foreground-border:#666;--color-background-primary:#131416;--color-background-secondary:#1a1c1e;--color-background-hover:#1e2124;--color-background-hover--transparent:#1e212400;--color-background-border:#303335;--color-background-item:#444;--color-announcement-background:#000000dd;--color-announcement-text:#eeebee;--color-brand-primary:#3d94ff;--color-brand-content:#5ca5ff;--color-brand-visited:#b27aeb;--color-highlighted-background:#083563;--color-guilabel-background:#08356380;--color-guilabel-border:#13395f80;--color-api-keyword:var(--color-foreground-secondary);--color-highlight-on-target:#330;--color-api-added:#3db854;--color-api-added-border:#267334;--color-api-changed:#09b0ce;--color-api-changed-border:#056d80;--color-api-deprecated:#b1a10b;--color-api-deprecated-border:#6e6407;--color-api-removed:#ff7575;--color-api-removed-border:#b03b3b;--color-admonition-background:#18181a;--color-card-border:var(--color-background-secondary);--color-card-background:#18181a;--color-card-marginals-background:var(--color-background-hover)}html body:not([data-theme=light]) .only-light{display:none!important}body:not([data-theme=light]) .only-dark{display:block!important}}}body[data-theme=auto] .theme-toggle svg.theme-icon-when-auto-light{display:block}@media(prefers-color-scheme:dark){body[data-theme=auto] .theme-toggle svg.theme-icon-when-auto-dark{display:block}body[data-theme=auto] .theme-toggle svg.theme-icon-when-auto-light{display:none}}body[data-theme=dark] .theme-toggle svg.theme-icon-when-dark,body[data-theme=light] .theme-toggle svg.theme-icon-when-light{display:block}body{font-family:var(--font-stack)}code,kbd,pre,samp{font-family:var(--font-stack--monospace)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}article{line-height:1.5}h1,h2,h3,h4,h5,h6{border-radius:.5rem;font-family:var(--font-stack--headings);font-weight:700;line-height:1.25;margin:.5rem -.5rem;padding-left:.5rem;padding-right:.5rem}h1+p,h2+p,h3+p,h4+p,h5+p,h6+p{margin-top:0}h1{font-size:2.5em;margin-bottom:1rem}h1,h2{margin-top:1.75rem}h2{font-size:2em}h3{font-size:1.5em}h4{font-size:1.25em}h5{font-size:1.125em}h6{font-size:1em}small{font-size:80%;opacity:75%}p{margin-bottom:.75rem;margin-top:.5rem}hr.docutils{background-color:var(--color-background-border);border:0;height:1px;margin:2rem 0;padding:0}.centered{text-align:center}a{color:var(--color-link);text-decoration:underline;text-decoration-color:var(--color-link-underline)}a:visited{color:var(--color-link--visited);text-decoration-color:var(--color-link-underline--visited)}a:visited:hover{color:var(--color-link--visited--hover);text-decoration-color:var(--color-link-underline--visited--hover)}a:hover{color:var(--color-link--hover);text-decoration-color:var(--color-link-underline--hover)}a.muted-link{color:inherit}a.muted-link:hover{color:var(--color-link--hover);text-decoration-color:var(--color-link-underline--hover)}a.muted-link:hover:visited{color:var(--color-link--visited--hover);text-decoration-color:var(--color-link-underline--visited--hover)}html{overflow-x:hidden;overflow-y:scroll;scroll-behavior:smooth}.sidebar-scroll,.toc-scroll,article[role=main] *{scrollbar-color:var(--color-foreground-border) transparent;scrollbar-width:thin}.sidebar-scroll::-webkit-scrollbar,.toc-scroll::-webkit-scrollbar,article[role=main] ::-webkit-scrollbar{height:.25rem;width:.25rem}.sidebar-scroll::-webkit-scrollbar-thumb,.toc-scroll::-webkit-scrollbar-thumb,article[role=main] ::-webkit-scrollbar-thumb{background-color:var(--color-foreground-border);border-radius:.125rem}body,html{height:100%}.skip-to-content,body,html{background:var(--color-background-primary);color:var(--color-foreground-primary)}.skip-to-content{border-radius:1rem;left:.25rem;padding:1rem;position:fixed;top:.25rem;transform:translateY(-200%);transition:transform .3s ease-in-out;z-index:40}.skip-to-content:focus-within{transform:translateY(0)}article{background:var(--color-content-background);color:var(--color-content-foreground);overflow-wrap:break-word}.page{display:flex;min-height:100%}.mobile-header{background-color:var(--color-header-background);border-bottom:1px solid var(--color-header-border);color:var(--color-header-text);display:none;height:var(--header-height);width:100%;z-index:10}.mobile-header.scrolled{border-bottom:none;box-shadow:0 0 .2rem rgba(0,0,0,.1),0 .2rem .4rem rgba(0,0,0,.2)}.mobile-header .header-center a{color:var(--color-header-text);text-decoration:none}.main{display:flex;flex:1}.sidebar-drawer{background:var(--color-sidebar-background);border-right:1px solid var(--color-sidebar-background-border);box-sizing:border-box;display:flex;justify-content:flex-end;min-width:15em;width:calc(50% - 26em)}.sidebar-container,.toc-drawer{box-sizing:border-box;width:15em}.toc-drawer{background:var(--color-toc-background);padding-right:1rem}.sidebar-sticky,.toc-sticky{display:flex;flex-direction:column;height:min(100%,100vh);height:100vh;position:sticky;top:0}.sidebar-scroll,.toc-scroll{flex-grow:1;flex-shrink:1;overflow:auto;scroll-behavior:smooth}.content{display:flex;flex-direction:column;justify-content:space-between;padding:0 3em;width:46em}.icon{display:inline-block;height:1rem;width:1rem}.icon svg{height:100%;width:100%}.announcement{align-items:center;background-color:var(--color-announcement-background);color:var(--color-announcement-text);display:flex;height:var(--header-height);overflow-x:auto}.announcement+.page{min-height:calc(100% - var(--header-height))}.announcement-content{box-sizing:border-box;min-width:100%;padding:.5rem;text-align:center;white-space:nowrap}.announcement-content a{color:var(--color-announcement-text);text-decoration-color:var(--color-announcement-text)}.announcement-content a:hover{color:var(--color-announcement-text);text-decoration-color:var(--color-link--hover)}.no-js .theme-toggle-container{display:none}.theme-toggle-container{display:flex}.theme-toggle{background:transparent;border:none;cursor:pointer;display:flex;padding:0}.theme-toggle svg{color:var(--color-foreground-primary);display:none;height:1.25rem;width:1.25rem}.theme-toggle-header{align-items:center;display:flex;justify-content:center}.nav-overlay-icon,.toc-overlay-icon{cursor:pointer;display:none}.nav-overlay-icon .icon,.toc-overlay-icon .icon{color:var(--color-foreground-secondary);height:1.5rem;width:1.5rem}.nav-overlay-icon,.toc-header-icon{align-items:center;justify-content:center}.toc-content-icon{height:1.5rem;width:1.5rem}.content-icon-container{display:flex;float:right;gap:.5rem;margin-bottom:1rem;margin-left:1rem;margin-top:1.5rem}.content-icon-container .edit-this-page svg,.content-icon-container .view-this-page svg{color:inherit;height:1.25rem;width:1.25rem}.sidebar-toggle{display:none;position:absolute}.sidebar-toggle[name=__toc]{left:20px}.sidebar-toggle:checked{left:40px}.overlay{background-color:rgba(0,0,0,.54);height:0;opacity:0;position:fixed;top:0;transition:width 0ms,height 0ms,opacity .25s ease-out;width:0}.sidebar-overlay{z-index:20}.toc-overlay{z-index:40}.sidebar-drawer{transition:left .25s ease-in-out;z-index:30}.toc-drawer{transition:right .25s ease-in-out;z-index:50}#__navigation:checked~.sidebar-overlay{height:100%;opacity:1;width:100%}#__navigation:checked~.page .sidebar-drawer{left:0;top:0}#__toc:checked~.toc-overlay{height:100%;opacity:1;width:100%}#__toc:checked~.page .toc-drawer{right:0;top:0}.back-to-top{background:var(--color-background-primary);border-radius:1rem;box-shadow:0 .2rem .5rem rgba(0,0,0,.05),0 0 1px 0 hsla(220,9%,46%,.502);display:none;font-size:.8125rem;left:0;margin-left:50%;padding:.5rem .75rem .5rem .5rem;position:fixed;text-decoration:none;top:1rem;transform:translateX(-50%);z-index:10}.back-to-top svg{height:1rem;width:1rem;fill:currentColor;display:inline-block}.back-to-top span{margin-left:.25rem}.show-back-to-top .back-to-top{align-items:center;display:flex}@media(min-width:97em){html{font-size:110%}}@media(max-width:82em){.toc-content-icon{display:flex}.toc-drawer{border-left:1px solid var(--color-background-muted);height:100vh;position:fixed;right:-15em;top:0}.toc-tree{border-left:none;font-size:var(--toc-font-size--mobile)}.sidebar-drawer{width:calc(50% - 18.5em)}}@media(max-width:67em){.content{margin-left:auto;margin-right:auto;padding:0 1em}}@media(max-width:63em){.nav-overlay-icon{display:flex}.sidebar-drawer{height:100vh;left:-15em;position:fixed;top:0;width:15em}.theme-toggle-header,.toc-header-icon{display:flex}.theme-toggle-content,.toc-content-icon{display:none}.mobile-header{align-items:center;display:flex;justify-content:space-between;position:sticky;top:0}.mobile-header .header-left,.mobile-header .header-right{display:flex;height:var(--header-height);padding:0 var(--header-padding)}.mobile-header .header-left label,.mobile-header .header-right label{height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.nav-overlay-icon .icon,.theme-toggle svg{height:1.5rem;width:1.5rem}:target{scroll-margin-top:calc(var(--header-height) + 2.5rem)}.back-to-top{top:calc(var(--header-height) + .5rem)}.page{flex-direction:column;justify-content:center}}@media(max-width:48em){.content{overflow-x:auto;width:100%}}@media(max-width:46em){article[role=main] aside.sidebar{float:none;margin:1rem 0;width:100%}}.admonition,.topic{background:var(--color-admonition-background);border-radius:.2rem;box-shadow:0 .2rem .5rem rgba(0,0,0,.05),0 0 .0625rem rgba(0,0,0,.1);font-size:var(--admonition-font-size);margin:1rem auto;overflow:hidden;padding:0 .5rem .5rem;page-break-inside:avoid}.admonition>:nth-child(2),.topic>:nth-child(2){margin-top:0}.admonition>:last-child,.topic>:last-child{margin-bottom:0}.admonition p.admonition-title,p.topic-title{font-size:var(--admonition-title-font-size);font-weight:500;line-height:1.3;margin:0 -.5rem .5rem;padding:.4rem .5rem .4rem 2rem;position:relative}.admonition p.admonition-title:before,p.topic-title:before{content:"";height:1rem;left:.5rem;position:absolute;width:1rem}p.admonition-title{background-color:var(--color-admonition-title-background)}p.admonition-title:before{background-color:var(--color-admonition-title);-webkit-mask-image:var(--icon-admonition-default);mask-image:var(--icon-admonition-default);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}p.topic-title{background-color:var(--color-topic-title-background)}p.topic-title:before{background-color:var(--color-topic-title);-webkit-mask-image:var(--icon-topic-default);mask-image:var(--icon-topic-default);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.admonition{border-left:.2rem solid var(--color-admonition-title)}.admonition.caution{border-left-color:var(--color-admonition-title--caution)}.admonition.caution>.admonition-title{background-color:var(--color-admonition-title-background--caution)}.admonition.caution>.admonition-title:before{background-color:var(--color-admonition-title--caution);-webkit-mask-image:var(--icon-spark);mask-image:var(--icon-spark)}.admonition.warning{border-left-color:var(--color-admonition-title--warning)}.admonition.warning>.admonition-title{background-color:var(--color-admonition-title-background--warning)}.admonition.warning>.admonition-title:before{background-color:var(--color-admonition-title--warning);-webkit-mask-image:var(--icon-warning);mask-image:var(--icon-warning)}.admonition.danger{border-left-color:var(--color-admonition-title--danger)}.admonition.danger>.admonition-title{background-color:var(--color-admonition-title-background--danger)}.admonition.danger>.admonition-title:before{background-color:var(--color-admonition-title--danger);-webkit-mask-image:var(--icon-spark);mask-image:var(--icon-spark)}.admonition.attention{border-left-color:var(--color-admonition-title--attention)}.admonition.attention>.admonition-title{background-color:var(--color-admonition-title-background--attention)}.admonition.attention>.admonition-title:before{background-color:var(--color-admonition-title--attention);-webkit-mask-image:var(--icon-warning);mask-image:var(--icon-warning)}.admonition.error{border-left-color:var(--color-admonition-title--error)}.admonition.error>.admonition-title{background-color:var(--color-admonition-title-background--error)}.admonition.error>.admonition-title:before{background-color:var(--color-admonition-title--error);-webkit-mask-image:var(--icon-failure);mask-image:var(--icon-failure)}.admonition.hint{border-left-color:var(--color-admonition-title--hint)}.admonition.hint>.admonition-title{background-color:var(--color-admonition-title-background--hint)}.admonition.hint>.admonition-title:before{background-color:var(--color-admonition-title--hint);-webkit-mask-image:var(--icon-question);mask-image:var(--icon-question)}.admonition.tip{border-left-color:var(--color-admonition-title--tip)}.admonition.tip>.admonition-title{background-color:var(--color-admonition-title-background--tip)}.admonition.tip>.admonition-title:before{background-color:var(--color-admonition-title--tip);-webkit-mask-image:var(--icon-info);mask-image:var(--icon-info)}.admonition.important{border-left-color:var(--color-admonition-title--important)}.admonition.important>.admonition-title{background-color:var(--color-admonition-title-background--important)}.admonition.important>.admonition-title:before{background-color:var(--color-admonition-title--important);-webkit-mask-image:var(--icon-flame);mask-image:var(--icon-flame)}.admonition.note{border-left-color:var(--color-admonition-title--note)}.admonition.note>.admonition-title{background-color:var(--color-admonition-title-background--note)}.admonition.note>.admonition-title:before{background-color:var(--color-admonition-title--note);-webkit-mask-image:var(--icon-pencil);mask-image:var(--icon-pencil)}.admonition.seealso{border-left-color:var(--color-admonition-title--seealso)}.admonition.seealso>.admonition-title{background-color:var(--color-admonition-title-background--seealso)}.admonition.seealso>.admonition-title:before{background-color:var(--color-admonition-title--seealso);-webkit-mask-image:var(--icon-info);mask-image:var(--icon-info)}.admonition.admonition-todo{border-left-color:var(--color-admonition-title--admonition-todo)}.admonition.admonition-todo>.admonition-title{background-color:var(--color-admonition-title-background--admonition-todo)}.admonition.admonition-todo>.admonition-title:before{background-color:var(--color-admonition-title--admonition-todo);-webkit-mask-image:var(--icon-pencil);mask-image:var(--icon-pencil)}.admonition-todo>.admonition-title{text-transform:uppercase}dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dd{margin-left:2rem}dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dd>:first-child{margin-top:.125rem}dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list,dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dd>:last-child{margin-bottom:.75rem}dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list>dt{font-size:var(--font-size--small);text-transform:uppercase}dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list dd:empty{margin-bottom:.5rem}dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list dd>ul{margin-left:-1.2rem}dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list dd>ul>li>p:nth-child(2){margin-top:0}dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list dd>ul>li>p+p:last-child:empty{margin-bottom:0;margin-top:0}dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple)>dt{color:var(--color-api-overall)}.sig:not(.sig-inline){background:var(--color-api-background);border-radius:.25rem;font-family:var(--font-stack--monospace);font-size:var(--api-font-size);font-weight:700;margin-left:-.25rem;margin-right:-.25rem;padding:.25rem .5rem .25rem 3em;text-indent:-2.5em;transition:background .1s ease-out}.sig:not(.sig-inline):hover{background:var(--color-api-background-hover)}.sig:not(.sig-inline) a.reference .viewcode-link{font-weight:400;width:4.25rem}em.property{font-style:normal}em.property:first-child{color:var(--color-api-keyword)}.sig-name{color:var(--color-api-name)}.sig-prename{color:var(--color-api-pre-name);font-weight:400}.sig-paren{color:var(--color-api-paren)}.sig-param{font-style:normal}div.deprecated,div.versionadded,div.versionchanged,div.versionremoved{border-left:.1875rem solid;border-radius:.125rem;padding-left:.75rem}div.deprecated p,div.versionadded p,div.versionchanged p,div.versionremoved p{margin-bottom:.125rem;margin-top:.125rem}div.versionadded{border-color:var(--color-api-added-border)}div.versionadded .versionmodified{color:var(--color-api-added)}div.versionchanged{border-color:var(--color-api-changed-border)}div.versionchanged .versionmodified{color:var(--color-api-changed)}div.deprecated{border-color:var(--color-api-deprecated-border)}div.deprecated .versionmodified{color:var(--color-api-deprecated)}div.versionremoved{border-color:var(--color-api-removed-border)}div.versionremoved .versionmodified{color:var(--color-api-removed)}.viewcode-back,.viewcode-link{float:right;text-align:right}.line-block{margin-bottom:.75rem;margin-top:.5rem}.line-block .line-block{margin-bottom:0;margin-top:0;padding-left:1rem}.code-block-caption,article p.caption,table>caption{font-size:var(--font-size--small);text-align:center}.toctree-wrapper.compound .caption,.toctree-wrapper.compound :not(.caption)>.caption-text{font-size:var(--font-size--small);margin-bottom:0;text-align:initial;text-transform:uppercase}.toctree-wrapper.compound>ul{margin-bottom:0;margin-top:0}.sig-inline,code.literal{background:var(--color-inline-code-background);border-radius:.2em;font-size:var(--font-size--small--2);padding:.1em .2em}pre.literal-block .sig-inline,pre.literal-block code.literal{font-size:inherit;padding:0}p .sig-inline,p code.literal{border:1px solid var(--color-background-border)}.sig-inline{font-family:var(--font-stack--monospace)}div[class*=" highlight-"],div[class^=highlight-]{display:flex;margin:1em 0}div[class*=" highlight-"] .table-wrapper,div[class^=highlight-] .table-wrapper,pre{margin:0;padding:0}pre{overflow:auto}article[role=main] .highlight pre{line-height:1.5}.highlight pre,pre.literal-block{font-size:var(--code-font-size);padding:.625rem .875rem}pre.literal-block{background-color:var(--color-code-background);border-radius:.2rem;color:var(--color-code-foreground);margin-bottom:1rem;margin-top:1rem}.highlight{border-radius:.2rem;width:100%}.highlight .gp,.highlight span.linenos{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.highlight .hll{display:block;margin-left:-.875rem;margin-right:-.875rem;padding-left:.875rem;padding-right:.875rem}.code-block-caption{background-color:var(--color-code-background);border-bottom:1px solid;border-radius:.25rem;border-bottom-left-radius:0;border-bottom-right-radius:0;border-color:var(--color-background-border);color:var(--color-code-foreground);display:flex;font-weight:300;padding:.625rem .875rem}.code-block-caption+div[class]{margin-top:0}.code-block-caption+div[class] pre{border-top-left-radius:0;border-top-right-radius:0}.highlighttable{display:block;width:100%}.highlighttable tbody{display:block}.highlighttable tr{display:flex}.highlighttable td.linenos{background-color:var(--color-code-background);border-bottom-left-radius:.2rem;border-top-left-radius:.2rem;color:var(--color-code-foreground);padding:.625rem 0 .625rem .875rem}.highlighttable .linenodiv{box-shadow:-.0625rem 0 var(--color-foreground-border) inset;font-size:var(--code-font-size);padding-right:.875rem}.highlighttable td.code{display:block;flex:1;overflow:hidden;padding:0}.highlighttable td.code .highlight{border-bottom-left-radius:0;border-top-left-radius:0}.highlight span.linenos{box-shadow:-.0625rem 0 var(--color-foreground-border) inset;display:inline-block;margin-right:.875rem;padding-left:0;padding-right:.875rem}.footnote-reference{font-size:var(--font-size--small--4);vertical-align:super}dl.footnote.brackets{color:var(--color-foreground-secondary);display:grid;font-size:var(--font-size--small);grid-template-columns:max-content auto}dl.footnote.brackets dt{margin:0}dl.footnote.brackets dt>.fn-backref{margin-left:.25rem}dl.footnote.brackets dt:after{content:":"}dl.footnote.brackets dt .brackets:before{content:"["}dl.footnote.brackets dt .brackets:after{content:"]"}dl.footnote.brackets dd{margin:0;padding:0 1rem}aside.footnote{color:var(--color-foreground-secondary);font-size:var(--font-size--small)}aside.footnote>span,div.citation>span{float:left;font-weight:500;padding-right:.25rem}aside.footnote>:not(span),div.citation>p{margin-left:2rem}img{box-sizing:border-box;height:auto;max-width:100%}article .figure,article figure{border-radius:.2rem;margin:0}article .figure :last-child,article figure :last-child{margin-bottom:0}article .align-left{clear:left;float:left;margin:0 1rem 1rem}article .align-right{clear:right;float:right;margin:0 1rem 1rem}article .align-center,article .align-default{display:block;margin-left:auto;margin-right:auto;text-align:center}article table.align-default{display:table;text-align:initial}.domainindex-jumpbox,.genindex-jumpbox{border-bottom:1px solid var(--color-background-border);border-top:1px solid var(--color-background-border);padding:.25rem}.domainindex-section h2,.genindex-section h2{margin-bottom:.5rem;margin-top:.75rem}.domainindex-section ul,.genindex-section ul{margin-bottom:0;margin-top:0}ol,ul{margin-bottom:1rem;margin-top:1rem;padding-left:1.2rem}ol li>p:first-child,ul li>p:first-child{margin-bottom:.25rem;margin-top:.25rem}ol li>p:last-child,ul li>p:last-child{margin-top:.25rem}ol li>ol,ol li>ul,ul li>ol,ul li>ul{margin-bottom:.5rem;margin-top:.5rem}ol.arabic{list-style:decimal}ol.loweralpha{list-style:lower-alpha}ol.upperalpha{list-style:upper-alpha}ol.lowerroman{list-style:lower-roman}ol.upperroman{list-style:upper-roman}.simple li>ol,.simple li>ul,.toctree-wrapper li>ol,.toctree-wrapper li>ul{margin-bottom:0;margin-top:0}.field-list dt,.option-list dt,dl.footnote dt,dl.glossary dt,dl.simple dt,dl:not([class]) dt{font-weight:500;margin-top:.25rem}.field-list dt+dt,.option-list dt+dt,dl.footnote dt+dt,dl.glossary dt+dt,dl.simple dt+dt,dl:not([class]) dt+dt{margin-top:0}.field-list dt .classifier:before,.option-list dt .classifier:before,dl.footnote dt .classifier:before,dl.glossary dt .classifier:before,dl.simple dt .classifier:before,dl:not([class]) dt .classifier:before{content:":";margin-left:.2rem;margin-right:.2rem}.field-list dd ul,.field-list dd>p:first-child,.option-list dd ul,.option-list dd>p:first-child,dl.footnote dd ul,dl.footnote dd>p:first-child,dl.glossary dd ul,dl.glossary dd>p:first-child,dl.simple dd ul,dl.simple dd>p:first-child,dl:not([class]) dd ul,dl:not([class]) dd>p:first-child{margin-top:.125rem}.field-list dd ul,.option-list dd ul,dl.footnote dd ul,dl.glossary dd ul,dl.simple dd ul,dl:not([class]) dd ul{margin-bottom:.125rem}.math-wrapper{overflow-x:auto;width:100%}div.math{position:relative;text-align:center}div.math .headerlink,div.math:focus .headerlink{display:none}div.math:hover .headerlink{display:inline-block}div.math span.eqno{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);z-index:1}abbr[title]{cursor:help}.problematic{color:var(--color-problematic)}kbd:not(.compound){background-color:var(--color-background-secondary);border:1px solid var(--color-foreground-border);border-radius:.2rem;box-shadow:0 .0625rem 0 rgba(0,0,0,.2),inset 0 0 0 .125rem var(--color-background-primary);color:var(--color-foreground-primary);display:inline-block;font-size:var(--font-size--small--3);margin:0 .2rem;padding:0 .2rem;vertical-align:text-bottom}blockquote{background:var(--color-background-secondary);border-left:4px solid var(--color-background-border);margin-left:0;margin-right:0;padding:.5rem 1rem}blockquote .attribution{font-weight:600;text-align:right}blockquote.highlights,blockquote.pull-quote{font-size:1.25em}blockquote.epigraph,blockquote.pull-quote{border-left-width:0;border-radius:.5rem}blockquote.highlights{background:transparent;border-left-width:0}p .reference img{vertical-align:middle}p.rubric{font-size:1.125em;font-weight:700;line-height:1.25}dd p.rubric{font-size:var(--font-size--small);font-weight:inherit;line-height:inherit;text-transform:uppercase}article .sidebar{background-color:var(--color-background-secondary);border:1px solid var(--color-background-border);border-radius:.2rem;clear:right;float:right;margin-left:1rem;margin-right:0;width:30%}article .sidebar>*{padding-left:1rem;padding-right:1rem}article .sidebar>ol,article .sidebar>ul{padding-left:2.2rem}article .sidebar .sidebar-title{border-bottom:1px solid var(--color-background-border);font-weight:500;margin:0;padding:.5rem 1rem}[role=main] .table-wrapper.container{margin-bottom:.5rem;margin-top:1rem;overflow-x:auto;padding:.2rem .2rem .75rem;width:100%}table.docutils{border-collapse:collapse;border-radius:.2rem;border-spacing:0;box-shadow:0 .2rem .5rem rgba(0,0,0,.05),0 0 .0625rem rgba(0,0,0,.1)}table.docutils th{background:var(--color-table-header-background)}table.docutils td,table.docutils th{border-bottom:1px solid var(--color-table-border);border-left:1px solid var(--color-table-border);border-right:1px solid var(--color-table-border);padding:0 .25rem}table.docutils td p,table.docutils th p{margin:.25rem}table.docutils td:first-child,table.docutils th:first-child{border-left:none}table.docutils td:last-child,table.docutils th:last-child{border-right:none}table.docutils td.text-left,table.docutils th.text-left{text-align:left}table.docutils td.text-right,table.docutils th.text-right{text-align:right}table.docutils td.text-center,table.docutils th.text-center{text-align:center}:target{scroll-margin-top:2.5rem}@media(max-width:67em){:target{scroll-margin-top:calc(2.5rem + var(--header-height))}section>span:target{scroll-margin-top:calc(2.8rem + var(--header-height))}}.headerlink{font-weight:100;-webkit-user-select:none;-moz-user-select:none;user-select:none}.code-block-caption>.headerlink,dl dt>.headerlink,figcaption p>.headerlink,h1>.headerlink,h2>.headerlink,h3>.headerlink,h4>.headerlink,h5>.headerlink,h6>.headerlink,p.caption>.headerlink,table>caption>.headerlink{margin-left:.5rem;visibility:hidden}.code-block-caption:hover>.headerlink,dl dt:hover>.headerlink,figcaption p:hover>.headerlink,h1:hover>.headerlink,h2:hover>.headerlink,h3:hover>.headerlink,h4:hover>.headerlink,h5:hover>.headerlink,h6:hover>.headerlink,p.caption:hover>.headerlink,table>caption:hover>.headerlink{visibility:visible}.code-block-caption>.toc-backref,dl dt>.toc-backref,figcaption p>.toc-backref,h1>.toc-backref,h2>.toc-backref,h3>.toc-backref,h4>.toc-backref,h5>.toc-backref,h6>.toc-backref,p.caption>.toc-backref,table>caption>.toc-backref{color:inherit;text-decoration-line:none}figure:hover>figcaption>p>.headerlink,table:hover>caption>.headerlink{visibility:visible}:target>h1:first-of-type,:target>h2:first-of-type,:target>h3:first-of-type,:target>h4:first-of-type,:target>h5:first-of-type,:target>h6:first-of-type,span:target~h1:first-of-type,span:target~h2:first-of-type,span:target~h3:first-of-type,span:target~h4:first-of-type,span:target~h5:first-of-type,span:target~h6:first-of-type{background-color:var(--color-highlight-on-target)}:target>h1:first-of-type code.literal,:target>h2:first-of-type code.literal,:target>h3:first-of-type code.literal,:target>h4:first-of-type code.literal,:target>h5:first-of-type code.literal,:target>h6:first-of-type code.literal,span:target~h1:first-of-type code.literal,span:target~h2:first-of-type code.literal,span:target~h3:first-of-type code.literal,span:target~h4:first-of-type code.literal,span:target~h5:first-of-type code.literal,span:target~h6:first-of-type code.literal{background-color:transparent}.literal-block-wrapper:target .code-block-caption,.this-will-duplicate-information-and-it-is-still-useful-here li :target,figure:target,table:target>caption{background-color:var(--color-highlight-on-target)}dt:target{background-color:var(--color-highlight-on-target)!important}.footnote-reference:target,.footnote>dt:target+dd{background-color:var(--color-highlight-on-target)}.guilabel{background-color:var(--color-guilabel-background);border:1px solid var(--color-guilabel-border);border-radius:.5em;color:var(--color-guilabel-text);font-size:.9em;padding:0 .3em}footer{display:flex;flex-direction:column;font-size:var(--font-size--small);margin-top:2rem}.bottom-of-page{align-items:center;border-top:1px solid var(--color-background-border);color:var(--color-foreground-secondary);display:flex;justify-content:space-between;line-height:1.5;margin-top:1rem;padding-bottom:1rem;padding-top:1rem}@media(max-width:46em){.bottom-of-page{flex-direction:column-reverse;gap:.25rem;text-align:center}}.bottom-of-page .left-details{font-size:var(--font-size--small)}.bottom-of-page .right-details{display:flex;flex-direction:column;gap:.25rem;text-align:right}.bottom-of-page .icons{display:flex;font-size:1rem;gap:.25rem;justify-content:flex-end}.bottom-of-page .icons a{text-decoration:none}.bottom-of-page .icons img,.bottom-of-page .icons svg{font-size:1.125rem;height:1em;width:1em}.related-pages a{align-items:center;display:flex;text-decoration:none}.related-pages a:hover .page-info .title{color:var(--color-link);text-decoration:underline;text-decoration-color:var(--color-link-underline)}.related-pages a svg.furo-related-icon,.related-pages a svg.furo-related-icon>use{color:var(--color-foreground-border);flex-shrink:0;height:.75rem;margin:0 .5rem;width:.75rem}.related-pages a.next-page{clear:right;float:right;max-width:50%;text-align:right}.related-pages a.prev-page{clear:left;float:left;max-width:50%}.related-pages a.prev-page svg{transform:rotate(180deg)}.page-info{display:flex;flex-direction:column;overflow-wrap:anywhere}.next-page .page-info{align-items:flex-end}.page-info .context{align-items:center;color:var(--color-foreground-muted);display:flex;font-size:var(--font-size--small);padding-bottom:.1rem;text-decoration:none}ul.search{list-style:none;padding-left:0}ul.search li{border-bottom:1px solid var(--color-background-border);padding:1rem 0}[role=main] .highlighted{background-color:var(--color-highlighted-background);color:var(--color-highlighted-text)}.sidebar-brand{display:flex;flex-direction:column;flex-shrink:0;padding:var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal);text-decoration:none}.sidebar-brand-text{color:var(--color-sidebar-brand-text);font-size:1.5rem;overflow-wrap:break-word}.sidebar-brand-text,.sidebar-logo-container{margin:var(--sidebar-item-spacing-vertical) 0}.sidebar-logo{display:block;margin:0 auto;max-width:100%}.sidebar-search-container{align-items:center;background:var(--color-sidebar-search-background);display:flex;margin-top:var(--sidebar-search-space-above);position:relative}.sidebar-search-container:focus-within,.sidebar-search-container:hover{background:var(--color-sidebar-search-background--focus)}.sidebar-search-container:before{background-color:var(--color-sidebar-search-icon);content:"";height:var(--sidebar-search-icon-size);left:var(--sidebar-item-spacing-horizontal);-webkit-mask-image:var(--icon-search);mask-image:var(--icon-search);position:absolute;width:var(--sidebar-search-icon-size)}.sidebar-search{background:transparent;border:none;border-bottom:1px solid var(--color-sidebar-search-border);border-top:1px solid var(--color-sidebar-search-border);box-sizing:border-box;color:var(--color-sidebar-search-foreground);padding:var(--sidebar-search-input-spacing-vertical) var(--sidebar-search-input-spacing-horizontal) var(--sidebar-search-input-spacing-vertical) calc(var(--sidebar-item-spacing-horizontal) + var(--sidebar-search-input-spacing-horizontal) + var(--sidebar-search-icon-size));width:100%;z-index:10}.sidebar-search:focus{outline:none}.sidebar-search::-moz-placeholder{font-size:var(--sidebar-search-input-font-size)}.sidebar-search::placeholder{font-size:var(--sidebar-search-input-font-size)}#searchbox .highlight-link{margin:0;padding:var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal) 0;text-align:center}#searchbox .highlight-link a{color:var(--color-sidebar-search-icon);font-size:var(--font-size--small--2)}.sidebar-tree{font-size:var(--sidebar-item-font-size);margin-bottom:var(--sidebar-item-spacing-vertical);margin-top:var(--sidebar-tree-space-above)}.sidebar-tree ul{display:flex;flex-direction:column;list-style:none;margin-bottom:0;margin-top:0;padding:0}.sidebar-tree li{margin:0;position:relative}.sidebar-tree li>ul{margin-left:var(--sidebar-item-spacing-horizontal)}.sidebar-tree .icon,.sidebar-tree .reference{color:var(--color-sidebar-link-text)}.sidebar-tree .reference{box-sizing:border-box;display:inline-block;height:100%;line-height:var(--sidebar-item-line-height);overflow-wrap:anywhere;padding:var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal);text-decoration:none;width:100%}.sidebar-tree .reference:hover{background:var(--color-sidebar-item-background--hover);color:var(--color-sidebar-link-text)}.sidebar-tree .reference.external:after{color:var(--color-sidebar-link-text);content:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23607D8B' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath stroke='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M11 7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-5M10 14 20 4M15 4h5v5'/%3E%3C/svg%3E");margin:0 .25rem;vertical-align:middle}.sidebar-tree .current-page>.reference{font-weight:700}.sidebar-tree label{align-items:center;cursor:pointer;display:flex;height:var(--sidebar-item-height);justify-content:center;position:absolute;right:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--sidebar-expander-width)}.sidebar-tree .caption,.sidebar-tree :not(.caption)>.caption-text{color:var(--color-sidebar-caption-text);font-size:var(--sidebar-caption-font-size);font-weight:700;margin:var(--sidebar-caption-space-above) 0 0 0;padding:var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal);text-transform:uppercase}.sidebar-tree li.has-children>.reference{padding-right:var(--sidebar-expander-width)}.sidebar-tree .toctree-l1>.reference,.sidebar-tree .toctree-l1>label .icon{color:var(--color-sidebar-link-text--top-level)}.sidebar-tree label{background:var(--color-sidebar-item-expander-background)}.sidebar-tree label:hover{background:var(--color-sidebar-item-expander-background--hover)}.sidebar-tree .current>.reference{background:var(--color-sidebar-item-background--current)}.sidebar-tree .current>.reference:hover{background:var(--color-sidebar-item-background--hover)}.toctree-checkbox{display:none;position:absolute}.toctree-checkbox~ul{display:none}.toctree-checkbox~label .icon svg{transform:rotate(90deg)}.toctree-checkbox:checked~ul{display:block}.toctree-checkbox:checked~label .icon svg{transform:rotate(-90deg)}.toc-title-container{padding:var(--toc-title-padding);padding-top:var(--toc-spacing-vertical)}.toc-title{color:var(--color-toc-title-text);font-size:var(--toc-title-font-size);padding-left:var(--toc-spacing-horizontal);text-transform:uppercase}.no-toc{display:none}.toc-tree-container{padding-bottom:var(--toc-spacing-vertical)}.toc-tree{border-left:1px solid var(--color-background-border);font-size:var(--toc-font-size);line-height:1.3;padding-left:calc(var(--toc-spacing-horizontal) - var(--toc-item-spacing-horizontal))}.toc-tree>ul>li:first-child{padding-top:0}.toc-tree>ul>li:first-child>ul{padding-left:0}.toc-tree>ul>li:first-child>a{display:none}.toc-tree ul{list-style-type:none;margin-bottom:0;margin-top:0;padding-left:var(--toc-item-spacing-horizontal)}.toc-tree li{padding-top:var(--toc-item-spacing-vertical)}.toc-tree li.scroll-current>.reference{color:var(--color-toc-item-text--active);font-weight:700}.toc-tree a.reference{color:var(--color-toc-item-text);overflow-wrap:anywhere;text-decoration:none}.toc-scroll{max-height:100vh;overflow-y:scroll}.contents:not(.this-will-duplicate-information-and-it-is-still-useful-here){background:rgba(255,0,0,.25);color:var(--color-problematic)}.contents:not(.this-will-duplicate-information-and-it-is-still-useful-here):before{content:"ERROR: Adding a table of contents in Furo-based documentation is unnecessary, and does not work well with existing styling. Add a 'this-will-duplicate-information-and-it-is-still-useful-here' class, if you want an escape hatch."}.text-align\:left>p{text-align:left}.text-align\:center>p{text-align:center}.text-align\:right>p{text-align:right} +/*# sourceMappingURL=furo.css.map*/ \ No newline at end of file diff --git a/v11.4.0/_static/styles/furo.css.map b/v11.4.0/_static/styles/furo.css.map new file mode 100644 index 000000000..3ecc37150 --- /dev/null +++ b/v11.4.0/_static/styles/furo.css.map @@ -0,0 +1 @@ +{"version":3,"file":"styles/furo.css","mappings":"AAAA,2EAA2E,CAU3E,KACE,gBAAiB,CACjB,6BACF,CASA,KACE,QACF,CAMA,KACE,aACF,CAOA,GACE,aAAc,CACd,cACF,CAUA,GACE,sBAAuB,CACvB,QAAS,CACT,gBACF,CAOA,IACE,+BAAiC,CACjC,aACF,CASA,EACE,4BACF,CAOA,YACE,kBAAmB,CACnB,yBAA0B,CAC1B,gCACF,CAMA,SAEE,kBACF,CAOA,cAGE,+BAAiC,CACjC,aACF,CAeA,QAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBACF,CAEA,IACE,aACF,CAEA,IACE,SACF,CASA,IACE,iBACF,CAUA,sCAKE,mBAAoB,CACpB,cAAe,CACf,gBAAiB,CACjB,QACF,CAOA,aAEE,gBACF,CAOA,cAEE,mBACF,CAMA,gDAIE,yBACF,CAMA,wHAIE,iBAAkB,CAClB,SACF,CAMA,4GAIE,6BACF,CAMA,SACE,0BACF,CASA,OACE,qBAAsB,CACtB,aAAc,CACd,aAAc,CACd,cAAe,CACf,SAAU,CACV,kBACF,CAMA,SACE,uBACF,CAMA,SACE,aACF,CAOA,6BAEE,qBAAsB,CACtB,SACF,CAMA,kFAEE,WACF,CAOA,cACE,4BAA6B,CAC7B,mBACF,CAMA,yCACE,uBACF,CAOA,6BACE,yBAA0B,CAC1B,YACF,CASA,QACE,aACF,CAMA,QACE,iBACF,CAiBA,kBACE,YACF,CCvVA,aAcE,kEACE,uBAOF,WACE,iDAMF,kCACE,wBAEF,qCAEE,uBADA,uBACA,CAEF,SACE,wBAtBA,CCpBJ,iBAGE,qBAEA,sBACA,0BAFA,oBAHA,4BACA,oBAKA,6BAIA,2CAFA,mBACA,sCAFA,4BAGA,CAEF,gBACE,aCTF,KCGE,mHAEA,wGAEA,wCAAyC,CAEzC,wBAAyB,CACzB,wBAAyB,CACzB,4BAA6B,CAC7B,yBAA0B,CAC1B,2BAA4B,CAG5B,sDAAuD,CACvD,gDAAiD,CACjD,wDAAyD,CAGzD,0CAA2C,CAC3C,gDAAiD,CACjD,gDAAiD,CAKjD,gCAAiC,CACjC,sCAAuC,CAGvC,2CAA4C,CAG5C,uCAAwC,CCjCxC,+FAGA,uBAAwB,CAGxB,iCAAkC,CAClC,kCAAmC,CAEnC,+BAAgC,CAChC,sCAAuC,CACvC,sCAAuC,CACvC,qGAIA,mDAAoD,CAEpD,mCAAoC,CACpC,8CAA+C,CAC/C,gDAAiD,CACjD,kCAAmC,CACnC,6DAA8D,CAG9D,6BAA8B,CAC9B,6BAA8B,CAC9B,+BAAgC,CAChC,kCAAmC,CACnC,kCAAmC,CCPjC,+jBCYA,iqCAZF,iaCVA,8KAOA,4SAWA,4SAUA,0CACA,gEAGA,0CAGA,gEAGA,yCACA,+DAIA,4CACA,kEAGA,wCAUA,8DACA,uCAGA,4DACA,sCACA,2DAGA,4CACA,kEACA,uCAGA,6DACA,2GAGA,sHAEA,yFAEA,+CACA,+EAGA,4MAOA,gCACA,sHAIA,kCACA,uEACA,gEACA,4DACA,kEAGA,2DACA,sDACA,0CACA,8CACA,wGAGA,0BACA,iCAGA,+DACA,+BACA,sCACA,+DAEA,kGACA,oCACA,yDACA,sCL7HF,kCAEA,sDAIA,0CK2HE,kEAIA,oDACA,sDAGA,oCACA,oEAEA,0DACA,qDAIA,oDACA,6DAIA,iEAIA,2DAIA,2DAGA,4DACA,gEAIA,gEAEA,gFAEA,oNASA,qDLxKE,gFAGE,4DAIF,oEKkHF,yEAEA,6DAGA,0DAEA,uDACA,qDACA,wDAIA,6DAIA,yDACA,2DAIA,uCAGA,wCACA,sDAGA,+CAGA,6DAEA,iDACA,+DAEA,wDAEA,sEAMA,0DACA,sBACA,mEL9JI,wEAEA,iCACE,+BAMN,wEAGA,iCACE,kFAEA,uEAIF,gEACE,8BAGF,qEMvDA,sCAKA,wFAKA,iCAIA,0BAWA,iCACA,4BACA,mCAGA,+BAEA,sCACA,4BAEA,mCAEA,sCAKA,sDAIA,gCAEA,gEAQF,wCAME,sBACA,kCAKA,uBAEA,gEAIA,2BAIA,mCAEA,qCACA,iCAGE,+BACA,wEAEE,iCACA,kFAGF,6BACA,0CACF,kCAEE,8BACE,8BACA,qEAEE,sCACA,wFCnFN,iCAGF,2DAEE,4BACA,oCAGA,mIAGA,4HACE,gEAMJ,+CAGE,sBACA,yCAEF,uBAEE,sEAKA,gDACA,kEAGA,iFAGE,YAGF,EACA,4HAQF,mBACE,6BACA,mBACA,wCACA,wCACA,2CAIA,eAGA,mBAKE,mBAGA,CAJA,uCACA,iBAFF,gBACE,CAKE,mBACA,mBAGJ,oBAIF,+BAGE,kDACA,OADA,kBAGA,CAFA,gBAEA,mBACA,oBAEA,sCACA,OAGF,cAHE,WAGF,GAEE,oBACA,CAHF,gBAGE,CC9Gc,YDiHd,+CAIF,SAEE,CAPF,UACE,wBAMA,4BAEA,GAGA,uBACA,CAJA,yBAGA,CACA,iDAKA,2CAGA,2DAQA,iBACA,uCAGA,kEAKE,SAKJ,8BACE,yDACA,2BAEA,oBACA,8BAEA,yDAEE,4BAEJ,uCACE,CACA,iEAGA,CAEA,wCACE,uBACA,kDAEA,0DAEE,CAJF,oBAIE,0GAWN,aACE,CAHA,YAGA,4HASA,+CAGF,sBACE,WACA,WAQA,4BAFF,0CAEE,CARA,qCAsBA,CAdA,iBAEA,kBACE,aADF,4BACE,WAMF,2BAGF,qCAEE,CAXE,UAWF,+BAGA,uBAEA,SAEA,0CAIE,CANF,qCAEA,CAIE,2DACE,gBAIN,+CAIA,CAEA,kDAKE,CAPF,8BAEA,CAOE,YACA,CAjBI,2BAGN,CAHM,WAcJ,UAGA,CAEA,2GAIF,iCAGE,8BAIA,qBACA,oBACF,uBAOI,0CAIA,CATF,6DAKE,CALF,sBASE,qCAKF,CACE,cACA,CAFF,sBAEE,CACA,+BAEA,qBAEE,WAKN,aACE,sCAGA,mBAEA,6BAMA,kCACA,CAJA,sBACA,aAEA,CAJA,eACA,MAIA,2FAEA,UAGA,YACA,sBACE,8BAEA,CALF,aACA,WAIE,OACA,oBAEF,uBACE,WAEF,YAFE,UAEF,eAgBA,kBACE,CAhBA,qDAQF,qCAGF,CAGI,YACF,CAJF,2BAGI,CAEA,eACA,qBAGA,mEAEA,qBACA,8BAIA,kBADF,kBACE,yBAEJ,oCAGI,qDAIJ,+BAGI,oCAEA,+CAQF,4CACE,yBACF,2BAOE,sBACA,CAHA,WACA,CAFF,cACE,CAJA,YAGF,CAEE,SAEA,mBAGA,kDAEE,CAJF,cAEA,cAEE,sBAEA,mBADA,YACA,uBACA,mDACE,CADF,YACE,iDAEA,uCAEN,+DAOE,mBADF,sBACE,mBAGF,aACE,sCAIA,aADF,WACE,CAKF,SACE,CAHJ,kBAEE,CAJE,gBAEJ,CAHI,iBAMA,yFAKA,aACA,eACA,cElbJ,iBAEE,aADA,iBACA,6BAEA,kCAEA,SACA,UAIA,gCACA,CALA,SAEA,SAEA,CAJA,0EAEA,CAFA,OAKA,CAGA,mDACE,iBAGF,gCACE,CADF,UACE,aAEJ,iCAEE,CAFF,UAEE,wCAEA,WACA,WADA,UACA,CACA,4CAGA,MACA,CADA,KACA,wCACA,UAGA,CAJA,UAIA,6DAUA,0CACE,CAFF,mBAEE,wEACA,CAVA,YACA,CAMF,mBAJE,OAOA,gBAJJ,gCACE,CANE,cACA,CAHA,oBACA,CAGA,QAGJ,CAII,0BACA,CADA,UACA,wCAEJ,kBACE,0DACA,gCACE,kBACA,CADA,YACA,oEACA,2CAMF,mDAII,CALN,YACE,CANE,cAKJ,CACE,iBAII,kEACA,yCACE,kDACA,yDACE,+CACA,uBANN,CAMM,+BANN,uCACE,qDACA,4BAEE,mBADA,0CACA,CADA,qBACA,0DACE,wCACA,sGALJ,oCACA,sBACE,kBAFF,UAEE,2CACA,wFACE,cACA,kEANN,uBACE,iDACA,CADA,UACA,0DACE,wDAEE,iEACA,qEANN,sCACE,CAGE,iBAHF,gBAGE,qBACE,CAJJ,uBACA,gDACE,wDACA,6DAHF,2CACA,CADA,gBACA,eACE,CAGE,sBANN,8BACE,CAII,iBAFF,4DACA,WACE,YADF,uCACE,6EACA,2BANN,8CACE,kDACA,0CACE,8BACA,yFACE,sBACA,sFALJ,mEACA,sBACE,kEACA,6EACE,uCACA,kEALJ,qGAEE,kEACA,6EACE,uCACA,kEALJ,8CACA,uDACE,sEACA,2EACE,sCACA,iEALJ,mGACA,qCACE,oDACA,0DACE,6GACA,gDAGR,yDCrEA,sEACE,CACA,6GACE,gEACF,iGAIF,wFACE,qDAGA,mGAEE,2CAEF,4FACE,gCACF,wGACE,8DAEE,6FAIA,iJAKN,6GACE,gDAKF,yDACA,qCAGA,6BACA,kBACA,qDAKA,oCAEA,+DAGA,2CAGE,oDAIA,oEAEE,qBAGJ,wDAEE,uCAEF,kEAGA,8CAEA,uDAIF,gEAIE,6BACA,gEAIA,+CACE,0EAIF,sDAEE,+DAGF,sCACA,8BACE,oCAEJ,wBACE,4FAEE,gBAEJ,yGAGI,kBAGJ,CCnHE,2MCFF,oBAGE,wGAKA,iCACE,CADF,wBACE,8GAQA,mBCjBJ,2GAIE,mBACA,6HAMA,YACE,mIAYF,eACA,CAHF,YAGE,4FAGE,8BAKF,uBAkBE,sCACA,CADA,qBAbA,wCAIA,CALF,8BACE,CADF,gBAKE,wCACA,CAOA,kDACA,CACA,kCAKF,6BAGA,4CACE,kDACA,eAGF,cACE,aACA,iBACA,yBACA,8BACA,WAGJ,2BACE,cAGA,+BACA,CAHA,eAGA,wCACA,YACA,iBACA,uEAGA,0BACA,2CAEA,8EAGI,qBACA,CAFF,kBAEE,kBAGN,0CAGE,mCAGA,4BAIA,gEACE,qCACA,8BAEA,gBACA,+CACA,iCAEF,iCAEE,gEACA,qCAGF,8BAEE,+BAIA,yCAEE,qBADA,gBACA,yBAKF,eACA,CAFF,YACE,CACA,iBACA,qDAEA,mDCvIJ,2FAOE,iCACA,CAEA,eACA,CAHA,kBAEA,CAFA,wBAGA,8BACA,eACE,CAFF,YAEE,0BACA,8CAGA,oBACE,oCAGA,kBACE,8DAEA,iBAEN,UACE,8BAIJ,+CAEE,qDAEF,kDAIE,YAEF,CAFE,YAEF,CCpCE,mFADA,kBAKE,CAJF,IAGA,aACE,mCAGA,iDACE,+BAEJ,wBAEE,mBAMA,6CAEF,CAJE,mBAEA,CAEF,kCAGE,CARF,kBACE,CAHA,eAUA,YACA,mBACA,CADA,UACA,wCC9BF,oBDkCE,wBCnCJ,uCACE,+BACA,+DACA,sBAGA,qBCDA,6CAIE,CAPF,uBAGA,CDGE,oBACF,yDAEE,CCDE,2CAGF,CAJA,kCACE,CDJJ,YACE,CAIA,eCTF,CDKE,uBCMA,gCACE,YAEF,oCAEE,wBACA,0BAIF,iBAEA,cADF,UACE,uBAEA,iCAEA,wCAEA,6CAMA,CAYF,gCATI,4BASJ,CAZE,mCAEE,iCAUJ,4BAGE,4DADA,+BACA,CAHF,qBAGE,sCACE,OAEF,iBAHA,SAGA,iHACE,2DAKF,CANA,8EAMA,uSAEE,kBAEF,+FACE,yCCjEJ,WACA,yBAGA,uBACA,gBAEA,uCAIA,CAJA,iCAIA,uCAGA,UACE,gBACA,qBAEA,0CClBJ,gBACE,KAGF,qBACE,YAGF,CAHE,cAGF,gCAEE,mBACA,iEAEA,oCACA,wCAEA,sBACA,WAEA,CAFA,YAEA,8EAEA,mCAFA,iBAEA,6BAIA,wEAKA,sDAIE,CARF,mDAIA,CAIE,cAEF,8CAIA,oBAFE,iBAEF,8CAGE,eAEF,CAFE,YAEF,OAEE,kBAGJ,CAJI,eACA,CAFF,mBAKF,yCCjDE,oBACA,CAFA,iBAEA,uCAKE,iBACA,qCAGA,mBCZJ,CDWI,gBCXJ,6BAEE,eACA,sBAGA,eAEA,sBACA,oDACA,iGAMA,gBAFE,YAEF,8FAME,iJCnBF,YACA,gNAWE,gDAEF,iSAaE,kBACE,gHAKF,oCACE,eACF,CADE,UACF,8CACE,gDACF,wCACE,oBCxCJ,oBAEF,6BACE,QACE,kDAGF,yBACE,kDAmBA,kDAEF,CAhBA,+CAaA,CAbA,oBAaA,0FACE,CADF,gGAfF,cACE,gBACA,CAaA,0BAGA,mQACE,gBAGF,oMACE,iBACA,CAFF,eACE,CADF,gBAEE,aAGJ,iCAEE,CAFF,wCAEE,wBAUE,+VAIE,uEAHA,2BAGA,wXAKJ,iDAGF,CARM,+CACE,iDAIN,CALI,gBAQN,mHACE,gBAGF,2DACE,0EAOA,0EAGF,gBAEE,6DC/EA,kDACA,gCACA,qDAGA,qBACA,qDCFA,cACA,eAEA,yBAGF,sBAEE,iBACA,sNAWA,iBACE,kBACA,wRAgBA,kBAEA,iOAgBA,uCACE,uEAEA,kBAEF,qUAuBE,iDAIJ,CACA,geCxFF,4BAEE,CAQA,6JACA,iDAIA,sEAGA,mDAOF,iDAGE,4DAIA,8CACA,qDAEE,eAFF,cAEE,oBAEF,uBAFE,kCAGA,eACA,iBACA,mBAIA,mDACA,CAHA,uCAEA,CAJA,0CACA,CAIA,gBAJA,gBACA,oBADA,gBAIA,wBAEJ,gBAGE,6BACA,YAHA,iBAGA,gCACA,iEAEA,6CACA,sDACA,0BADA,wBACA,0BACA,oIAIA,mBAFA,YAEA,qBACA,0CAIE,uBAEF,CAHA,yBACE,CAEF,iDACE,mFAKJ,oCACE,CANE,aAKJ,CACE,qEAIA,YAFA,WAEA,CAHA,aACA,CAEA,gBACE,4BACA,sBADA,aACA,gCAMF,oCACA,yDACA,2CAEA,qBAGE,kBAEA,CACA,mCAIF,CARE,YACA,CAOF,iCAEE,CAPA,oBACA,CAQA,oBACE,uDAEJ,sDAGA,CAHA,cAGA,0BACE,oDAIA,oCACA,4BACA,sBAGA,cAEA,oFAGA,sBAEA,yDACE,CAIF,iBAJE,wBAIF,6CAHE,6CAKA,eACA,aACA,CADA,cACA,yCAGJ,kBACE,CAKA,iDAEA,CARF,aACE,4CAGA,kBAIA,wEAGA,wDAGA,kCAOA,iDAGA,CAPF,WAEE,sCAEA,CAJF,2CACE,CAMA,qCACA,+BARF,kBACE,qCAOA,iBAsBA,sBACE,CAvBF,WAKA,CACE,0DAIF,CALA,uDACE,CANF,sBAqBA,4CACA,CALA,gRAIA,YAEE,6CAEN,mCAEE,+CASA,6EAIA,4BChNA,SDmNA,qFCnNA,gDACA,sCAGA,qCACA,sDACA,CAKA,kDAGA,CARA,0CAQA,kBAGA,YACA,sBACA,iBAFA,gBADF,YACE,CAHA,SAKA,kBAEA,SAFA,iBAEA,uEAGA,CAEE,6CAFF,oCAgBI,CAdF,yBACE,qBACF,CAGF,oBACE,CAIF,WACE,CALA,2CAGA,uBACF,CACE,mFAGE,CALF,qBAEA,UAGE,gCAIF,sDAEA,CALE,oCAKF,yCC7CJ,oCACE,CD+CA,yXAQE,sCCrDJ,wCAGA,oCACE","sources":["webpack:///./node_modules/normalize.css/normalize.css","webpack:///./src/furo/assets/styles/base/_print.sass","webpack:///./src/furo/assets/styles/base/_screen-readers.sass","webpack:///./src/furo/assets/styles/base/_theme.sass","webpack:///./src/furo/assets/styles/variables/_fonts.scss","webpack:///./src/furo/assets/styles/variables/_spacing.scss","webpack:///./src/furo/assets/styles/variables/_icons.scss","webpack:///./src/furo/assets/styles/variables/_admonitions.scss","webpack:///./src/furo/assets/styles/variables/_colors.scss","webpack:///./src/furo/assets/styles/base/_typography.sass","webpack:///./src/furo/assets/styles/_scaffold.sass","webpack:///./src/furo/assets/styles/variables/_layout.scss","webpack:///./src/furo/assets/styles/content/_admonitions.sass","webpack:///./src/furo/assets/styles/content/_api.sass","webpack:///./src/furo/assets/styles/content/_blocks.sass","webpack:///./src/furo/assets/styles/content/_captions.sass","webpack:///./src/furo/assets/styles/content/_code.sass","webpack:///./src/furo/assets/styles/content/_footnotes.sass","webpack:///./src/furo/assets/styles/content/_images.sass","webpack:///./src/furo/assets/styles/content/_indexes.sass","webpack:///./src/furo/assets/styles/content/_lists.sass","webpack:///./src/furo/assets/styles/content/_math.sass","webpack:///./src/furo/assets/styles/content/_misc.sass","webpack:///./src/furo/assets/styles/content/_rubrics.sass","webpack:///./src/furo/assets/styles/content/_sidebar.sass","webpack:///./src/furo/assets/styles/content/_tables.sass","webpack:///./src/furo/assets/styles/content/_target.sass","webpack:///./src/furo/assets/styles/content/_gui-labels.sass","webpack:///./src/furo/assets/styles/components/_footer.sass","webpack:///./src/furo/assets/styles/components/_sidebar.sass","webpack:///./src/furo/assets/styles/components/_table_of_contents.sass","webpack:///./src/furo/assets/styles/_shame.sass"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n","// This file contains styles for managing print media.\n\n////////////////////////////////////////////////////////////////////////////////\n// Hide elements not relevant to print media.\n////////////////////////////////////////////////////////////////////////////////\n@media print\n // Hide icon container.\n .content-icon-container\n display: none !important\n\n // Hide showing header links if hovering over when printing.\n .headerlink\n display: none !important\n\n // Hide mobile header.\n .mobile-header\n display: none !important\n\n // Hide navigation links.\n .related-pages\n display: none !important\n\n////////////////////////////////////////////////////////////////////////////////\n// Tweaks related to decolorization.\n////////////////////////////////////////////////////////////////////////////////\n@media print\n // Apply a border around code which no longer have a color background.\n .highlight\n border: 0.1pt solid var(--color-foreground-border)\n\n////////////////////////////////////////////////////////////////////////////////\n// Avoid page break in some relevant cases.\n////////////////////////////////////////////////////////////////////////////////\n@media print\n ul, ol, dl, a, table, pre, blockquote, p\n page-break-inside: avoid\n\n h1, h2, h3, h4, h5, h6, img, figure, caption\n page-break-inside: avoid\n page-break-after: avoid\n\n ul, ol, dl\n page-break-before: avoid\n",".visually-hidden\n position: absolute !important\n width: 1px !important\n height: 1px !important\n padding: 0 !important\n margin: -1px !important\n overflow: hidden !important\n clip: rect(0,0,0,0) !important\n white-space: nowrap !important\n border: 0 !important\n color: var(--color-foreground-primary)\n background: var(--color-background-primary)\n\n:-moz-focusring\n outline: auto\n","// This file serves as the \"skeleton\" of the theming logic.\n//\n// This contains the bulk of the logic for handling dark mode, color scheme\n// toggling and the handling of color-scheme-specific hiding of elements.\n\nbody\n @include fonts\n @include spacing\n @include icons\n @include admonitions\n @include default-admonition(#651fff, \"abstract\")\n @include default-topic(#14B8A6, \"pencil\")\n\n @include colors\n\n.only-light\n display: block !important\nhtml body .only-dark\n display: none !important\n\n// Ignore dark-mode hints if print media.\n@media not print\n // Enable dark-mode, if requested.\n body[data-theme=\"dark\"]\n @include colors-dark\n\n html & .only-light\n display: none !important\n .only-dark\n display: block !important\n\n // Enable dark mode, unless explicitly told to avoid.\n @media (prefers-color-scheme: dark)\n body:not([data-theme=\"light\"])\n @include colors-dark\n\n html & .only-light\n display: none !important\n .only-dark\n display: block !important\n\n//\n// Theme toggle presentation\n//\nbody[data-theme=\"auto\"]\n .theme-toggle svg.theme-icon-when-auto-light\n display: block\n\n @media (prefers-color-scheme: dark)\n .theme-toggle svg.theme-icon-when-auto-dark\n display: block\n .theme-toggle svg.theme-icon-when-auto-light\n display: none\n\nbody[data-theme=\"dark\"]\n .theme-toggle svg.theme-icon-when-dark\n display: block\n\nbody[data-theme=\"light\"]\n .theme-toggle svg.theme-icon-when-light\n display: block\n","// Fonts used by this theme.\n//\n// There are basically two things here -- using the system font stack and\n// defining sizes for various elements in %ages. We could have also used `em`\n// but %age is easier to reason about for me.\n\n@mixin fonts {\n // These are adapted from https://systemfontstack.com/\n --font-stack: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,\n sans-serif, Apple Color Emoji, Segoe UI Emoji;\n --font-stack--monospace: \"SFMono-Regular\", Menlo, Consolas, Monaco,\n Liberation Mono, Lucida Console, monospace;\n --font-stack--headings: var(--font-stack);\n\n --font-size--normal: 100%;\n --font-size--small: 87.5%;\n --font-size--small--2: 81.25%;\n --font-size--small--3: 75%;\n --font-size--small--4: 62.5%;\n\n // Sidebar\n --sidebar-caption-font-size: var(--font-size--small--2);\n --sidebar-item-font-size: var(--font-size--small);\n --sidebar-search-input-font-size: var(--font-size--small);\n\n // Table of Contents\n --toc-font-size: var(--font-size--small--3);\n --toc-font-size--mobile: var(--font-size--normal);\n --toc-title-font-size: var(--font-size--small--4);\n\n // Admonitions\n //\n // These aren't defined in terms of %ages, since nesting these is permitted.\n --admonition-font-size: 0.8125rem;\n --admonition-title-font-size: 0.8125rem;\n\n // Code\n --code-font-size: var(--font-size--small--2);\n\n // API\n --api-font-size: var(--font-size--small);\n}\n","// Spacing for various elements on the page\n//\n// If the user wants to tweak things in a certain way, they are permitted to.\n// They also have to deal with the consequences though!\n\n@mixin spacing {\n // Header!\n --header-height: calc(\n var(--sidebar-item-line-height) + 4 * #{var(--sidebar-item-spacing-vertical)}\n );\n --header-padding: 0.5rem;\n\n // Sidebar\n --sidebar-tree-space-above: 1.5rem;\n --sidebar-caption-space-above: 1rem;\n\n --sidebar-item-line-height: 1rem;\n --sidebar-item-spacing-vertical: 0.5rem;\n --sidebar-item-spacing-horizontal: 1rem;\n --sidebar-item-height: calc(\n var(--sidebar-item-line-height) + 2 *#{var(--sidebar-item-spacing-vertical)}\n );\n\n --sidebar-expander-width: var(--sidebar-item-height); // be square\n\n --sidebar-search-space-above: 0.5rem;\n --sidebar-search-input-spacing-vertical: 0.5rem;\n --sidebar-search-input-spacing-horizontal: 0.5rem;\n --sidebar-search-input-height: 1rem;\n --sidebar-search-icon-size: var(--sidebar-search-input-height);\n\n // Table of Contents\n --toc-title-padding: 0.25rem 0;\n --toc-spacing-vertical: 1.5rem;\n --toc-spacing-horizontal: 1.5rem;\n --toc-item-spacing-vertical: 0.4rem;\n --toc-item-spacing-horizontal: 1rem;\n}\n","// Expose theme icons as CSS variables.\n\n$icons: (\n // Adapted from tabler-icons\n // url: https://tablericons.com/\n \"search\":\n url('data:image/svg+xml;charset=utf-8,'),\n // Factored out from mkdocs-material on 24-Aug-2020.\n // url: https://squidfunk.github.io/mkdocs-material/reference/admonitions/\n \"pencil\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"abstract\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"info\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"flame\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"question\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"warning\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"failure\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"spark\":\n url('data:image/svg+xml;charset=utf-8,')\n);\n\n@mixin icons {\n @each $name, $glyph in $icons {\n --icon-#{$name}: #{$glyph};\n }\n}\n","// Admonitions\n\n// Structure of these is:\n// admonition-class: color \"icon-name\";\n//\n// The colors are translated into CSS variables below. The icons are\n// used directly in the main declarations to set the `mask-image` in\n// the title.\n\n// prettier-ignore\n$admonitions: (\n // Each of these has an reST directives for it.\n \"caution\": #ff9100 \"spark\",\n \"warning\": #ff9100 \"warning\",\n \"danger\": #ff5252 \"spark\",\n \"attention\": #ff5252 \"warning\",\n \"error\": #ff5252 \"failure\",\n \"hint\": #00c852 \"question\",\n \"tip\": #00c852 \"info\",\n \"important\": #00bfa5 \"flame\",\n \"note\": #00b0ff \"pencil\",\n \"seealso\": #448aff \"info\",\n \"admonition-todo\": #808080 \"pencil\"\n);\n\n@mixin default-admonition($color, $icon-name) {\n --color-admonition-title: #{$color};\n --color-admonition-title-background: #{rgba($color, 0.2)};\n\n --icon-admonition-default: var(--icon-#{$icon-name});\n}\n\n@mixin default-topic($color, $icon-name) {\n --color-topic-title: #{$color};\n --color-topic-title-background: #{rgba($color, 0.2)};\n\n --icon-topic-default: var(--icon-#{$icon-name});\n}\n\n@mixin admonitions {\n @each $name, $values in $admonitions {\n --color-admonition-title--#{$name}: #{nth($values, 1)};\n --color-admonition-title-background--#{$name}: #{rgba(\n nth($values, 1),\n 0.2\n )};\n }\n}\n","// Colors used throughout this theme.\n//\n// The aim is to give the user more control. Thus, instead of hard-coding colors\n// in various parts of the stylesheet, the approach taken is to define all\n// colors as CSS variables and reusing them in all the places.\n//\n// `colors-dark` depends on `colors` being included at a lower specificity.\n\n@mixin colors {\n --color-problematic: #b30000;\n\n // Base Colors\n --color-foreground-primary: black; // for main text and headings\n --color-foreground-secondary: #5a5c63; // for secondary text\n --color-foreground-muted: #6b6f76; // for muted text\n --color-foreground-border: #878787; // for content borders\n\n --color-background-primary: white; // for content\n --color-background-secondary: #f8f9fb; // for navigation + ToC\n --color-background-hover: #efeff4ff; // for navigation-item hover\n --color-background-hover--transparent: #efeff400;\n --color-background-border: #eeebee; // for UI borders\n --color-background-item: #ccc; // for \"background\" items (eg: copybutton)\n\n // Announcements\n --color-announcement-background: #000000dd;\n --color-announcement-text: #eeebee;\n\n // Brand colors\n --color-brand-primary: #0a4bff;\n --color-brand-content: #2757dd;\n --color-brand-visited: #872ee0;\n\n // API documentation\n --color-api-background: var(--color-background-hover--transparent);\n --color-api-background-hover: var(--color-background-hover);\n --color-api-overall: var(--color-foreground-secondary);\n --color-api-name: var(--color-problematic);\n --color-api-pre-name: var(--color-problematic);\n --color-api-paren: var(--color-foreground-secondary);\n --color-api-keyword: var(--color-foreground-primary);\n\n --color-api-added: #21632c;\n --color-api-added-border: #38a84d;\n --color-api-changed: #046172;\n --color-api-changed-border: #06a1bc;\n --color-api-deprecated: #605706;\n --color-api-deprecated-border: #f0d90f;\n --color-api-removed: #b30000;\n --color-api-removed-border: #ff5c5c;\n\n --color-highlight-on-target: #ffffcc;\n\n // Inline code background\n --color-inline-code-background: var(--color-background-secondary);\n\n // Highlighted text (search)\n --color-highlighted-background: #ddeeff;\n --color-highlighted-text: var(--color-foreground-primary);\n\n // GUI Labels\n --color-guilabel-background: #ddeeff80;\n --color-guilabel-border: #bedaf580;\n --color-guilabel-text: var(--color-foreground-primary);\n\n // Admonitions!\n --color-admonition-background: transparent;\n\n //////////////////////////////////////////////////////////////////////////////\n // Everything below this should be one of:\n // - var(...)\n // - *-gradient(...)\n // - special literal values (eg: transparent, none)\n //////////////////////////////////////////////////////////////////////////////\n\n // Tables\n --color-table-header-background: var(--color-background-secondary);\n --color-table-border: var(--color-background-border);\n\n // Cards\n --color-card-border: var(--color-background-secondary);\n --color-card-background: transparent;\n --color-card-marginals-background: var(--color-background-secondary);\n\n // Header\n --color-header-background: var(--color-background-primary);\n --color-header-border: var(--color-background-border);\n --color-header-text: var(--color-foreground-primary);\n\n // Sidebar (left)\n --color-sidebar-background: var(--color-background-secondary);\n --color-sidebar-background-border: var(--color-background-border);\n\n --color-sidebar-brand-text: var(--color-foreground-primary);\n --color-sidebar-caption-text: var(--color-foreground-muted);\n --color-sidebar-link-text: var(--color-foreground-secondary);\n --color-sidebar-link-text--top-level: var(--color-brand-primary);\n\n --color-sidebar-item-background: var(--color-sidebar-background);\n --color-sidebar-item-background--current: var(\n --color-sidebar-item-background\n );\n --color-sidebar-item-background--hover: linear-gradient(\n 90deg,\n var(--color-background-hover--transparent) 0%,\n var(--color-background-hover) var(--sidebar-item-spacing-horizontal),\n var(--color-background-hover) 100%\n );\n\n --color-sidebar-item-expander-background: transparent;\n --color-sidebar-item-expander-background--hover: var(\n --color-background-hover\n );\n\n --color-sidebar-search-text: var(--color-foreground-primary);\n --color-sidebar-search-background: var(--color-background-secondary);\n --color-sidebar-search-background--focus: var(--color-background-primary);\n --color-sidebar-search-border: var(--color-background-border);\n --color-sidebar-search-icon: var(--color-foreground-muted);\n\n // Table of Contents (right)\n --color-toc-background: var(--color-background-primary);\n --color-toc-title-text: var(--color-foreground-muted);\n --color-toc-item-text: var(--color-foreground-secondary);\n --color-toc-item-text--hover: var(--color-foreground-primary);\n --color-toc-item-text--active: var(--color-brand-primary);\n\n // Actual page contents\n --color-content-foreground: var(--color-foreground-primary);\n --color-content-background: transparent;\n\n // Links\n --color-link: var(--color-brand-content);\n --color-link-underline: var(--color-background-border);\n --color-link--hover: var(--color-brand-content);\n --color-link-underline--hover: var(--color-foreground-border);\n\n --color-link--visited: var(--color-brand-visited);\n --color-link-underline--visited: var(--color-background-border);\n --color-link--visited--hover: var(--color-brand-visited);\n --color-link-underline--visited--hover: var(--color-foreground-border);\n}\n\n@mixin colors-dark {\n --color-problematic: #ee5151;\n\n // Base Colors\n --color-foreground-primary: #cfd0d0; // for main text and headings\n --color-foreground-secondary: #9ca0a5; // for secondary text\n --color-foreground-muted: #81868d; // for muted text\n --color-foreground-border: #666666; // for content borders\n\n --color-background-primary: #131416; // for content\n --color-background-secondary: #1a1c1e; // for navigation + ToC\n --color-background-hover: #1e2124ff; // for navigation-item hover\n --color-background-hover--transparent: #1e212400;\n --color-background-border: #303335; // for UI borders\n --color-background-item: #444; // for \"background\" items (eg: copybutton)\n\n // Announcements\n --color-announcement-background: #000000dd;\n --color-announcement-text: #eeebee;\n\n // Brand colors\n --color-brand-primary: #3d94ff;\n --color-brand-content: #5ca5ff;\n --color-brand-visited: #b27aeb;\n\n // Highlighted text (search)\n --color-highlighted-background: #083563;\n\n // GUI Labels\n --color-guilabel-background: #08356380;\n --color-guilabel-border: #13395f80;\n\n // API documentation\n --color-api-keyword: var(--color-foreground-secondary);\n --color-highlight-on-target: #333300;\n\n --color-api-added: #3db854;\n --color-api-added-border: #267334;\n --color-api-changed: #09b0ce;\n --color-api-changed-border: #056d80;\n --color-api-deprecated: #b1a10b;\n --color-api-deprecated-border: #6e6407;\n --color-api-removed: #ff7575;\n --color-api-removed-border: #b03b3b;\n\n // Admonitions\n --color-admonition-background: #18181a;\n\n // Cards\n --color-card-border: var(--color-background-secondary);\n --color-card-background: #18181a;\n --color-card-marginals-background: var(--color-background-hover);\n}\n","// This file contains the styling for making the content throughout the page,\n// including fonts, paragraphs, headings and spacing among these elements.\n\nbody\n font-family: var(--font-stack)\npre,\ncode,\nkbd,\nsamp\n font-family: var(--font-stack--monospace)\n\n// Make fonts look slightly nicer.\nbody\n -webkit-font-smoothing: antialiased\n -moz-osx-font-smoothing: grayscale\n\n// Line height from Bootstrap 4.1\narticle\n line-height: 1.5\n\n//\n// Headings\n//\nh1,\nh2,\nh3,\nh4,\nh5,\nh6\n line-height: 1.25\n font-family: var(--font-stack--headings)\n font-weight: bold\n\n border-radius: 0.5rem\n margin-top: 0.5rem\n margin-bottom: 0.5rem\n margin-left: -0.5rem\n margin-right: -0.5rem\n padding-left: 0.5rem\n padding-right: 0.5rem\n\n + p\n margin-top: 0\n\nh1\n font-size: 2.5em\n margin-top: 1.75rem\n margin-bottom: 1rem\nh2\n font-size: 2em\n margin-top: 1.75rem\nh3\n font-size: 1.5em\nh4\n font-size: 1.25em\nh5\n font-size: 1.125em\nh6\n font-size: 1em\n\nsmall\n opacity: 75%\n font-size: 80%\n\n// Paragraph\np\n margin-top: 0.5rem\n margin-bottom: 0.75rem\n\n// Horizontal rules\nhr.docutils\n height: 1px\n padding: 0\n margin: 2rem 0\n background-color: var(--color-background-border)\n border: 0\n\n.centered\n text-align: center\n\n// Links\na\n text-decoration: underline\n\n color: var(--color-link)\n text-decoration-color: var(--color-link-underline)\n\n &:visited\n color: var(--color-link--visited)\n text-decoration-color: var(--color-link-underline--visited)\n &:hover\n color: var(--color-link--visited--hover)\n text-decoration-color: var(--color-link-underline--visited--hover)\n\n &:hover\n color: var(--color-link--hover)\n text-decoration-color: var(--color-link-underline--hover)\n &.muted-link\n color: inherit\n &:hover\n color: var(--color-link--hover)\n text-decoration-color: var(--color-link-underline--hover)\n &:visited\n color: var(--color-link--visited--hover)\n text-decoration-color: var(--color-link-underline--visited--hover)\n","// This file contains the styles for the overall layouting of the documentation\n// skeleton, including the responsive changes as well as sidebar toggles.\n//\n// This is implemented as a mobile-last design, which isn't ideal, but it is\n// reasonably good-enough and I got pretty tired by the time I'd finished this\n// to move the rules around to fix this. Shouldn't take more than 3-4 hours,\n// if you know what you're doing tho.\n\n// HACK: Not all browsers account for the scrollbar width in media queries.\n// This results in horizontal scrollbars in the breakpoint where we go\n// from displaying everything to hiding the ToC. We accomodate for this by\n// adding a bit of padding to the TOC drawer, disabling the horizontal\n// scrollbar and allowing the scrollbars to cover the padding.\n// https://www.456bereastreet.com/archive/201301/media_query_width_and_vertical_scrollbars/\n\n// HACK: Always having the scrollbar visible, prevents certain browsers from\n// causing the content to stutter horizontally between taller-than-viewport and\n// not-taller-than-viewport pages.\n\nhtml\n overflow-x: hidden\n overflow-y: scroll\n scroll-behavior: smooth\n\n.sidebar-scroll, .toc-scroll, article[role=main] *\n // Override Firefox scrollbar style\n scrollbar-width: thin\n scrollbar-color: var(--color-foreground-border) transparent\n\n // Override Chrome scrollbar styles\n &::-webkit-scrollbar\n width: 0.25rem\n height: 0.25rem\n &::-webkit-scrollbar-thumb\n background-color: var(--color-foreground-border)\n border-radius: 0.125rem\n\n//\n// Overalls\n//\nhtml,\nbody\n height: 100%\n color: var(--color-foreground-primary)\n background: var(--color-background-primary)\n\n.skip-to-content\n position: fixed\n padding: 1rem\n border-radius: 1rem\n left: 0.25rem\n top: 0.25rem\n z-index: 40\n background: var(--color-background-primary)\n color: var(--color-foreground-primary)\n\n transform: translateY(-200%)\n transition: transform 300ms ease-in-out\n\n &:focus-within\n transform: translateY(0%)\n\narticle\n color: var(--color-content-foreground)\n background: var(--color-content-background)\n overflow-wrap: break-word\n\n.page\n display: flex\n // fill the viewport for pages with little content.\n min-height: 100%\n\n.mobile-header\n width: 100%\n height: var(--header-height)\n background-color: var(--color-header-background)\n color: var(--color-header-text)\n border-bottom: 1px solid var(--color-header-border)\n\n // Looks like sub-script/super-script have this, and we need this to\n // be \"on top\" of those.\n z-index: 10\n\n // We don't show the header on large screens.\n display: none\n\n // Add shadow when scrolled\n &.scrolled\n border-bottom: none\n box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.1), 0 0.2rem 0.4rem rgba(0, 0, 0, 0.2)\n\n .header-center\n a\n color: var(--color-header-text)\n text-decoration: none\n\n.main\n display: flex\n flex: 1\n\n// Sidebar (left) also covers the entire left portion of screen.\n.sidebar-drawer\n box-sizing: border-box\n\n border-right: 1px solid var(--color-sidebar-background-border)\n background: var(--color-sidebar-background)\n\n display: flex\n justify-content: flex-end\n // These next two lines took me two days to figure out.\n width: calc((100% - #{$full-width}) / 2 + #{$sidebar-width})\n min-width: $sidebar-width\n\n// Scroll-along sidebars\n.sidebar-container,\n.toc-drawer\n box-sizing: border-box\n width: $sidebar-width\n\n.toc-drawer\n background: var(--color-toc-background)\n // See HACK described on top of this document\n padding-right: 1rem\n\n.sidebar-sticky,\n.toc-sticky\n position: sticky\n top: 0\n height: min(100%, 100vh)\n height: 100vh\n\n display: flex\n flex-direction: column\n\n.sidebar-scroll,\n.toc-scroll\n flex-grow: 1\n flex-shrink: 1\n\n overflow: auto\n scroll-behavior: smooth\n\n// Central items.\n.content\n padding: 0 $content-padding\n width: $content-width\n\n display: flex\n flex-direction: column\n justify-content: space-between\n\n.icon\n display: inline-block\n height: 1rem\n width: 1rem\n svg\n width: 100%\n height: 100%\n\n//\n// Accommodate announcement banner\n//\n.announcement\n background-color: var(--color-announcement-background)\n color: var(--color-announcement-text)\n\n height: var(--header-height)\n display: flex\n align-items: center\n overflow-x: auto\n & + .page\n min-height: calc(100% - var(--header-height))\n\n.announcement-content\n box-sizing: border-box\n padding: 0.5rem\n min-width: 100%\n white-space: nowrap\n text-align: center\n\n a\n color: var(--color-announcement-text)\n text-decoration-color: var(--color-announcement-text)\n\n &:hover\n color: var(--color-announcement-text)\n text-decoration-color: var(--color-link--hover)\n\n////////////////////////////////////////////////////////////////////////////////\n// Toggles for theme\n////////////////////////////////////////////////////////////////////////////////\n.no-js .theme-toggle-container // don't show theme toggle if there's no JS\n display: none\n\n.theme-toggle-container\n display: flex\n\n.theme-toggle\n display: flex\n cursor: pointer\n border: none\n padding: 0\n background: transparent\n\n.theme-toggle svg\n height: 1.25rem\n width: 1.25rem\n color: var(--color-foreground-primary)\n display: none\n\n.theme-toggle-header\n display: flex\n align-items: center\n justify-content: center\n\n////////////////////////////////////////////////////////////////////////////////\n// Toggles for elements\n////////////////////////////////////////////////////////////////////////////////\n.toc-overlay-icon, .nav-overlay-icon\n display: none\n cursor: pointer\n\n .icon\n color: var(--color-foreground-secondary)\n height: 1.5rem\n width: 1.5rem\n\n.toc-header-icon, .nav-overlay-icon\n // for when we set display: flex\n justify-content: center\n align-items: center\n\n.toc-content-icon\n height: 1.5rem\n width: 1.5rem\n\n.content-icon-container\n float: right\n display: flex\n margin-top: 1.5rem\n margin-left: 1rem\n margin-bottom: 1rem\n gap: 0.5rem\n\n .edit-this-page, .view-this-page\n svg\n color: inherit\n height: 1.25rem\n width: 1.25rem\n\n.sidebar-toggle\n position: absolute\n display: none\n// \n.sidebar-toggle[name=\"__toc\"]\n left: 20px\n.sidebar-toggle:checked\n left: 40px\n// \n\n.overlay\n position: fixed\n top: 0\n width: 0\n height: 0\n\n transition: width 0ms, height 0ms, opacity 250ms ease-out\n\n opacity: 0\n background-color: rgba(0, 0, 0, 0.54)\n.sidebar-overlay\n z-index: 20\n.toc-overlay\n z-index: 40\n\n// Keep things on top and smooth.\n.sidebar-drawer\n z-index: 30\n transition: left 250ms ease-in-out\n.toc-drawer\n z-index: 50\n transition: right 250ms ease-in-out\n\n// Show the Sidebar\n#__navigation:checked\n & ~ .sidebar-overlay\n width: 100%\n height: 100%\n opacity: 1\n & ~ .page\n .sidebar-drawer\n top: 0\n left: 0\n // Show the toc sidebar\n#__toc:checked\n & ~ .toc-overlay\n width: 100%\n height: 100%\n opacity: 1\n & ~ .page\n .toc-drawer\n top: 0\n right: 0\n\n////////////////////////////////////////////////////////////////////////////////\n// Back to top\n////////////////////////////////////////////////////////////////////////////////\n.back-to-top\n text-decoration: none\n\n display: none\n position: fixed\n left: 0\n top: 1rem\n padding: 0.5rem\n padding-right: 0.75rem\n border-radius: 1rem\n font-size: 0.8125rem\n\n background: var(--color-background-primary)\n box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), #6b728080 0px 0px 1px 0px\n\n z-index: 10\n\n margin-left: 50%\n transform: translateX(-50%)\n svg\n height: 1rem\n width: 1rem\n fill: currentColor\n display: inline-block\n\n span\n margin-left: 0.25rem\n\n .show-back-to-top &\n display: flex\n align-items: center\n\n////////////////////////////////////////////////////////////////////////////////\n// Responsive layouting\n////////////////////////////////////////////////////////////////////////////////\n// Make things a bit bigger on bigger screens.\n@media (min-width: $full-width + $sidebar-width)\n html\n font-size: 110%\n\n@media (max-width: $full-width)\n // Collapse \"toc\" into the icon.\n .toc-content-icon\n display: flex\n .toc-drawer\n position: fixed\n height: 100vh\n top: 0\n right: -$sidebar-width\n border-left: 1px solid var(--color-background-muted)\n .toc-tree\n border-left: none\n font-size: var(--toc-font-size--mobile)\n\n // Accomodate for a changed content width.\n .sidebar-drawer\n width: calc((100% - #{$full-width - $sidebar-width}) / 2 + #{$sidebar-width})\n\n@media (max-width: $content-padded-width + $sidebar-width)\n // Center the page\n .content\n margin-left: auto\n margin-right: auto\n padding: 0 $content-padding--small\n\n@media (max-width: $content-padded-width--small + $sidebar-width)\n // Collapse \"navigation\".\n .nav-overlay-icon\n display: flex\n .sidebar-drawer\n position: fixed\n height: 100vh\n width: $sidebar-width\n\n top: 0\n left: -$sidebar-width\n\n // Swap which icon is visible.\n .toc-header-icon, .theme-toggle-header\n display: flex\n .toc-content-icon, .theme-toggle-content\n display: none\n\n // Show the header.\n .mobile-header\n position: sticky\n top: 0\n display: flex\n justify-content: space-between\n align-items: center\n\n .header-left,\n .header-right\n display: flex\n height: var(--header-height)\n padding: 0 var(--header-padding)\n label\n height: 100%\n width: 100%\n user-select: none\n\n .nav-overlay-icon .icon,\n .theme-toggle svg\n height: 1.5rem\n width: 1.5rem\n\n // Add a scroll margin for the content\n :target\n scroll-margin-top: calc(var(--header-height) + 2.5rem)\n\n // Show back-to-top below the header\n .back-to-top\n top: calc(var(--header-height) + 0.5rem)\n\n // Accommodate for the header.\n .page\n flex-direction: column\n justify-content: center\n\n@media (max-width: $content-width + 2* $content-padding--small)\n // Content should respect window limits.\n .content\n width: 100%\n overflow-x: auto\n\n@media (max-width: $content-width)\n article[role=main] aside.sidebar\n float: none\n width: 100%\n margin: 1rem 0\n","// Overall Layout Variables\n//\n// Because CSS variables can't be used in media queries. The fact that this\n// makes the layout non-user-configurable is a good thing.\n$content-padding: 3em;\n$content-padding--small: 1em;\n$content-width: 46em;\n$sidebar-width: 15em;\n$content-padded-width: $content-width + 2 * $content-padding;\n$content-padded-width--small: $content-width + 2 * $content-padding--small;\n$full-width: $content-padded-width + 2 * $sidebar-width;\n","//\n// The design here is strongly inspired by mkdocs-material.\n.admonition, .topic\n margin: 1rem auto\n padding: 0 0.5rem 0.5rem 0.5rem\n\n background: var(--color-admonition-background)\n\n border-radius: 0.2rem\n box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1)\n\n font-size: var(--admonition-font-size)\n\n overflow: hidden\n page-break-inside: avoid\n\n // First element should have no margin, since the title has it.\n > :nth-child(2)\n margin-top: 0\n\n // Last item should have no margin, since we'll control that w/ padding\n > :last-child\n margin-bottom: 0\n\n.admonition p.admonition-title,\np.topic-title\n position: relative\n margin: 0 -0.5rem 0.5rem\n padding-left: 2rem\n padding-right: .5rem\n padding-top: .4rem\n padding-bottom: .4rem\n\n font-weight: 500\n font-size: var(--admonition-title-font-size)\n line-height: 1.3\n\n // Our fancy icon\n &::before\n content: \"\"\n position: absolute\n left: 0.5rem\n width: 1rem\n height: 1rem\n\n// Default styles\np.admonition-title\n background-color: var(--color-admonition-title-background)\n &::before\n background-color: var(--color-admonition-title)\n mask-image: var(--icon-admonition-default)\n mask-repeat: no-repeat\n\np.topic-title\n background-color: var(--color-topic-title-background)\n &::before\n background-color: var(--color-topic-title)\n mask-image: var(--icon-topic-default)\n mask-repeat: no-repeat\n\n//\n// Variants\n//\n.admonition\n border-left: 0.2rem solid var(--color-admonition-title)\n\n @each $type, $value in $admonitions\n &.#{$type}\n border-left-color: var(--color-admonition-title--#{$type})\n > .admonition-title\n background-color: var(--color-admonition-title-background--#{$type})\n &::before\n background-color: var(--color-admonition-title--#{$type})\n mask-image: var(--icon-#{nth($value, 2)})\n\n.admonition-todo > .admonition-title\n text-transform: uppercase\n","// This file stylizes the API documentation (stuff generated by autodoc). It's\n// deeply nested due to how autodoc structures the HTML without enough classes\n// to select the relevant items.\n\n// API docs!\ndl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple)\n // Tweak the spacing of all the things!\n dd\n margin-left: 2rem\n > :first-child\n margin-top: 0.125rem\n > :last-child\n margin-bottom: 0.75rem\n\n // This is used for the arguments\n .field-list\n margin-bottom: 0.75rem\n\n // \"Headings\" (like \"Parameters\" and \"Return\")\n > dt\n text-transform: uppercase\n font-size: var(--font-size--small)\n\n dd:empty\n margin-bottom: 0.5rem\n dd > ul\n margin-left: -1.2rem\n > li\n > p:nth-child(2)\n margin-top: 0\n // When the last-empty-paragraph follows a paragraph, it doesn't need\n // to augument the existing spacing.\n > p + p:last-child:empty\n margin-top: 0\n margin-bottom: 0\n\n // Colorize the elements\n > dt\n color: var(--color-api-overall)\n\n.sig:not(.sig-inline)\n font-weight: bold\n\n font-size: var(--api-font-size)\n font-family: var(--font-stack--monospace)\n\n margin-left: -0.25rem\n margin-right: -0.25rem\n padding-top: 0.25rem\n padding-bottom: 0.25rem\n padding-right: 0.5rem\n\n // These are intentionally em, to properly match the font size.\n padding-left: 3em\n text-indent: -2.5em\n\n border-radius: 0.25rem\n\n background: var(--color-api-background)\n transition: background 100ms ease-out\n\n &:hover\n background: var(--color-api-background-hover)\n\n // adjust the size of the [source] link on the right.\n a.reference\n .viewcode-link\n font-weight: normal\n width: 4.25rem\n\nem.property\n font-style: normal\n &:first-child\n color: var(--color-api-keyword)\n.sig-name\n color: var(--color-api-name)\n.sig-prename\n font-weight: normal\n color: var(--color-api-pre-name)\n.sig-paren\n color: var(--color-api-paren)\n.sig-param\n font-style: normal\n\ndiv.versionadded,\ndiv.versionchanged,\ndiv.deprecated,\ndiv.versionremoved\n border-left: 0.1875rem solid\n border-radius: 0.125rem\n\n padding-left: 0.75rem\n\n p\n margin-top: 0.125rem\n margin-bottom: 0.125rem\n\ndiv.versionadded\n border-color: var(--color-api-added-border)\n .versionmodified\n color: var(--color-api-added)\n\ndiv.versionchanged\n border-color: var(--color-api-changed-border)\n .versionmodified\n color: var(--color-api-changed)\n\ndiv.deprecated\n border-color: var(--color-api-deprecated-border)\n .versionmodified\n color: var(--color-api-deprecated)\n\ndiv.versionremoved\n border-color: var(--color-api-removed-border)\n .versionmodified\n color: var(--color-api-removed)\n\n// Align the [docs] and [source] to the right.\n.viewcode-link, .viewcode-back\n float: right\n text-align: right\n",".line-block\n margin-top: 0.5rem\n margin-bottom: 0.75rem\n .line-block\n margin-top: 0rem\n margin-bottom: 0rem\n padding-left: 1rem\n","// Captions\narticle p.caption,\ntable > caption,\n.code-block-caption\n font-size: var(--font-size--small)\n text-align: center\n\n// Caption above a TOCTree\n.toctree-wrapper.compound\n .caption, :not(.caption) > .caption-text\n font-size: var(--font-size--small)\n text-transform: uppercase\n\n text-align: initial\n margin-bottom: 0\n\n > ul\n margin-top: 0\n margin-bottom: 0\n","// Inline code\ncode.literal, .sig-inline\n background: var(--color-inline-code-background)\n border-radius: 0.2em\n // Make the font smaller, and use padding to recover.\n font-size: var(--font-size--small--2)\n padding: 0.1em 0.2em\n\n pre.literal-block &\n font-size: inherit\n padding: 0\n\n p &\n border: 1px solid var(--color-background-border)\n\n.sig-inline\n font-family: var(--font-stack--monospace)\n\n// Code and Literal Blocks\n$code-spacing-vertical: 0.625rem\n$code-spacing-horizontal: 0.875rem\n\n// Wraps every literal block + line numbers.\ndiv[class*=\" highlight-\"],\ndiv[class^=\"highlight-\"]\n margin: 1em 0\n display: flex\n\n .table-wrapper\n margin: 0\n padding: 0\n\npre\n margin: 0\n padding: 0\n overflow: auto\n\n // Needed to have more specificity than pygments' \"pre\" selector. :(\n article[role=\"main\"] .highlight &\n line-height: 1.5\n\n &.literal-block,\n .highlight &\n font-size: var(--code-font-size)\n padding: $code-spacing-vertical $code-spacing-horizontal\n\n // Make it look like all the other blocks.\n &.literal-block\n margin-top: 1rem\n margin-bottom: 1rem\n\n border-radius: 0.2rem\n background-color: var(--color-code-background)\n color: var(--color-code-foreground)\n\n// All code is always contained in this.\n.highlight\n width: 100%\n border-radius: 0.2rem\n\n // Make line numbers and prompts un-selectable.\n .gp, span.linenos\n user-select: none\n pointer-events: none\n\n // Expand the line-highlighting.\n .hll\n display: block\n margin-left: -$code-spacing-horizontal\n margin-right: -$code-spacing-horizontal\n padding-left: $code-spacing-horizontal\n padding-right: $code-spacing-horizontal\n\n/* Make code block captions be nicely integrated */\n.code-block-caption\n display: flex\n padding: $code-spacing-vertical $code-spacing-horizontal\n\n border-radius: 0.25rem\n border-bottom-left-radius: 0\n border-bottom-right-radius: 0\n font-weight: 300\n border-bottom: 1px solid\n\n background-color: var(--color-code-background)\n color: var(--color-code-foreground)\n border-color: var(--color-background-border)\n\n + div[class]\n margin-top: 0\n pre\n border-top-left-radius: 0\n border-top-right-radius: 0\n\n// When `html_codeblock_linenos_style` is table.\n.highlighttable\n width: 100%\n display: block\n tbody\n display: block\n\n tr\n display: flex\n\n // Line numbers\n td.linenos\n background-color: var(--color-code-background)\n color: var(--color-code-foreground)\n padding: $code-spacing-vertical $code-spacing-horizontal\n padding-right: 0\n border-top-left-radius: 0.2rem\n border-bottom-left-radius: 0.2rem\n\n .linenodiv\n padding-right: $code-spacing-horizontal\n font-size: var(--code-font-size)\n box-shadow: -0.0625rem 0 var(--color-foreground-border) inset\n\n // Actual code\n td.code\n padding: 0\n display: block\n flex: 1\n overflow: hidden\n\n .highlight\n border-top-left-radius: 0\n border-bottom-left-radius: 0\n\n// When `html_codeblock_linenos_style` is inline.\n.highlight\n span.linenos\n display: inline-block\n padding-left: 0\n padding-right: $code-spacing-horizontal\n margin-right: $code-spacing-horizontal\n box-shadow: -0.0625rem 0 var(--color-foreground-border) inset\n","// Inline Footnote Reference\n.footnote-reference\n font-size: var(--font-size--small--4)\n vertical-align: super\n\n// Definition list, listing the content of each note.\n// docutils <= 0.17\ndl.footnote.brackets\n font-size: var(--font-size--small)\n color: var(--color-foreground-secondary)\n\n display: grid\n grid-template-columns: max-content auto\n dt\n margin: 0\n > .fn-backref\n margin-left: 0.25rem\n\n &:after\n content: \":\"\n\n .brackets\n &:before\n content: \"[\"\n &:after\n content: \"]\"\n\n dd\n margin: 0\n padding: 0 1rem\n\n// docutils >= 0.18\naside.footnote\n font-size: var(--font-size--small)\n color: var(--color-foreground-secondary)\n\naside.footnote > span,\ndiv.citation > span\n float: left\n font-weight: 500\n padding-right: 0.25rem\n\naside.footnote > *:not(span),\ndiv.citation > p\n margin-left: 2rem\n","//\n// Figures\n//\nimg\n box-sizing: border-box\n max-width: 100%\n height: auto\n\narticle\n figure, .figure\n border-radius: 0.2rem\n\n margin: 0\n :last-child\n margin-bottom: 0\n\n .align-left\n float: left\n clear: left\n margin: 0 1rem 1rem\n\n .align-right\n float: right\n clear: right\n margin: 0 1rem 1rem\n\n .align-default,\n .align-center\n display: block\n text-align: center\n margin-left: auto\n margin-right: auto\n\n // WELL, table needs to be stylised like a table.\n table.align-default\n display: table\n text-align: initial\n",".genindex-jumpbox, .domainindex-jumpbox\n border-top: 1px solid var(--color-background-border)\n border-bottom: 1px solid var(--color-background-border)\n padding: 0.25rem\n\n.genindex-section, .domainindex-section\n h2\n margin-top: 0.75rem\n margin-bottom: 0.5rem\n ul\n margin-top: 0\n margin-bottom: 0\n","ul,\nol\n padding-left: 1.2rem\n\n // Space lists out like paragraphs\n margin-top: 1rem\n margin-bottom: 1rem\n // reduce margins within li.\n li\n > p:first-child\n margin-top: 0.25rem\n margin-bottom: 0.25rem\n\n > p:last-child\n margin-top: 0.25rem\n\n > ul,\n > ol\n margin-top: 0.5rem\n margin-bottom: 0.5rem\n\nol\n &.arabic\n list-style: decimal\n &.loweralpha\n list-style: lower-alpha\n &.upperalpha\n list-style: upper-alpha\n &.lowerroman\n list-style: lower-roman\n &.upperroman\n list-style: upper-roman\n\n// Don't space lists out when they're \"simple\" or in a `.. toctree::`\n.simple,\n.toctree-wrapper\n li\n > ul,\n > ol\n margin-top: 0\n margin-bottom: 0\n\n// Definition Lists\n.field-list,\n.option-list,\ndl:not([class]),\ndl.simple,\ndl.footnote,\ndl.glossary\n dt\n font-weight: 500\n margin-top: 0.25rem\n + dt\n margin-top: 0\n\n .classifier::before\n content: \":\"\n margin-left: 0.2rem\n margin-right: 0.2rem\n\n dd\n > p:first-child,\n ul\n margin-top: 0.125rem\n\n ul\n margin-bottom: 0.125rem\n",".math-wrapper\n width: 100%\n overflow-x: auto\n\ndiv.math\n position: relative\n text-align: center\n\n .headerlink,\n &:focus .headerlink\n display: none\n\n &:hover .headerlink\n display: inline-block\n\n span.eqno\n position: absolute\n right: 0.5rem\n top: 50%\n transform: translate(0, -50%)\n z-index: 1\n","// Abbreviations\nabbr[title]\n cursor: help\n\n// \"Problematic\" content, as identified by Sphinx\n.problematic\n color: var(--color-problematic)\n\n// Keyboard / Mouse \"instructions\"\nkbd:not(.compound)\n margin: 0 0.2rem\n padding: 0 0.2rem\n border-radius: 0.2rem\n border: 1px solid var(--color-foreground-border)\n color: var(--color-foreground-primary)\n vertical-align: text-bottom\n\n font-size: var(--font-size--small--3)\n display: inline-block\n\n box-shadow: 0 0.0625rem 0 rgba(0, 0, 0, 0.2), inset 0 0 0 0.125rem var(--color-background-primary)\n\n background-color: var(--color-background-secondary)\n\n// Blockquote\nblockquote\n border-left: 4px solid var(--color-background-border)\n background: var(--color-background-secondary)\n\n margin-left: 0\n margin-right: 0\n padding: 0.5rem 1rem\n\n .attribution\n font-weight: 600\n text-align: right\n\n &.pull-quote,\n &.highlights\n font-size: 1.25em\n\n &.epigraph,\n &.pull-quote\n border-left-width: 0\n border-radius: 0.5rem\n\n &.highlights\n border-left-width: 0\n background: transparent\n\n// Center align embedded-in-text images\np .reference img\n vertical-align: middle\n","p.rubric\n line-height: 1.25\n font-weight: bold\n font-size: 1.125em\n\n // For Numpy-style documentation that's got rubrics within it.\n // https://github.com/pradyunsg/furo/discussions/505\n dd &\n line-height: inherit\n font-weight: inherit\n\n font-size: var(--font-size--small)\n text-transform: uppercase\n","article .sidebar\n float: right\n clear: right\n width: 30%\n\n margin-left: 1rem\n margin-right: 0\n\n border-radius: 0.2rem\n background-color: var(--color-background-secondary)\n border: var(--color-background-border) 1px solid\n\n > *\n padding-left: 1rem\n padding-right: 1rem\n\n > ul, > ol // lists need additional padding, because bullets.\n padding-left: 2.2rem\n\n .sidebar-title\n margin: 0\n padding: 0.5rem 1rem\n border-bottom: var(--color-background-border) 1px solid\n\n font-weight: 500\n\n// TODO: subtitle\n// TODO: dedicated variables?\n","[role=main] .table-wrapper.container\n width: 100%\n overflow-x: auto\n margin-top: 1rem\n margin-bottom: 0.5rem\n padding: 0.2rem 0.2rem 0.75rem\n\ntable.docutils\n border-radius: 0.2rem\n border-spacing: 0\n border-collapse: collapse\n\n box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1)\n\n th\n background: var(--color-table-header-background)\n\n td,\n th\n // Space things out properly\n padding: 0 0.25rem\n\n // Get the borders looking just-right.\n border-left: 1px solid var(--color-table-border)\n border-right: 1px solid var(--color-table-border)\n border-bottom: 1px solid var(--color-table-border)\n\n p\n margin: 0.25rem\n\n &:first-child\n border-left: none\n &:last-child\n border-right: none\n\n // MyST-parser tables set these classes for control of column alignment\n &.text-left\n text-align: left\n &.text-right\n text-align: right\n &.text-center\n text-align: center\n",":target\n scroll-margin-top: 2.5rem\n\n@media (max-width: $full-width - $sidebar-width)\n :target\n scroll-margin-top: calc(2.5rem + var(--header-height))\n\n // When a heading is selected\n section > span:target\n scroll-margin-top: calc(2.8rem + var(--header-height))\n\n// Permalinks\n.headerlink\n font-weight: 100\n user-select: none\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ndl dt,\np.caption,\nfigcaption p,\ntable > caption,\n.code-block-caption\n > .headerlink\n margin-left: 0.5rem\n visibility: hidden\n &:hover > .headerlink\n visibility: visible\n\n // Don't change to link-like, if someone adds the contents directive.\n > .toc-backref\n color: inherit\n text-decoration-line: none\n\n// Figure and table captions are special.\nfigure:hover > figcaption > p > .headerlink,\ntable:hover > caption > .headerlink\n visibility: visible\n\n:target >, // Regular section[id] style anchors\nspan:target ~ // Non-regular span[id] style \"extra\" anchors\n h1,\n h2,\n h3,\n h4,\n h5,\n h6\n &:nth-of-type(1)\n background-color: var(--color-highlight-on-target)\n // .headerlink\n // visibility: visible\n code.literal\n background-color: transparent\n\ntable:target > caption,\nfigure:target\n background-color: var(--color-highlight-on-target)\n\n// Inline page contents\n.this-will-duplicate-information-and-it-is-still-useful-here li :target\n background-color: var(--color-highlight-on-target)\n\n// Code block permalinks\n.literal-block-wrapper:target .code-block-caption\n background-color: var(--color-highlight-on-target)\n\n// When a definition list item is selected\n//\n// There isn't really an alternative to !important here, due to the\n// high-specificity of API documentation's selector.\ndt:target\n background-color: var(--color-highlight-on-target) !important\n\n// When a footnote reference is selected\n.footnote > dt:target + dd,\n.footnote-reference:target\n background-color: var(--color-highlight-on-target)\n",".guilabel\n background-color: var(--color-guilabel-background)\n border: 1px solid var(--color-guilabel-border)\n color: var(--color-guilabel-text)\n\n padding: 0 0.3em\n border-radius: 0.5em\n font-size: 0.9em\n","// This file contains the styles used for stylizing the footer that's shown\n// below the content.\n\nfooter\n font-size: var(--font-size--small)\n display: flex\n flex-direction: column\n\n margin-top: 2rem\n\n// Bottom of page information\n.bottom-of-page\n display: flex\n align-items: center\n justify-content: space-between\n\n margin-top: 1rem\n padding-top: 1rem\n padding-bottom: 1rem\n\n color: var(--color-foreground-secondary)\n border-top: 1px solid var(--color-background-border)\n\n line-height: 1.5\n\n @media (max-width: $content-width)\n text-align: center\n flex-direction: column-reverse\n gap: 0.25rem\n\n .left-details\n font-size: var(--font-size--small)\n\n .right-details\n display: flex\n flex-direction: column\n gap: 0.25rem\n text-align: right\n\n .icons\n display: flex\n justify-content: flex-end\n gap: 0.25rem\n font-size: 1rem\n\n a\n text-decoration: none\n\n svg,\n img\n font-size: 1.125rem\n height: 1em\n width: 1em\n\n// Next/Prev page information\n.related-pages\n a\n display: flex\n align-items: center\n\n text-decoration: none\n &:hover .page-info .title\n text-decoration: underline\n color: var(--color-link)\n text-decoration-color: var(--color-link-underline)\n\n svg.furo-related-icon,\n svg.furo-related-icon > use\n flex-shrink: 0\n\n color: var(--color-foreground-border)\n\n width: 0.75rem\n height: 0.75rem\n margin: 0 0.5rem\n\n &.next-page\n max-width: 50%\n\n float: right\n clear: right\n text-align: right\n\n &.prev-page\n max-width: 50%\n\n float: left\n clear: left\n\n svg\n transform: rotate(180deg)\n\n.page-info\n display: flex\n flex-direction: column\n overflow-wrap: anywhere\n\n .next-page &\n align-items: flex-end\n\n .context\n display: flex\n align-items: center\n\n padding-bottom: 0.1rem\n\n color: var(--color-foreground-muted)\n font-size: var(--font-size--small)\n text-decoration: none\n","// This file contains the styles for the contents of the left sidebar, which\n// contains the navigation tree, logo, search etc.\n\n////////////////////////////////////////////////////////////////////////////////\n// Brand on top of the scrollable tree.\n////////////////////////////////////////////////////////////////////////////////\n.sidebar-brand\n display: flex\n flex-direction: column\n flex-shrink: 0\n\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal)\n text-decoration: none\n\n.sidebar-brand-text\n color: var(--color-sidebar-brand-text)\n overflow-wrap: break-word\n margin: var(--sidebar-item-spacing-vertical) 0\n font-size: 1.5rem\n\n.sidebar-logo-container\n margin: var(--sidebar-item-spacing-vertical) 0\n\n.sidebar-logo\n margin: 0 auto\n display: block\n max-width: 100%\n\n////////////////////////////////////////////////////////////////////////////////\n// Search\n////////////////////////////////////////////////////////////////////////////////\n.sidebar-search-container\n display: flex\n align-items: center\n margin-top: var(--sidebar-search-space-above)\n\n position: relative\n\n background: var(--color-sidebar-search-background)\n &:hover,\n &:focus-within\n background: var(--color-sidebar-search-background--focus)\n\n &::before\n content: \"\"\n position: absolute\n left: var(--sidebar-item-spacing-horizontal)\n width: var(--sidebar-search-icon-size)\n height: var(--sidebar-search-icon-size)\n\n background-color: var(--color-sidebar-search-icon)\n mask-image: var(--icon-search)\n\n.sidebar-search\n box-sizing: border-box\n\n border: none\n border-top: 1px solid var(--color-sidebar-search-border)\n border-bottom: 1px solid var(--color-sidebar-search-border)\n\n padding-top: var(--sidebar-search-input-spacing-vertical)\n padding-bottom: var(--sidebar-search-input-spacing-vertical)\n padding-right: var(--sidebar-search-input-spacing-horizontal)\n padding-left: calc(var(--sidebar-item-spacing-horizontal) + var(--sidebar-search-input-spacing-horizontal) + var(--sidebar-search-icon-size))\n\n width: 100%\n\n color: var(--color-sidebar-search-foreground)\n background: transparent\n z-index: 10\n\n &:focus\n outline: none\n\n &::placeholder\n font-size: var(--sidebar-search-input-font-size)\n\n//\n// Hide Search Matches link\n//\n#searchbox .highlight-link\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal) 0\n margin: 0\n text-align: center\n\n a\n color: var(--color-sidebar-search-icon)\n font-size: var(--font-size--small--2)\n\n////////////////////////////////////////////////////////////////////////////////\n// Structure/Skeleton of the navigation tree (left)\n////////////////////////////////////////////////////////////////////////////////\n.sidebar-tree\n font-size: var(--sidebar-item-font-size)\n margin-top: var(--sidebar-tree-space-above)\n margin-bottom: var(--sidebar-item-spacing-vertical)\n\n ul\n padding: 0\n margin-top: 0\n margin-bottom: 0\n\n display: flex\n flex-direction: column\n\n list-style: none\n\n li\n position: relative\n margin: 0\n\n > ul\n margin-left: var(--sidebar-item-spacing-horizontal)\n\n .icon\n color: var(--color-sidebar-link-text)\n\n .reference\n box-sizing: border-box\n color: var(--color-sidebar-link-text)\n\n // Fill the parent.\n display: inline-block\n line-height: var(--sidebar-item-line-height)\n text-decoration: none\n\n // Don't allow long words to cause wrapping.\n overflow-wrap: anywhere\n\n height: 100%\n width: 100%\n\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal)\n\n &:hover\n color: var(--color-sidebar-link-text)\n background: var(--color-sidebar-item-background--hover)\n\n // Add a nice little \"external-link\" arrow here.\n &.external::after\n content: url('data:image/svg+xml,')\n margin: 0 0.25rem\n vertical-align: middle\n color: var(--color-sidebar-link-text)\n\n // Make the current page reference bold.\n .current-page > .reference\n font-weight: bold\n\n label\n position: absolute\n top: 0\n right: 0\n height: var(--sidebar-item-height)\n width: var(--sidebar-expander-width)\n\n cursor: pointer\n user-select: none\n\n display: flex\n justify-content: center\n align-items: center\n\n .caption, :not(.caption) > .caption-text\n font-size: var(--sidebar-caption-font-size)\n color: var(--color-sidebar-caption-text)\n\n font-weight: bold\n text-transform: uppercase\n\n margin: var(--sidebar-caption-space-above) 0 0 0\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal)\n\n // If it has children, add a bit more padding to wrap the content to avoid\n // overlapping with the
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -703,7 +711,7 @@

    - + diff --git a/v9.0.0/development.html b/v9.0.0/development.html index 46893228b..b43feffd6 100644 --- a/v9.0.0/development.html +++ b/v9.0.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Option 2 - + diff --git a/v9.0.0/genindex.html b/v9.0.0/genindex.html index 77674cae3..203d16ae5 100644 --- a/v9.0.0/genindex.html +++ b/v9.0.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.0.0 + Index - Pydis Core v9.0.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -940,7 +948,7 @@

    W

    - + diff --git a/v9.0.0/index.html b/v9.0.0/index.html index 338cb01d5..18780bc10 100644 --- a/v9.0.0/index.html +++ b/v9.0.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -547,7 +555,7 @@

    Extras - + diff --git a/v9.0.0/index_redirect.html b/v9.0.0/index_redirect.html index 0ea7f6558..8c8d29322 100644 --- a/v9.0.0/index_redirect.html +++ b/v9.0.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.0.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.0.0/output/pydis_core.async_stats.html b/v9.0.0/output/pydis_core.async_stats.html index 1834bdeb9..ea1322e85 100644 --- a/v9.0.0/output/pydis_core.async_stats.html +++ b/v9.0.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,11 +461,11 @@
    Parameters:
    @@ -466,10 +474,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

    @@ -551,7 +559,7 @@ - + diff --git a/v9.0.0/output/pydis_core.exts.html b/v9.0.0/output/pydis_core.exts.html index 4b38ab5dc..67ec00618 100644 --- a/v9.0.0/output/pydis_core.exts.html +++ b/v9.0.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@ - + diff --git a/v9.0.0/output/pydis_core.html b/v9.0.0/output/pydis_core.html index dc0b75e58..83c2a7316 100644 --- a/v9.0.0/output/pydis_core.html +++ b/v9.0.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,12 +461,12 @@
    Parameters:
    @@ -471,7 +479,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -482,7 +490,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -493,7 +501,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -504,7 +512,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -516,7 +524,7 @@

    This should be ran in a task on the event loop to avoid deadlocks caused by wait_for calls.

    Return type:
    -

    None

    +

    None

    @@ -527,7 +535,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -540,7 +548,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -551,7 +559,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -562,7 +570,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -575,7 +583,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Optional[Command]

    +

    Optional[Command]

    @@ -589,7 +597,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -602,7 +610,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -612,7 +620,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -816,7 +824,7 @@

    Submodules - + diff --git a/v9.0.0/output/pydis_core.site_api.html b/v9.0.0/output/pydis_core.site_api.html index c4df6983b..b691a3222 100644 --- a/v9.0.0/output/pydis_core.site_api.html +++ b/v9.0.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -453,9 +461,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.

    @@ -467,7 +475,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -479,13 +487,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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:
    -

    Optional[dict]

    +

    Optional[dict]

    Returns:

    The JSON response the API returns, or None if the response is 204 No Content.

    @@ -499,7 +507,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -511,15 +519,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -530,7 +538,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -541,7 +549,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -552,7 +560,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -564,14 +572,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -587,7 +595,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.

    @@ -596,9 +604,9 @@
    Parameters:
      -
    • response (aiohttp.ClientResponse) – The response object from the request.

    • -
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • -
    • response_text (Optional[str]) – The text of the request, if any.

    • +
    • response (aiohttp.ClientResponse) – The response object from the request.

    • +
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • +
    • response_text (Optional[str]) – The text of the request, if any.

    @@ -699,7 +707,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.caching.html b/v9.0.0/output/pydis_core.utils.caching.html index 99da6b187..989d90a2d 100644 --- a/v9.0.0/output/pydis_core.utils.caching.html +++ b/v9.0.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -454,10 +462,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.

    @@ -471,7 +479,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.

    @@ -482,7 +490,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -565,7 +573,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.channel.html b/v9.0.0/output/pydis_core.utils.channel.html index 30240e274..247b24d8b 100644 --- a/v9.0.0/output/pydis_core.utils.channel.html +++ b/v9.0.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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:
    @@ -477,11 +485,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.

    @@ -561,7 +569,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.commands.html b/v9.0.0/output/pydis_core.utils.commands.html index 0ea14d632..7a5d74a07 100644 --- a/v9.0.0/output/pydis_core.utils.commands.html +++ b/v9.0.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,14 +456,14 @@
    Parameters:
    • ctx (Context) – The command’s context

    • -
    • text (Optional[str]) – The provided text argument of the command (if given)

    • +
    • text (Optional[str]) – 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.

    @@ -534,7 +542,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.cooldown.html b/v9.0.0/output/pydis_core.utils.cooldown.html index b1d130044..66533e62a 100644 --- a/v9.0.0/output/pydis_core.utils.cooldown.html +++ b/v9.0.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -457,7 +465,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -487,14 +495,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.function.html b/v9.0.0/output/pydis_core.utils.function.html index 87e3caf85..ce74fdaa9 100644 --- a/v9.0.0/output/pydis_core.utils.function.html +++ b/v9.0.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -456,17 +464,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.

    @@ -487,9 +495,9 @@
    Parameters:
    Raises:
    @@ -497,7 +505,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -575,7 +583,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.html b/v9.0.0/output/pydis_core.utils.html index f2541517e..1042cab7f 100644 --- a/v9.0.0/output/pydis_core.utils.html +++ b/v9.0.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,7 +455,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -466,10 +474,10 @@

    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.

    @@ -639,7 +647,7 @@

    Submodules - + diff --git a/v9.0.0/output/pydis_core.utils.interactions.html b/v9.0.0/output/pydis_core.utils.interactions.html index 3a6df1979..91f068748 100644 --- a/v9.0.0/output/pydis_core.utils.interactions.html +++ b/v9.0.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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.

    @@ -466,7 +474,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -481,11 +489,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 (Optional[float]) – 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 (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – 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.

    @@ -504,7 +512,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -515,7 +523,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -603,7 +611,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.logging.html b/v9.0.0/output/pydis_core.utils.logging.html index 958a3821d..9290bf67f 100644 --- a/v9.0.0/output/pydis_core.utils.logging.html +++ b/v9.0.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,8 +452,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]
    @@ -457,13 +465,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

    @@ -476,7 +484,7 @@

    Utility to make mypy recognise that logger is of type CustomLogger.

    Parameters:
    -

    name (Optional[str]) – The name given to the logger.

    +

    name (Optional[str]) – The name given to the logger.

    Return type:

    CustomLogger

    @@ -562,7 +570,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.members.html b/v9.0.0/output/pydis_core.utils.members.html index 970f76576..aad581765 100644 --- a/v9.0.0/output/pydis_core.utils.members.html +++ b/v9.0.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,10 +455,10 @@

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Optional[Member]

    +

    Optional[Member]

    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.

    @@ -465,12 +473,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -547,7 +555,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.regex.html b/v9.0.0/output/pydis_core.utils.regex.html index 77d498123..b70009bc3 100644 --- a/v9.0.0/output/pydis_core.utils.regex.html +++ b/v9.0.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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().

    @@ -544,7 +552,7 @@ - + diff --git a/v9.0.0/output/pydis_core.utils.scheduling.html b/v9.0.0/output/pydis_core.utils.scheduling.html index e54f888b6..034859346 100644 --- a/v9.0.0/output/pydis_core.utils.scheduling.html +++ b/v9.0.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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 @@ -458,16 +466,16 @@

    __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.

    @@ -478,7 +486,7 @@

    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.

    @@ -489,10 +497,10 @@

    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

    @@ -503,7 +511,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -517,12 +525,12 @@
    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

    @@ -539,13 +547,13 @@
    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

    @@ -559,13 +567,13 @@
    Parameters:
      -
    • delay (Union[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 (Union[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

    @@ -575,23 +583,23 @@
    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

    @@ -677,7 +685,7 @@ - + diff --git a/v9.0.0/py-modindex.html b/v9.0.0/py-modindex.html index ecc5e298b..3b44a055f 100644 --- a/v9.0.0/py-modindex.html +++ b/v9.0.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.0.0 + Python Module Index - Pydis Core v9.0.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Python Module Index

    - + diff --git a/v9.0.0/search.html b/v9.0.0/search.html index d38b0e13c..faa2471d1 100644 --- a/v9.0.0/search.html +++ b/v9.0.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.0.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -476,7 +484,7 @@ - + diff --git a/v9.0.0/searchindex.js b/v9.0.0/searchindex.js index 626cd498f..674162f7c 100644 --- a/v9.0.0/searchindex.js +++ b/v9.0.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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "10": 0, "101": 0, "103": 0, "104": 0, "106": 0, "107": 0, "108": 0, "10th": 0, "110": 0, "12": 0, "124": 0, "125": 0, "128": 8, "138": 0, "14th": 0, "157": 0, "16th": 0, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": [0, 3], "await": [0, 11, 13, 15], "awar": 17, "back": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": [3, 7], "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deadlock": 3, "deal": 0, "decemb": 0, "declar": 0, "decor": [8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": 11, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": 11, "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [3, 4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "ran": 3, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": 3, "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 3, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 3, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_for": 3, "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "10": 0, "101": 0, "103": 0, "104": 0, "106": 0, "107": 0, "108": 0, "10th": 0, "110": 0, "12": 0, "124": 0, "125": 0, "128": 8, "138": 0, "14th": 0, "157": 0, "16th": 0, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": [0, 3], "await": [0, 11, 13, 15], "awar": 17, "back": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": [3, 7], "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deadlock": 3, "deal": 0, "decemb": 0, "declar": 0, "decor": [8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": 11, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": 11, "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [3, 4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "ran": 3, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": 3, "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 3, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 3, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_for": 3, "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.0.0/versions.html b/v9.0.0/versions.html index 079093cb2..f41428561 100644 --- a/v9.0.0/versions.html +++ b/v9.0.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.0.0 - + @@ -316,6 +316,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + + +
  • +
  • v11.3.1 @@ -665,7 +685,7 @@

    Versions

    - + diff --git a/v9.1.1/.buildinfo b/v9.1.1/.buildinfo index 9c49c8c78..d6935008c 100644 --- a/v9.1.1/.buildinfo +++ b/v9.1.1/.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: 6f01c9d38a8065ba6122b8b705130e94 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 0ef72b6e237c672beded9be1234daaac tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.1.1/_static/basic.css b/v9.1.1/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.1.1/_static/basic.css +++ b/v9.1.1/_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/v9.1.1/_static/doctools.js b/v9.1.1/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.1.1/_static/doctools.js +++ b/v9.1.1/_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/v9.1.1/_static/language_data.js b/v9.1.1/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.1.1/_static/language_data.js +++ b/v9.1.1/_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/v9.1.1/_static/searchtools.js b/v9.1.1/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.1.1/_static/searchtools.js +++ b/v9.1.1/_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/v9.1.1/changelog.html b/v9.1.1/changelog.html index b72ccb8d4..7bc355756 100644 --- a/v9.1.1/changelog.html +++ b/v9.1.1/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -713,7 +721,7 @@

    - + diff --git a/v9.1.1/development.html b/v9.1.1/development.html index 5e385d607..0bae5bbf2 100644 --- a/v9.1.1/development.html +++ b/v9.1.1/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Option 2 - + diff --git a/v9.1.1/genindex.html b/v9.1.1/genindex.html index ddff1c703..40d01e133 100644 --- a/v9.1.1/genindex.html +++ b/v9.1.1/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.1.1 + Index - Pydis Core v9.1.1 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -940,7 +948,7 @@

    W

    - + diff --git a/v9.1.1/index.html b/v9.1.1/index.html index ad1c03475..afdd0f457 100644 --- a/v9.1.1/index.html +++ b/v9.1.1/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -547,7 +555,7 @@

    Extras - + diff --git a/v9.1.1/index_redirect.html b/v9.1.1/index_redirect.html index b13c43e38..866945bf0 100644 --- a/v9.1.1/index_redirect.html +++ b/v9.1.1/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.1.1 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.1.1/output/pydis_core.async_stats.html b/v9.1.1/output/pydis_core.async_stats.html index adb8bfc73..d5872c230 100644 --- a/v9.1.1/output/pydis_core.async_stats.html +++ b/v9.1.1/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,11 +461,11 @@
    Parameters:
    @@ -466,10 +474,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

    @@ -551,7 +559,7 @@ - + diff --git a/v9.1.1/output/pydis_core.exts.html b/v9.1.1/output/pydis_core.exts.html index f7a2a518f..695b9aa0d 100644 --- a/v9.1.1/output/pydis_core.exts.html +++ b/v9.1.1/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@ - + diff --git a/v9.1.1/output/pydis_core.html b/v9.1.1/output/pydis_core.html index 44f752467..a783fdcdb 100644 --- a/v9.1.1/output/pydis_core.html +++ b/v9.1.1/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,12 +461,12 @@
    Parameters:
    @@ -471,7 +479,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -482,7 +490,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -493,7 +501,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -504,7 +512,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -516,7 +524,7 @@

    This should be ran in a task on the event loop to avoid deadlocks caused by wait_for calls.

    Return type:
    -

    None

    +

    None

    @@ -527,7 +535,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -540,7 +548,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -551,7 +559,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -562,7 +570,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -575,7 +583,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Optional[Command]

    +

    Optional[Command]

    @@ -589,7 +597,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -602,7 +610,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -612,7 +620,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -816,7 +824,7 @@

    Submodules - + diff --git a/v9.1.1/output/pydis_core.site_api.html b/v9.1.1/output/pydis_core.site_api.html index 1058613c3..af43137c6 100644 --- a/v9.1.1/output/pydis_core.site_api.html +++ b/v9.1.1/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -453,9 +461,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.

    @@ -467,7 +475,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -479,13 +487,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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:
    -

    Optional[dict]

    +

    Optional[dict]

    Returns:

    The JSON response the API returns, or None if the response is 204 No Content.

    @@ -499,7 +507,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -511,15 +519,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -530,7 +538,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -541,7 +549,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -552,7 +560,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -564,14 +572,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -587,7 +595,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.

    @@ -596,9 +604,9 @@
    Parameters:
      -
    • response (aiohttp.ClientResponse) – The response object from the request.

    • -
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • -
    • response_text (Optional[str]) – The text of the request, if any.

    • +
    • response (aiohttp.ClientResponse) – The response object from the request.

    • +
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • +
    • response_text (Optional[str]) – The text of the request, if any.

    @@ -699,7 +707,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.caching.html b/v9.1.1/output/pydis_core.utils.caching.html index 9aab6a6c8..5d1a46e70 100644 --- a/v9.1.1/output/pydis_core.utils.caching.html +++ b/v9.1.1/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -454,10 +462,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.

    @@ -471,7 +479,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.

    @@ -482,7 +490,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -565,7 +573,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.channel.html b/v9.1.1/output/pydis_core.utils.channel.html index ef774e649..dedef115a 100644 --- a/v9.1.1/output/pydis_core.utils.channel.html +++ b/v9.1.1/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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:
    @@ -477,11 +485,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.

    @@ -561,7 +569,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.commands.html b/v9.1.1/output/pydis_core.utils.commands.html index ac9c564af..fbc0950cf 100644 --- a/v9.1.1/output/pydis_core.utils.commands.html +++ b/v9.1.1/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,14 +456,14 @@
    Parameters:
    • ctx (Context) – The command’s context

    • -
    • text (Optional[str]) – The provided text argument of the command (if given)

    • +
    • text (Optional[str]) – 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.

    @@ -534,7 +542,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.cooldown.html b/v9.1.1/output/pydis_core.utils.cooldown.html index 2f26b4401..7300ee81f 100644 --- a/v9.1.1/output/pydis_core.utils.cooldown.html +++ b/v9.1.1/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -457,7 +465,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -487,14 +495,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.function.html b/v9.1.1/output/pydis_core.utils.function.html index f40e88f0c..c33d2432d 100644 --- a/v9.1.1/output/pydis_core.utils.function.html +++ b/v9.1.1/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -456,17 +464,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.

    @@ -487,9 +495,9 @@
    Parameters:
    Raises:
    @@ -497,7 +505,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -575,7 +583,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.html b/v9.1.1/output/pydis_core.utils.html index 0963868af..67f8cb1a4 100644 --- a/v9.1.1/output/pydis_core.utils.html +++ b/v9.1.1/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,7 +455,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -466,10 +474,10 @@

    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.

    @@ -639,7 +647,7 @@

    Submodules - + diff --git a/v9.1.1/output/pydis_core.utils.interactions.html b/v9.1.1/output/pydis_core.utils.interactions.html index ef2abea60..98a123b39 100644 --- a/v9.1.1/output/pydis_core.utils.interactions.html +++ b/v9.1.1/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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.

    @@ -466,7 +474,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -481,11 +489,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 (Optional[float]) – 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 (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – 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.

    @@ -504,7 +512,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -515,7 +523,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -603,7 +611,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.logging.html b/v9.1.1/output/pydis_core.utils.logging.html index 0ecdf5525..9c53779e7 100644 --- a/v9.1.1/output/pydis_core.utils.logging.html +++ b/v9.1.1/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,8 +452,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]
    @@ -457,13 +465,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

    @@ -476,7 +484,7 @@

    Utility to make mypy recognise that logger is of type CustomLogger.

    Parameters:
    -

    name (Optional[str]) – The name given to the logger.

    +

    name (Optional[str]) – The name given to the logger.

    Return type:

    CustomLogger

    @@ -562,7 +570,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.members.html b/v9.1.1/output/pydis_core.utils.members.html index 9369f3c2e..3953b7a24 100644 --- a/v9.1.1/output/pydis_core.utils.members.html +++ b/v9.1.1/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,10 +455,10 @@

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Optional[Member]

    +

    Optional[Member]

    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.

    @@ -465,12 +473,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -547,7 +555,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.regex.html b/v9.1.1/output/pydis_core.utils.regex.html index 0d944072b..a26e96280 100644 --- a/v9.1.1/output/pydis_core.utils.regex.html +++ b/v9.1.1/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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().

    @@ -544,7 +552,7 @@ - + diff --git a/v9.1.1/output/pydis_core.utils.scheduling.html b/v9.1.1/output/pydis_core.utils.scheduling.html index 302b2fad9..4f2201764 100644 --- a/v9.1.1/output/pydis_core.utils.scheduling.html +++ b/v9.1.1/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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 @@ -458,16 +466,16 @@

    __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.

    @@ -478,7 +486,7 @@

    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.

    @@ -489,10 +497,10 @@

    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

    @@ -503,7 +511,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -517,12 +525,12 @@
    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

    @@ -539,13 +547,13 @@
    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

    @@ -559,13 +567,13 @@
    Parameters:
      -
    • delay (Union[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 (Union[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

    @@ -575,23 +583,23 @@
    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

    @@ -677,7 +685,7 @@ - + diff --git a/v9.1.1/py-modindex.html b/v9.1.1/py-modindex.html index 891b4c97c..de573a9b2 100644 --- a/v9.1.1/py-modindex.html +++ b/v9.1.1/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.1.1 + Python Module Index - Pydis Core v9.1.1 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Python Module Index

    - + diff --git a/v9.1.1/search.html b/v9.1.1/search.html index 847afb1cf..8589db0f4 100644 --- a/v9.1.1/search.html +++ b/v9.1.1/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.1.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -476,7 +484,7 @@ - + diff --git a/v9.1.1/searchindex.js b/v9.1.1/searchindex.js index 6392dee0d..58104f083 100644 --- a/v9.1.1/searchindex.js +++ b/v9.1.1/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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "10": 0, "101": 0, "103": 0, "104": 0, "106": 0, "107": 0, "108": 0, "10th": 0, "110": 0, "12": 0, "124": 0, "125": 0, "128": 8, "138": 0, "13th": 0, "14th": 0, "157": 0, "158": 0, "162": 0, "16th": 0, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": [0, 3], "await": [0, 11, 13, 15], "awar": 17, "back": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": [3, 7], "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deadlock": 3, "deal": 0, "decemb": 0, "declar": 0, "decor": [8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": 11, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": 11, "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [3, 4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "ran": 3, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": 3, "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 3, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 3, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_for": 3, "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "10": 0, "101": 0, "103": 0, "104": 0, "106": 0, "107": 0, "108": 0, "10th": 0, "110": 0, "12": 0, "124": 0, "125": 0, "128": 8, "138": 0, "13th": 0, "14th": 0, "157": 0, "158": 0, "162": 0, "16th": 0, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": [0, 3], "await": [0, 11, 13, 15], "awar": 17, "back": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": [3, 7], "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deadlock": 3, "deal": 0, "decemb": 0, "declar": 0, "decor": [8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": 11, "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": 11, "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [3, 4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "ran": 3, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": 3, "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 3, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 3, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_for": 3, "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.1.1/versions.html b/v9.1.1/versions.html index 12f5dae10..295cf7873 100644 --- a/v9.1.1/versions.html +++ b/v9.1.1/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.1.1 - + @@ -316,6 +316,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -538,6 +546,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -665,7 +685,7 @@

    Versions

    - + diff --git a/v9.10.0-alpha.1/.buildinfo b/v9.10.0-alpha.1/.buildinfo index 394ed9d7b..828de6711 100644 --- a/v9.10.0-alpha.1/.buildinfo +++ b/v9.10.0-alpha.1/.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: 7a721c3c520f45264b18f1de60db2c24 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: bc0b22a3b84c5bd8f0b83ad04e711387 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.10.0-alpha.1/_static/basic.css b/v9.10.0-alpha.1/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.10.0-alpha.1/_static/basic.css +++ b/v9.10.0-alpha.1/_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/v9.10.0-alpha.1/_static/doctools.js b/v9.10.0-alpha.1/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.10.0-alpha.1/_static/doctools.js +++ b/v9.10.0-alpha.1/_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/v9.10.0-alpha.1/_static/language_data.js b/v9.10.0-alpha.1/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.10.0-alpha.1/_static/language_data.js +++ b/v9.10.0-alpha.1/_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/v9.10.0-alpha.1/_static/searchtools.js b/v9.10.0-alpha.1/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.10.0-alpha.1/_static/searchtools.js +++ b/v9.10.0-alpha.1/_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/v9.10.0-alpha.1/changelog.html b/v9.10.0-alpha.1/changelog.html index 635eebd20..b7b38ed61 100644 --- a/v9.10.0-alpha.1/changelog.html +++ b/v9.10.0-alpha.1/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -503,7 +511,7 @@

    9.3.0 13th December 2022

    @@ -785,7 +793,7 @@

    - + diff --git a/v9.10.0-alpha.1/development.html b/v9.10.0-alpha.1/development.html index e4c15ec1f..153752726 100644 --- a/v9.10.0-alpha.1/development.html +++ b/v9.10.0-alpha.1/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v9.10.0-alpha.1/genindex.html b/v9.10.0-alpha.1/genindex.html index d4ace8b22..8167ae5dc 100644 --- a/v9.10.0-alpha.1/genindex.html +++ b/v9.10.0-alpha.1/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.10.0-alpha.1 + Index - Pydis Core v9.10.0-alpha.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -976,7 +984,7 @@

    W

    - + diff --git a/v9.10.0-alpha.1/index.html b/v9.10.0-alpha.1/index.html index d032454a5..db1d89992 100644 --- a/v9.10.0-alpha.1/index.html +++ b/v9.10.0-alpha.1/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -549,7 +557,7 @@

    Extras - + diff --git a/v9.10.0-alpha.1/index_redirect.html b/v9.10.0-alpha.1/index_redirect.html index d205c5bc1..daa475352 100644 --- a/v9.10.0-alpha.1/index_redirect.html +++ b/v9.10.0-alpha.1/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.10.0-alpha.1 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.10.0-alpha.1/output/pydis_core.async_stats.html b/v9.10.0-alpha.1/output/pydis_core.async_stats.html index 22fa6d200..74803e8d3 100644 --- a/v9.10.0-alpha.1/output/pydis_core.async_stats.html +++ b/v9.10.0-alpha.1/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.exts.html b/v9.10.0-alpha.1/output/pydis_core.exts.html index d1db372de..2357058a9 100644 --- a/v9.10.0-alpha.1/output/pydis_core.exts.html +++ b/v9.10.0-alpha.1/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.html b/v9.10.0-alpha.1/output/pydis_core.html index 2b47fbd1b..cc8d49d66 100644 --- a/v9.10.0-alpha.1/output/pydis_core.html +++ b/v9.10.0-alpha.1/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -579,7 +587,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -593,7 +601,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -606,7 +614,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -616,7 +624,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -833,7 +841,7 @@

    Submodules - + diff --git a/v9.10.0-alpha.1/output/pydis_core.site_api.html b/v9.10.0-alpha.1/output/pydis_core.site_api.html index 77d104be1..847ceaea7 100644 --- a/v9.10.0-alpha.1/output/pydis_core.site_api.html +++ b/v9.10.0-alpha.1/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.caching.html b/v9.10.0-alpha.1/output/pydis_core.utils.caching.html index 51c3cc812..60615dfb9 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.caching.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.channel.html b/v9.10.0-alpha.1/output/pydis_core.utils.channel.html index 1a207ee90..2776b9d72 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.channel.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.commands.html b/v9.10.0-alpha.1/output/pydis_core.utils.commands.html index 58357a41d..1243190a0 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.commands.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.cooldown.html b/v9.10.0-alpha.1/output/pydis_core.utils.cooldown.html index ce2d63ab5..0d5383c84 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.cooldown.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.error_handling.html b/v9.10.0-alpha.1/output/pydis_core.utils.error_handling.html index 5575899f1..828fd5dbd 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.error_handling.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.function.html b/v9.10.0-alpha.1/output/pydis_core.utils.function.html index b8727618e..4299f21f0 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.function.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -458,17 +466,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.

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -577,7 +585,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.html b/v9.10.0-alpha.1/output/pydis_core.utils.html index 35365946e..ab07dd04b 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -654,7 +662,7 @@

    Submodules - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.interactions.html b/v9.10.0-alpha.1/output/pydis_core.utils.interactions.html index 85ceb94f6..86f441dac 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.interactions.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -605,7 +613,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.logging.html b/v9.10.0-alpha.1/output/pydis_core.utils.logging.html index 3da59eb71..69c77b094 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.logging.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.members.html b/v9.10.0-alpha.1/output/pydis_core.utils.members.html index dcd38cf27..e061d8e5f 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.members.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.paste_service.html b/v9.10.0-alpha.1/output/pydis_core.utils.paste_service.html index ecc77cef9..1cfe87c7c 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.paste_service.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,7 @@
    class PasteResponse[source]
    -

    Bases: TypedDict

    +

    Bases: TypedDict

    A successful response from the paste service.

    Parameters:
    @@ -466,21 +474,21 @@
    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.

    @@ -491,17 +499,17 @@
    Parameters:
      -
    • contents (str) – The content to upload to the paste service.

    • -
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • -
    • file_name (str) – The name of the file to save to the paste service.

    • -
    • lexer (str) – The lexer to save the content with.

    • -
    • 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.

    • +
    • contents (str) – The content to upload to the paste service.

    • +
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • +
    • file_name (str) – The name of the file to save to the paste service.

    • +
    • lexer (str) – The lexer to save the content with.

    • +
    • 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:
    @@ -591,7 +599,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.regex.html b/v9.10.0-alpha.1/output/pydis_core.utils.regex.html index 14b6bde37..7eebd370d 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.regex.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v9.10.0-alpha.1/output/pydis_core.utils.scheduling.html b/v9.10.0-alpha.1/output/pydis_core.utils.scheduling.html index e1028338b..eff7e949f 100644 --- a/v9.10.0-alpha.1/output/pydis_core.utils.scheduling.html +++ b/v9.10.0-alpha.1/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

    __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.

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v9.10.0-alpha.1/py-modindex.html b/v9.10.0-alpha.1/py-modindex.html index dc687793d..17c1f39ad 100644 --- a/v9.10.0-alpha.1/py-modindex.html +++ b/v9.10.0-alpha.1/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.10.0-alpha.1 + Python Module Index - Pydis Core v9.10.0-alpha.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v9.10.0-alpha.1/search.html b/v9.10.0-alpha.1/search.html index 4e373d1f2..5ec4fc9d0 100644 --- a/v9.10.0-alpha.1/search.html +++ b/v9.10.0-alpha.1/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.10.0-alpha.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v9.10.0-alpha.1/searchindex.js b/v9.10.0-alpha.1/searchindex.js index 54c924708..d6feff628 100644 --- a/v9.10.0-alpha.1/searchindex.js +++ b/v9.10.0-alpha.1/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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "185": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "expiri": 0, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "push": 0, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "185": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "expiri": 0, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "push": 0, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.10.0-alpha.1/versions.html b/v9.10.0-alpha.1/versions.html index 962960164..b8fb970c8 100644 --- a/v9.10.0-alpha.1/versions.html +++ b/v9.10.0-alpha.1/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.10.0-alpha.1 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v9.10.0-alpha.2/.buildinfo b/v9.10.0-alpha.2/.buildinfo index ac304135b..1ea81ccba 100644 --- a/v9.10.0-alpha.2/.buildinfo +++ b/v9.10.0-alpha.2/.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: aa088113e9e732068818b2b7f3cf6806 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 8c5aaadec32652e06ecb602e827f79de tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.10.0-alpha.2/_static/basic.css b/v9.10.0-alpha.2/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.10.0-alpha.2/_static/basic.css +++ b/v9.10.0-alpha.2/_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/v9.10.0-alpha.2/_static/doctools.js b/v9.10.0-alpha.2/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.10.0-alpha.2/_static/doctools.js +++ b/v9.10.0-alpha.2/_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/v9.10.0-alpha.2/_static/language_data.js b/v9.10.0-alpha.2/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.10.0-alpha.2/_static/language_data.js +++ b/v9.10.0-alpha.2/_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/v9.10.0-alpha.2/_static/searchtools.js b/v9.10.0-alpha.2/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.10.0-alpha.2/_static/searchtools.js +++ b/v9.10.0-alpha.2/_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/v9.10.0-alpha.2/changelog.html b/v9.10.0-alpha.2/changelog.html index dd025323f..bb74c54bd 100644 --- a/v9.10.0-alpha.2/changelog.html +++ b/v9.10.0-alpha.2/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -503,7 +511,7 @@

    9.3.0 13th December 2022

    @@ -785,7 +793,7 @@

    - + diff --git a/v9.10.0-alpha.2/development.html b/v9.10.0-alpha.2/development.html index 0721bed6a..fe6720268 100644 --- a/v9.10.0-alpha.2/development.html +++ b/v9.10.0-alpha.2/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v9.10.0-alpha.2/genindex.html b/v9.10.0-alpha.2/genindex.html index 5429bb2a8..465b7051b 100644 --- a/v9.10.0-alpha.2/genindex.html +++ b/v9.10.0-alpha.2/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.10.0-alpha.2 + Index - Pydis Core v9.10.0-alpha.2 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -976,7 +984,7 @@

    W

    - + diff --git a/v9.10.0-alpha.2/index.html b/v9.10.0-alpha.2/index.html index 2e42ef7b2..e6a4441cd 100644 --- a/v9.10.0-alpha.2/index.html +++ b/v9.10.0-alpha.2/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -549,7 +557,7 @@

    Extras - + diff --git a/v9.10.0-alpha.2/index_redirect.html b/v9.10.0-alpha.2/index_redirect.html index 29a74a2d9..badcf408b 100644 --- a/v9.10.0-alpha.2/index_redirect.html +++ b/v9.10.0-alpha.2/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.10.0-alpha.2 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.10.0-alpha.2/output/pydis_core.async_stats.html b/v9.10.0-alpha.2/output/pydis_core.async_stats.html index 00ac017e4..f1edc4876 100644 --- a/v9.10.0-alpha.2/output/pydis_core.async_stats.html +++ b/v9.10.0-alpha.2/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.exts.html b/v9.10.0-alpha.2/output/pydis_core.exts.html index 3abd6c83b..43ceb79cb 100644 --- a/v9.10.0-alpha.2/output/pydis_core.exts.html +++ b/v9.10.0-alpha.2/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.html b/v9.10.0-alpha.2/output/pydis_core.html index 8f3802bc1..c19827f9d 100644 --- a/v9.10.0-alpha.2/output/pydis_core.html +++ b/v9.10.0-alpha.2/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -579,7 +587,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -593,7 +601,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -606,7 +614,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -616,7 +624,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -833,7 +841,7 @@

    Submodules - + diff --git a/v9.10.0-alpha.2/output/pydis_core.site_api.html b/v9.10.0-alpha.2/output/pydis_core.site_api.html index 9f2bc4006..5c4a90798 100644 --- a/v9.10.0-alpha.2/output/pydis_core.site_api.html +++ b/v9.10.0-alpha.2/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.caching.html b/v9.10.0-alpha.2/output/pydis_core.utils.caching.html index 5834de6da..7a64f13c1 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.caching.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.channel.html b/v9.10.0-alpha.2/output/pydis_core.utils.channel.html index 6c837137a..70472cbfc 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.channel.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.commands.html b/v9.10.0-alpha.2/output/pydis_core.utils.commands.html index ef5531ca1..595ceff1b 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.commands.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.cooldown.html b/v9.10.0-alpha.2/output/pydis_core.utils.cooldown.html index 66b120ce2..1c05962c0 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.cooldown.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.error_handling.html b/v9.10.0-alpha.2/output/pydis_core.utils.error_handling.html index 85a5e28fb..558f31688 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.error_handling.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.function.html b/v9.10.0-alpha.2/output/pydis_core.utils.function.html index f9e78ab43..cf9e42130 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.function.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -458,17 +466,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.

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -577,7 +585,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.html b/v9.10.0-alpha.2/output/pydis_core.utils.html index 62d32d406..2087fe408 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -654,7 +662,7 @@

    Submodules - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.interactions.html b/v9.10.0-alpha.2/output/pydis_core.utils.interactions.html index 5143ef95e..188eb00fb 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.interactions.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -605,7 +613,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.logging.html b/v9.10.0-alpha.2/output/pydis_core.utils.logging.html index 6f1b0be98..e4169cd6b 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.logging.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.members.html b/v9.10.0-alpha.2/output/pydis_core.utils.members.html index 4f1df9c61..b4d67f0aa 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.members.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.paste_service.html b/v9.10.0-alpha.2/output/pydis_core.utils.paste_service.html index 43a7f6feb..ff893dabb 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.paste_service.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,7 @@
    class PasteResponse[source]
    -

    Bases: TypedDict

    +

    Bases: TypedDict

    A successful response from the paste service.

    Parameters:
    @@ -466,21 +474,21 @@
    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.

    @@ -491,17 +499,17 @@
    Parameters:
      -
    • contents (str) – The content to upload to the paste service.

    • -
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • -
    • file_name (str) – The name of the file to save to the paste service.

    • -
    • lexer (str) – The lexer to save the content with.

    • -
    • 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.

    • +
    • contents (str) – The content to upload to the paste service.

    • +
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • +
    • file_name (str) – The name of the file to save to the paste service.

    • +
    • lexer (str) – The lexer to save the content with.

    • +
    • 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:
    @@ -591,7 +599,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.regex.html b/v9.10.0-alpha.2/output/pydis_core.utils.regex.html index b334d5b66..13803d26f 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.regex.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v9.10.0-alpha.2/output/pydis_core.utils.scheduling.html b/v9.10.0-alpha.2/output/pydis_core.utils.scheduling.html index fbda2ac14..499b0217b 100644 --- a/v9.10.0-alpha.2/output/pydis_core.utils.scheduling.html +++ b/v9.10.0-alpha.2/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

    __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.

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v9.10.0-alpha.2/py-modindex.html b/v9.10.0-alpha.2/py-modindex.html index 43da2d291..a3e06967b 100644 --- a/v9.10.0-alpha.2/py-modindex.html +++ b/v9.10.0-alpha.2/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.10.0-alpha.2 + Python Module Index - Pydis Core v9.10.0-alpha.2 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v9.10.0-alpha.2/search.html b/v9.10.0-alpha.2/search.html index fe3d11af2..690db6c28 100644 --- a/v9.10.0-alpha.2/search.html +++ b/v9.10.0-alpha.2/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.10.0-alpha.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v9.10.0-alpha.2/searchindex.js b/v9.10.0-alpha.2/searchindex.js index 54c924708..d6feff628 100644 --- a/v9.10.0-alpha.2/searchindex.js +++ b/v9.10.0-alpha.2/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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "185": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "expiri": 0, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "push": 0, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "185": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "expiri": 0, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "push": 0, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.10.0-alpha.2/versions.html b/v9.10.0-alpha.2/versions.html index 6542cd488..e4650210b 100644 --- a/v9.10.0-alpha.2/versions.html +++ b/v9.10.0-alpha.2/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.10.0-alpha.2 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v9.2.0/.buildinfo b/v9.2.0/.buildinfo index 0d8cb2cce..c0fda3c50 100644 --- a/v9.2.0/.buildinfo +++ b/v9.2.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: 20da778599ecbdce2bbd3fad111363f5 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 5c05fc5929d0f00d6f2a1b80ed0cec13 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.2.0/_static/basic.css b/v9.2.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.2.0/_static/basic.css +++ b/v9.2.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/v9.2.0/_static/doctools.js b/v9.2.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.2.0/_static/doctools.js +++ b/v9.2.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/v9.2.0/_static/language_data.js b/v9.2.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.2.0/_static/language_data.js +++ b/v9.2.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/v9.2.0/_static/searchtools.js b/v9.2.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.2.0/_static/searchtools.js +++ b/v9.2.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/v9.2.0/changelog.html b/v9.2.0/changelog.html index 221cf3272..2b500147e 100644 --- a/v9.2.0/changelog.html +++ b/v9.2.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -719,7 +727,7 @@

    - + diff --git a/v9.2.0/development.html b/v9.2.0/development.html index e83030d85..a1e0f1ea1 100644 --- a/v9.2.0/development.html +++ b/v9.2.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Option 2 - + diff --git a/v9.2.0/genindex.html b/v9.2.0/genindex.html index 3fc6fafa8..5397e001c 100644 --- a/v9.2.0/genindex.html +++ b/v9.2.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.2.0 + Index - Pydis Core v9.2.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -940,7 +948,7 @@

    W

    - + diff --git a/v9.2.0/index.html b/v9.2.0/index.html index c94083f2a..27953c17c 100644 --- a/v9.2.0/index.html +++ b/v9.2.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -547,7 +555,7 @@

    Extras - + diff --git a/v9.2.0/index_redirect.html b/v9.2.0/index_redirect.html index 40d5bb33e..38ee0dc3a 100644 --- a/v9.2.0/index_redirect.html +++ b/v9.2.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.2.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.2.0/output/pydis_core.async_stats.html b/v9.2.0/output/pydis_core.async_stats.html index f9c4795ce..c48c9350a 100644 --- a/v9.2.0/output/pydis_core.async_stats.html +++ b/v9.2.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,11 +461,11 @@
    Parameters:
    @@ -466,10 +474,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

    @@ -551,7 +559,7 @@ - + diff --git a/v9.2.0/output/pydis_core.exts.html b/v9.2.0/output/pydis_core.exts.html index 1c3e2bf4f..9d6a000c9 100644 --- a/v9.2.0/output/pydis_core.exts.html +++ b/v9.2.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@ - + diff --git a/v9.2.0/output/pydis_core.html b/v9.2.0/output/pydis_core.html index 07a1d4d4b..40ab9d436 100644 --- a/v9.2.0/output/pydis_core.html +++ b/v9.2.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,12 +461,12 @@
    Parameters:
    @@ -471,7 +479,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -482,7 +490,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -493,7 +501,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -504,7 +512,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -516,7 +524,7 @@

    This should be ran in a task on the event loop to avoid deadlocks caused by wait_for calls.

    Return type:
    -

    None

    +

    None

    @@ -527,7 +535,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -540,7 +548,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -551,7 +559,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -562,7 +570,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -575,7 +583,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Optional[Command]

    +

    Optional[Command]

    @@ -589,7 +597,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -602,7 +610,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -612,7 +620,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -816,7 +824,7 @@

    Submodules - + diff --git a/v9.2.0/output/pydis_core.site_api.html b/v9.2.0/output/pydis_core.site_api.html index 9711a1b94..314727195 100644 --- a/v9.2.0/output/pydis_core.site_api.html +++ b/v9.2.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -453,9 +461,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.

    @@ -467,7 +475,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -479,13 +487,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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:
    -

    Optional[dict]

    +

    Optional[dict]

    Returns:

    The JSON response the API returns, or None if the response is 204 No Content.

    @@ -499,7 +507,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -511,15 +519,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -530,7 +538,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -541,7 +549,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -552,7 +560,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -564,14 +572,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -587,7 +595,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.

    @@ -596,9 +604,9 @@
    Parameters:
      -
    • response (aiohttp.ClientResponse) – The response object from the request.

    • -
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • -
    • response_text (Optional[str]) – The text of the request, if any.

    • +
    • response (aiohttp.ClientResponse) – The response object from the request.

    • +
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • +
    • response_text (Optional[str]) – The text of the request, if any.

    @@ -699,7 +707,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.caching.html b/v9.2.0/output/pydis_core.utils.caching.html index 7368a4181..de8723bc2 100644 --- a/v9.2.0/output/pydis_core.utils.caching.html +++ b/v9.2.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -454,10 +462,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.

    @@ -471,7 +479,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.

    @@ -482,7 +490,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -565,7 +573,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.channel.html b/v9.2.0/output/pydis_core.utils.channel.html index cf34efa71..eb3d5df36 100644 --- a/v9.2.0/output/pydis_core.utils.channel.html +++ b/v9.2.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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:
    @@ -477,11 +485,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.

    @@ -561,7 +569,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.commands.html b/v9.2.0/output/pydis_core.utils.commands.html index aa7d916d0..83fe181cd 100644 --- a/v9.2.0/output/pydis_core.utils.commands.html +++ b/v9.2.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,14 +456,14 @@
    Parameters:
    • ctx (Context) – The command’s context

    • -
    • text (Optional[str]) – The provided text argument of the command (if given)

    • +
    • text (Optional[str]) – 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.

    @@ -534,7 +542,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.cooldown.html b/v9.2.0/output/pydis_core.utils.cooldown.html index 1b99d3e57..7a5c41118 100644 --- a/v9.2.0/output/pydis_core.utils.cooldown.html +++ b/v9.2.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -457,7 +465,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -487,14 +495,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.function.html b/v9.2.0/output/pydis_core.utils.function.html index 330627615..f2f4b7ffb 100644 --- a/v9.2.0/output/pydis_core.utils.function.html +++ b/v9.2.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -456,17 +464,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.

    @@ -487,9 +495,9 @@
    Parameters:
    Raises:
    @@ -497,7 +505,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -575,7 +583,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.html b/v9.2.0/output/pydis_core.utils.html index 0554498b0..49a7befe7 100644 --- a/v9.2.0/output/pydis_core.utils.html +++ b/v9.2.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,7 +455,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -466,10 +474,10 @@

    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.

    @@ -639,7 +647,7 @@

    Submodules - + diff --git a/v9.2.0/output/pydis_core.utils.interactions.html b/v9.2.0/output/pydis_core.utils.interactions.html index bef5b30dc..b7acc49c5 100644 --- a/v9.2.0/output/pydis_core.utils.interactions.html +++ b/v9.2.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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.

    @@ -466,7 +474,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -481,11 +489,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 (Optional[float]) – 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 (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – 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.

    @@ -504,7 +512,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -515,7 +523,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -603,7 +611,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.logging.html b/v9.2.0/output/pydis_core.utils.logging.html index e184a285c..cf36dfa86 100644 --- a/v9.2.0/output/pydis_core.utils.logging.html +++ b/v9.2.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,8 +452,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]
    @@ -457,13 +465,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

    @@ -476,7 +484,7 @@

    Utility to make mypy recognise that logger is of type CustomLogger.

    Parameters:
    -

    name (Optional[str]) – The name given to the logger.

    +

    name (Optional[str]) – The name given to the logger.

    Return type:

    CustomLogger

    @@ -562,7 +570,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.members.html b/v9.2.0/output/pydis_core.utils.members.html index eb861bc70..0bdccfd75 100644 --- a/v9.2.0/output/pydis_core.utils.members.html +++ b/v9.2.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,10 +455,10 @@

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Optional[Member]

    +

    Optional[Member]

    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.

    @@ -465,12 +473,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -547,7 +555,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.regex.html b/v9.2.0/output/pydis_core.utils.regex.html index e6e7fcea6..a8704fff1 100644 --- a/v9.2.0/output/pydis_core.utils.regex.html +++ b/v9.2.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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().

    @@ -544,7 +552,7 @@ - + diff --git a/v9.2.0/output/pydis_core.utils.scheduling.html b/v9.2.0/output/pydis_core.utils.scheduling.html index 6e1cdfdbf..ac0f6db99 100644 --- a/v9.2.0/output/pydis_core.utils.scheduling.html +++ b/v9.2.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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 @@ -458,16 +466,16 @@

    __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.

    @@ -478,7 +486,7 @@

    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.

    @@ -489,10 +497,10 @@

    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

    @@ -503,7 +511,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -517,12 +525,12 @@
    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

    @@ -539,13 +547,13 @@
    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

    @@ -559,13 +567,13 @@
    Parameters:
      -
    • delay (Union[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 (Union[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

    @@ -575,23 +583,23 @@
    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

    @@ -677,7 +685,7 @@ - + diff --git a/v9.2.0/py-modindex.html b/v9.2.0/py-modindex.html index a4c0b0a46..566967d77 100644 --- a/v9.2.0/py-modindex.html +++ b/v9.2.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.2.0 + Python Module Index - Pydis Core v9.2.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Python Module Index

    - + diff --git a/v9.2.0/search.html b/v9.2.0/search.html index 5ab39d3f6..de185313a 100644 --- a/v9.2.0/search.html +++ b/v9.2.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.2.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -476,7 +484,7 @@ - + diff --git a/v9.2.0/searchindex.js b/v9.2.0/searchindex.js index 6601121e8..1fc9207a8 100644 --- a/v9.2.0/searchindex.js +++ b/v9.2.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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "16th": 0, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": [0, 3], "await": [0, 11, 13, 15], "awar": 17, "back": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": [3, 7], "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deadlock": 3, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [3, 4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "ran": 3, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": 3, "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 3, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 3, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_for": 3, "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "16th": 0, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": [0, 3], "await": [0, 11, 13, 15], "awar": 17, "back": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": [3, 7], "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deadlock": 3, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [3, 4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "ran": 3, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": 3, "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 3, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 3, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_for": 3, "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.2.0/versions.html b/v9.2.0/versions.html index 954014968..49efb3209 100644 --- a/v9.2.0/versions.html +++ b/v9.2.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.2.0 - + @@ -316,6 +316,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -538,6 +546,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -665,7 +685,7 @@

    Versions

    - + diff --git a/v9.3.0/.buildinfo b/v9.3.0/.buildinfo index 4b7bc4f6c..5fe0e8358 100644 --- a/v9.3.0/.buildinfo +++ b/v9.3.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: 4f4b591c6440e4bd03e7dae7d23ad0de +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: dbedfa94241aa5ff5a3e4efc188a9d0d tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.3.0/_static/basic.css b/v9.3.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.3.0/_static/basic.css +++ b/v9.3.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/v9.3.0/_static/doctools.js b/v9.3.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.3.0/_static/doctools.js +++ b/v9.3.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/v9.3.0/_static/language_data.js b/v9.3.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.3.0/_static/language_data.js +++ b/v9.3.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/v9.3.0/_static/searchtools.js b/v9.3.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.3.0/_static/searchtools.js +++ b/v9.3.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/v9.3.0/changelog.html b/v9.3.0/changelog.html index 7dd827f3a..81759561f 100644 --- a/v9.3.0/changelog.html +++ b/v9.3.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -442,7 +450,7 @@

    Changelog

    9.3.0 13th December 2022

    @@ -724,7 +732,7 @@

    - + diff --git a/v9.3.0/development.html b/v9.3.0/development.html index 5d7919aac..32d0f0970 100644 --- a/v9.3.0/development.html +++ b/v9.3.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Option 2 - + diff --git a/v9.3.0/genindex.html b/v9.3.0/genindex.html index edba4796d..8d5ace6cb 100644 --- a/v9.3.0/genindex.html +++ b/v9.3.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.3.0 + Index - Pydis Core v9.3.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -940,7 +948,7 @@

    W

    - + diff --git a/v9.3.0/index.html b/v9.3.0/index.html index f4e0395a1..f339a3766 100644 --- a/v9.3.0/index.html +++ b/v9.3.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -547,7 +555,7 @@

    Extras - + diff --git a/v9.3.0/index_redirect.html b/v9.3.0/index_redirect.html index a726a28c9..62b1324f4 100644 --- a/v9.3.0/index_redirect.html +++ b/v9.3.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.3.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.3.0/output/pydis_core.async_stats.html b/v9.3.0/output/pydis_core.async_stats.html index fcaaceb30..4383264e6 100644 --- a/v9.3.0/output/pydis_core.async_stats.html +++ b/v9.3.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,11 +461,11 @@
    Parameters:
    @@ -466,10 +474,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

    @@ -551,7 +559,7 @@ - + diff --git a/v9.3.0/output/pydis_core.exts.html b/v9.3.0/output/pydis_core.exts.html index 8e16d5dab..0a26f52ea 100644 --- a/v9.3.0/output/pydis_core.exts.html +++ b/v9.3.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@ - + diff --git a/v9.3.0/output/pydis_core.html b/v9.3.0/output/pydis_core.html index 344a16607..feeb90aa5 100644 --- a/v9.3.0/output/pydis_core.html +++ b/v9.3.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,12 +461,12 @@
    Parameters:
    @@ -471,7 +479,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -482,7 +490,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -493,7 +501,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -504,7 +512,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -516,7 +524,7 @@

    This should be ran in a task on the event loop to avoid deadlocks caused by wait_for calls.

    Return type:
    -

    None

    +

    None

    @@ -527,7 +535,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -540,7 +548,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -551,7 +559,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -562,7 +570,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -575,7 +583,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Optional[Command]

    +

    Optional[Command]

    @@ -589,7 +597,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -602,7 +610,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -612,7 +620,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -816,7 +824,7 @@

    Submodules - + diff --git a/v9.3.0/output/pydis_core.site_api.html b/v9.3.0/output/pydis_core.site_api.html index ebd993f1f..e78dffba8 100644 --- a/v9.3.0/output/pydis_core.site_api.html +++ b/v9.3.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -453,9 +461,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.

    @@ -467,7 +475,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -479,13 +487,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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:
    -

    Optional[dict]

    +

    Optional[dict]

    Returns:

    The JSON response the API returns, or None if the response is 204 No Content.

    @@ -499,7 +507,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -511,15 +519,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -530,7 +538,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -541,7 +549,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -552,7 +560,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -564,14 +572,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -587,7 +595,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.

    @@ -596,9 +604,9 @@
    Parameters:
      -
    • response (aiohttp.ClientResponse) – The response object from the request.

    • -
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • -
    • response_text (Optional[str]) – The text of the request, if any.

    • +
    • response (aiohttp.ClientResponse) – The response object from the request.

    • +
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • +
    • response_text (Optional[str]) – The text of the request, if any.

    @@ -699,7 +707,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.caching.html b/v9.3.0/output/pydis_core.utils.caching.html index 422c904e6..4b8acfd61 100644 --- a/v9.3.0/output/pydis_core.utils.caching.html +++ b/v9.3.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -454,10 +462,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.

    @@ -471,7 +479,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.

    @@ -482,7 +490,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -565,7 +573,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.channel.html b/v9.3.0/output/pydis_core.utils.channel.html index 5cc96333f..46cdb27c3 100644 --- a/v9.3.0/output/pydis_core.utils.channel.html +++ b/v9.3.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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:
    @@ -477,11 +485,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.

    @@ -561,7 +569,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.commands.html b/v9.3.0/output/pydis_core.utils.commands.html index ae499850d..96a87b974 100644 --- a/v9.3.0/output/pydis_core.utils.commands.html +++ b/v9.3.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,14 +456,14 @@
    Parameters:
    • ctx (Context) – The command’s context

    • -
    • text (Optional[str]) – The provided text argument of the command (if given)

    • +
    • text (Optional[str]) – 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.

    @@ -534,7 +542,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.cooldown.html b/v9.3.0/output/pydis_core.utils.cooldown.html index b442ec616..e70fe20e7 100644 --- a/v9.3.0/output/pydis_core.utils.cooldown.html +++ b/v9.3.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -457,7 +465,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -487,14 +495,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.function.html b/v9.3.0/output/pydis_core.utils.function.html index c29713cfe..2ca2b79da 100644 --- a/v9.3.0/output/pydis_core.utils.function.html +++ b/v9.3.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -456,17 +464,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.

    @@ -487,9 +495,9 @@
    Parameters:
    Raises:
    @@ -497,7 +505,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -575,7 +583,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.html b/v9.3.0/output/pydis_core.utils.html index 49385261e..42b8af2c5 100644 --- a/v9.3.0/output/pydis_core.utils.html +++ b/v9.3.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,7 +455,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -466,10 +474,10 @@

    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.

    @@ -639,7 +647,7 @@

    Submodules - + diff --git a/v9.3.0/output/pydis_core.utils.interactions.html b/v9.3.0/output/pydis_core.utils.interactions.html index c290cd986..c51320157 100644 --- a/v9.3.0/output/pydis_core.utils.interactions.html +++ b/v9.3.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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.

    @@ -466,7 +474,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -481,11 +489,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 (Optional[float]) – 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 (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – 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.

    @@ -504,7 +512,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -515,7 +523,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -603,7 +611,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.logging.html b/v9.3.0/output/pydis_core.utils.logging.html index 3ac7fbf2c..68fadc466 100644 --- a/v9.3.0/output/pydis_core.utils.logging.html +++ b/v9.3.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,8 +452,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]
    @@ -457,13 +465,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

    @@ -476,7 +484,7 @@

    Utility to make mypy recognise that logger is of type CustomLogger.

    Parameters:
    -

    name (Optional[str]) – The name given to the logger.

    +

    name (Optional[str]) – The name given to the logger.

    Return type:

    CustomLogger

    @@ -562,7 +570,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.members.html b/v9.3.0/output/pydis_core.utils.members.html index 0a1e8c19a..be71ba5eb 100644 --- a/v9.3.0/output/pydis_core.utils.members.html +++ b/v9.3.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,10 +455,10 @@

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Optional[Member]

    +

    Optional[Member]

    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.

    @@ -465,12 +473,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -547,7 +555,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.regex.html b/v9.3.0/output/pydis_core.utils.regex.html index 09d3421b4..0b75aa0ad 100644 --- a/v9.3.0/output/pydis_core.utils.regex.html +++ b/v9.3.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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().

    @@ -544,7 +552,7 @@ - + diff --git a/v9.3.0/output/pydis_core.utils.scheduling.html b/v9.3.0/output/pydis_core.utils.scheduling.html index 9f6e6466b..0fa8842b9 100644 --- a/v9.3.0/output/pydis_core.utils.scheduling.html +++ b/v9.3.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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 @@ -458,16 +466,16 @@

    __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.

    @@ -478,7 +486,7 @@

    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.

    @@ -489,10 +497,10 @@

    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

    @@ -503,7 +511,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -517,12 +525,12 @@
    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

    @@ -539,13 +547,13 @@
    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

    @@ -559,13 +567,13 @@
    Parameters:
      -
    • delay (Union[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 (Union[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

    @@ -575,23 +583,23 @@
    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

    @@ -677,7 +685,7 @@ - + diff --git a/v9.3.0/py-modindex.html b/v9.3.0/py-modindex.html index 5250782fe..9e752e09a 100644 --- a/v9.3.0/py-modindex.html +++ b/v9.3.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.3.0 + Python Module Index - Pydis Core v9.3.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Python Module Index

    - + diff --git a/v9.3.0/search.html b/v9.3.0/search.html index 392b393af..db71155df 100644 --- a/v9.3.0/search.html +++ b/v9.3.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.3.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -476,7 +484,7 @@ - + diff --git a/v9.3.0/searchindex.js b/v9.3.0/searchindex.js index 4c4dff0ba..61719108c 100644 --- a/v9.3.0/searchindex.js +++ b/v9.3.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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": [0, 3], "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": [3, 7], "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deadlock": 3, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [3, 4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "ran": 3, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": 3, "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 3, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 3, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_for": 3, "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": [0, 3], "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": [3, 7], "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deadlock": 3, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [3, 4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "ran": 3, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": 3, "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 3, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 3, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_for": 3, "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.3.0/versions.html b/v9.3.0/versions.html index 7a8c647f9..6bdf128ea 100644 --- a/v9.3.0/versions.html +++ b/v9.3.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.3.0 - + @@ -316,6 +316,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -538,6 +546,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -665,7 +685,7 @@

    Versions

    - + diff --git a/v9.4.0/.buildinfo b/v9.4.0/.buildinfo index 9e00001c9..06dbd551b 100644 --- a/v9.4.0/.buildinfo +++ b/v9.4.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: 0ce757a3d5dc3203cb0ca5f8966e1eae +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: b1f0611274cc432e34179043e04623fe tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.4.0/_static/basic.css b/v9.4.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.4.0/_static/basic.css +++ b/v9.4.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/v9.4.0/_static/doctools.js b/v9.4.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.4.0/_static/doctools.js +++ b/v9.4.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/v9.4.0/_static/language_data.js b/v9.4.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.4.0/_static/language_data.js +++ b/v9.4.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/v9.4.0/_static/searchtools.js b/v9.4.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.4.0/_static/searchtools.js +++ b/v9.4.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/v9.4.0/changelog.html b/v9.4.0/changelog.html index 7520b9143..6e9a10be1 100644 --- a/v9.4.0/changelog.html +++ b/v9.4.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -452,7 +460,7 @@

    9.3.0 13th December 2022

    @@ -734,7 +742,7 @@

    - + diff --git a/v9.4.0/development.html b/v9.4.0/development.html index de4af4887..7cff387de 100644 --- a/v9.4.0/development.html +++ b/v9.4.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Option 2 - + diff --git a/v9.4.0/genindex.html b/v9.4.0/genindex.html index 2df0e6079..500e81e33 100644 --- a/v9.4.0/genindex.html +++ b/v9.4.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.4.0 + Index - Pydis Core v9.4.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -940,7 +948,7 @@

    W

    - + diff --git a/v9.4.0/index.html b/v9.4.0/index.html index ec0511f81..f5300824e 100644 --- a/v9.4.0/index.html +++ b/v9.4.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -547,7 +555,7 @@

    Extras - + diff --git a/v9.4.0/index_redirect.html b/v9.4.0/index_redirect.html index dbd1d30c0..5ccd78b6f 100644 --- a/v9.4.0/index_redirect.html +++ b/v9.4.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.4.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.4.0/output/pydis_core.async_stats.html b/v9.4.0/output/pydis_core.async_stats.html index 449b73837..c331466ee 100644 --- a/v9.4.0/output/pydis_core.async_stats.html +++ b/v9.4.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,11 +461,11 @@
    Parameters:
    @@ -466,10 +474,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

    @@ -551,7 +559,7 @@ - + diff --git a/v9.4.0/output/pydis_core.exts.html b/v9.4.0/output/pydis_core.exts.html index 69f4ed702..42ac8ddb9 100644 --- a/v9.4.0/output/pydis_core.exts.html +++ b/v9.4.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@ - + diff --git a/v9.4.0/output/pydis_core.html b/v9.4.0/output/pydis_core.html index 44e99d8a3..58b7b1889 100644 --- a/v9.4.0/output/pydis_core.html +++ b/v9.4.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,12 +461,12 @@
    Parameters:
    @@ -471,7 +479,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -482,7 +490,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -493,7 +501,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -504,7 +512,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -515,10 +523,10 @@

    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

    @@ -529,7 +537,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -542,7 +550,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -553,7 +561,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -564,7 +572,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -577,7 +585,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Optional[Command]

    +

    Optional[Command]

    @@ -591,7 +599,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -604,7 +612,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -614,7 +622,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -818,7 +826,7 @@

    Submodules - + diff --git a/v9.4.0/output/pydis_core.site_api.html b/v9.4.0/output/pydis_core.site_api.html index 76331b523..ebfe9ac28 100644 --- a/v9.4.0/output/pydis_core.site_api.html +++ b/v9.4.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -453,9 +461,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.

    @@ -467,7 +475,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -479,13 +487,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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:
    -

    Optional[dict]

    +

    Optional[dict]

    Returns:

    The JSON response the API returns, or None if the response is 204 No Content.

    @@ -499,7 +507,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -511,15 +519,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -530,7 +538,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -541,7 +549,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -552,7 +560,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -564,14 +572,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -587,7 +595,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.

    @@ -596,9 +604,9 @@
    Parameters:
      -
    • response (aiohttp.ClientResponse) – The response object from the request.

    • -
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • -
    • response_text (Optional[str]) – The text of the request, if any.

    • +
    • response (aiohttp.ClientResponse) – The response object from the request.

    • +
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • +
    • response_text (Optional[str]) – The text of the request, if any.

    @@ -699,7 +707,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.caching.html b/v9.4.0/output/pydis_core.utils.caching.html index 7a73f942c..cc8223fbd 100644 --- a/v9.4.0/output/pydis_core.utils.caching.html +++ b/v9.4.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -454,10 +462,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.

    @@ -471,7 +479,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.

    @@ -482,7 +490,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -565,7 +573,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.channel.html b/v9.4.0/output/pydis_core.utils.channel.html index cf02f3261..6140a6c4a 100644 --- a/v9.4.0/output/pydis_core.utils.channel.html +++ b/v9.4.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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:
    @@ -477,11 +485,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.

    @@ -561,7 +569,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.commands.html b/v9.4.0/output/pydis_core.utils.commands.html index 2b8b94585..a9656f502 100644 --- a/v9.4.0/output/pydis_core.utils.commands.html +++ b/v9.4.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,14 +456,14 @@
    Parameters:
    • ctx (Context) – The command’s context

    • -
    • text (Optional[str]) – The provided text argument of the command (if given)

    • +
    • text (Optional[str]) – 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.

    @@ -534,7 +542,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.cooldown.html b/v9.4.0/output/pydis_core.utils.cooldown.html index 24bab75d2..ab3d0b50f 100644 --- a/v9.4.0/output/pydis_core.utils.cooldown.html +++ b/v9.4.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -457,7 +465,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -487,14 +495,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.function.html b/v9.4.0/output/pydis_core.utils.function.html index c9d38cc37..1509bc8d0 100644 --- a/v9.4.0/output/pydis_core.utils.function.html +++ b/v9.4.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -456,17 +464,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.

    @@ -487,9 +495,9 @@
    Parameters:
    Raises:
    @@ -497,7 +505,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -575,7 +583,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.html b/v9.4.0/output/pydis_core.utils.html index df432e71b..0a298fe21 100644 --- a/v9.4.0/output/pydis_core.utils.html +++ b/v9.4.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,7 +455,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -466,10 +474,10 @@

    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.

    @@ -639,7 +647,7 @@

    Submodules - + diff --git a/v9.4.0/output/pydis_core.utils.interactions.html b/v9.4.0/output/pydis_core.utils.interactions.html index f0251bce0..d1c3da891 100644 --- a/v9.4.0/output/pydis_core.utils.interactions.html +++ b/v9.4.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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.

    @@ -466,7 +474,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -481,11 +489,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 (Optional[float]) – 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 (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – 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.

    @@ -504,7 +512,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -515,7 +523,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -603,7 +611,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.logging.html b/v9.4.0/output/pydis_core.utils.logging.html index 422f60d16..e4bf73488 100644 --- a/v9.4.0/output/pydis_core.utils.logging.html +++ b/v9.4.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,8 +452,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]
    @@ -457,13 +465,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

    @@ -476,7 +484,7 @@

    Utility to make mypy recognise that logger is of type CustomLogger.

    Parameters:
    -

    name (Optional[str]) – The name given to the logger.

    +

    name (Optional[str]) – The name given to the logger.

    Return type:

    CustomLogger

    @@ -562,7 +570,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.members.html b/v9.4.0/output/pydis_core.utils.members.html index abac85e01..28ef88aac 100644 --- a/v9.4.0/output/pydis_core.utils.members.html +++ b/v9.4.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,10 +455,10 @@

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Optional[Member]

    +

    Optional[Member]

    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.

    @@ -465,12 +473,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -547,7 +555,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.regex.html b/v9.4.0/output/pydis_core.utils.regex.html index a959e6476..9b85f68fe 100644 --- a/v9.4.0/output/pydis_core.utils.regex.html +++ b/v9.4.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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().

    @@ -544,7 +552,7 @@ - + diff --git a/v9.4.0/output/pydis_core.utils.scheduling.html b/v9.4.0/output/pydis_core.utils.scheduling.html index d01f05785..9ed451c96 100644 --- a/v9.4.0/output/pydis_core.utils.scheduling.html +++ b/v9.4.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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 @@ -458,16 +466,16 @@

    __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.

    @@ -478,7 +486,7 @@

    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.

    @@ -489,10 +497,10 @@

    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

    @@ -503,7 +511,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -517,12 +525,12 @@
    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

    @@ -539,13 +547,13 @@
    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

    @@ -559,13 +567,13 @@
    Parameters:
      -
    • delay (Union[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 (Union[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

    @@ -575,23 +583,23 @@
    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

    @@ -677,7 +685,7 @@ - + diff --git a/v9.4.0/py-modindex.html b/v9.4.0/py-modindex.html index ab601d8ba..7ae062227 100644 --- a/v9.4.0/py-modindex.html +++ b/v9.4.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.4.0 + Python Module Index - Pydis Core v9.4.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Python Module Index

    - + diff --git a/v9.4.0/search.html b/v9.4.0/search.html index 8cf41ef28..dc7acaf02 100644 --- a/v9.4.0/search.html +++ b/v9.4.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.4.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -476,7 +484,7 @@ - + diff --git a/v9.4.0/searchindex.js b/v9.4.0/searchindex.js index 0a1072835..499bfe7af 100644 --- a/v9.4.0/searchindex.js +++ b/v9.4.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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.4.0/versions.html b/v9.4.0/versions.html index 267b03c02..157f747a5 100644 --- a/v9.4.0/versions.html +++ b/v9.4.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.4.0 - + @@ -316,6 +316,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -538,6 +546,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -665,7 +685,7 @@

    Versions

    - + diff --git a/v9.4.1/.buildinfo b/v9.4.1/.buildinfo index 207181275..10ffbaeb4 100644 --- a/v9.4.1/.buildinfo +++ b/v9.4.1/.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: 3543c1f1a98ddb415882ca108bb8b88e +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: ebab163fec0e71df2430502c3f2a86ac tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.4.1/_static/basic.css b/v9.4.1/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.4.1/_static/basic.css +++ b/v9.4.1/_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/v9.4.1/_static/doctools.js b/v9.4.1/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.4.1/_static/doctools.js +++ b/v9.4.1/_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/v9.4.1/_static/language_data.js b/v9.4.1/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.4.1/_static/language_data.js +++ b/v9.4.1/_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/v9.4.1/_static/searchtools.js b/v9.4.1/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.4.1/_static/searchtools.js +++ b/v9.4.1/_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/v9.4.1/changelog.html b/v9.4.1/changelog.html index 65499353d..0e8789837 100644 --- a/v9.4.1/changelog.html +++ b/v9.4.1/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -457,7 +465,7 @@

    9.3.0 13th December 2022

    @@ -739,7 +747,7 @@

    - + diff --git a/v9.4.1/development.html b/v9.4.1/development.html index 43d1e6db2..e64adccc2 100644 --- a/v9.4.1/development.html +++ b/v9.4.1/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Option 2 - + diff --git a/v9.4.1/genindex.html b/v9.4.1/genindex.html index dd4ed19e4..a2c005bba 100644 --- a/v9.4.1/genindex.html +++ b/v9.4.1/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.4.1 + Index - Pydis Core v9.4.1 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -940,7 +948,7 @@

    W

    - + diff --git a/v9.4.1/index.html b/v9.4.1/index.html index f1a09ed67..561396fd3 100644 --- a/v9.4.1/index.html +++ b/v9.4.1/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -547,7 +555,7 @@

    Extras - + diff --git a/v9.4.1/index_redirect.html b/v9.4.1/index_redirect.html index afc5e02f8..9afc13359 100644 --- a/v9.4.1/index_redirect.html +++ b/v9.4.1/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.4.1 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.4.1/output/pydis_core.async_stats.html b/v9.4.1/output/pydis_core.async_stats.html index edd4657c2..62650c4d8 100644 --- a/v9.4.1/output/pydis_core.async_stats.html +++ b/v9.4.1/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,11 +461,11 @@
    Parameters:
    @@ -466,10 +474,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

    @@ -551,7 +559,7 @@ - + diff --git a/v9.4.1/output/pydis_core.exts.html b/v9.4.1/output/pydis_core.exts.html index cdaaa295f..62d934f97 100644 --- a/v9.4.1/output/pydis_core.exts.html +++ b/v9.4.1/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@ - + diff --git a/v9.4.1/output/pydis_core.html b/v9.4.1/output/pydis_core.html index ce2fa5e4b..741bd952c 100644 --- a/v9.4.1/output/pydis_core.html +++ b/v9.4.1/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,12 +461,12 @@
    Parameters:
    @@ -471,7 +479,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -482,7 +490,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -493,7 +501,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -504,7 +512,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -515,10 +523,10 @@

    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

    @@ -529,7 +537,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -542,7 +550,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -553,7 +561,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -564,7 +572,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -577,7 +585,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Optional[Command]

    +

    Optional[Command]

    @@ -591,7 +599,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -604,7 +612,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -614,7 +622,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -818,7 +826,7 @@

    Submodules - + diff --git a/v9.4.1/output/pydis_core.site_api.html b/v9.4.1/output/pydis_core.site_api.html index 2ff4edd64..8a1ecbabe 100644 --- a/v9.4.1/output/pydis_core.site_api.html +++ b/v9.4.1/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -453,9 +461,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.

    @@ -467,7 +475,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -479,13 +487,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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:
    -

    Optional[dict]

    +

    Optional[dict]

    Returns:

    The JSON response the API returns, or None if the response is 204 No Content.

    @@ -499,7 +507,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -511,15 +519,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -530,7 +538,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -541,7 +549,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -552,7 +560,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -564,14 +572,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -587,7 +595,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.

    @@ -596,9 +604,9 @@
    Parameters:
      -
    • response (aiohttp.ClientResponse) – The response object from the request.

    • -
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • -
    • response_text (Optional[str]) – The text of the request, if any.

    • +
    • response (aiohttp.ClientResponse) – The response object from the request.

    • +
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • +
    • response_text (Optional[str]) – The text of the request, if any.

    @@ -699,7 +707,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.caching.html b/v9.4.1/output/pydis_core.utils.caching.html index 548349bb6..c76502f2c 100644 --- a/v9.4.1/output/pydis_core.utils.caching.html +++ b/v9.4.1/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -454,10 +462,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.

    @@ -471,7 +479,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.

    @@ -482,7 +490,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -565,7 +573,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.channel.html b/v9.4.1/output/pydis_core.utils.channel.html index aa1888bbf..ed777cb30 100644 --- a/v9.4.1/output/pydis_core.utils.channel.html +++ b/v9.4.1/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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:
    @@ -477,11 +485,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.

    @@ -561,7 +569,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.commands.html b/v9.4.1/output/pydis_core.utils.commands.html index 6ec080ee6..77ad2e0b0 100644 --- a/v9.4.1/output/pydis_core.utils.commands.html +++ b/v9.4.1/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,14 +456,14 @@
    Parameters:
    • ctx (Context) – The command’s context

    • -
    • text (Optional[str]) – The provided text argument of the command (if given)

    • +
    • text (Optional[str]) – 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.

    @@ -534,7 +542,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.cooldown.html b/v9.4.1/output/pydis_core.utils.cooldown.html index f38e43e80..c703df660 100644 --- a/v9.4.1/output/pydis_core.utils.cooldown.html +++ b/v9.4.1/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -457,7 +465,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -487,14 +495,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.function.html b/v9.4.1/output/pydis_core.utils.function.html index c58a0c4c4..94be4d9fe 100644 --- a/v9.4.1/output/pydis_core.utils.function.html +++ b/v9.4.1/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -456,17 +464,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.

    @@ -487,9 +495,9 @@
    Parameters:
    Raises:
    @@ -497,7 +505,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -575,7 +583,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.html b/v9.4.1/output/pydis_core.utils.html index 2be8cdcd2..4d2dc0a17 100644 --- a/v9.4.1/output/pydis_core.utils.html +++ b/v9.4.1/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,7 +455,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -466,10 +474,10 @@

    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.

    @@ -639,7 +647,7 @@

    Submodules - + diff --git a/v9.4.1/output/pydis_core.utils.interactions.html b/v9.4.1/output/pydis_core.utils.interactions.html index 8563f648d..9930acbfa 100644 --- a/v9.4.1/output/pydis_core.utils.interactions.html +++ b/v9.4.1/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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.

    @@ -466,7 +474,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -481,11 +489,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 (Optional[float]) – 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 (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – 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.

    @@ -504,7 +512,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -515,7 +523,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -603,7 +611,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.logging.html b/v9.4.1/output/pydis_core.utils.logging.html index 16c69e1d1..f1a376263 100644 --- a/v9.4.1/output/pydis_core.utils.logging.html +++ b/v9.4.1/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,8 +452,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]
    @@ -457,13 +465,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

    @@ -476,7 +484,7 @@

    Utility to make mypy recognise that logger is of type CustomLogger.

    Parameters:
    -

    name (Optional[str]) – The name given to the logger.

    +

    name (Optional[str]) – The name given to the logger.

    Return type:

    CustomLogger

    @@ -562,7 +570,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.members.html b/v9.4.1/output/pydis_core.utils.members.html index 52e2daef2..2802c5d4e 100644 --- a/v9.4.1/output/pydis_core.utils.members.html +++ b/v9.4.1/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,10 +455,10 @@

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Optional[Member]

    +

    Optional[Member]

    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.

    @@ -465,12 +473,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -547,7 +555,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.regex.html b/v9.4.1/output/pydis_core.utils.regex.html index f2926ba03..22ab97992 100644 --- a/v9.4.1/output/pydis_core.utils.regex.html +++ b/v9.4.1/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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().

    @@ -544,7 +552,7 @@ - + diff --git a/v9.4.1/output/pydis_core.utils.scheduling.html b/v9.4.1/output/pydis_core.utils.scheduling.html index cb656b524..2865ed726 100644 --- a/v9.4.1/output/pydis_core.utils.scheduling.html +++ b/v9.4.1/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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 @@ -458,16 +466,16 @@

    __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.

    @@ -478,7 +486,7 @@

    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.

    @@ -489,10 +497,10 @@

    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

    @@ -503,7 +511,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -517,12 +525,12 @@
    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

    @@ -539,13 +547,13 @@
    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

    @@ -559,13 +567,13 @@
    Parameters:
      -
    • delay (Union[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 (Union[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

    @@ -575,23 +583,23 @@
    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

    @@ -677,7 +685,7 @@ - + diff --git a/v9.4.1/py-modindex.html b/v9.4.1/py-modindex.html index 5c414bd94..40b5ea74f 100644 --- a/v9.4.1/py-modindex.html +++ b/v9.4.1/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.4.1 + Python Module Index - Pydis Core v9.4.1 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Python Module Index

    - + diff --git a/v9.4.1/search.html b/v9.4.1/search.html index 9b913274e..b4e712483 100644 --- a/v9.4.1/search.html +++ b/v9.4.1/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.4.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -476,7 +484,7 @@ - + diff --git a/v9.4.1/searchindex.js b/v9.4.1/searchindex.js index e599f837b..c1f018e41 100644 --- a/v9.4.1/searchindex.js +++ b/v9.4.1/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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "next": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "x": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "next": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "x": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.4.1/versions.html b/v9.4.1/versions.html index e84989a20..aa6314e8a 100644 --- a/v9.4.1/versions.html +++ b/v9.4.1/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.4.1 - + @@ -316,6 +316,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -538,6 +546,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -665,7 +685,7 @@

    Versions

    - + diff --git a/v9.5.0/.buildinfo b/v9.5.0/.buildinfo index 88fa05e40..f23f19522 100644 --- a/v9.5.0/.buildinfo +++ b/v9.5.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: 986ce8bd16ac964c552f8d6dc95c50ed +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: b1b28eab31e65a4e3d4fea4363a40cdb tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.5.0/_static/basic.css b/v9.5.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.5.0/_static/basic.css +++ b/v9.5.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/v9.5.0/_static/doctools.js b/v9.5.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.5.0/_static/doctools.js +++ b/v9.5.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/v9.5.0/_static/language_data.js b/v9.5.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.5.0/_static/language_data.js +++ b/v9.5.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/v9.5.0/_static/searchtools.js b/v9.5.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.5.0/_static/searchtools.js +++ b/v9.5.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/v9.5.0/changelog.html b/v9.5.0/changelog.html index cccbde108..f5812345f 100644 --- a/v9.5.0/changelog.html +++ b/v9.5.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -458,7 +466,7 @@

    9.3.0 13th December 2022

    @@ -740,7 +748,7 @@

    - + diff --git a/v9.5.0/development.html b/v9.5.0/development.html index b69ad20b3..9492daca8 100644 --- a/v9.5.0/development.html +++ b/v9.5.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Option 2 - + diff --git a/v9.5.0/genindex.html b/v9.5.0/genindex.html index 587522523..737d8556c 100644 --- a/v9.5.0/genindex.html +++ b/v9.5.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.5.0 + Index - Pydis Core v9.5.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -940,7 +948,7 @@

    W

    - + diff --git a/v9.5.0/index.html b/v9.5.0/index.html index fd252f407..0f8c2d00f 100644 --- a/v9.5.0/index.html +++ b/v9.5.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -547,7 +555,7 @@

    Extras - + diff --git a/v9.5.0/index_redirect.html b/v9.5.0/index_redirect.html index c122050df..288b7f404 100644 --- a/v9.5.0/index_redirect.html +++ b/v9.5.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.5.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.5.0/output/pydis_core.async_stats.html b/v9.5.0/output/pydis_core.async_stats.html index ad79ed0bb..b958fe797 100644 --- a/v9.5.0/output/pydis_core.async_stats.html +++ b/v9.5.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,11 +461,11 @@
    Parameters:
    @@ -466,10 +474,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

    @@ -551,7 +559,7 @@ - + diff --git a/v9.5.0/output/pydis_core.exts.html b/v9.5.0/output/pydis_core.exts.html index 5dee85342..24e30258b 100644 --- a/v9.5.0/output/pydis_core.exts.html +++ b/v9.5.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@ - + diff --git a/v9.5.0/output/pydis_core.html b/v9.5.0/output/pydis_core.html index f84dfbbc1..e2abeb2e1 100644 --- a/v9.5.0/output/pydis_core.html +++ b/v9.5.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,12 +461,12 @@
    Parameters:
    @@ -471,7 +479,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -482,7 +490,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -493,7 +501,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -504,7 +512,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -515,10 +523,10 @@

    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

    @@ -529,7 +537,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -542,7 +550,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -553,7 +561,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -564,7 +572,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -577,7 +585,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Optional[Command]

    +

    Optional[Command]

    @@ -591,7 +599,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -604,7 +612,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -614,7 +622,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -818,7 +826,7 @@

    Submodules - + diff --git a/v9.5.0/output/pydis_core.site_api.html b/v9.5.0/output/pydis_core.site_api.html index c5a1300f0..d56ed7d2a 100644 --- a/v9.5.0/output/pydis_core.site_api.html +++ b/v9.5.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -453,9 +461,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.

    @@ -467,7 +475,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -479,13 +487,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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:
    -

    Optional[dict]

    +

    Optional[dict]

    Returns:

    The JSON response the API returns, or None if the response is 204 No Content.

    @@ -499,7 +507,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -511,15 +519,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -530,7 +538,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -541,7 +549,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -552,7 +560,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -564,14 +572,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -587,7 +595,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.

    @@ -596,9 +604,9 @@
    Parameters:
      -
    • response (aiohttp.ClientResponse) – The response object from the request.

    • -
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • -
    • response_text (Optional[str]) – The text of the request, if any.

    • +
    • response (aiohttp.ClientResponse) – The response object from the request.

    • +
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • +
    • response_text (Optional[str]) – The text of the request, if any.

    @@ -699,7 +707,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.caching.html b/v9.5.0/output/pydis_core.utils.caching.html index b3b36d548..8df970725 100644 --- a/v9.5.0/output/pydis_core.utils.caching.html +++ b/v9.5.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -454,10 +462,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.

    @@ -471,7 +479,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.

    @@ -482,7 +490,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -565,7 +573,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.channel.html b/v9.5.0/output/pydis_core.utils.channel.html index 374fff932..3365699ee 100644 --- a/v9.5.0/output/pydis_core.utils.channel.html +++ b/v9.5.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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:
    @@ -477,11 +485,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.

    @@ -561,7 +569,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.commands.html b/v9.5.0/output/pydis_core.utils.commands.html index 4d47681ce..6316875ca 100644 --- a/v9.5.0/output/pydis_core.utils.commands.html +++ b/v9.5.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,14 +456,14 @@
    Parameters:
    • ctx (Context) – The command’s context

    • -
    • text (Optional[str]) – The provided text argument of the command (if given)

    • +
    • text (Optional[str]) – 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.

    @@ -534,7 +542,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.cooldown.html b/v9.5.0/output/pydis_core.utils.cooldown.html index 99497672d..81ebaa265 100644 --- a/v9.5.0/output/pydis_core.utils.cooldown.html +++ b/v9.5.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -457,7 +465,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -487,14 +495,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.function.html b/v9.5.0/output/pydis_core.utils.function.html index 3ce370b31..431a46a53 100644 --- a/v9.5.0/output/pydis_core.utils.function.html +++ b/v9.5.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -456,17 +464,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.

    @@ -487,9 +495,9 @@
    Parameters:
    Raises:
    @@ -497,7 +505,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -575,7 +583,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.html b/v9.5.0/output/pydis_core.utils.html index 674a13760..1fa456cbc 100644 --- a/v9.5.0/output/pydis_core.utils.html +++ b/v9.5.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,7 +455,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -466,10 +474,10 @@

    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.

    @@ -639,7 +647,7 @@

    Submodules - + diff --git a/v9.5.0/output/pydis_core.utils.interactions.html b/v9.5.0/output/pydis_core.utils.interactions.html index 528db0222..0a7735862 100644 --- a/v9.5.0/output/pydis_core.utils.interactions.html +++ b/v9.5.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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.

    @@ -466,7 +474,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -481,11 +489,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 (Optional[float]) – 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 (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – 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.

    @@ -504,7 +512,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -515,7 +523,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -603,7 +611,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.logging.html b/v9.5.0/output/pydis_core.utils.logging.html index d302a5cc2..a9dbd0464 100644 --- a/v9.5.0/output/pydis_core.utils.logging.html +++ b/v9.5.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,8 +452,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]
    @@ -457,13 +465,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

    @@ -476,7 +484,7 @@

    Utility to make mypy recognise that logger is of type CustomLogger.

    Parameters:
    -

    name (Optional[str]) – The name given to the logger.

    +

    name (Optional[str]) – The name given to the logger.

    Return type:

    CustomLogger

    @@ -562,7 +570,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.members.html b/v9.5.0/output/pydis_core.utils.members.html index d88094500..cd163e516 100644 --- a/v9.5.0/output/pydis_core.utils.members.html +++ b/v9.5.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,10 +455,10 @@

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Optional[Member]

    +

    Optional[Member]

    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.

    @@ -465,12 +473,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -547,7 +555,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.regex.html b/v9.5.0/output/pydis_core.utils.regex.html index 33ecc43d1..0995d5124 100644 --- a/v9.5.0/output/pydis_core.utils.regex.html +++ b/v9.5.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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().

    @@ -544,7 +552,7 @@ - + diff --git a/v9.5.0/output/pydis_core.utils.scheduling.html b/v9.5.0/output/pydis_core.utils.scheduling.html index b966b2f94..12926c7ae 100644 --- a/v9.5.0/output/pydis_core.utils.scheduling.html +++ b/v9.5.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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 @@ -458,16 +466,16 @@

    __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.

    @@ -478,7 +486,7 @@

    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.

    @@ -489,10 +497,10 @@

    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

    @@ -503,7 +511,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -517,12 +525,12 @@
    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

    @@ -539,13 +547,13 @@
    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

    @@ -559,13 +567,13 @@
    Parameters:
      -
    • delay (Union[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 (Union[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

    @@ -575,23 +583,23 @@
    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

    @@ -677,7 +685,7 @@ - + diff --git a/v9.5.0/py-modindex.html b/v9.5.0/py-modindex.html index 0d8291ab3..5e68e9ba4 100644 --- a/v9.5.0/py-modindex.html +++ b/v9.5.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.5.0 + Python Module Index - Pydis Core v9.5.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Python Module Index

    - + diff --git a/v9.5.0/search.html b/v9.5.0/search.html index a71e984cb..b6a8e526d 100644 --- a/v9.5.0/search.html +++ b/v9.5.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.5.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -476,7 +484,7 @@ - + diff --git a/v9.5.0/searchindex.js b/v9.5.0/searchindex.js index 3b07d61c7..967b2b2e2 100644 --- a/v9.5.0/searchindex.js +++ b/v9.5.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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.5.0/versions.html b/v9.5.0/versions.html index 4c92a6c16..0468126ee 100644 --- a/v9.5.0/versions.html +++ b/v9.5.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.5.0 - + @@ -316,6 +316,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -538,6 +546,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -665,7 +685,7 @@

    Versions

    - + diff --git a/v9.5.1/.buildinfo b/v9.5.1/.buildinfo index 6a53e8c35..fde4161ae 100644 --- a/v9.5.1/.buildinfo +++ b/v9.5.1/.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: 37eae90484c4dd2618520f07fc082628 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: f6a97df9b1d798259cebb2fe16e77679 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.5.1/_static/basic.css b/v9.5.1/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.5.1/_static/basic.css +++ b/v9.5.1/_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/v9.5.1/_static/doctools.js b/v9.5.1/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.5.1/_static/doctools.js +++ b/v9.5.1/_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/v9.5.1/_static/language_data.js b/v9.5.1/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.5.1/_static/language_data.js +++ b/v9.5.1/_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/v9.5.1/_static/searchtools.js b/v9.5.1/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.5.1/_static/searchtools.js +++ b/v9.5.1/_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/v9.5.1/changelog.html b/v9.5.1/changelog.html index 11baf2eab..42ef47457 100644 --- a/v9.5.1/changelog.html +++ b/v9.5.1/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -467,7 +475,7 @@

    9.3.0 13th December 2022

    @@ -749,7 +757,7 @@

    - + diff --git a/v9.5.1/development.html b/v9.5.1/development.html index a826c0947..8fd6d0bc0 100644 --- a/v9.5.1/development.html +++ b/v9.5.1/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Option 2 - + diff --git a/v9.5.1/genindex.html b/v9.5.1/genindex.html index 4216d2875..cb15db338 100644 --- a/v9.5.1/genindex.html +++ b/v9.5.1/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.5.1 + Index - Pydis Core v9.5.1 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -940,7 +948,7 @@

    W

    - + diff --git a/v9.5.1/index.html b/v9.5.1/index.html index 5f5c05e74..7e8a718a1 100644 --- a/v9.5.1/index.html +++ b/v9.5.1/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -547,7 +555,7 @@

    Extras - + diff --git a/v9.5.1/index_redirect.html b/v9.5.1/index_redirect.html index 2ece8af3d..24269714c 100644 --- a/v9.5.1/index_redirect.html +++ b/v9.5.1/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.5.1 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.5.1/output/pydis_core.async_stats.html b/v9.5.1/output/pydis_core.async_stats.html index 7a8c9a9b0..1b30c438a 100644 --- a/v9.5.1/output/pydis_core.async_stats.html +++ b/v9.5.1/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,11 +461,11 @@
    Parameters:
    @@ -466,10 +474,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

    @@ -551,7 +559,7 @@ - + diff --git a/v9.5.1/output/pydis_core.exts.html b/v9.5.1/output/pydis_core.exts.html index 4faf37d50..731600a73 100644 --- a/v9.5.1/output/pydis_core.exts.html +++ b/v9.5.1/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@ - + diff --git a/v9.5.1/output/pydis_core.html b/v9.5.1/output/pydis_core.html index 96ae30546..91ee00e08 100644 --- a/v9.5.1/output/pydis_core.html +++ b/v9.5.1/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,12 +461,12 @@
    Parameters:
    @@ -471,7 +479,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -482,7 +490,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -493,7 +501,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -504,7 +512,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -515,10 +523,10 @@

    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

    @@ -529,7 +537,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -542,7 +550,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -553,7 +561,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -564,7 +572,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -577,7 +585,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Optional[Command]

    +

    Optional[Command]

    @@ -591,7 +599,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -604,7 +612,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -614,7 +622,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -818,7 +826,7 @@

    Submodules - + diff --git a/v9.5.1/output/pydis_core.site_api.html b/v9.5.1/output/pydis_core.site_api.html index 9e9f2eaf9..7bd45969c 100644 --- a/v9.5.1/output/pydis_core.site_api.html +++ b/v9.5.1/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -453,9 +461,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.

    @@ -467,7 +475,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -479,13 +487,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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:
    -

    Optional[dict]

    +

    Optional[dict]

    Returns:

    The JSON response the API returns, or None if the response is 204 No Content.

    @@ -499,7 +507,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -511,15 +519,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -530,7 +538,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -541,7 +549,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -552,7 +560,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -564,14 +572,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -587,7 +595,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.

    @@ -596,9 +604,9 @@
    Parameters:
      -
    • response (aiohttp.ClientResponse) – The response object from the request.

    • -
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • -
    • response_text (Optional[str]) – The text of the request, if any.

    • +
    • response (aiohttp.ClientResponse) – The response object from the request.

    • +
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • +
    • response_text (Optional[str]) – The text of the request, if any.

    @@ -699,7 +707,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.caching.html b/v9.5.1/output/pydis_core.utils.caching.html index 49aa4fbd1..66df0147a 100644 --- a/v9.5.1/output/pydis_core.utils.caching.html +++ b/v9.5.1/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -454,10 +462,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.

    @@ -471,7 +479,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.

    @@ -482,7 +490,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -565,7 +573,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.channel.html b/v9.5.1/output/pydis_core.utils.channel.html index 573786fd3..1afcba617 100644 --- a/v9.5.1/output/pydis_core.utils.channel.html +++ b/v9.5.1/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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:
    @@ -477,11 +485,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.

    @@ -561,7 +569,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.commands.html b/v9.5.1/output/pydis_core.utils.commands.html index c46c65aa8..f37be667c 100644 --- a/v9.5.1/output/pydis_core.utils.commands.html +++ b/v9.5.1/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,14 +456,14 @@
    Parameters:
    • ctx (Context) – The command’s context

    • -
    • text (Optional[str]) – The provided text argument of the command (if given)

    • +
    • text (Optional[str]) – 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.

    @@ -534,7 +542,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.cooldown.html b/v9.5.1/output/pydis_core.utils.cooldown.html index 9f72f645f..87fa0c958 100644 --- a/v9.5.1/output/pydis_core.utils.cooldown.html +++ b/v9.5.1/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -457,7 +465,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -487,14 +495,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.function.html b/v9.5.1/output/pydis_core.utils.function.html index 05e7f41ff..de908b645 100644 --- a/v9.5.1/output/pydis_core.utils.function.html +++ b/v9.5.1/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -456,17 +464,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.

    @@ -487,9 +495,9 @@
    Parameters:
    Raises:
    @@ -497,7 +505,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -575,7 +583,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.html b/v9.5.1/output/pydis_core.utils.html index 0ce036062..18e21fe57 100644 --- a/v9.5.1/output/pydis_core.utils.html +++ b/v9.5.1/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,7 +455,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -466,10 +474,10 @@

    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.

    @@ -639,7 +647,7 @@

    Submodules - + diff --git a/v9.5.1/output/pydis_core.utils.interactions.html b/v9.5.1/output/pydis_core.utils.interactions.html index 90de6ea14..92902f17b 100644 --- a/v9.5.1/output/pydis_core.utils.interactions.html +++ b/v9.5.1/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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.

    @@ -466,7 +474,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -481,11 +489,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 (Optional[float]) – 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 (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – 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.

    @@ -504,7 +512,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -515,7 +523,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -603,7 +611,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.logging.html b/v9.5.1/output/pydis_core.utils.logging.html index 87981cce2..e56a3527c 100644 --- a/v9.5.1/output/pydis_core.utils.logging.html +++ b/v9.5.1/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,8 +452,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]
    @@ -457,13 +465,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

    @@ -476,7 +484,7 @@

    Utility to make mypy recognise that logger is of type CustomLogger.

    Parameters:
    -

    name (Optional[str]) – The name given to the logger.

    +

    name (Optional[str]) – The name given to the logger.

    Return type:

    CustomLogger

    @@ -562,7 +570,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.members.html b/v9.5.1/output/pydis_core.utils.members.html index ccc952957..31b129722 100644 --- a/v9.5.1/output/pydis_core.utils.members.html +++ b/v9.5.1/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,10 +455,10 @@

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Optional[Member]

    +

    Optional[Member]

    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.

    @@ -465,12 +473,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -547,7 +555,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.regex.html b/v9.5.1/output/pydis_core.utils.regex.html index 7bf1a6a05..933113dde 100644 --- a/v9.5.1/output/pydis_core.utils.regex.html +++ b/v9.5.1/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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().

    @@ -544,7 +552,7 @@ - + diff --git a/v9.5.1/output/pydis_core.utils.scheduling.html b/v9.5.1/output/pydis_core.utils.scheduling.html index cb4c1e451..274d85b13 100644 --- a/v9.5.1/output/pydis_core.utils.scheduling.html +++ b/v9.5.1/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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 @@ -458,16 +466,16 @@

    __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.

    @@ -478,7 +486,7 @@

    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.

    @@ -489,10 +497,10 @@

    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

    @@ -503,7 +511,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -517,12 +525,12 @@
    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

    @@ -539,13 +547,13 @@
    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

    @@ -559,13 +567,13 @@
    Parameters:
      -
    • delay (Union[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 (Union[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

    @@ -575,23 +583,23 @@
    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

    @@ -677,7 +685,7 @@ - + diff --git a/v9.5.1/py-modindex.html b/v9.5.1/py-modindex.html index 3dec09bee..3400fc392 100644 --- a/v9.5.1/py-modindex.html +++ b/v9.5.1/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.5.1 + Python Module Index - Pydis Core v9.5.1 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Python Module Index

    - + diff --git a/v9.5.1/search.html b/v9.5.1/search.html index 6eee2f0c1..6c332ece0 100644 --- a/v9.5.1/search.html +++ b/v9.5.1/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.5.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -476,7 +484,7 @@ - + diff --git a/v9.5.1/searchindex.js b/v9.5.1/searchindex.js index b5bb06850..a00d59164 100644 --- a/v9.5.1/searchindex.js +++ b/v9.5.1/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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "64": 0, "65": 0, "66": 0, "68": 0, "69": 0, "7": 0, "72": 0, "75": 0, "78": 0, "79": 0, "8": 0, "8125": 4, "88": 0, "9": 0, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.5.1/versions.html b/v9.5.1/versions.html index d8ceaaa24..e7dcc81fb 100644 --- a/v9.5.1/versions.html +++ b/v9.5.1/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.5.1 - + @@ -316,6 +316,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -538,6 +546,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -665,7 +685,7 @@

    Versions

    - + diff --git a/v9.6.0/.buildinfo b/v9.6.0/.buildinfo index b8446f204..6548537dd 100644 --- a/v9.6.0/.buildinfo +++ b/v9.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: 1b06d00b2bd204632c42c74cd3f9d040 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 9d7427058884594a292b3fb945de6112 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.6.0/_static/basic.css b/v9.6.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.6.0/_static/basic.css +++ b/v9.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/v9.6.0/_static/doctools.js b/v9.6.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.6.0/_static/doctools.js +++ b/v9.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/v9.6.0/_static/language_data.js b/v9.6.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.6.0/_static/language_data.js +++ b/v9.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/v9.6.0/_static/searchtools.js b/v9.6.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.6.0/_static/searchtools.js +++ b/v9.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/v9.6.0/changelog.html b/v9.6.0/changelog.html index 39c1c2781..40ddb2714 100644 --- a/v9.6.0/changelog.html +++ b/v9.6.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -473,7 +481,7 @@

    9.3.0 13th December 2022

    @@ -755,7 +763,7 @@

    - + diff --git a/v9.6.0/development.html b/v9.6.0/development.html index f791874ad..7aa1fa6b7 100644 --- a/v9.6.0/development.html +++ b/v9.6.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Option 2 - + diff --git a/v9.6.0/genindex.html b/v9.6.0/genindex.html index bfb799cd1..14483fc44 100644 --- a/v9.6.0/genindex.html +++ b/v9.6.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.6.0 + Index - Pydis Core v9.6.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -940,7 +948,7 @@

    W

    - + diff --git a/v9.6.0/index.html b/v9.6.0/index.html index e395e23cb..62559995b 100644 --- a/v9.6.0/index.html +++ b/v9.6.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -547,7 +555,7 @@

    Extras - + diff --git a/v9.6.0/index_redirect.html b/v9.6.0/index_redirect.html index 2b6696c3f..ec3f3406a 100644 --- a/v9.6.0/index_redirect.html +++ b/v9.6.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.6.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.6.0/output/pydis_core.async_stats.html b/v9.6.0/output/pydis_core.async_stats.html index 849952abc..9e1dae782 100644 --- a/v9.6.0/output/pydis_core.async_stats.html +++ b/v9.6.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,11 +461,11 @@
    Parameters:
    @@ -466,10 +474,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

    @@ -551,7 +559,7 @@ - + diff --git a/v9.6.0/output/pydis_core.exts.html b/v9.6.0/output/pydis_core.exts.html index af90b03d0..09d97df25 100644 --- a/v9.6.0/output/pydis_core.exts.html +++ b/v9.6.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@ - + diff --git a/v9.6.0/output/pydis_core.html b/v9.6.0/output/pydis_core.html index 9200dc780..da6dc8354 100644 --- a/v9.6.0/output/pydis_core.html +++ b/v9.6.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,12 +461,12 @@
    Parameters:
    @@ -471,7 +479,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -482,7 +490,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -493,7 +501,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -504,7 +512,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -515,10 +523,10 @@

    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

    @@ -529,7 +537,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -542,7 +550,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -553,7 +561,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -564,7 +572,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -577,7 +585,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Optional[Command]

    +

    Optional[Command]

    @@ -591,7 +599,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -604,7 +612,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -614,7 +622,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -818,7 +826,7 @@

    Submodules - + diff --git a/v9.6.0/output/pydis_core.site_api.html b/v9.6.0/output/pydis_core.site_api.html index 08663578f..6c97e2434 100644 --- a/v9.6.0/output/pydis_core.site_api.html +++ b/v9.6.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -453,9 +461,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.

    @@ -467,7 +475,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -479,13 +487,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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:
    -

    Optional[dict]

    +

    Optional[dict]

    Returns:

    The JSON response the API returns, or None if the response is 204 No Content.

    @@ -499,7 +507,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -511,15 +519,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -530,7 +538,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -541,7 +549,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -552,7 +560,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -564,14 +572,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -587,7 +595,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.

    @@ -596,9 +604,9 @@
    Parameters:
      -
    • response (aiohttp.ClientResponse) – The response object from the request.

    • -
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • -
    • response_text (Optional[str]) – The text of the request, if any.

    • +
    • response (aiohttp.ClientResponse) – The response object from the request.

    • +
    • response_json (Optional[dict]) – The JSON response returned from the request, if any.

    • +
    • response_text (Optional[str]) – The text of the request, if any.

    @@ -699,7 +707,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.caching.html b/v9.6.0/output/pydis_core.utils.caching.html index cbfe364dd..48a70e991 100644 --- a/v9.6.0/output/pydis_core.utils.caching.html +++ b/v9.6.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -454,10 +462,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.

    @@ -471,7 +479,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.

    @@ -482,7 +490,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -565,7 +573,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.channel.html b/v9.6.0/output/pydis_core.utils.channel.html index 8c045c588..e4d5076bc 100644 --- a/v9.6.0/output/pydis_core.utils.channel.html +++ b/v9.6.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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:
    @@ -477,11 +485,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.

    @@ -561,7 +569,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.commands.html b/v9.6.0/output/pydis_core.utils.commands.html index 433cc5b82..235ed516f 100644 --- a/v9.6.0/output/pydis_core.utils.commands.html +++ b/v9.6.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -448,14 +456,14 @@
    Parameters:
    • ctx (Context) – The command’s context

    • -
    • text (Optional[str]) – The provided text argument of the command (if given)

    • +
    • text (Optional[str]) – 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.

    @@ -534,7 +542,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.cooldown.html b/v9.6.0/output/pydis_core.utils.cooldown.html index 476976cb3..b50f5a0ac 100644 --- a/v9.6.0/output/pydis_core.utils.cooldown.html +++ b/v9.6.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -457,7 +465,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -487,14 +495,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.

    @@ -584,7 +592,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.function.html b/v9.6.0/output/pydis_core.utils.function.html index 736e70eaa..2834aa9c5 100644 --- a/v9.6.0/output/pydis_core.utils.function.html +++ b/v9.6.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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.

    @@ -456,17 +464,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.

    @@ -487,9 +495,9 @@
    Parameters:
    Raises:
    @@ -497,7 +505,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -575,7 +583,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.html b/v9.6.0/output/pydis_core.utils.html index 9ce694b92..2910aae2e 100644 --- a/v9.6.0/output/pydis_core.utils.html +++ b/v9.6.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,7 +455,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -466,10 +474,10 @@

    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.

    @@ -639,7 +647,7 @@

    Submodules - + diff --git a/v9.6.0/output/pydis_core.utils.interactions.html b/v9.6.0/output/pydis_core.utils.interactions.html index 55830e439..c05035123 100644 --- a/v9.6.0/output/pydis_core.utils.interactions.html +++ b/v9.6.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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.

    @@ -466,7 +474,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -481,11 +489,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 (Optional[float]) – 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 (Optional[float]) – Timeout in seconds from last interaction with the UI before no longer accepting input. If None then there is no timeout.

    • -
    • message (Optional[Message]) – The message to remove the view from on timeout. This can also be set with +

    • message (Optional[Message]) – 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.

    @@ -504,7 +512,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -515,7 +523,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -603,7 +611,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.logging.html b/v9.6.0/output/pydis_core.utils.logging.html index 3e0cbd00e..c06a491a2 100644 --- a/v9.6.0/output/pydis_core.utils.logging.html +++ b/v9.6.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,8 +452,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]
    @@ -457,13 +465,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

    @@ -476,7 +484,7 @@

    Utility to make mypy recognise that logger is of type CustomLogger.

    Parameters:
    -

    name (Optional[str]) – The name given to the logger.

    +

    name (Optional[str]) – The name given to the logger.

    Return type:

    CustomLogger

    @@ -562,7 +570,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.members.html b/v9.6.0/output/pydis_core.utils.members.html index 9e63b9d0c..ab70c072e 100644 --- a/v9.6.0/output/pydis_core.utils.members.html +++ b/v9.6.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -447,10 +455,10 @@

    Attempt to get a member from cache; on failure fetch from the API.

    Return type:
    -

    Optional[Member]

    +

    Optional[Member]

    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.

    @@ -465,12 +473,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -547,7 +555,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.regex.html b/v9.6.0/output/pydis_core.utils.regex.html index 82f753e8f..9cf01ac42 100644 --- a/v9.6.0/output/pydis_core.utils.regex.html +++ b/v9.6.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,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().

    @@ -544,7 +552,7 @@ - + diff --git a/v9.6.0/output/pydis_core.utils.scheduling.html b/v9.6.0/output/pydis_core.utils.scheduling.html index 4cee59ff5..ee0f427ea 100644 --- a/v9.6.0/output/pydis_core.utils.scheduling.html +++ b/v9.6.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -444,7 +452,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 @@ -458,16 +466,16 @@

    __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.

    @@ -478,7 +486,7 @@

    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.

    @@ -489,10 +497,10 @@

    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

    @@ -503,7 +511,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -517,12 +525,12 @@
    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

    @@ -539,13 +547,13 @@
    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

    @@ -559,13 +567,13 @@
    Parameters:
      -
    • delay (Union[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 (Union[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

    @@ -575,23 +583,23 @@
    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

    @@ -677,7 +685,7 @@ - + diff --git a/v9.6.0/py-modindex.html b/v9.6.0/py-modindex.html index b80b1cbd9..62696977e 100644 --- a/v9.6.0/py-modindex.html +++ b/v9.6.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.6.0 + Python Module Index - Pydis Core v9.6.0 - + @@ -315,6 +315,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -567,7 +575,7 @@

    Python Module Index

    - + diff --git a/v9.6.0/search.html b/v9.6.0/search.html index 25a2d09fb..05aabbf79 100644 --- a/v9.6.0/search.html +++ b/v9.6.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.6.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -476,7 +484,7 @@ - + diff --git a/v9.6.0/searchindex.js b/v9.6.0/searchindex.js index 2760f74b4..e5af08620 100644 --- a/v9.6.0/searchindex.js +++ b/v9.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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [0, 3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "function": [[12, null]], "interactions": [[13, null]], "logging": [[14, null]], "members": [[15, null]], "regex": [[16, null]], "scheduling": [[17, 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.commands", "output/pydis_core.utils.cooldown", "output/pydis_core.utils.function", "output/pydis_core.utils.interactions", "output/pydis_core.utils.logging", "output/pydis_core.utils.members", "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.commands.rst", "output/pydis_core.utils.cooldown.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.regex.rst", "output/pydis_core.utils.scheduling.rst"], "indexentries": {"__call__() (asynccache method)": [[8, "pydis_core.utils.caching.AsyncCache.__call__", false]], "__contains__() (scheduler method)": [[17, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[13, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[12, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[14, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[13, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[16, "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)": [[14, "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)": [[15, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[12, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_role_change() (in module pydis_core.utils.members)": [[15, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", false]], "log_to_dev_log() (botbase method)": [[3, "pydis_core.BotBase.log_to_dev_log", false]], "maybe_raise_for_status() (apiclient static method)": [[6, "pydis_core.site_api.APIClient.maybe_raise_for_status", 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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.function", false], [13, "module-pydis_core.utils.interactions", false], [14, "module-pydis_core.utils.logging", false], [15, "module-pydis_core.utils.members", false], [16, "module-pydis_core.utils.regex", false], [17, "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)": [[13, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", 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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.function": [[12, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[13, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[14, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[15, "module-pydis_core.utils.members", false]], "pydis_core.utils.regex": [[16, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[17, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[16, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[17, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[17, "pydis_core.utils.scheduling.Scheduler", false]], "setup_hook() (botbase method)": [[3, "pydis_core.BotBase.setup_hook", false]], "startuperror": [[3, "pydis_core.StartupError", false]], "trace() (customlogger method)": [[14, "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)": [[12, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[13, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "function"], [13, 0, 0, "-", "interactions"], [14, 0, 0, "-", "logging"], [15, 0, 0, "-", "members"], [16, 0, 0, "-", "regex"], [17, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.function": [[12, 3, 1, "", "GlobalNameConflictError"], [12, 4, 1, "", "command_wraps"], [12, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[13, 1, 1, "", "DeleteMessageButton"], [13, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "interaction_check"], [13, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[14, 1, 1, "", "CustomLogger"], [14, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[14, 2, 1, "", "trace"]], "pydis_core.utils.members": [[15, 4, 1, "", "get_or_fetch_member"], [15, 4, 1, "", "handle_role_change"]], "pydis_core.utils.regex": [[16, 5, 1, "", "DISCORD_INVITE"], [16, 5, 1, "", "FORMATTED_CODE_REGEX"], [16, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[17, 1, 1, "", "Scheduler"], [17, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[17, 2, 1, "", "__contains__"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "cancel"], [17, 2, 1, "", "cancel_all"], [17, 2, 1, "", "schedule"], [17, 2, 1, "", "schedule_at"], [17, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 12, 13, 14, 16, 17], "0": [0, 8, 13, 14], "0a0": 0, "0eb3d26": 0, "1": [0, 14], "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, "17th": 0, "180": 13, "18th": 0, "19th": 0, "2": [0, 3, 13], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 12, 13, 17], "For": 12, "If": [3, 6, 11, 12, 13, 17], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "To": [1, 3, 14], "_": 0, "__annotations__": 12, "__call__": [7, 8], "__contains__": [7, 17], "__dict__": 12, "__doc__": 12, "__global__": 12, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 13, 17], "__module__": 12, "__name__": 12, "__qualname__": 12, "__str__": [3, 6], "_guild_avail": 0, "_p": 12, "_r": 12, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 17], "accept": 13, "act": 7, "actual": 0, "ad": [0, 1, 7, 13, 14], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 15, "after": [0, 3, 13, 17], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 17], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 13], "allowed_rol": [1, 3, 13], "allowed_us": 13, "alpha": 0, "alreadi": 17, "also": [0, 7, 12, 13], "an": [0, 1, 3, 4, 6, 7, 8, 9, 14, 17], "ani": [6, 16, 17], "annot": 12, "anyth": 1, "api": [0, 6, 15], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 12, 13, 16], "arg": [3, 11, 14], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 14, 15], "around": 6, "assign": 12, "async": [0, 3, 4, 6, 8, 9, 10, 11, 13, 15], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 17], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 15], "attr": 0, "attribut": [7, 12], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 13, 15], "awar": 17, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 12, 13, 14, 17], "basic": [0, 13], "becaus": [3, 12], "becom": 3, "been": 0, "befor": [0, 3, 13, 17], "behav": 12, "behaviour": 0, "being": [0, 7, 15], "below": 1, "between": [0, 1, 12], "block": [0, 11, 16], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 13, 17], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": 1, "break": [0, 12], "broke": 0, "bug": 0, "bump": 0, "button": [0, 13], "buttonstyl": 13, "cach": [0, 3, 7, 9, 15], "calcul": 17, "call": [3, 11, 12, 17], "call_without_cooldown": [7, 11], "callabl": [8, 11, 12, 15], "callback": [7, 13], "can": [0, 1, 13, 17], "cancel": [7, 17], "cancel_al": [7, 17], "cannot": [0, 3], "captur": [0, 12, 16], "carri": 13, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 12], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 13, 17], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 13, 14, 17], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 13, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6], "close": [0, 2, 3, 6, 17], "cloudflar": 7, "code": [0, 1, 16], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 12], "command_wrap": [3, 7, 12], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 14, 16], "commun": 4, "compos": 1, "configur": 1, "conflict": 12, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 13, 17], "content": [0, 6, 10], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 12], "core": [0, 1], "coro": [15, 17], "coroutin": [8, 15, 17], "correct": [0, 1], "could": 15, "crash": 0, "creat": [0, 3, 4, 8, 11, 12, 17], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 17], "creation": 0, "ctx": [10, 13], "current": 17, "custom": [0, 8, 14], "customlogg": [3, 7, 14], "d": [1, 12], "datetim": 17, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 12], "default": 1, "delai": 17, "delet": [0, 3, 6, 8, 13], "deletemessagebutton": [0, 3, 7, 13], "depend": [0, 9], "deprec": 0, "detail": 12, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 12], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 15, 16], "discord_invit": [0, 3, 7, 16], "disnak": 0, "distinguish": 17, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 17, "don": [0, 17], "done": [13, 17], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 17, "emit": 3, "empti": 3, "enabl": 1, "endpoint": 6, "ensur": [3, 13, 16], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [3, 6, 7, 15], "etc": 1, "evalu": 12, "event": [0, 3, 4, 17], "event_loop": 17, "exact": 1, "exc_info": 14, "exce": 8, "except": [3, 6, 11, 12, 14, 17], "execut": 17, "exist": [1, 17], "expect": 15, "explain": 0, "express": 16, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": 9, "failur": 15, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 15], "few": 1, "fifo": 8, "file": 1, "filter": 0, "fix": 0, "float": [11, 13, 17], "folder": 1, "forbidden": 9, "format": 16, "formatted_code_regex": [3, 7, 16], "forum": 0, "forwardref": 12, "found": [12, 15, 17], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 12, 13, 15, 17], "frozenset": 12, "function": [0, 3, 7, 8, 9, 11, 14, 15, 17], "functool": 12, "futur": 17, "gatewai": 3, "gener": [0, 3, 11, 17], "get": [0, 3, 6, 9, 15], "get_logg": [3, 7, 14], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 15], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 14, 15, 17], "global": 12, "globalnameconflicterror": [3, 7, 12], "go": 1, "groundwork": 1, "group": [7, 16], "guild": [0, 1, 3, 15], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 15, 17], "handle_role_chang": [0, 3, 7, 15], "hashabl": 17, "have": [0, 9, 12, 14], "heavi": 7, "help": [0, 1], "helper": [9, 11, 15], "hook": 0, "host": 4, "houston": 14, "how": [0, 8, 12, 17], "howev": 1, "http": [0, 6, 16], "http_session": 3, "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 17], "id": [1, 3, 9, 13, 17], "identifi": 17, "ignor": [1, 7, 12], "ignored_conflict_nam": 12, "immedi": 17, "implement": [3, 4, 8, 13, 14], "import": 0, "inadequ": 3, "includ": 1, "incorrect": 0, "index": 2, "indic": 15, "individu": 3, "info": 1, "inform": [2, 14], "init": [0, 3, 4], "initi": [6, 17], "initialis": [3, 8], "input": 13, "instal": 1, "instanc": [0, 3, 6, 8, 9, 14, 17], "instanti": [3, 13, 17], "instead": [3, 11, 17], "int": [3, 4, 8, 9, 13, 17], "intend": 15, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 15, "interaction_check": [7, 13], "interest": 14, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 16], "invoc": [0, 11], "invok": [1, 11, 13], "is_in_categori": [3, 7, 9], "item": 8, "iter": 11, "its": [0, 3, 11, 12], "itself": 13, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 17, "kei": 8, "keyword": [6, 7, 14], "known": 17, "kwarg": [3, 6, 11, 13, 14, 17], "label": 13, "lancebot": 1, "last": 13, "latest": 0, "lead": 0, "length": 11, "level": [7, 14], "librari": 1, "like": [1, 12], "lint": 0, "list": [1, 3], "ll": [1, 17], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 15, 17], "log_to_dev_log": [2, 3], "logger": [0, 14], "logic": 0, "long": 17, "longer": [0, 13], "look": [12, 17], "loop": [4, 17], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 14], "mani": [0, 3, 8], "manipul": [0, 12], "manual": 3, "march": 0, "match": [0, 3], "max_siz": 8, "maximum": 8, "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 15, "mention": [1, 3], "messag": [0, 3, 10, 11, 13, 14, 17], "message_typ": 0, "method": [0, 4, 6, 7, 14], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 13, "modifi": [1, 15], "modul": [0, 3, 7, 12, 17], "monitor": 1, "monkei": [0, 7], "more": [1, 12], "most": 1, "move": 0, "msg": 14, "multivers": 0, "must": 17, "mypi": 14, "name": [3, 7, 12, 14, 17], "namespac": [0, 17], "navig": 1, "na\u00efv": 17, "need": [0, 1], "new": [0, 1, 4, 6, 8, 12, 17], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 13, 14, 15, 17], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 17], "number": 0, "object": [6, 7, 8, 9, 11, 15, 17], "occur": 13, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 13], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 17], "option": [0, 3, 6, 8, 10, 13, 14, 15], "order": [8, 17], "origin": 13, "other": [1, 17], "otherwis": 17, "our": [0, 1, 7], "out": [0, 1, 13], "output": 16, "own": [0, 12], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "paramspec": [11, 12], "parent": [0, 13], "pars": 16, "pass": [0, 6, 14, 15, 17], "past": 17, "patch": [0, 3, 6, 7], "path": 1, "pattern": 16, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 16, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6], "pre": 1, "prefix": [1, 4], "prematur": 17, "press": 0, "prevent": [11, 17], "problem": 14, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 17], "public": 0, "publish": 0, "purpos": 15, "put": [3, 6], "py": [0, 12], "pydi": 2, "pydis_cor": [0, 1, 3, 13], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17], "qualifi": 7, "quot": 16, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 15, 17], "raise_for_statu": 6, "rather": 7, "raw": [11, 16], "raw_code_regex": [3, 7, 16], "rc2": 0, "re": [1, 3, 17], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 14, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 12, "regex": [0, 3, 7], "regular": 16, "reinstal": 1, "relat": [8, 14], "releas": 0, "remov": [0, 3, 13], "remove_command": [2, 3], "remove_rol": 15, "renam": 0, "replac": 12, "repli": [10, 11], "repo": 0, "represent": 6, "request": [0, 3, 6, 16], "requir": [1, 3, 17], "resolut": 0, "resolv": [3, 12], "respons": 6, "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 17], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 13, 15], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "run": [0, 1, 11, 17], "safe": 0, "same": [11, 17], "sampl": 0, "sanitis": 16, "save": [0, 3], "schedul": [0, 3, 7], "schedule_at": [7, 17], "schedule_lat": [7, 17], "search": 2, "second": [3, 11, 13, 17], "secondari": 13, "see": [1, 12, 13], "self": [0, 3, 13], "send": [6, 13], "send_notic": 11, "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 12, 13], "server": [3, 16], "servic": [1, 3], "session": [0, 3, 6], "session_kwarg": 6, "set": [0, 1, 3, 11, 12, 13], "setup": [0, 3], "setup_hook": [2, 3], "sever": 14, "share": [0, 12], "should": [0, 1, 6, 13], "should_rais": 6, "signatur": 11, "similar": [13, 16], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": 8, "so": [0, 1, 7], "socket": 4, "sole": 15, "some": 0, "someth": 16, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "specifi": [0, 11, 13], "sphinx": 0, "stabl": 0, "start": [0, 3, 17], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 12, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 12, 13, 14, 17], "string": [0, 6], "style": 13, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 17, "success": 0, "suggest": 17, "support": [0, 4, 7, 17], "suppressed_except": 17, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 17], "target": 8, "task": [0, 17], "task_id": 17, "task_return": 17, "templat": 1, "test": 2, "text": [6, 10], "textchannel": 9, "than": 7, "thei": [3, 12], "them": [1, 3, 12, 17], "thi": [0, 1, 3, 7, 9, 11, 12, 13, 15, 16, 17], "thrown": 7, "thu": 3, "time": [0, 17], "timeout": [0, 13], "timezon": 17, "token": [1, 6], "toml": [0, 1], "tool": [3, 7], "top": 7, "trace": [0, 7, 14], "track": 17, "transport": 4, "true": [3, 6, 11, 14, 17], "tupl": 17, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "typehint": 12, "typevar": [11, 12, 17], "ui": 13, "unavail": 3, "unawait": 17, "under": 7, "union": 17, "uniqu": 17, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 17, "until": [3, 16], "up": [0, 1, 3], "updat": [0, 12], "update_wrapper_glob": [3, 7, 12], "upon": 0, "url": [0, 3, 6], "urllib": 16, "us": [0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 16, 17], "user": [0, 11, 13], "utc": 17, "util": [0, 1, 2, 3, 8, 12, 13, 14], "v1": 0, "valu": [11, 12, 14], "valueerror": 6, "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 13], "viewwithuserandrolecheck": [0, 3, 7, 13], "wa": [0, 9, 17], "wait": [0, 3, 17], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 17, "wasn": 10, "we": [14, 15], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 12, 17], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 17], "while": 11, "whitespac": [0, 16], "who": 13, "within": [0, 3], "won": 12, "work": [0, 1], "worker": 7, "wrap": [8, 12, 17], "wrapper": [0, 6, 11, 12, 17], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 16], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "function", "interactions", "logging", "members", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "ext": 5, "extra": 2, "function": 12, "interact": 13, "local": 1, "log": 14, "member": 15, "modul": 2, "option": 1, "project": 2, "pydi": 3, "refer": 2, "regex": 16, "schedul": 17, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.6.0/versions.html b/v9.6.0/versions.html index 0cb17f241..2d32babfd 100644 --- a/v9.6.0/versions.html +++ b/v9.6.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.6.0 - + @@ -316,6 +316,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -538,6 +546,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -665,7 +685,7 @@

    Versions

    - + diff --git a/v9.7.0/.buildinfo b/v9.7.0/.buildinfo index ecfed3501..e7f4fb53a 100644 --- a/v9.7.0/.buildinfo +++ b/v9.7.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: b390224cf406bcb7402acff5b59182b2 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 9ea52ba81b5d0c5262cd0b92ce472460 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.7.0/_static/basic.css b/v9.7.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.7.0/_static/basic.css +++ b/v9.7.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/v9.7.0/_static/doctools.js b/v9.7.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.7.0/_static/doctools.js +++ b/v9.7.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/v9.7.0/_static/language_data.js b/v9.7.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.7.0/_static/language_data.js +++ b/v9.7.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/v9.7.0/_static/searchtools.js b/v9.7.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.7.0/_static/searchtools.js +++ b/v9.7.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/v9.7.0/changelog.html b/v9.7.0/changelog.html index 9e237b16c..8fb674fba 100644 --- a/v9.7.0/changelog.html +++ b/v9.7.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -482,7 +490,7 @@

    9.3.0 13th December 2022

    @@ -764,7 +772,7 @@

    - + diff --git a/v9.7.0/development.html b/v9.7.0/development.html index c16022f60..03aa2eef9 100644 --- a/v9.7.0/development.html +++ b/v9.7.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v9.7.0/genindex.html b/v9.7.0/genindex.html index 94f2f3212..aed3f2da4 100644 --- a/v9.7.0/genindex.html +++ b/v9.7.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.7.0 + Index - Pydis Core v9.7.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -974,7 +982,7 @@

    W

    - + diff --git a/v9.7.0/index.html b/v9.7.0/index.html index fddcc605a..1911e404d 100644 --- a/v9.7.0/index.html +++ b/v9.7.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -549,7 +557,7 @@

    Extras - + diff --git a/v9.7.0/index_redirect.html b/v9.7.0/index_redirect.html index 03509897c..08c8937b1 100644 --- a/v9.7.0/index_redirect.html +++ b/v9.7.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.7.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.7.0/output/pydis_core.async_stats.html b/v9.7.0/output/pydis_core.async_stats.html index 7ceb402cf..2855d2b15 100644 --- a/v9.7.0/output/pydis_core.async_stats.html +++ b/v9.7.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v9.7.0/output/pydis_core.exts.html b/v9.7.0/output/pydis_core.exts.html index 5b66f9f9f..5f3a0a46b 100644 --- a/v9.7.0/output/pydis_core.exts.html +++ b/v9.7.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v9.7.0/output/pydis_core.html b/v9.7.0/output/pydis_core.html index e728c9a86..45f7329ee 100644 --- a/v9.7.0/output/pydis_core.html +++ b/v9.7.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -579,7 +587,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -593,7 +601,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -606,7 +614,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -616,7 +624,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -832,7 +840,7 @@

    Submodules - + diff --git a/v9.7.0/output/pydis_core.site_api.html b/v9.7.0/output/pydis_core.site_api.html index 1461e8c1b..9818b4840 100644 --- a/v9.7.0/output/pydis_core.site_api.html +++ b/v9.7.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.caching.html b/v9.7.0/output/pydis_core.utils.caching.html index 590abee97..e2768c29a 100644 --- a/v9.7.0/output/pydis_core.utils.caching.html +++ b/v9.7.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.channel.html b/v9.7.0/output/pydis_core.utils.channel.html index 351504acf..585bf31e9 100644 --- a/v9.7.0/output/pydis_core.utils.channel.html +++ b/v9.7.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.commands.html b/v9.7.0/output/pydis_core.utils.commands.html index 1e11c65b6..7c2d32b7a 100644 --- a/v9.7.0/output/pydis_core.utils.commands.html +++ b/v9.7.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.cooldown.html b/v9.7.0/output/pydis_core.utils.cooldown.html index a2fa106ad..6fe6b1904 100644 --- a/v9.7.0/output/pydis_core.utils.cooldown.html +++ b/v9.7.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.error_handling.html b/v9.7.0/output/pydis_core.utils.error_handling.html index e81570e53..559c01055 100644 --- a/v9.7.0/output/pydis_core.utils.error_handling.html +++ b/v9.7.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.function.html b/v9.7.0/output/pydis_core.utils.function.html index 2b9fc88ab..107807401 100644 --- a/v9.7.0/output/pydis_core.utils.function.html +++ b/v9.7.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -458,17 +466,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.

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -577,7 +585,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.html b/v9.7.0/output/pydis_core.utils.html index 50a2db533..e7190ec39 100644 --- a/v9.7.0/output/pydis_core.utils.html +++ b/v9.7.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -653,7 +661,7 @@

    Submodules - + diff --git a/v9.7.0/output/pydis_core.utils.interactions.html b/v9.7.0/output/pydis_core.utils.interactions.html index 5c27b730d..d3fbd018e 100644 --- a/v9.7.0/output/pydis_core.utils.interactions.html +++ b/v9.7.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -605,7 +613,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.logging.html b/v9.7.0/output/pydis_core.utils.logging.html index 607eb8745..4aa86d50b 100644 --- a/v9.7.0/output/pydis_core.utils.logging.html +++ b/v9.7.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.members.html b/v9.7.0/output/pydis_core.utils.members.html index 73ba468a0..a7ef797cf 100644 --- a/v9.7.0/output/pydis_core.utils.members.html +++ b/v9.7.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.paste_service.html b/v9.7.0/output/pydis_core.utils.paste_service.html index 4727cfd30..03fcee44f 100644 --- a/v9.7.0/output/pydis_core.utils.paste_service.html +++ b/v9.7.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,7 @@
    class PasteResponse[source]
    -

    Bases: TypedDict

    +

    Bases: TypedDict

    A successful response from the paste service.

    Parameters:
    @@ -466,14 +474,14 @@
    exception PasteTooLongError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when content is too large to upload to the paste service.

    exception PasteUploadError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when an error is encountered uploading to the paste service.

    @@ -484,17 +492,17 @@
    Parameters:
      -
    • contents (str) – The content to upload to the paste service.

    • -
    • paste_url (str) – The base url to the paste service.

    • -
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • -
    • file_name (str) – The name of the file to save to the paste service.

    • -
    • lexer (str) – The lexer to save the content with.

    • -
    • max_size (int) – The max number of bytes to be allowed. Anything larger than MAX_PASTE_SIZE will be rejected.

    • +
    • contents (str) – The content to upload to the paste service.

    • +
    • paste_url (str) – The base url to the paste service.

    • +
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • +
    • file_name (str) – The name of the file to save to the paste service.

    • +
    • lexer (str) – The lexer to save the content with.

    • +
    • max_size (int) – The max number of bytes to be allowed. Anything larger than MAX_PASTE_SIZE will be rejected.

    Raises:
    @@ -583,7 +591,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.regex.html b/v9.7.0/output/pydis_core.utils.regex.html index 355dc2404..66c8ccd0a 100644 --- a/v9.7.0/output/pydis_core.utils.regex.html +++ b/v9.7.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v9.7.0/output/pydis_core.utils.scheduling.html b/v9.7.0/output/pydis_core.utils.scheduling.html index 619fe0f4f..ebd2b9ad6 100644 --- a/v9.7.0/output/pydis_core.utils.scheduling.html +++ b/v9.7.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

    __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.

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v9.7.0/py-modindex.html b/v9.7.0/py-modindex.html index 8d9334037..32089c126 100644 --- a/v9.7.0/py-modindex.html +++ b/v9.7.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.7.0 + Python Module Index - Pydis Core v9.7.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v9.7.0/search.html b/v9.7.0/search.html index 378e3c9b8..d193ce88e 100644 --- a/v9.7.0/search.html +++ b/v9.7.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.7.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v9.7.0/searchindex.js b/v9.7.0/searchindex.js index aa93e695e..d83da8108 100644 --- a/v9.7.0/searchindex.js +++ b/v9.7.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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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, "131072": 17, "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": 14, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": 1, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": 14, "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": 17, "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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, "131072": 17, "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": 14, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": 1, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": 14, "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": 17, "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.7.0/versions.html b/v9.7.0/versions.html index ce6cb50a0..db7d8a316 100644 --- a/v9.7.0/versions.html +++ b/v9.7.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.7.0 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v9.8.0/.buildinfo b/v9.8.0/.buildinfo index cdbd5e514..04c4678ee 100644 --- a/v9.8.0/.buildinfo +++ b/v9.8.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: 0a08bdcc65ef1a67018de1fab92e708c +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 879a87f11174a1d003d70a96ccbe8410 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.8.0/_static/basic.css b/v9.8.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.8.0/_static/basic.css +++ b/v9.8.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/v9.8.0/_static/doctools.js b/v9.8.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.8.0/_static/doctools.js +++ b/v9.8.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/v9.8.0/_static/language_data.js b/v9.8.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.8.0/_static/language_data.js +++ b/v9.8.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/v9.8.0/_static/searchtools.js b/v9.8.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.8.0/_static/searchtools.js +++ b/v9.8.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/v9.8.0/changelog.html b/v9.8.0/changelog.html index e29b8d077..a732db70e 100644 --- a/v9.8.0/changelog.html +++ b/v9.8.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -487,7 +495,7 @@

    9.3.0 13th December 2022

    @@ -769,7 +777,7 @@

    - + diff --git a/v9.8.0/development.html b/v9.8.0/development.html index 325e042d4..229e2885a 100644 --- a/v9.8.0/development.html +++ b/v9.8.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v9.8.0/genindex.html b/v9.8.0/genindex.html index 62966bdb4..75b5aa1dd 100644 --- a/v9.8.0/genindex.html +++ b/v9.8.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.8.0 + Index - Pydis Core v9.8.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -974,7 +982,7 @@

    W

    - + diff --git a/v9.8.0/index.html b/v9.8.0/index.html index 6e2d7540b..9fe0923c0 100644 --- a/v9.8.0/index.html +++ b/v9.8.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -549,7 +557,7 @@

    Extras - + diff --git a/v9.8.0/index_redirect.html b/v9.8.0/index_redirect.html index 3790c6c3f..593e0383f 100644 --- a/v9.8.0/index_redirect.html +++ b/v9.8.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.8.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.8.0/output/pydis_core.async_stats.html b/v9.8.0/output/pydis_core.async_stats.html index 697298e74..ee0c7140a 100644 --- a/v9.8.0/output/pydis_core.async_stats.html +++ b/v9.8.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v9.8.0/output/pydis_core.exts.html b/v9.8.0/output/pydis_core.exts.html index 5ae282e8b..adb3c9677 100644 --- a/v9.8.0/output/pydis_core.exts.html +++ b/v9.8.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v9.8.0/output/pydis_core.html b/v9.8.0/output/pydis_core.html index cdbed1f05..4aeaa25f9 100644 --- a/v9.8.0/output/pydis_core.html +++ b/v9.8.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -579,7 +587,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -593,7 +601,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -606,7 +614,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -616,7 +624,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -832,7 +840,7 @@

    Submodules - + diff --git a/v9.8.0/output/pydis_core.site_api.html b/v9.8.0/output/pydis_core.site_api.html index a5e9d1458..a75cedd37 100644 --- a/v9.8.0/output/pydis_core.site_api.html +++ b/v9.8.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.caching.html b/v9.8.0/output/pydis_core.utils.caching.html index ccd7ffb82..da5f3879e 100644 --- a/v9.8.0/output/pydis_core.utils.caching.html +++ b/v9.8.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.channel.html b/v9.8.0/output/pydis_core.utils.channel.html index 9f79b8d17..3ab720589 100644 --- a/v9.8.0/output/pydis_core.utils.channel.html +++ b/v9.8.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.commands.html b/v9.8.0/output/pydis_core.utils.commands.html index a7e76be6c..4b1b8202f 100644 --- a/v9.8.0/output/pydis_core.utils.commands.html +++ b/v9.8.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.cooldown.html b/v9.8.0/output/pydis_core.utils.cooldown.html index 53f2454e8..0e63933c2 100644 --- a/v9.8.0/output/pydis_core.utils.cooldown.html +++ b/v9.8.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.error_handling.html b/v9.8.0/output/pydis_core.utils.error_handling.html index 4b10eddf9..af29aeaba 100644 --- a/v9.8.0/output/pydis_core.utils.error_handling.html +++ b/v9.8.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.function.html b/v9.8.0/output/pydis_core.utils.function.html index 00c12babf..9a724a25f 100644 --- a/v9.8.0/output/pydis_core.utils.function.html +++ b/v9.8.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -458,17 +466,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.

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -577,7 +585,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.html b/v9.8.0/output/pydis_core.utils.html index 68b3f8ce3..cc448ddc0 100644 --- a/v9.8.0/output/pydis_core.utils.html +++ b/v9.8.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -653,7 +661,7 @@

    Submodules - + diff --git a/v9.8.0/output/pydis_core.utils.interactions.html b/v9.8.0/output/pydis_core.utils.interactions.html index ce8a81e3c..a41f5bbb3 100644 --- a/v9.8.0/output/pydis_core.utils.interactions.html +++ b/v9.8.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -605,7 +613,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.logging.html b/v9.8.0/output/pydis_core.utils.logging.html index 30d5b67a0..9088cc106 100644 --- a/v9.8.0/output/pydis_core.utils.logging.html +++ b/v9.8.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.members.html b/v9.8.0/output/pydis_core.utils.members.html index c98e28558..49d3aed6e 100644 --- a/v9.8.0/output/pydis_core.utils.members.html +++ b/v9.8.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.paste_service.html b/v9.8.0/output/pydis_core.utils.paste_service.html index 9bd0b58e0..932948531 100644 --- a/v9.8.0/output/pydis_core.utils.paste_service.html +++ b/v9.8.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,7 @@
    class PasteResponse[source]
    -

    Bases: TypedDict

    +

    Bases: TypedDict

    A successful response from the paste service.

    Parameters:
    @@ -466,14 +474,14 @@
    exception PasteTooLongError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when content is too large to upload to the paste service.

    exception PasteUploadError[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Raised when an error is encountered uploading to the paste service.

    @@ -484,17 +492,17 @@
    Parameters:
      -
    • contents (str) – The content to upload to the paste service.

    • -
    • paste_url (str) – The base url to the paste service.

    • -
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • -
    • file_name (str) – The name of the file to save to the paste service.

    • -
    • lexer (str) – The lexer to save the content with.

    • -
    • max_size (int) – The max number of bytes to be allowed. Anything larger than MAX_PASTE_SIZE will be rejected.

    • +
    • contents (str) – The content to upload to the paste service.

    • +
    • paste_url (str) – The base url to the paste service.

    • +
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • +
    • file_name (str) – The name of the file to save to the paste service.

    • +
    • lexer (str) – The lexer to save the content with.

    • +
    • max_size (int) – The max number of bytes to be allowed. Anything larger than MAX_PASTE_SIZE will be rejected.

    Raises:
    @@ -583,7 +591,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.regex.html b/v9.8.0/output/pydis_core.utils.regex.html index 3f91c9fc6..a68ea8185 100644 --- a/v9.8.0/output/pydis_core.utils.regex.html +++ b/v9.8.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v9.8.0/output/pydis_core.utils.scheduling.html b/v9.8.0/output/pydis_core.utils.scheduling.html index 4334bfc45..671ba5b21 100644 --- a/v9.8.0/output/pydis_core.utils.scheduling.html +++ b/v9.8.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

    __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.

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v9.8.0/py-modindex.html b/v9.8.0/py-modindex.html index f0d2e8104..a7c39e8cd 100644 --- a/v9.8.0/py-modindex.html +++ b/v9.8.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.8.0 + Python Module Index - Pydis Core v9.8.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v9.8.0/search.html b/v9.8.0/search.html index 12be53343..3d9409069 100644 --- a/v9.8.0/search.html +++ b/v9.8.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.8.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v9.8.0/searchindex.js b/v9.8.0/searchindex.js index d9bd081aa..766e22aac 100644 --- a/v9.8.0/searchindex.js +++ b/v9.8.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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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, "131072": 17, "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": 14, "181": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": 1, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": 14, "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": 17, "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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, "131072": 17, "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": 14, "181": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": 1, "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": 14, "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": 17, "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.8.0/versions.html b/v9.8.0/versions.html index 1f418824a..9fd5dae4e 100644 --- a/v9.8.0/versions.html +++ b/v9.8.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.8.0 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v9.9.0/.buildinfo b/v9.9.0/.buildinfo index 530e0e013..fdedea3cc 100644 --- a/v9.9.0/.buildinfo +++ b/v9.9.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: c47b4d556f0aa276f9cc27d183dfd1b5 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 1b85e988021e264ef6f5d36e00cc37b5 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.9.0/_static/basic.css b/v9.9.0/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.9.0/_static/basic.css +++ b/v9.9.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/v9.9.0/_static/doctools.js b/v9.9.0/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.9.0/_static/doctools.js +++ b/v9.9.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/v9.9.0/_static/language_data.js b/v9.9.0/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.9.0/_static/language_data.js +++ b/v9.9.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/v9.9.0/_static/searchtools.js b/v9.9.0/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.9.0/_static/searchtools.js +++ b/v9.9.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/v9.9.0/changelog.html b/v9.9.0/changelog.html index f4023fd2d..c82d86677 100644 --- a/v9.9.0/changelog.html +++ b/v9.9.0/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -493,7 +501,7 @@

    9.3.0 13th December 2022

    @@ -775,7 +783,7 @@

    - + diff --git a/v9.9.0/development.html b/v9.9.0/development.html index 1f785b8e5..a64537b8c 100644 --- a/v9.9.0/development.html +++ b/v9.9.0/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v9.9.0/genindex.html b/v9.9.0/genindex.html index ac3a5b049..02505f630 100644 --- a/v9.9.0/genindex.html +++ b/v9.9.0/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.9.0 + Index - Pydis Core v9.9.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -976,7 +984,7 @@

    W

    - + diff --git a/v9.9.0/index.html b/v9.9.0/index.html index c1a3f1c3f..051468497 100644 --- a/v9.9.0/index.html +++ b/v9.9.0/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -549,7 +557,7 @@

    Extras - + diff --git a/v9.9.0/index_redirect.html b/v9.9.0/index_redirect.html index 6d9d5c956..9f5ea7ae0 100644 --- a/v9.9.0/index_redirect.html +++ b/v9.9.0/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.9.0 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.9.0/output/pydis_core.async_stats.html b/v9.9.0/output/pydis_core.async_stats.html index 643585857..69e6ca329 100644 --- a/v9.9.0/output/pydis_core.async_stats.html +++ b/v9.9.0/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v9.9.0/output/pydis_core.exts.html b/v9.9.0/output/pydis_core.exts.html index 68a577eb4..331198776 100644 --- a/v9.9.0/output/pydis_core.exts.html +++ b/v9.9.0/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v9.9.0/output/pydis_core.html b/v9.9.0/output/pydis_core.html index c0a24256c..9e408bd99 100644 --- a/v9.9.0/output/pydis_core.html +++ b/v9.9.0/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -579,7 +587,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -593,7 +601,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -606,7 +614,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -616,7 +624,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -833,7 +841,7 @@

    Submodules - + diff --git a/v9.9.0/output/pydis_core.site_api.html b/v9.9.0/output/pydis_core.site_api.html index 7ecf09348..77c9767ae 100644 --- a/v9.9.0/output/pydis_core.site_api.html +++ b/v9.9.0/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.caching.html b/v9.9.0/output/pydis_core.utils.caching.html index 270625d5c..c58376a42 100644 --- a/v9.9.0/output/pydis_core.utils.caching.html +++ b/v9.9.0/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.channel.html b/v9.9.0/output/pydis_core.utils.channel.html index c75667f7a..bb0a3b636 100644 --- a/v9.9.0/output/pydis_core.utils.channel.html +++ b/v9.9.0/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.commands.html b/v9.9.0/output/pydis_core.utils.commands.html index 0a05cadad..4efea64c3 100644 --- a/v9.9.0/output/pydis_core.utils.commands.html +++ b/v9.9.0/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.cooldown.html b/v9.9.0/output/pydis_core.utils.cooldown.html index cdec9154d..a7e4d233b 100644 --- a/v9.9.0/output/pydis_core.utils.cooldown.html +++ b/v9.9.0/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.error_handling.html b/v9.9.0/output/pydis_core.utils.error_handling.html index 6a261631a..56a372917 100644 --- a/v9.9.0/output/pydis_core.utils.error_handling.html +++ b/v9.9.0/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.function.html b/v9.9.0/output/pydis_core.utils.function.html index 6b310e976..e0bafc8ce 100644 --- a/v9.9.0/output/pydis_core.utils.function.html +++ b/v9.9.0/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -458,17 +466,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.

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -577,7 +585,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.html b/v9.9.0/output/pydis_core.utils.html index 2f80654df..10ce6e98e 100644 --- a/v9.9.0/output/pydis_core.utils.html +++ b/v9.9.0/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -654,7 +662,7 @@

    Submodules - + diff --git a/v9.9.0/output/pydis_core.utils.interactions.html b/v9.9.0/output/pydis_core.utils.interactions.html index 43d024ac4..7ae8ef82e 100644 --- a/v9.9.0/output/pydis_core.utils.interactions.html +++ b/v9.9.0/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -605,7 +613,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.logging.html b/v9.9.0/output/pydis_core.utils.logging.html index ceb41c61e..0fcf1cef2 100644 --- a/v9.9.0/output/pydis_core.utils.logging.html +++ b/v9.9.0/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.members.html b/v9.9.0/output/pydis_core.utils.members.html index 054242312..557bb797c 100644 --- a/v9.9.0/output/pydis_core.utils.members.html +++ b/v9.9.0/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.paste_service.html b/v9.9.0/output/pydis_core.utils.paste_service.html index 00f870578..12d1904f7 100644 --- a/v9.9.0/output/pydis_core.utils.paste_service.html +++ b/v9.9.0/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,7 @@
    class PasteResponse[source]
    -

    Bases: TypedDict

    +

    Bases: TypedDict

    A successful response from the paste service.

    Parameters:
    @@ -466,21 +474,21 @@
    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.

    @@ -491,17 +499,17 @@
    Parameters:
      -
    • contents (str) – The content to upload to the paste service.

    • -
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • -
    • file_name (str) – The name of the file to save to the paste service.

    • -
    • lexer (str) – The lexer to save the content with.

    • -
    • 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.

    • +
    • contents (str) – The content to upload to the paste service.

    • +
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • +
    • file_name (str) – The name of the file to save to the paste service.

    • +
    • lexer (str) – The lexer to save the content with.

    • +
    • 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:
    @@ -591,7 +599,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.regex.html b/v9.9.0/output/pydis_core.utils.regex.html index a77c26808..b6e591a90 100644 --- a/v9.9.0/output/pydis_core.utils.regex.html +++ b/v9.9.0/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v9.9.0/output/pydis_core.utils.scheduling.html b/v9.9.0/output/pydis_core.utils.scheduling.html index 45eefa416..5dcfb8bdf 100644 --- a/v9.9.0/output/pydis_core.utils.scheduling.html +++ b/v9.9.0/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

    __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.

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v9.9.0/py-modindex.html b/v9.9.0/py-modindex.html index 6538bb03f..0a136e1d7 100644 --- a/v9.9.0/py-modindex.html +++ b/v9.9.0/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.9.0 + Python Module Index - Pydis Core v9.9.0 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v9.9.0/search.html b/v9.9.0/search.html index 9d71dba05..26d1a4bbf 100644 --- a/v9.9.0/search.html +++ b/v9.9.0/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.9.0 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v9.9.0/searchindex.js b/v9.9.0/searchindex.js index 58a008e3f..2b5c26c24 100644 --- a/v9.9.0/searchindex.js +++ b/v9.9.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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": 14, "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": 14, "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.9.0/versions.html b/v9.9.0/versions.html index a62276f4c..67f4e3ef9 100644 --- a/v9.9.0/versions.html +++ b/v9.9.0/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.9.0 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v9.9.1/.buildinfo b/v9.9.1/.buildinfo index 49c1567b5..ab4a9bd4a 100644 --- a/v9.9.1/.buildinfo +++ b/v9.9.1/.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: 44f6a6fa411a9aee9adf7999f8bf55a5 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 00542f4e2fbc016bf9e6cb2716d8d2c1 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.9.1/_static/basic.css b/v9.9.1/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.9.1/_static/basic.css +++ b/v9.9.1/_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/v9.9.1/_static/doctools.js b/v9.9.1/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.9.1/_static/doctools.js +++ b/v9.9.1/_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/v9.9.1/_static/language_data.js b/v9.9.1/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.9.1/_static/language_data.js +++ b/v9.9.1/_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/v9.9.1/_static/searchtools.js b/v9.9.1/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.9.1/_static/searchtools.js +++ b/v9.9.1/_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/v9.9.1/changelog.html b/v9.9.1/changelog.html index c20f33e1b..139acf1d3 100644 --- a/v9.9.1/changelog.html +++ b/v9.9.1/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -498,7 +506,7 @@

    9.3.0 13th December 2022

    @@ -780,7 +788,7 @@

    - + diff --git a/v9.9.1/development.html b/v9.9.1/development.html index 94837dd86..b7e41435f 100644 --- a/v9.9.1/development.html +++ b/v9.9.1/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v9.9.1/genindex.html b/v9.9.1/genindex.html index abe53275f..abc849a7e 100644 --- a/v9.9.1/genindex.html +++ b/v9.9.1/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.9.1 + Index - Pydis Core v9.9.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -976,7 +984,7 @@

    W

    - + diff --git a/v9.9.1/index.html b/v9.9.1/index.html index 41e41bb0a..7202756fa 100644 --- a/v9.9.1/index.html +++ b/v9.9.1/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -549,7 +557,7 @@

    Extras - + diff --git a/v9.9.1/index_redirect.html b/v9.9.1/index_redirect.html index 850d90f5f..321a294d2 100644 --- a/v9.9.1/index_redirect.html +++ b/v9.9.1/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.9.1 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.9.1/output/pydis_core.async_stats.html b/v9.9.1/output/pydis_core.async_stats.html index 7a383e802..22a27c73c 100644 --- a/v9.9.1/output/pydis_core.async_stats.html +++ b/v9.9.1/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v9.9.1/output/pydis_core.exts.html b/v9.9.1/output/pydis_core.exts.html index adc5c0358..3c04907b5 100644 --- a/v9.9.1/output/pydis_core.exts.html +++ b/v9.9.1/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v9.9.1/output/pydis_core.html b/v9.9.1/output/pydis_core.html index d60d85011..2d62cbc58 100644 --- a/v9.9.1/output/pydis_core.html +++ b/v9.9.1/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -579,7 +587,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -593,7 +601,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -606,7 +614,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -616,7 +624,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -833,7 +841,7 @@

    Submodules - + diff --git a/v9.9.1/output/pydis_core.site_api.html b/v9.9.1/output/pydis_core.site_api.html index 3aa7fc103..d4fba72f6 100644 --- a/v9.9.1/output/pydis_core.site_api.html +++ b/v9.9.1/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.caching.html b/v9.9.1/output/pydis_core.utils.caching.html index 075f0b56d..98e1f1f08 100644 --- a/v9.9.1/output/pydis_core.utils.caching.html +++ b/v9.9.1/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.channel.html b/v9.9.1/output/pydis_core.utils.channel.html index 3dce9265d..6a724ac41 100644 --- a/v9.9.1/output/pydis_core.utils.channel.html +++ b/v9.9.1/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.commands.html b/v9.9.1/output/pydis_core.utils.commands.html index 0074721b1..0b35aa632 100644 --- a/v9.9.1/output/pydis_core.utils.commands.html +++ b/v9.9.1/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.cooldown.html b/v9.9.1/output/pydis_core.utils.cooldown.html index 9268fa6db..42fcd8235 100644 --- a/v9.9.1/output/pydis_core.utils.cooldown.html +++ b/v9.9.1/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.error_handling.html b/v9.9.1/output/pydis_core.utils.error_handling.html index 7c1ea1ca2..189949629 100644 --- a/v9.9.1/output/pydis_core.utils.error_handling.html +++ b/v9.9.1/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.function.html b/v9.9.1/output/pydis_core.utils.function.html index 7279a06d2..7a96fd336 100644 --- a/v9.9.1/output/pydis_core.utils.function.html +++ b/v9.9.1/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -458,17 +466,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.

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -577,7 +585,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.html b/v9.9.1/output/pydis_core.utils.html index 77a73b469..061c2b384 100644 --- a/v9.9.1/output/pydis_core.utils.html +++ b/v9.9.1/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -654,7 +662,7 @@

    Submodules - + diff --git a/v9.9.1/output/pydis_core.utils.interactions.html b/v9.9.1/output/pydis_core.utils.interactions.html index bffcccf91..ed86fa2c9 100644 --- a/v9.9.1/output/pydis_core.utils.interactions.html +++ b/v9.9.1/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -605,7 +613,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.logging.html b/v9.9.1/output/pydis_core.utils.logging.html index 0d544762d..26c71c8d0 100644 --- a/v9.9.1/output/pydis_core.utils.logging.html +++ b/v9.9.1/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.members.html b/v9.9.1/output/pydis_core.utils.members.html index 4ebcd0dec..ed25ac4a3 100644 --- a/v9.9.1/output/pydis_core.utils.members.html +++ b/v9.9.1/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.paste_service.html b/v9.9.1/output/pydis_core.utils.paste_service.html index c11458d61..906534c41 100644 --- a/v9.9.1/output/pydis_core.utils.paste_service.html +++ b/v9.9.1/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,7 @@
    class PasteResponse[source]
    -

    Bases: TypedDict

    +

    Bases: TypedDict

    A successful response from the paste service.

    Parameters:
    @@ -466,21 +474,21 @@
    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.

    @@ -491,17 +499,17 @@
    Parameters:
      -
    • contents (str) – The content to upload to the paste service.

    • -
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • -
    • file_name (str) – The name of the file to save to the paste service.

    • -
    • lexer (str) – The lexer to save the content with.

    • -
    • 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.

    • +
    • contents (str) – The content to upload to the paste service.

    • +
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • +
    • file_name (str) – The name of the file to save to the paste service.

    • +
    • lexer (str) – The lexer to save the content with.

    • +
    • 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:
    @@ -591,7 +599,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.regex.html b/v9.9.1/output/pydis_core.utils.regex.html index c066886b7..e9fb47dbe 100644 --- a/v9.9.1/output/pydis_core.utils.regex.html +++ b/v9.9.1/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v9.9.1/output/pydis_core.utils.scheduling.html b/v9.9.1/output/pydis_core.utils.scheduling.html index e4a6b7be2..f9df91b77 100644 --- a/v9.9.1/output/pydis_core.utils.scheduling.html +++ b/v9.9.1/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

    __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.

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v9.9.1/py-modindex.html b/v9.9.1/py-modindex.html index 740dc0d4a..a77ac53d8 100644 --- a/v9.9.1/py-modindex.html +++ b/v9.9.1/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.9.1 + Python Module Index - Pydis Core v9.9.1 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v9.9.1/search.html b/v9.9.1/search.html index b45cefd39..8f0317f92 100644 --- a/v9.9.1/search.html +++ b/v9.9.1/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.9.1 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v9.9.1/searchindex.js b/v9.9.1/searchindex.js index b2947b3f1..381bebea9 100644 --- a/v9.9.1/searchindex.js +++ b/v9.9.1/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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 6, "20th": 0, "21st": 0, "22nd": 0, "22th": 0, "23rd": 0, "24th": 0, "25th": 0, "26th": 0, "27th": 0, "28th": 0, "29": 0, "2nd": 0, "3": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": 14, "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "push": 0, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 6, "20th": 0, "21st": 0, "22nd": 0, "22th": 0, "23rd": 0, "24th": 0, "25th": 0, "26th": 0, "27th": 0, "28th": 0, "29": 0, "2nd": 0, "3": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": 14, "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "push": 0, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.9.1/versions.html b/v9.9.1/versions.html index b0007d7ef..399e5f00e 100644 --- a/v9.9.1/versions.html +++ b/v9.9.1/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.9.1 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - + diff --git a/v9.9.2/.buildinfo b/v9.9.2/.buildinfo index 4811373dd..8c07c56db 100644 --- a/v9.9.2/.buildinfo +++ b/v9.9.2/.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: 2118151df49df512a16bceb2f0a8b9f6 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: e5fad6a6a3f8e927a4a67b45d5ea503b tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/v9.9.2/_static/basic.css b/v9.9.2/_static/basic.css index f316efcb4..7ebbd6d07 100644 --- a/v9.9.2/_static/basic.css +++ b/v9.9.2/_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/v9.9.2/_static/doctools.js b/v9.9.2/_static/doctools.js index 4d67807d1..0398ebb9f 100644 --- a/v9.9.2/_static/doctools.js +++ b/v9.9.2/_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/v9.9.2/_static/language_data.js b/v9.9.2/_static/language_data.js index 367b8ed81..c7fe6c6fa 100644 --- a/v9.9.2/_static/language_data.js +++ b/v9.9.2/_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/v9.9.2/_static/searchtools.js b/v9.9.2/_static/searchtools.js index b08d58c9b..2c774d17a 100644 --- a/v9.9.2/_static/searchtools.js +++ b/v9.9.2/_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/v9.9.2/changelog.html b/v9.9.2/changelog.html index 7ed70e689..b510f4f62 100644 --- a/v9.9.2/changelog.html +++ b/v9.9.2/changelog.html @@ -5,13 +5,13 @@ - + Changelog - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0
  • +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -503,7 +511,7 @@

    9.3.0 13th December 2022

    @@ -785,7 +793,7 @@

    - + diff --git a/v9.9.2/development.html b/v9.9.2/development.html index 7fb2bd052..b1ee52df6 100644 --- a/v9.9.2/development.html +++ b/v9.9.2/development.html @@ -5,13 +5,13 @@ - + Local Development & Testing - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -569,7 +577,7 @@

    Option 2 - + diff --git a/v9.9.2/genindex.html b/v9.9.2/genindex.html index 5b498620f..4592ee4e8 100644 --- a/v9.9.2/genindex.html +++ b/v9.9.2/genindex.html @@ -4,12 +4,12 @@ - Index - Pydis Core v9.9.2 + Index - Pydis Core v9.9.2 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -976,7 +984,7 @@

    W

    - + diff --git a/v9.9.2/index.html b/v9.9.2/index.html index f29352a04..2fdeed708 100644 --- a/v9.9.2/index.html +++ b/v9.9.2/index.html @@ -5,13 +5,13 @@ - + Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -549,7 +557,7 @@

    Extras - + diff --git a/v9.9.2/index_redirect.html b/v9.9.2/index_redirect.html index f7dfdc2d4..3bd3d64bb 100644 --- a/v9.9.2/index_redirect.html +++ b/v9.9.2/index_redirect.html @@ -7,14 +7,14 @@ - + Pydis Core v9.9.2 - + @@ -55,7 +55,7 @@

    - + diff --git a/v9.9.2/output/pydis_core.async_stats.html b/v9.9.2/output/pydis_core.async_stats.html index c645fd319..59fe3900c 100644 --- a/v9.9.2/output/pydis_core.async_stats.html +++ b/v9.9.2/output/pydis_core.async_stats.html @@ -5,13 +5,13 @@ - + async_stats - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,11 +463,11 @@
    Parameters:
    @@ -468,10 +476,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

    @@ -553,7 +561,7 @@ - + diff --git a/v9.9.2/output/pydis_core.exts.html b/v9.9.2/output/pydis_core.exts.html index 104b08ef1..5defe1fa4 100644 --- a/v9.9.2/output/pydis_core.exts.html +++ b/v9.9.2/output/pydis_core.exts.html @@ -5,13 +5,13 @@ - + Exts - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -495,7 +503,7 @@ - + diff --git a/v9.9.2/output/pydis_core.html b/v9.9.2/output/pydis_core.html index 80bd34e88..7a16dd228 100644 --- a/v9.9.2/output/pydis_core.html +++ b/v9.9.2/output/pydis_core.html @@ -5,13 +5,13 @@ - + Pydis Core - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -455,12 +463,12 @@
    Parameters:
    @@ -473,7 +481,7 @@

    Add the given cog to the bot and log the operation.

    Return type:
    -

    None

    +

    None

    @@ -484,7 +492,7 @@

    Add command as normal and then add its root aliases to the bot.

    Return type:
    -

    None

    +

    None

    @@ -495,7 +503,7 @@

    Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.

    Return type:
    -

    None

    +

    None

    @@ -506,7 +514,7 @@

    Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.

    Return type:
    -

    None

    +

    None

    @@ -517,10 +525,10 @@

    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

    @@ -531,7 +539,7 @@

    Log the given message to #dev-log.

    Return type:
    -

    None

    +

    None

    @@ -544,7 +552,7 @@ will not be set and guild_available_but_cache_empty event will be emitted.

    Return type:
    -

    None

    +

    None

    @@ -555,7 +563,7 @@

    Clear the internal guild available event when self.guild_id becomes unavailable.

    Return type:
    -

    None

    +

    None

    @@ -566,7 +574,7 @@

    Ping all required services on setup to ensure they are up before starting.

    Return type:
    -

    None

    +

    None

    @@ -579,7 +587,7 @@ To remove them, either remove the entire command or manually edit bot.all_commands.

    Return type:
    -

    Command | None

    +

    Command | None

    @@ -593,7 +601,7 @@ and ping_services().

    Return type:
    -

    None

    +

    None

    @@ -606,7 +614,7 @@ gateway event before giving up and thus not populating the cache for unavailable guilds.

    Return type:
    -

    None

    +

    None

    @@ -616,7 +624,7 @@
    exception StartupError(base)[source]
    -

    Bases: Exception

    +

    Bases: Exception

    Exception class for startup errors.

    @@ -833,7 +841,7 @@

    Submodules - + diff --git a/v9.9.2/output/pydis_core.site_api.html b/v9.9.2/output/pydis_core.site_api.html index 9ddde2372..adb84a0c3 100644 --- a/v9.9.2/output/pydis_core.site_api.html +++ b/v9.9.2/output/pydis_core.site_api.html @@ -5,13 +5,13 @@ - + site_api - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,7 @@
    class APIClient(site_api_url, site_api_token, **session_kwargs)[source]
    -

    Bases: object

    +

    Bases: object

    A wrapper for the Django Site API.

    @@ -455,9 +463,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.

    @@ -469,7 +477,7 @@

    Close the aiohttp session.

    Return type:
    -

    None

    +

    None

    @@ -481,13 +489,13 @@
    Parameters:
      -
    • 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().

    • +
    • 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 is 204 No Content.

    @@ -501,7 +509,7 @@

    Equivalent to APIClient.request() with GET passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -513,15 +521,15 @@
    Parameters:
    Raises:

    ResponseCodeError – If the response is not OK and should_raise is True.

    Return type:
    -

    None

    +

    None

    @@ -532,7 +540,7 @@

    Equivalent to APIClient.request() with PATCH passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -543,7 +551,7 @@

    Equivalent to APIClient.request() with POST passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -554,7 +562,7 @@

    Equivalent to APIClient.request() with PUT passed as the method.

    Return type:
    -

    dict

    +

    dict

    @@ -566,14 +574,14 @@
    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

    +

    dict

    Returns:

    The JSON response the API returns.

    @@ -589,7 +597,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.

    @@ -598,9 +606,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.

    @@ -701,7 +709,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.caching.html b/v9.9.2/output/pydis_core.utils.caching.html index 5baa679d2..eca22b0fa 100644 --- a/v9.9.2/output/pydis_core.utils.caching.html +++ b/v9.9.2/output/pydis_core.utils.caching.html @@ -5,13 +5,13 @@ - + caching - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -456,10 +464,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.

    @@ -473,7 +481,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.

    @@ -484,7 +492,7 @@

    Clear cache instance.

    Return type:
    -

    None

    +

    None

    @@ -567,7 +575,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.channel.html b/v9.9.2/output/pydis_core.utils.channel.html index 607ae06b7..f3c545bd8 100644 --- a/v9.9.2/output/pydis_core.utils.channel.html +++ b/v9.9.2/output/pydis_core.utils.channel.html @@ -5,13 +5,13 @@ - + channel - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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:
    @@ -479,11 +487,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.

    @@ -563,7 +571,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.commands.html b/v9.9.2/output/pydis_core.utils.commands.html index c1060b9bd..797f83da1 100644 --- a/v9.9.2/output/pydis_core.utils.commands.html +++ b/v9.9.2/output/pydis_core.utils.commands.html @@ -5,13 +5,13 @@ - + commands - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,14 +458,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.

    @@ -536,7 +544,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.cooldown.html b/v9.9.2/output/pydis_core.utils.cooldown.html index 6f40aeeaa..cf6aad1f0 100644 --- a/v9.9.2/output/pydis_core.utils.cooldown.html +++ b/v9.9.2/output/pydis_core.utils.cooldown.html @@ -5,13 +5,13 @@ - + cooldown - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -459,7 +467,7 @@

    Run the command this cooldown blocked.

    Return type:
    -

    TypeVar(R)

    +

    TypeVar(R)

    Returns:

    The command’s return value.

    @@ -489,14 +497,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.

    @@ -586,7 +594,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.error_handling.html b/v9.9.2/output/pydis_core.utils.error_handling.html index 6b5bd792d..736222311 100644 --- a/v9.9.2/output/pydis_core.utils.error_handling.html +++ b/v9.9.2/output/pydis_core.utils.error_handling.html @@ -5,13 +5,13 @@ - + error_handling - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -450,11 +458,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

    @@ -530,7 +538,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.function.html b/v9.9.2/output/pydis_core.utils.function.html index 2f238cf0e..430ae277e 100644 --- a/v9.9.2/output/pydis_core.utils.function.html +++ b/v9.9.2/output/pydis_core.utils.function.html @@ -5,13 +5,13 @@ - + function - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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.

    @@ -458,17 +466,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.

    @@ -489,9 +497,9 @@
    Parameters:
    Raises:
    @@ -499,7 +507,7 @@ and is not in ignored_conflict_names.

    Return type:
    -

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    +

    Callable[[ParamSpec(_P)], TypeVar(_R)]

    @@ -577,7 +585,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.html b/v9.9.2/output/pydis_core.utils.html index 9a796adf9..bfcd6140b 100644 --- a/v9.9.2/output/pydis_core.utils.html +++ b/v9.9.2/output/pydis_core.utils.html @@ -5,13 +5,13 @@ - + Utils - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,7 +457,7 @@

    Applies all common monkey patches for our bots.

    Return type:
    -

    None

    +

    None

    @@ -468,10 +476,10 @@

    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.

    @@ -654,7 +662,7 @@

    Submodules - + diff --git a/v9.9.2/output/pydis_core.utils.interactions.html b/v9.9.2/output/pydis_core.utils.interactions.html index f258726ef..84671f8e5 100644 --- a/v9.9.2/output/pydis_core.utils.interactions.html +++ b/v9.9.2/output/pydis_core.utils.interactions.html @@ -5,13 +5,13 @@ - + interactions - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -453,7 +461,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.

    @@ -468,7 +476,7 @@

    Delete the original message on button click.

    Return type:
    -

    None

    +

    None

    @@ -483,11 +491,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.

    @@ -506,7 +514,7 @@

    interaction (Interaction) – The interaction that occurred.

    Return type:
    -

    bool

    +

    bool

    @@ -517,7 +525,7 @@

    Remove the view from self.message if set.

    Return type:
    -

    None

    +

    None

    @@ -605,7 +613,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.logging.html b/v9.9.2/output/pydis_core.utils.logging.html index b545af728..1abfac2cd 100644 --- a/v9.9.2/output/pydis_core.utils.logging.html +++ b/v9.9.2/output/pydis_core.utils.logging.html @@ -5,13 +5,13 @@ - + logging - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,8 +454,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]
    @@ -459,13 +467,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

    @@ -478,7 +486,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

    @@ -564,7 +572,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.members.html b/v9.9.2/output/pydis_core.utils.members.html index 59ec32b47..2afb6ebcc 100644 --- a/v9.9.2/output/pydis_core.utils.members.html +++ b/v9.9.2/output/pydis_core.utils.members.html @@ -5,13 +5,13 @@ - + members - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -449,10 +457,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.

    @@ -467,12 +475,12 @@
    Parameters:
    Return type:
    -

    None

    +

    None

    @@ -549,7 +557,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.paste_service.html b/v9.9.2/output/pydis_core.utils.paste_service.html index 433d6b77c..759ff5803 100644 --- a/v9.9.2/output/pydis_core.utils.paste_service.html +++ b/v9.9.2/output/pydis_core.utils.paste_service.html @@ -5,13 +5,13 @@ - + paste_service - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,7 @@
    class PasteResponse[source]
    -

    Bases: TypedDict

    +

    Bases: TypedDict

    A successful response from the paste service.

    Parameters:
    @@ -466,21 +474,21 @@
    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.

    @@ -491,17 +499,17 @@
    Parameters:
      -
    • contents (str) – The content to upload to the paste service.

    • -
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • -
    • file_name (str) – The name of the file to save to the paste service.

    • -
    • lexer (str) – The lexer to save the content with.

    • -
    • 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.

    • +
    • contents (str) – The content to upload to the paste service.

    • +
    • http_session (aiohttp.ClientSession) – The session to use when POSTing the content to the paste service.

    • +
    • file_name (str) – The name of the file to save to the paste service.

    • +
    • lexer (str) – The lexer to save the content with.

    • +
    • 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:
    @@ -591,7 +599,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.regex.html b/v9.9.2/output/pydis_core.utils.regex.html index f546ca555..2a5bc68a9 100644 --- a/v9.9.2/output/pydis_core.utils.regex.html +++ b/v9.9.2/output/pydis_core.utils.regex.html @@ -5,13 +5,13 @@ - + regex - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -451,7 +459,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().

    @@ -546,7 +554,7 @@ - + diff --git a/v9.9.2/output/pydis_core.utils.scheduling.html b/v9.9.2/output/pydis_core.utils.scheduling.html index 1136ab5e0..3ed68f7ba 100644 --- a/v9.9.2/output/pydis_core.utils.scheduling.html +++ b/v9.9.2/output/pydis_core.utils.scheduling.html @@ -5,13 +5,13 @@ - + scheduling - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -446,7 +454,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 @@ -460,16 +468,16 @@

    __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.

    @@ -480,7 +488,7 @@

    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.

    @@ -491,10 +499,10 @@

    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

    @@ -505,7 +513,7 @@

    Unschedule all known tasks.

    Return type:
    -

    None

    +

    None

    @@ -519,12 +527,12 @@
    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

    @@ -541,13 +549,13 @@
    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

    @@ -561,13 +569,13 @@
    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

    @@ -577,23 +585,23 @@
    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

    @@ -679,7 +687,7 @@ - + diff --git a/v9.9.2/py-modindex.html b/v9.9.2/py-modindex.html index b3743b226..e53a19f20 100644 --- a/v9.9.2/py-modindex.html +++ b/v9.9.2/py-modindex.html @@ -4,12 +4,12 @@ - Python Module Index - Pydis Core v9.9.2 + Python Module Index - Pydis Core v9.9.2 - + @@ -317,6 +317,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -581,7 +589,7 @@

    Python Module Index

    - + diff --git a/v9.9.2/search.html b/v9.9.2/search.html index e3046ca3e..ab187c8fc 100644 --- a/v9.9.2/search.html +++ b/v9.9.2/search.html @@ -5,13 +5,13 @@ - + Search - Pydis Core v9.9.2 - + @@ -319,6 +319,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -478,7 +486,7 @@ - + diff --git a/v9.9.2/searchindex.js b/v9.9.2/searchindex.js index 54c924708..d6feff628 100644 --- a/v9.9.2/searchindex.js +++ b/v9.9.2/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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "185": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "expiri": 0, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "push": 0, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "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]], "commands": [[10, null]], "cooldown": [[11, null]], "error_handling": [[12, null]], "function": [[13, null]], "interactions": [[14, null]], "logging": [[15, null]], "members": [[16, null]], "paste_service": [[17, null]], "regex": [[18, null]], "scheduling": [[19, 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.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.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.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.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]], "__contains__() (scheduler method)": [[19, "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)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.__init__", false]], "__init__() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.__init__", false]], "__init__() (responsecodeerror method)": [[6, "pydis_core.site_api.ResponseCodeError.__init__", false]], "__init__() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.__init__", false]], "__init__() (startuperror method)": [[3, "pydis_core.StartupError.__init__", false]], "__init__() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.__init__", 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]], "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)": [[11, "pydis_core.utils.cooldown.block_duplicate_invocations", false]], "botbase (class in pydis_core)": [[3, "pydis_core.BotBase", false]], "call_without_cooldown() (commandoncooldown method)": [[11, "pydis_core.utils.cooldown.CommandOnCooldown.call_without_cooldown", false]], "callback() (deletemessagebutton method)": [[14, "pydis_core.utils.interactions.DeleteMessageButton.callback", false]], "cancel() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel", false]], "cancel_all() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.cancel_all", false]], "clean_text_or_reply() (in module pydis_core.utils.commands)": [[10, "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)": [[13, "pydis_core.utils.function.command_wraps", false]], "commandoncooldown": [[11, "pydis_core.utils.cooldown.CommandOnCooldown", false]], "create_socket() (asyncstatsclient method)": [[4, "pydis_core.async_stats.AsyncStatsClient.create_socket", false]], "create_task() (in module pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.create_task", false]], "customlogger (class in pydis_core.utils.logging)": [[15, "pydis_core.utils.logging.CustomLogger", false]], "delete() (apiclient method)": [[6, "pydis_core.site_api.APIClient.delete", false]], "deletemessagebutton (class in pydis_core.utils.interactions)": [[14, "pydis_core.utils.interactions.DeleteMessageButton", false]], "discord_invite (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.DISCORD_INVITE", false]], "formatted_code_regex (in module pydis_core.utils.regex)": [[18, "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)": [[15, "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)": [[16, "pydis_core.utils.members.get_or_fetch_member", false]], "globalnameconflicterror": [[13, "pydis_core.utils.function.GlobalNameConflictError", false]], "handle_forbidden_from_block() (in module pydis_core.utils.error_handling)": [[12, "pydis_core.utils.error_handling.handle_forbidden_from_block", false]], "handle_role_change() (in module pydis_core.utils.members)": [[16, "pydis_core.utils.members.handle_role_change", false]], "interaction_check() (viewwithuserandrolecheck method)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.interaction_check", false]], "is_in_category() (in module pydis_core.utils.channel)": [[9, "pydis_core.utils.channel.is_in_category", false]], "load_extensions() (botbase method)": [[3, "pydis_core.BotBase.load_extensions", 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)": [[17, "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]], "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.commands", false], [11, "module-pydis_core.utils.cooldown", false], [12, "module-pydis_core.utils.error_handling", false], [13, "module-pydis_core.utils.function", false], [14, "module-pydis_core.utils.interactions", false], [15, "module-pydis_core.utils.logging", false], [16, "module-pydis_core.utils.members", false], [17, "module-pydis_core.utils.paste_service", false], [18, "module-pydis_core.utils.regex", false], [19, "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)": [[14, "pydis_core.utils.interactions.ViewWithUserAndRoleCheck.on_timeout", false]], "p (in module pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.P", false]], "pasteresponse (class in pydis_core.utils.paste_service)": [[17, "pydis_core.utils.paste_service.PasteResponse", false]], "pastetoolongerror": [[17, "pydis_core.utils.paste_service.PasteTooLongError", false]], "pasteunsupportedlexererror": [[17, "pydis_core.utils.paste_service.PasteUnsupportedLexerError", false]], "pasteuploaderror": [[17, "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]], "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.commands": [[10, "module-pydis_core.utils.commands", false]], "pydis_core.utils.cooldown": [[11, "module-pydis_core.utils.cooldown", false]], "pydis_core.utils.error_handling": [[12, "module-pydis_core.utils.error_handling", false]], "pydis_core.utils.function": [[13, "module-pydis_core.utils.function", false]], "pydis_core.utils.interactions": [[14, "module-pydis_core.utils.interactions", false]], "pydis_core.utils.logging": [[15, "module-pydis_core.utils.logging", false]], "pydis_core.utils.members": [[16, "module-pydis_core.utils.members", false]], "pydis_core.utils.paste_service": [[17, "module-pydis_core.utils.paste_service", false]], "pydis_core.utils.regex": [[18, "module-pydis_core.utils.regex", false]], "pydis_core.utils.scheduling": [[19, "module-pydis_core.utils.scheduling", false]], "r (class in pydis_core.utils.cooldown)": [[11, "pydis_core.utils.cooldown.R", false]], "raw_code_regex (in module pydis_core.utils.regex)": [[18, "pydis_core.utils.regex.RAW_CODE_REGEX", 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)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule", false]], "schedule_at() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_at", false]], "schedule_later() (scheduler method)": [[19, "pydis_core.utils.scheduling.Scheduler.schedule_later", false]], "scheduler (class in pydis_core.utils.scheduling)": [[19, "pydis_core.utils.scheduling.Scheduler", false]], "send_to_paste_service() (in module pydis_core.utils.paste_service)": [[17, "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]], "trace() (customlogger method)": [[15, "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)": [[13, "pydis_core.utils.function.update_wrapper_globals", false]], "viewwithuserandrolecheck (class in pydis_core.utils.interactions)": [[14, "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, "", "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, "", "remove_command"], [3, 2, 1, "", "setup_hook"], [3, 2, 1, "", "wait_until_guild_available"]], "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, 4, 1, "", "apply_monkey_patches"], [8, 0, 0, "-", "caching"], [9, 0, 0, "-", "channel"], [10, 0, 0, "-", "commands"], [11, 0, 0, "-", "cooldown"], [12, 0, 0, "-", "error_handling"], [13, 0, 0, "-", "function"], [14, 0, 0, "-", "interactions"], [15, 0, 0, "-", "logging"], [16, 0, 0, "-", "members"], [17, 0, 0, "-", "paste_service"], [18, 0, 0, "-", "regex"], [19, 0, 0, "-", "scheduling"], [7, 4, 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, 4, 1, "", "get_or_fetch_channel"], [9, 4, 1, "", "is_in_category"]], "pydis_core.utils.commands": [[10, 4, 1, "", "clean_text_or_reply"]], "pydis_core.utils.cooldown": [[11, 3, 1, "", "CommandOnCooldown"], [11, 5, 1, "", "P"], [11, 1, 1, "", "R"], [11, 4, 1, "", "block_duplicate_invocations"]], "pydis_core.utils.cooldown.CommandOnCooldown": [[11, 2, 1, "", "__init__"], [11, 2, 1, "", "call_without_cooldown"]], "pydis_core.utils.error_handling": [[12, 4, 1, "", "handle_forbidden_from_block"]], "pydis_core.utils.function": [[13, 3, 1, "", "GlobalNameConflictError"], [13, 4, 1, "", "command_wraps"], [13, 4, 1, "", "update_wrapper_globals"]], "pydis_core.utils.interactions": [[14, 1, 1, "", "DeleteMessageButton"], [14, 1, 1, "", "ViewWithUserAndRoleCheck"]], "pydis_core.utils.interactions.DeleteMessageButton": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "callback"]], "pydis_core.utils.interactions.ViewWithUserAndRoleCheck": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "interaction_check"], [14, 2, 1, "", "on_timeout"]], "pydis_core.utils.logging": [[15, 1, 1, "", "CustomLogger"], [15, 4, 1, "", "get_logger"]], "pydis_core.utils.logging.CustomLogger": [[15, 2, 1, "", "trace"]], "pydis_core.utils.members": [[16, 4, 1, "", "get_or_fetch_member"], [16, 4, 1, "", "handle_role_change"]], "pydis_core.utils.paste_service": [[17, 5, 1, "", "MAX_PASTE_SIZE"], [17, 1, 1, "", "PasteResponse"], [17, 3, 1, "", "PasteTooLongError"], [17, 3, 1, "", "PasteUnsupportedLexerError"], [17, 3, 1, "", "PasteUploadError"], [17, 4, 1, "", "send_to_paste_service"]], "pydis_core.utils.regex": [[18, 5, 1, "", "DISCORD_INVITE"], [18, 5, 1, "", "FORMATTED_CODE_REGEX"], [18, 5, 1, "", "RAW_CODE_REGEX"]], "pydis_core.utils.scheduling": [[19, 1, 1, "", "Scheduler"], [19, 4, 1, "", "create_task"]], "pydis_core.utils.scheduling.Scheduler": [[19, 2, 1, "", "__contains__"], [19, 2, 1, "", "__init__"], [19, 2, 1, "", "cancel"], [19, 2, 1, "", "cancel_all"], [19, 2, 1, "", "schedule"], [19, 2, 1, "", "schedule_at"], [19, 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", "function", "Python function"], "5": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:exception", "4": "py:function", "5": "py:data"}, "terms": {"": [0, 1, 7, 8, 10, 11, 13, 14, 15, 18, 19], "0": [0, 8, 14, 15], "0a0": 0, "0eb3d26": 0, "1": [0, 15], "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": 14, "181": 0, "182": 0, "183": 0, "185": 0, "18th": 0, "19th": 0, "2": [0, 3, 14], "2021": 0, "2022": 0, "2023": 0, "204": 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, "30": 0, "30th": 0, "32": 0, "34": 0, "35": 0, "37": 0, "39": 0, "3rd": 0, "4": 0, "403": 7, "42": 0, "4cbe8f5": 0, "5": [0, 11], "524288": 17, "54": 0, "56": 0, "5a06fa5": 0, "5th": 0, "6": 0, "61": 0, "63": 0, "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, 12], "91": 0, "93": 0, "96": 0, "98": 0, "987235d": 0, "9th": 0, "A": [1, 3, 6, 7, 8, 9, 11, 13, 14, 17, 19], "For": 13, "If": [3, 6, 11, 13, 14, 19], "It": 7, "No": 6, "Not": 3, "On": 0, "That": 1, "The": [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "To": [1, 3, 15], "_": 0, "__annotations__": 13, "__call__": [7, 8], "__contains__": [7, 19], "__dict__": 13, "__doc__": 13, "__global__": 13, "__init__": [0, 2, 3, 4, 6, 7, 8, 11, 14, 19], "__module__": 13, "__name__": 13, "__qualname__": 13, "__str__": [3, 6], "_guild_avail": 0, "_p": 13, "_r": 13, "_transport": 0, "abl": 0, "about": 11, "abstract": 0, "abstracteventloop": [4, 19], "accept": 14, "act": 7, "actual": 0, "ad": [0, 1, 7, 14, 15], "add": [0, 3, 11], "add_cog": [2, 3], "add_command": [2, 3], "add_rol": 16, "after": [0, 3, 14, 19], "again": 1, "aiodn": 0, "aiohttp": [0, 3, 6, 17], "alia": [3, 7, 11], "alias": [3, 7], "all": [0, 1, 3, 4, 7, 19], "all_command": 3, "all_extens": 3, "allow": [0, 1, 3, 14, 17], "allowed_rol": [1, 3, 14], "allowed_us": 14, "alpha": 0, "alreadi": 19, "also": [0, 7, 13, 14], "an": [0, 1, 3, 4, 6, 7, 8, 9, 15, 17, 19], "ani": [6, 18, 19], "annot": 13, "anyth": [1, 17], "api": [0, 6, 16], "api_cli": [0, 3], "apicli": [0, 2, 3, 6], "app": [0, 3], "appear": 3, "appli": [7, 8, 11], "applic": 1, "apply_monkey_patch": [0, 2, 3, 7], "approach": 1, "april": 0, "ar": [1, 3, 8, 13, 14, 18], "arg": [3, 11, 15], "arg_offset": 8, "args_preprocessor": 11, "argument": [6, 7, 8, 10, 11, 15, 16], "around": 6, "assign": 13, "async": [0, 3, 4, 6, 8, 9, 10, 11, 12, 14, 16, 17], "async_rediscach": 3, "async_stat": [2, 3], "asynccach": [3, 7, 8], "asyncio": [0, 4, 19], "asyncresolv": 0, "asyncstatscli": [2, 3, 4], "asyncstatsdcli": 0, "attach": 0, "attempt": [0, 3, 9, 16], "attr": 0, "attribut": [7, 13], "august": 0, "authent": 6, "auto": 0, "auto_mod": 0, "autogener": 0, "automat": 0, "avail": [0, 3], "avoid": 0, "await": [0, 11, 14, 16], "awar": 19, "back": 0, "bad": 0, "badargu": 10, "base": [0, 3, 4, 6, 8, 11, 13, 14, 15, 17, 19], "basic": [0, 14], "becaus": [3, 13], "becom": 3, "been": 0, "befor": [0, 3, 14, 19], "behav": 13, "behaviour": 0, "being": [0, 7, 16], "below": 1, "between": [0, 1, 13], "block": [0, 11, 18], "block_duplicate_invoc": [3, 7, 11], "boilerpl": 0, "bool": [3, 6, 9, 11, 14, 19], "bot": [0, 1, 3, 7, 9], "bot_token": 1, "botbas": [0, 2, 3], "both": [1, 17], "break": [0, 13], "broke": 0, "bug": 0, "bump": 0, "button": [0, 14], "buttonstyl": 14, "byte": 17, "cach": [0, 3, 7, 9, 16], "calcul": 19, "call": [3, 11, 13, 19], "call_without_cooldown": [7, 11], "callabl": [8, 11, 13, 16], "callback": [7, 14], "can": [0, 1, 14, 19], "cancel": [7, 19], "cancel_al": [7, 19], "cannot": [0, 3], "captur": [0, 13, 18], "carri": 14, "case": 0, "categori": 9, "category_id": 9, "caus": 7, "certain": 1, "chang": [0, 1, 13], "changelog": 2, "changeset": 0, "channel": [0, 3, 7, 11], "channel_id": 9, "charact": 0, "check": [6, 9, 11, 12, 14, 19], "chunk": 0, "ci": 0, "class": [0, 3, 4, 6, 8, 11, 14, 15, 17, 19], "clean": [0, 10], "clean_text_or_repli": [3, 7, 10], "clear": [2, 3, 7, 8], "click": 14, "client": [0, 3, 4], "clientrespons": 6, "clientsess": [3, 6, 17], "close": [0, 2, 3, 6, 19], "cloudflar": 7, "code": [0, 1, 18], "cog": [0, 3, 5], "com": [0, 17], "comma": 1, "command": [0, 1, 3, 7, 9, 11, 13], "command_wrap": [3, 7, 13], "commanderror": 11, "commandoncooldown": [3, 7, 11], "commit": 0, "common": [0, 1, 3, 7, 15, 18], "commun": 4, "compos": 1, "configur": 1, "conflict": 13, "connect": [0, 3, 4], "connector": 3, "constructor": 6, "contain": [1, 14, 17, 19], "content": [0, 6, 10, 17], "context": 10, "cooldown": [3, 7], "cooldown_dur": 11, "copi": [1, 13], "core": [0, 1], "coro": [16, 19], "coroutin": [8, 16, 19], "correct": [0, 1], "could": 16, "crash": 0, "creat": [0, 3, 4, 8, 11, 13, 19], "create_datagram_endpoint": 4, "create_socket": [3, 4], "create_task": [3, 7, 19], "creation": 0, "ctx": [10, 14], "current": 19, "custom": [0, 8, 15], "customlogg": [3, 7, 15], "d": [1, 13], "dai": 0, "datetim": 19, "deal": 0, "decemb": 0, "declar": 0, "decor": [0, 8, 11, 13], "default": [0, 1], "delai": 19, "delet": [0, 3, 6, 8, 14, 17], "deletemessagebutton": [0, 3, 7, 14], "depend": [0, 9], "deprec": 0, "detail": 13, "detect": 0, "dev": [1, 3], "develop": [0, 2, 3, 7], "dict": 6, "directli": [0, 13], "directori": 1, "discord": [0, 1, 3, 5, 7, 9, 10, 12, 13, 16, 18], "discord_invit": [0, 3, 7, 18], "disnak": 0, "distinguish": 19, "django": 6, "do": [1, 9], "doc": 0, "docker": 1, "docstr": 0, "document": 0, "doesn": 19, "don": [0, 19], "done": [14, 19], "due": 0, "dummi": [0, 3], "duplic": [0, 11], "dynam": 0, "each": 0, "edit": 3, "either": 3, "els": 10, "elsewher": 19, "emit": 3, "empti": 3, "enabl": 1, "encount": 17, "endpoint": 6, "ensur": [3, 14, 18], "entir": [0, 3], "env": 1, "environ": 1, "equival": 6, "error": [0, 3, 6, 7, 12, 16, 17], "error_handl": [3, 7], "etc": 1, "evalu": 13, "event": [0, 3, 4, 19], "event_loop": 19, "exact": 1, "exc_info": 15, "exce": 8, "except": [3, 6, 11, 13, 15, 17, 19], "execut": 19, "exist": [1, 19], "expect": 16, "expiri": 0, "explain": 0, "express": 18, "ext": [0, 2, 3, 7, 9, 10], "extend": 0, "extens": [0, 3], "extra": 6, "fail": [9, 17], "failur": 16, "fals": 11, "featur": [0, 1, 3], "februari": 0, "fetch": [9, 16], "few": 1, "fifo": 8, "file": [1, 17], "file_nam": 17, "filter": 0, "fix": 0, "float": [11, 14, 19], "folder": 1, "forbidden": [0, 9, 12], "format": 18, "formatted_code_regex": [3, 7, 18], "forum": 0, "forwardref": 13, "found": [13, 16, 19], "free": 1, "from": [0, 1, 3, 4, 6, 7, 9, 13, 14, 16, 17, 19], "frozenset": 13, "function": [0, 3, 7, 8, 9, 11, 15, 16, 19], "functool": 13, "futur": 19, "gatewai": 3, "gener": [0, 3, 11, 19], "get": [0, 3, 6, 9, 16], "get_logg": [3, 7, 15], "get_or_fetch_channel": [3, 7, 9], "get_or_fetch_memb": [0, 3, 7, 16], "git": 1, "give": 3, "given": [3, 4, 7, 9, 10, 15, 16, 19], "global": 13, "globalnameconflicterror": [3, 7, 13], "go": 1, "greater": 17, "groundwork": 1, "group": [7, 18], "guild": [0, 1, 3, 16], "guild_available_but_cache_empti": 3, "guild_creat": 3, "guild_id": [1, 3], "guildchannel": 9, "ha": [0, 7], "handl": [0, 12, 16, 19], "handle_forbidden_from_block": [3, 7, 12], "handle_role_chang": [0, 3, 7, 16], "hashabl": 19, "have": [0, 9, 13, 15], "heavi": 7, "help": [0, 1], "helper": [9, 11, 16], "hook": 0, "host": 4, "houston": 15, "how": [0, 8, 13, 19], "howev": 1, "http": [0, 6, 17, 18], "http_session": [3, 17], "httpexcept": 9, "i": [0, 1, 3, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19], "id": [1, 3, 9, 14, 19], "identifi": 19, "ignor": [1, 7, 13], "ignored_conflict_nam": 13, "immedi": 19, "implement": [3, 4, 8, 14, 15], "import": 0, "inadequ": 3, "includ": [1, 12], "incorrect": 0, "index": 2, "indic": 16, "individu": 3, "info": 1, "inform": [2, 15], "init": [0, 3, 4], "initi": [6, 19], "initialis": [3, 8], "input": 14, "instal": 1, "instanc": [0, 3, 6, 8, 9, 15, 19], "instanti": [3, 14, 19], "instead": [3, 11, 19], "int": [3, 4, 8, 9, 14, 17, 19], "intend": 16, "intent": 1, "interact": [0, 3, 7, 9], "interactin": 16, "interaction_check": [7, 14], "interest": 15, "intern": [3, 7], "intersphinx": 0, "invalid": 9, "invaliddata": 9, "invit": [0, 18], "invoc": [0, 11], "invok": [1, 11, 14], "is_in_categori": [3, 7, 9], "isn": 12, "item": 8, "iter": 11, "its": [0, 3, 11, 13], "itself": 14, "januari": 0, "json": 6, "juli": 0, "june": 0, "keep": 19, "kei": 8, "keyword": [6, 7, 15], "known": 19, "kwarg": [3, 6, 11, 14, 15, 19], "label": [0, 14], "lancebot": 1, "larg": 17, "larger": 17, "last": 14, "latest": 0, "lead": 0, "length": 11, "level": [7, 15], "lexer": [0, 17], "librari": 1, "like": [1, 13], "link": 17, "lint": 0, "list": [1, 3], "ll": [1, 19], "load": [0, 1, 3, 7], "load_extens": [0, 2, 3], "local": 2, "localhost": 4, "log": [0, 3, 7, 12, 16, 19], "log_to_dev_log": [2, 3], "logger": [0, 15], "logic": 0, "long": [17, 19], "longer": [0, 14], "look": [13, 19], "loop": [4, 19], "lot": 0, "lru": 8, "m": 1, "machin": 1, "made": 0, "mai": [0, 8], "main": 0, "make": [0, 1, 15], "mani": [0, 3, 8], "manipul": [0, 13], "manual": 3, "march": 0, "match": [0, 3], "max": 17, "max_length": 17, "max_paste_s": [3, 7, 17], "max_siz": [8, 17], "maximum": [8, 17], "maybe_raise_for_statu": [3, 6], "mean": 1, "member": [0, 3, 7], "member_id": 16, "mention": [1, 3], "messag": [0, 3, 10, 11, 12, 14, 15, 19], "message_typ": 0, "method": [0, 4, 6, 7, 15], "might": 1, "migrat": 0, "miss": 0, "mod": 0, "moder": 14, "modifi": [1, 16], "modul": [0, 3, 7, 13, 19], "monitor": 1, "monkei": [0, 7], "month": 0, "more": [1, 13], "most": 1, "move": 0, "msg": 15, "multivers": 0, "must": 19, "mypi": 15, "name": [3, 7, 13, 15, 17, 19], "namespac": [0, 19], "navig": 1, "na\u00efv": 19, "need": [0, 1], "new": [0, 1, 4, 6, 8, 13, 19], "newli": 0, "non": 6, "none": [0, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19], "normal": 3, "notabl": 0, "notfound": 9, "notic": 0, "notifi": 11, "novemb": 0, "now": [0, 1, 19], "number": [0, 17], "object": [6, 7, 8, 9, 11, 16, 19], "occur": 14, "offset": 8, "ok": 6, "older": 0, "on_guild_avail": [2, 3], "on_guild_unavail": [2, 3], "on_readi": 3, "on_timeout": [7, 14], "onc": 8, "one": [0, 3], "ones": 1, "onli": [0, 3], "oper": [3, 19], "option": [0, 8], "order": [8, 19], "origin": 14, "other": [1, 19], "otherwis": 19, "our": [0, 1, 7], "out": [0, 1, 14], "output": 18, "own": [0, 13], "p": [3, 7, 11], "packag": [0, 7], "page": 2, "pagin": 0, "paramet": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "paramspec": [11, 13], "parent": [0, 14], "pars": 18, "pass": [0, 6, 15, 16, 19], "past": [0, 17, 19], "paste_servic": [3, 7], "paste_url": 17, "pastebin": 0, "pasterespons": [3, 7, 17], "pastetoolongerror": [3, 7, 17], "pasteunsupportedlexererror": [3, 7, 17], "pasteuploaderror": [3, 7, 17], "patch": [0, 3, 6, 7], "path": 1, "pattern": 18, "permiss": [0, 9], "ping": 3, "ping_servic": [0, 2, 3], "pip": 1, "pleas": 18, "poetri": [0, 1], "popul": 3, "port": [0, 4], "posit": 8, "possibl": 1, "post": [3, 6, 17], "pre": 1, "prefix": [1, 4], "prematur": 19, "press": 0, "prevent": [11, 19], "problem": 15, "process": 0, "program": 1, "project": [0, 1], "provid": [1, 8, 10, 12, 19], "public": 0, "publish": 0, "purpos": 16, "push": 0, "put": [3, 6], "py": [0, 13], "pydi": 2, "pydis_cor": [0, 1, 3, 14], "pypi": 0, "pyproject": [0, 1], "python": [0, 1, 3, 17, 19], "pythondiscord": [0, 17], "qualifi": 7, "quot": 18, "r": [3, 7, 11], "rais": [6, 9, 10, 11, 12, 13, 16, 17, 19], "raise_for_statu": 6, "rather": 7, "raw": [11, 18], "raw_code_regex": [3, 7, 18], "rc2": 0, "re": [1, 3, 12, 19], "readi": 3, "real": 0, "receiv": [0, 6, 9], "recognis": 15, "reconnect": 0, "redi": 0, "redis_sess": 3, "rediscach": 0, "redissess": 3, "refer": 0, "referenc": 0, "reflect": 13, "regex": [0, 3, 7], "regular": 18, "reinstal": 1, "reject": 17, "relat": [8, 15], "releas": 0, "remov": [0, 3, 14, 17], "remove_command": [2, 3], "remove_rol": 16, "renam": 0, "replac": 13, "repli": [10, 11, 12], "repo": 0, "represent": 6, "request": [0, 3, 6, 18], "requir": [1, 3, 19], "resolut": 0, "resolv": [3, 13], "respons": [6, 17], "response_json": 6, "response_text": 6, "responsecodeerror": [2, 3, 6], "restor": 0, "result": [0, 19], "retriev": 9, "return": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "reusabl": 5, "revert": 0, "role": [0, 1, 3, 14, 16], "root": [1, 3, 7], "root_alias": 7, "rout": 7, "ruff": 0, "run": [0, 1, 11, 19], "safe": 0, "same": [11, 19], "sampl": 0, "sanitis": 18, "save": [0, 3, 17], "schedul": [0, 3, 7], "schedule_at": [7, 19], "schedule_lat": [7, 19], "search": 2, "second": [3, 11, 14, 19], "secondari": 14, "see": [1, 13, 14], "self": [0, 3, 14], "send": [6, 14], "send_notic": 11, "send_to_paste_servic": [3, 7, 17], "send_typ": 7, "seper": 1, "septemb": 0, "sequenc": [7, 13, 14], "server": [3, 18], "servic": [0, 1, 3, 17], "session": [0, 3, 6, 17], "session_kwarg": 6, "set": [0, 1, 3, 11, 13, 14], "setup": [0, 3], "setup_hook": [2, 3], "sever": 15, "share": [0, 13], "should": [0, 1, 6, 14], "should_rais": 6, "signatur": 11, "similar": [14, 18], "singl": 0, "sir": 1, "site": [0, 6], "site_api": [0, 2, 3], "site_api_token": 6, "site_api_url": 6, "size": [8, 17], "so": [0, 1, 7], "socket": 4, "sole": 16, "some": [0, 17], "someth": 18, "sourc": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "specifi": [0, 11, 14], "sphinx": 0, "stabl": 0, "start": [0, 3, 19], "startup": 3, "startuperror": [2, 3], "stat": [0, 4], "state": 13, "static": 6, "statsclientbas": 4, "statsd": [0, 3, 4], "statsd_url": [0, 3], "step": 1, "still": 3, "stop": 0, "store": [7, 8], "str": [3, 4, 6, 7, 10, 13, 14, 15, 17, 19], "string": [0, 6], "style": 14, "sub": [0, 3], "submodul": 2, "subpackag": 2, "subtract": 19, "success": [0, 17], "suggest": 19, "support": [0, 4, 7, 19], "suppressed_except": 19, "sure": 1, "sync": [0, 3], "sync_app_command": 3, "system": [0, 1], "t": [0, 10, 12, 13, 19], "target": 8, "task": [0, 19], "task_id": 19, "task_return": 19, "templat": 1, "test": 2, "text": [0, 6, 10], "textchannel": 9, "than": [7, 17], "thei": [3, 13], "them": [1, 3, 13, 19], "thi": [0, 1, 3, 7, 9, 11, 13, 14, 16, 18, 19], "thrown": 7, "thu": 3, "time": [0, 19], "timeout": [0, 14], "timezon": 19, "token": [1, 6], "toml": [0, 1], "too": 17, "tool": [3, 7], "top": 7, "trace": [0, 7, 15], "track": 19, "transport": 4, "true": [3, 6, 11, 15, 19], "tupl": 19, "two": 7, "type": [3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19], "typeddict": 17, "typehint": 13, "typevar": [11, 13, 19], "ui": 14, "unavail": 3, "unawait": 19, "under": 7, "uniqu": 19, "unknown": 9, "unqualifi": [0, 2, 3, 7], "unschedul": 19, "unsupport": 17, "until": [3, 18], "up": [0, 1, 3], "updat": [0, 13], "update_wrapper_glob": [3, 7, 13], "upload": [0, 17], "upon": 0, "url": [0, 3, 6, 17], "urllib": 18, "us": [0, 1, 3, 4, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19], "user": [0, 11, 14], "utc": 19, "util": [0, 1, 2, 3, 8, 13, 14, 15], "v1": 0, "valid": 0, "valu": [11, 13, 15], "valueerror": [6, 17], "vari": 1, "variabl": 1, "variou": 9, "version": [0, 10], "view": [0, 14], "viewwithuserandrolecheck": [0, 3, 7, 14], "wa": [0, 9, 19], "wait": [0, 3, 19], "wait_until_guild_avail": [2, 3], "want": 1, "warn": 19, "wasn": 10, "we": [15, 16], "what": 1, "when": [0, 3, 4, 6, 7, 8, 11, 13, 17, 19], "whether": [3, 6, 9], "which": [0, 1, 7, 11, 19], "while": 11, "whitespac": [0, 18], "who": 14, "within": [0, 3], "won": 13, "work": [0, 1], "worker": 7, "wrap": [8, 13, 19], "wrapper": [0, 6, 11, 13, 19], "write": 1, "wrong": 0, "www": 0, "you": [1, 9, 18], "your": 1}, "titles": ["Changelog", "Local Development & Testing", "Bot Core Project Documentation", "Pydis Core", "async_stats", "Exts", "site_api", "Utils", "caching", "channel", "commands", "cooldown", "error_handling", "function", "interactions", "logging", "members", "paste_service", "regex", "scheduling"], "titleterms": {"1": 1, "2": 1, "async_stat": 4, "bot": 2, "cach": 8, "changelog": 0, "channel": 9, "command": 10, "cooldown": 11, "core": [2, 3], "develop": 1, "document": 2, "error_handl": 12, "ext": 5, "extra": 2, "function": 13, "interact": 14, "local": 1, "log": 15, "member": 16, "modul": 2, "option": 1, "paste_servic": 17, "project": 2, "pydi": 3, "refer": 2, "regex": 18, "schedul": 19, "site_api": 6, "submodul": [3, 7], "subpackag": 3, "test": 1, "util": 7}}) \ No newline at end of file diff --git a/v9.9.2/versions.html b/v9.9.2/versions.html index 71fb0bc74..56dcdcb96 100644 --- a/v9.9.2/versions.html +++ b/v9.9.2/versions.html @@ -4,13 +4,13 @@ - + Versions - Pydis Core v9.9.2 - + @@ -318,6 +318,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -540,6 +548,18 @@

    Versions

    v9.0.0 + + +
  • + v11.5.0 + + +
  • + +
  • + v11.4.0 + +
  • @@ -667,7 +687,7 @@

    Versions

    - +