A discord.py extension/service manager
- Free software: MIT license
- Documentation: https://dpybrew.readthedocs.io.
You can install dpybrew from Pypi.
$ pip install dpybrew
$ dpybrew list
or
$ dpybrew list your-extensions-path
$ dpybrew install [extension-name]
or
$ dpybrew install git+url -dir cogs/
All extensions -> https://gist.github.com/sizumita/19ec79e3ad0ecfae89cca665ddf717e1
import discord
from dpybrew.service import Pagenator
class MyPagenator(Pagenator):
def get_embed(self, page):
embed = discord.Embed(title=str(page+1))
return embed
# in client
pagenator = Pagenator(client, 10)
# run
await pagenator.start(message)
# or
await pagenator.start_by_context(context)
- TODO
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.