Converter of discord emoji and unicode emoji.
Project description
discord-emoji
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Built Distribution
Close
Hashes for discord_emoji-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f8359ef78d4a50b85ba61c7400293e63925d184860bf1d3c0d90f51da19bef |
|
MD5 | 5f8737349ed3a9a8b967267e7bce9fed |
|
BLAKE2-256 | 8b22b441bfb4f2dcea70aa62e53c25984e05f4538bdc22d4dfdb185c8e9db4ad |