Skip to main content

Converter between discord emoji and unicode emoji.

Project description

discord-emoji

PyPI PyPI - Downloads
This lib converts discord emoji and unicode emoji.

Install

pip install discord-emoji

Usage

>>> import discord_emoji
>>> discord_emoji.to_unicode("thinking")
'🤔'
>>> discord_emoji.to_unicode(":thinking:")
'🤔'
>>> discord_emoji.to_discord("🤔")
'thinking'
>>> discord_emoji.to_discord("🤔", get_all=True)
['thinking', 'thinking_face']
>>> discord_emoji.to_discord("🤔", put_colons=True)
':thinking:'
>>> discord_emoji.to_uni(":thinking:")
'🤔'
>>> discord_emoji.to_dis("🤔")
'thinking'
>>> discord_emoji.to_discord_multi("🤔 This is hard!  😫 I'm tired...")
":thinking: This is hard!  :tired_face: I'm tired..."
>>> discord_emoji.to_unicode_multi(":thinking: This is hard!  :tired_face: I'm tired...")
"🤔 This is hard!  😫 I'm tired..."

Licence

Please see LICENSE.

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

discord_emoji-1.4.2.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

discord_emoji-1.4.2-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file discord_emoji-1.4.2.tar.gz.

File metadata

  • Download URL: discord_emoji-1.4.2.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.16 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for discord_emoji-1.4.2.tar.gz
Algorithm Hash digest
SHA256 61c60a868c86223c5881c855ed52ef2924ab1b6f4be002b276bd2a1b62bb4fa4
MD5 453390a16f39d5fe5f0eb9c88cbd4fc3
BLAKE2b-256 f8f8832598a1f132ce2004d6e49df2bf4c82eeaa51539addefe2c57e2000e8f6

See more details on using hashes here.

File details

Details for the file discord_emoji-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: discord_emoji-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.16 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for discord_emoji-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 faccb77aab5f5052d3a9ad53b55c7fa4325e7f0593080027978a0b50cfb05591
MD5 0ecfd08cbeca27332e4d58a6d09362da
BLAKE2b-256 a37585c4e6e0c8c378cddf2d4c470be592bdfe702654783bace409e71818c7c6

See more details on using hashes here.

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