Skip to main content

Converter of discord emoji and unicode emoji.

Project description


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


pip install discord-emoji


>>> import discord_emoji
>>> discord_emoji.to_unicode("thinking")
>>> discord_emoji.to_unicode(":thinking:")
>>> discord_emoji.to_discord("🤔")
>>> discord_emoji.to_discord("🤔", get_all=True)
['thinking', 'thinking_face']
>>> discord_emoji.to_discord("🤔", put_colons=True)
>>> discord_emoji.to_uni(":thinking:")
>>> discord_emoji.to_dis("🤔")
>>> 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..."


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.

Built Distribution

discord_emoji-1.4.1-py3-none-any.whl (74.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page