Some small discord.py functions for bot developers!
Reason this release was yanked:
Old
Project description
About
DiscordFuncs is a small project made to facilitate development of Discord.py projects.
This project requires Discord.py to be installed, and will install it if it is not present on the system.
Usage
- Use the command
pip3 install DiscordFuncs
to install the package. - Call functions like any other function in Python!
Dev Note
Thank you for using this package! Please credit it in your bot's help
command or elsewhere so others can use this package!
Modules
botInfo() (from DiscordFuncs import Bot
)
- Prints useful information about your system and the bot to the console.
setIntent(intentName, Value) (from DiscordFuncs import Bot
)
Value
must beTrue
orFalse
. Anything else will return an error.intentName
has to be one of the intents listed here.
sendMessage(url, content) (from DiscordFuncs import Webhook
)
url
has to be a valid Discord webhook URLcontent
has to be a valid string of text, or a variable that corresponds to one.
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
DiscordFuncs-0.0.1.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file DiscordFuncs-0.0.1.tar.gz
.
File metadata
- Download URL: DiscordFuncs-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12deb688b25c183ab5177f0200d74ff69b68789790f71416504e4ee8e19471c |
|
MD5 | 55396f73783abde4289dd2c5e3af5656 |
|
BLAKE2b-256 | 6081f195ccd0a0e13e7d744e9ec1dcb0ef2e71dbf955782a610759ebde70e286 |
Provenance
File details
Details for the file DiscordFuncs-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: DiscordFuncs-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c438decdf7bd99d25e458a65831cb93e7ee7ec8b980d562b3d61f897ef971ba |
|
MD5 | 43528e1c879f797751bbbd0fb62e5e97 |
|
BLAKE2b-256 | 4a8906c3742688f26c851e2f8cd0b93fb0a3a84fe59b2850970a53aa8dfe21e0 |