mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user