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.11a4.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

dpytools-0.0.11a4-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file dpytools-0.0.11a4.tar.gz.

File metadata

  • Download URL: dpytools-0.0.11a4.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Windows/10

File hashes

Hashes for dpytools-0.0.11a4.tar.gz
Algorithm Hash digest
SHA256 0013c9667c57082dd018e68c7ea444bcd095562299b9e832b760c01872da0e5f
MD5 11e5f7b145890850153381d40f9d7668
BLAKE2b-256 004b85aa72cc63717da0d73930d72588728cf2b67f5c783525e432e92af0a04d

See more details on using hashes here.

File details

Details for the file dpytools-0.0.11a4-py3-none-any.whl.

File metadata

  • Download URL: dpytools-0.0.11a4-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Windows/10

File hashes

Hashes for dpytools-0.0.11a4-py3-none-any.whl
Algorithm Hash digest
SHA256 90a98cc3a3dceca0d4db3cd01f2c7024850e170c9b33c64ef3c43a96a881683d
MD5 59c0d212d6aa1e80d7e8fa837d75e5db
BLAKE2b-256 efefad4c4a1803b201591f15c41f042a1413fbc96c5b37f8f68ead9cab1defbc

See more details on using hashes here.

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