Skip to content

sizumita/dpybrew

Repository files navigation

dpybrew

Documentation Status

A discord.py extension/service manager

Installation

You can install dpybrew from Pypi.

$ pip install dpybrew

Useage

Show extension list

$ dpybrew list

or

$ dpybrew list your-extensions-path

Install extensions

$ dpybrew install [extension-name]

or

$ dpybrew install git+url -dir cogs/

All extensions -> https://gist.github.com/sizumita/19ec79e3ad0ecfae89cca665ddf717e1

Services

Pagenator

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)

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published