wc.parseEmoji() - shysolocup/willclient GitHub Wiki
- Description: Parses emojis and returns info about them
Parameters
- Emoji
String
: Raw emoji to parse
- ?File Type
String
: File type for the URL (defaults to png or gif)
Emoji Info
- Name
String
: Name of the emoji
- ID
String
: ID of the emoji
- Animated
Boolean
: If the emoji is animated or not
- URL
String
: Image URL for the emoji
{
name: "EmojiName",
id: "EmojiID",
animated: true || false,
url: "https://cdn.discordapp.com/emojis/EmojiID.png"
}
Setup
wc.parseEmoji("<:EmojiName:EmojiID>") // normal
wc.parseEmoji("<:EmojiName:EmojiID>", "jpeg") // jpeg
wc.parseEmoji("<a:EmojiName:EmojiID>") // animated