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.

Source Distribution

discordhelp-1.0.5.tar.gz (15.8 kB view hashes)

Uploaded Source

Built Distribution

discordhelp-1.0.5-py3-none-any.whl (29.5 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