From 4497a82c504818d61ab18c5251ae2bc42bae279e Mon Sep 17 00:00:00 2001
From: ChrisLovering Bases: Bases: Raised when attempting to paginate with empty contents. 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.
@@ -469,11 +477,11 @@
ExceptionException
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.
Example: @@ -579,9 +587,15 @@ to any user with a moderation role.
Whether model building is completed, or if there are still undefined fields.
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.
+The core schema of the model.
A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects. +This replaces Model.__fields__ from Pydantic V1.
+The pydantic-core SchemaSerializer used to dump instances of the model.
The pydantic-core SchemaValidator used to validate instances of the model.
The synthesized __init__ [Signature][inspect.Signature] of the model.
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
-Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
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.
-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__PaginationEmojis.__pydantic_serializer__PaginationEmojis.__pydantic_validator__PaginationEmojis.__signature__PaginationEmojis.model_computed_fieldsPaginationEmojis.model_configPaginationEmojis.model_fields