Change Role icon (Emoji)
I want to change the icon for a specific roll with an emoji. I'm trying to do that, but I'm getting some problems. I hope you can help me. I'm not an expert in djs.
Code:
error:
9 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!You aren't really checking the unicode emojis. The wrench emoji in your screenshot is actually unicode and does not have an URL that I'm aware of.
I did not understand that, but what I understood is that I do not put any link to any emoji. If that is what you mean, then I know the newIcon and put the emoji id and then in png format. I think you do not mean that, but this is what I understood
i installed all intents (3276799)
We highly recommend only specifying the intents you actually need.
- Note, that
98303
, 32767
or whatever other magic number you read that represents "all intents", gets outdated as soon as new intents are introduced.
- The number will always represent the same set of intents, and will not include new ones. There is no magic "all intents" bit.@FAISALᴱᵃ ^^
v13
The message content that you collected is 🔧 . The first
if
condition fails since that does not start with <:, and the else if
condition fails since it does not match the regex, so the logic goes to the else
block.the tag applies to both v13 and v14
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View