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

  • Fixed Major problem with import name

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.2.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

discordhelp-1.0.2-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file discordhelp-1.0.2.tar.gz.

File metadata

  • Download URL: discordhelp-1.0.2.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1

File hashes

Hashes for discordhelp-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7df1566a102e646e2417956a6edef2f8156a91f019a608c3bd308653de89d629
MD5 1345a2319b0dc3348b00f92ce7f0331e
BLAKE2b-256 458e5f522d775ae338db3c51aca33b8a5a621b2cbc076909f1765aba9e560873

See more details on using hashes here.

Provenance

File details

Details for the file discordhelp-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: discordhelp-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1

File hashes

Hashes for discordhelp-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e851a53f150a8ea29a8d614820d020b4d7850b73aaa57ca7342f64e68ed3f14b
MD5 3bcf0fce5aa9e88826e1633116ddd76a
BLAKE2b-256 b286fea6e1e1d65d43e4f16226368204bd65b1474c85329bf2a92ce114f123de

See more details on using hashes here.

Provenance

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