PyDrocsid.pagination ¶
create_pagination
async
¶
create_pagination(channel: Message | Messageable | InteractionResponse, user: User | Member | None, embeds: list[Embed], **kwargs: Any) -> Message
Create embed pagination on a message.
Parameters:
-
channel
(
Message | Messageable | InteractionResponse
) –the channel to send the message to
-
user
(
User | Member | None
) –the user who should be able to control the pagination
-
embeds
(
list[Embed]
) –a list of embeds
Source code in PyDrocsid/pagination.py
84 85 86 87 88 89 90 91 92 93 94 95 96 |
|