'How do I add a custom emoji to a nickname with Discord.js?

I'm trying to add a custom emoji to a user's nickname with Discord.js. I have tried everything from :emojiname: to :emojiname:emojiID, with no luck.

For example: guildMember.setNickname('<:myemoji:> Name');

or

guildMember.setNickname('<:myemoji:myemojiID> Name');

Am I missing something, or is this not currently possible?



Solution 1:[1]

As of April 6, 2022, this is not possible, confirmed via the official Discord.js Discord server.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1