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.

dm_from_this_guild

Limits a command to direct messages while also checking if the user comes from a particular 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.13a1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

dpytools-0.0.13a1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file dpytools-0.0.13a1.tar.gz.

File metadata

  • Download URL: dpytools-0.0.13a1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.8 Windows/10

File hashes

Hashes for dpytools-0.0.13a1.tar.gz
Algorithm Hash digest
SHA256 1548577445d8ff282045b82fed0467e232a621886fb81169debc1c36ad114d47
MD5 a63dffddf0a29c94e2f21eebf54ce7de
BLAKE2b-256 64d7b76cc3a6f54282c4c949b40f76b3d193cb167a43b54b0f2df6d47a50d7f3

See more details on using hashes here.

File details

Details for the file dpytools-0.0.13a1-py3-none-any.whl.

File metadata

  • Download URL: dpytools-0.0.13a1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.8 Windows/10

File hashes

Hashes for dpytools-0.0.13a1-py3-none-any.whl
Algorithm Hash digest
SHA256 acf4348e55a8c8f30ff3bf08a955ac54ddbe6de6a000f93ffcde52cb7501c6ba
MD5 8b7538c7bd506d19b4375f1d7c213097
BLAKE2b-256 03ac463afda0fe73b33de27c184577f56e8c869480a1262c568fafc13eb20bd0

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