Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const emojis = [
- ["Stonescribe", "our Lord and Savior, Stonescribe"],
- ["Fariel", "Fariel, Destroyer of Idlescape"],
- [":thumbsup:", "👍"],
- [":thumbsdown:", "👎"],
- [":smile:", "😄"],
- [":joy:", "😂"]
- ];
- function emojify(message){
- var emojid = message;
- for (emoji in emojis) {
- emojid = emojid.split(emojis[emoji][0]).join(emojis[emoji][1]);
- }
- return emojid;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement