Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

nimoji

Emoji support for Nim Gets emoji data from here, and saves the json to your home directory. Concept and design based on node-emoji with a few of my own ideas thrown in too.

(Not in Nimble package manager yet, as theres another package with the same name, and also I havent worked out how to do nimble things yet, still fairly new at Nim. To use, just download the .nim file and drop it in to the project directory.)

import nimoji
echogetEmoji"santa"# 🎅echogetEmojiCode"🎅"# santaechofindEmoji"sant"# 🎅echofindEmojis"sa"# @["♐", "🇸🇦", "🈂️", "🍶", "🎅", "🎒", "🎷", "🎽", "👡", "💆‍♀️", "💆‍♀️", "💆‍♂️", "📡", "😆", "😞", "😥", "🛰️", "🛸", "🥐", "🥗", "🥪", "🦕", "⏳", "⛵"]echofindEmojiCodes"sa"# @["sagittarius", "flag-sa", "sa", "sake", "santa", "school_satchel", "saxophone", "running_shirt_with_sash", "sandal", "woman-getting-massage", "massage", "man-getting-massage", "satellite_antenna", "satisfied", "disappointed", "disappointed_relieved", "satellite", "flying_saucer", "croissant", "green_salad", "sandwich", "sauropod", "hourglass_flowing_sand", "sailboat"]echoemojify"I love :santa:!"# I love 🎅!echodemojify"I love 🎅"# I love :santa:echostripEmojis"I love 🎅"##also supports stripping discord supported emojis from text.# I loveechorandomEmoji()
# ⏭️

About

Emoji support for Nim

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages