Skip to main content

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 be True or False. 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 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-0.0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

DiscordFuncs-0.0.1-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

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