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
d.js toolkit
d.js toolkit5mo ago
- 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 OP
treble/luna
treble/luna5mo ago
wdym you need the channel id to get the channel
superslogofann
superslogofannOP5mo ago
Im adding the channel ID to the code because the welcome message goes the the right server and channel
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
duck
duck5mo ago
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)
superslogofann
superslogofannOP5mo ago
I want it to be in a data base
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
superslogofann
superslogofannOP5mo ago
more than 1
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
superslogofann
superslogofannOP5mo ago
i’ve got the bot in 2 servers but in the future i want it to be in more servers
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
superslogofann
superslogofannOP5mo ago
idk what to use/do
duck
duck5mo ago
that's entirely for you to decide
superslogofann
superslogofannOP5mo ago
I’m not good at stuff like that
treble/luna
treble/luna5mo ago
well you're gonna have to do some research and get better at it then
superslogofann
superslogofannOP5mo ago
i’m using knack i need help
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server