Welcome messages
i’m making a bot that welcomes someone to the server but i don’t want to keep coding the channel ID can someone help me?
17 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 OPwdym
you need the channel id to get the channel
Im adding the channel ID to the code because the welcome message goes the the right server and channel
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
presumably you're asking how to get a channel without hardcoding the id, you still need some means of accessing the channel
you need to determine how you want it to be stored if not hardcoding it (e.g. a database)
I want it to be in a data base
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
more than 1
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
i’ve got the bot in 2 servers but in the future i want it to be in more servers
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
idk what to use/do
that's entirely for you to decide
I’m not good at stuff like that
well you're gonna have to do some research and get better at it then
i’m using knack
i need help
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View