Skip to main content

Some small discord.py functions for bot developers!

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 python3 -m pip install DiscordFuncs in terminal to install the package. (In Windows, use py -m pip install DiscordFuncs instead.)
  • 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

Bot

Bot.botInfo() (from DiscordFuncs.Bot import *)

  • Prints useful information about your system and the bot to the console.

Bot.setIntent(intentName, Value) (from DiscordFuncs.Bot import *)

  • Value must be True or False. Anything else will return an error.
  • intentName has to be one of the intents listed here.

Webhook

Webhook.sendMessage(url, content) (from DiscordFuncs.Webhook import *)

  • url has to be a valid Discord webhook URL
  • content has to be a valid string of text, or a variable that corresponds to one.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DiscordFuncs-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DiscordFuncs-1.0.0-py2-none-any.whl (2.7 kB view details)

Uploaded Python 2

File details

Details for the file DiscordFuncs-1.0.0.tar.gz.

File metadata

  • Download URL: DiscordFuncs-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.2

File hashes

Hashes for DiscordFuncs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3bef75a68e1a37ce2821ed0129c9cdc74fa83d2a4ec38c34e3ad9d6c0f7c670d
MD5 3421ff10ef2f533da2395f6b8ef5e9eb
BLAKE2b-256 6b939036085cc9edebd77688082f64899da6b1c533970438e8ed77271e42aabd

See more details on using hashes here.

File details

Details for the file DiscordFuncs-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: DiscordFuncs-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.2

File hashes

Hashes for DiscordFuncs-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 86426c3088f6f927f826b125dda0fe69e1df0fc28a8ab5126bfe29b4f66749a5
MD5 28f7fea521e48a2e2c0cee209db251e4
BLAKE2b-256 37a1e5f94c2ea98ed6e7ed3aa86c4446bdc5ae3fdddc1ca569820ca464b40336

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page