Skip to main content

A library to help with discord.py

Project description

Discord Helper

A simple helper library for discord.py

Features

getEmoteFromName(name): This gets the unicode emoji that corresponds to the discord emoji, like how :grinning: is the grinning emoji when adding reactions.

getNameFromEmote(emote): The exact opposite of getEmoteFromName as this takes in the emoji and gives back the name

createEmbed(title, text, footer, authour_name, color): This returns a embed with the inputs given

checkURLs(string): Returns a bool stating whether there is a url in the string

getURLs(string): Returns a list of all URLs in a string

getTimeSinceMessage(message): Returns DateTime of time since a message was created

getColoredText(text, color): Responds with the formatting corresponding to the color, here are the following colors

  • red
  • green
  • dark-green
  • light-green
  • orange
  • yellow
  • dark-yellow
  • blue

Version & Fixes

Please feel free to make fixes and put up issues at the github repo

Fixes

  • small readme formatting

Project details


Download files

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

Files for discordhelp, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size discordhelp-1.0.5.tar.gz (15.8 kB) File type Source Python version None Upload date Hashes View
Filename, size discordhelp-1.0.5-py3-none-any.whl (29.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page