discordhelp-1.0.5
توضیحات
A library to help with discord.py
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | discordhelp-1.0.5 |
| نام | discordhelp |
| نسخه کتابخانه | 1.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ashvin Ranjan |
| ایمیل نویسنده | me@ash.vin |
| آدرس صفحه اصلی | https://github.com/Ashvin-Ranjan/Discord-Helper |
| آدرس اینترنتی | https://pypi.org/project/discordhelp/ |
| مجوز | - |
# 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](https://github.com/Ashvin-Ranjan/Discord-Helper)
### Fixes
- small readme formatting
نیازمندی
| مقدار | نام |
|---|---|
| - | discord.py |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl discordhelp-1.0.5:
pip install discordhelp-1.0.5.whl
نصب پکیج tar.gz discordhelp-1.0.5:
pip install discordhelp-1.0.5.tar.gz