@discord-user-card/emojis
v0.0.9
Published
All the emojis supported by Discord (User Card)
Downloads
15
Maintainers
Readme
Usage
import { type Category, type Emoji, emojis, emojisByCategory, findEmoji } from "@discord-user-card/emojis";
// Get all emojis
console.log(emojis); // Emoji[]
// Get emojis by category
console.log(emojisByCategory); // { [category: Category]: Emoji[] }
// Find an emoji by name
console.log(findEmoji("+1")); // Emoji | undefined
console.log(findEmoji("thumbsup")); // Emoji | undefined
// Find an emoji by the surrogate
console.log(findEmoji("👍")); // Emoji | undefined
Contributing
The list of emojis is automatically generated from the Discord Source Code (see here). Please do not manually edit the list of emojis. If an emoji is missing or incorrect, please open an issue or a pull request.