mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-20 15:24:42 +12:00
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:
parent
7556db243d
commit
a31e605e09
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue