Skip to main content

Simple tools to build discord bots using discord.py

Project description

dpytools

Toolset to speed up developing discord bots using discord.py


Status of the project

Early development. As such its expected to be unstable and unsuited for production.

Components

menus

arrows

Displays a menu made from passed Embeds with navigation by reaction.

confirm

Returns the user reaction to confirm or deny a passed message.

embeds

paginate_to_embeds

Paginates a long text into a list of embeds.

parsers

parse_time

Parses strings with the format "2h15m" to a timedelta object.

owner_cog

Cog with different command useful for the owner of the bot

Commands

cogs

lists, loads, unloads and reloads cogs in bulk or individually

checks

admin_or_roles

Check if command user is an admin or has any of passed roles

only_this_guild

Check that limits the command to a specific guild.


Contributing

Feel free to make a pull request.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dpytools-0.0.11a1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

dpytools-0.0.11a1-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page