How to use the disputils.pagination.BotEmbedPaginator function in disputils

To help you get started, we’ve selected a few disputils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LiBa001 / disputils / disputils / View on Github external
def __init__(self, ctx: commands.Context, pages: [discord.Embed], message: discord.Message = None):
        Initialize a new EmbedPaginator.

        :param ctx: The :class:`discord.ext.commands.Context` to use.
        :param pages: A list of :class:`discord.Embed` to paginate through.
        :param message: An optional :class:`discord.Message` to edit. Otherwise a new message will be sent.
        self._ctx = ctx

        super(BotEmbedPaginator, self).__init__(, pages, message)


Some utilities for Making Discord bot development easier.

Latest version published 2 years ago

Package Health Score

45 / 100
Full package analysis

Similar packages