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
Built Distribution
Hashes for discordhelp-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e75274ba8ab068d392a52b582a2d906a25cb3d3291c7116b1aadc77d748daedc |
|
MD5 | 301c25c4999d940015724a976bc6e69a |
|
BLAKE2b-256 | 2729dc27c63d6d540dcb9aacf434353e47bb58c77040f772645de49a68a9d556 |