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.12a1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

dpytools-0.0.12a1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dpytools-0.0.12a1.tar.gz
  • Upload date:
  • Size: 7.5 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.12a1.tar.gz
Algorithm Hash digest
SHA256 c560e16769798908fbdea58efa97ba09696728a41a9bddd089cf0c55d9a5105c
MD5 d0390e721cea94a2934fc2f09c1320de
BLAKE2b-256 e1e5bb114a7c4a5bd1b8ad94262ba9f0f91cf98e64b1f7c9344f598f09d855af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dpytools-0.0.12a1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.12a1-py3-none-any.whl
Algorithm Hash digest
SHA256 772d692e5bdfc0924fda05b0ec6099552e516ccc0c0f9176f1aea4c89c26da59
MD5 7d9b2d697da014e7e0f79995bd84e99f
BLAKE2b-256 f0b441ad32fe4182a7b9d60cf2c5667a44309bf2cf68d6cea99c2f2a81299426

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