Documentation ¶
Overview ¶
Package discordemojimap provides a Replace function in order to escape emoji sequences with their respective emojis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var EmojiMap = map[string]string{}/* 1558 elements not displayed */
EmojiMap is the full list of emoji codes to their respective unicode symbols. This is map is public in order to allow memory efficient usage. Be careful and do not adjust this map!
Functions ¶
func ContainsCode ¶
ContainsCode returns true if that emojicode is mapped to an emoji.
func ContainsEmoji ¶
ContainsEmoji returns true if that emoji is mapped to one or more key.
func GetEmoji ¶
GetEmoji returns the matching emoji or an empty string in case no match was found for the given code.
func GetEmojiCodes ¶
GetEmojiCodes contains all codes for an emoji in an array. If no code could be found, then the resulting array will be empty.
func GetEntriesStartingWith ¶
GetEntriesStartingWith returns all key-value pairs where the key(code) is prefixed with the given string. If no matches were found, the map is empty.
Types ¶
This section is empty.