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