docs(Utils): remove private from parseEmoji (#8718)

chore(Utils): remove `private` from `parseEmoji`

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
JPBM135 2022-10-09 18:19:53 -03:00 committed by GitHub
parent 7556db243d
commit a31e605e09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);