mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03: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>`)
|
* * A Discord custom emoji (`<:name:id>` or `<a:name:id>`)
|
||||||
* @param {string} text Emoji string to parse
|
* @param {string} text Emoji string to parse
|
||||||
* @returns {APIEmoji} Object with `animated`, `name`, and `id` properties
|
* @returns {APIEmoji} Object with `animated`, `name`, and `id` properties
|
||||||
* @private
|
|
||||||
*/
|
*/
|
||||||
function parseEmoji(text) {
|
function parseEmoji(text) {
|
||||||
if (text.includes('%')) text = decodeURIComponent(text);
|
if (text.includes('%')) text = decodeURIComponent(text);
|
||||||
|
|||||||
Reference in New Issue
Block a user