Skip to content

Commit

Permalink
docs(Utils): remove private from parseEmoji (#8718)
Browse files Browse the repository at this point in the history
chore(Utils): remove `private` from `parseEmoji`

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
JPBM135 and kodiakhq[bot] committed Oct 9, 2022
1 parent 7556db2 commit a31e605
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/discord.js/src/util/Util.js
Expand Up @@ -243,7 +243,6 @@ async function fetchRecommendedShardCount(token, { guildsPerShard = 1_000, multi
* * A Discord custom emoji (`<:name:id>` or `<a:name:id>`)
* @param {string} text Emoji string to parse
* @returns {APIEmoji} Object with `animated`, `name`, and `id` properties
* @private
*/
function parseEmoji(text) {
if (text.includes('%')) text = decodeURIComponent(text);
Expand Down

0 comments on commit a31e605

Please sign in to comment.