What's the ID of my created channel?

Continueation of #How to create a channel. What's the ID?
12 Replies
d.js toolkit
d.js toolkit4w 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/luna4w ago
The promise will resolve into said channel Which has an id
Steve
SteveOP4w ago
Uhm Explain I don't really understand xd What's the channel object of my created channel..?
treble/luna
treble/luna4w ago
The create call resolves into the created channel
Steve
SteveOP4w ago
I still don't understand
d.js docs
d.js docs4w ago
Resources to understand Promise: - MDN: learn more - Guide: learn more - JavaScript info: learn more
treble/luna
treble/luna4w ago
You should know how promises work by now
Steve
SteveOP4w ago
😭 You're not really helpful But alright
treble/luna
treble/luna4w ago
Because this is basic understanding #rules 3
Steve
SteveOP4w ago
Oh So I have to do .then(channel => { })
treble/luna
treble/luna4w ago
that or await ir
Steve
SteveOP4w ago
ah ok with await it's alr thanks
Want results from more Discord servers?
Add your server