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 the readme

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discordhelp-1.0.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discordhelp-1.0.1.tar.gz
  • Upload date:
  • Size: 15.9 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.1.tar.gz
Algorithm Hash digest
SHA256 92e5fc81992c88564ae877d0148b132b8373c11446e305dd654193a013260424
MD5 d4c72164cd9173e2578b9352d1e9f5fe
BLAKE2b-256 aae5055e4c0bae4abd2972dc81f66487fb7105efd789d3f1adb2019bda4586f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: discordhelp-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c85ac5afd204e2f9ded9aafcee71b6ce789bdcc1f0b062b5cefab5560a13295
MD5 973dbe62acad30633160b5282a7d87c2
BLAKE2b-256 1166e384fa15e4c3660c307d0a0d7c25339d42484e98d7610feabe68ab041d6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page