From d35e0862e6b60fe3c4f823371627359f3ce3e68b Mon Sep 17 00:00:00 2001 From: Alee14 Date: Fri, 28 Jul 2017 16:20:27 -0400 Subject: Removing node modules (go get them yourself :P) --- node_modules/discord.js/src/util/ParseEmoji.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 node_modules/discord.js/src/util/ParseEmoji.js (limited to 'node_modules/discord.js/src/util/ParseEmoji.js') diff --git a/node_modules/discord.js/src/util/ParseEmoji.js b/node_modules/discord.js/src/util/ParseEmoji.js deleted file mode 100644 index d9f7b22..0000000 --- a/node_modules/discord.js/src/util/ParseEmoji.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = function parseEmoji(text) { - if (text.includes('%')) { - text = decodeURIComponent(text); - } - if (text.includes(':')) { - const [name, id] = text.split(':'); - return { name, id }; - } else { - return { - name: text, - id: null, - }; - } -}; -- cgit v1.2.3