Embed Message
Hi everyone, I need help regarding this string, apparently when someone joins the server, the embed message doesn't appear and doesn't even assign the role, could it be something related to the intents?
29 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!
- ✅
Marked as resolved by OPhttps://sourceb.in/xxBBijxF9n
I got 2 errors in the console after adding that intent, one for the role but I think it's due to the fact that there is an emoji and I don't know how to integrate it (the emoji is 👤). the other error refers to something I didn't understand and says something like "InvalideType"
i just censored my full name
probably for the "👤"?
It's possible to use this feature for roles with emojis, right?
the emoji is part of the role name
You can use id of role for add member this role
how should I go about using the role id?
Thx for correct me
Use this
member.roles.add(roleID)
@/|ĶÎŦÃŖŮ|\i got this from the terminal
I guess that's why
You don't have welcomeChannel set
send the part of the code where you set the channel
I think I don't have it🫠
:__:
I knooow, it's just that I'm learning
so
how can i set the welcomechannel..👀
You can also talk through his ID
How is it going?
bad, very bad
What problems arise?
I think I touched something wrong while I was trying to put the welcome message😅
You wont give inent for your client
You give GatewayIntentBits.GuildMembers and GatewayIntentBits.Guilds intents for your bot
That my intents for bot
ok..now the intent are good, but I still have to set up the welcome channel
const welcomeChannel = client.channels.cache.get("222086648706498562");
Change for your id
Before welcomeChannel
there must be
I hope I was able to help you
stop spoonfeeding
this is not a djs issue atp its a js issue. have proper knowledge of js first there are some useful resources here ->#resources
he/she was just giving me a hand because I'm a beginner
yessir
I'm glad I helped, if you have anything, write me, however, I speak Russian, so communication may be difficult.