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
Built Distribution
File details
Details for the file dpytools-0.0.13a0.tar.gz
.
File metadata
- Download URL: dpytools-0.0.13a0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90b57c72a9c974751f739362b0403c029ed48cec5751fc048aa6f13b7716e753 |
|
MD5 | 2c8de1aa66204b3e1399e11808fd1314 |
|
BLAKE2b-256 | f4ff94c7e41e69d41e872e251460d11edbaab8a23f5a6777dce38a9b5e24a628 |
File details
Details for the file dpytools-0.0.13a0-py3-none-any.whl
.
File metadata
- Download URL: dpytools-0.0.13a0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f8a38718eafb9d15683bb5a42833830d9874b9ba6a23d15983067aa34ad014 |
|
MD5 | 4433d46a3550e047b14340ce7e88045d |
|
BLAKE2b-256 | dce40dcdd1c3f2f6d7c53c49f13cd3dfc3bdf5023143594eb030d85d00d14a30 |