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
- Fixed typo in a function
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.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5924c0e168d34928ebba651b5582bbd215b384275eb69cee272c8a0ef5b2730 |
|
MD5 | 44634fd5c7ee5addf84a1f6017c3040b |
|
BLAKE2b-256 | 45f45f0daa28eac7b72bcec32407018df4aad10a6b2c42a5d38428a8b535060e |