How to get forumchannel id of message?

Hello, i have message in forumposts where i need the id of the forumchannel of the message, i searched online and nothing worked so far, so how do i do it?
3 Replies
d.js toolkit
d.js toolkit13mo 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!
kin.ts
kin.ts13mo ago
<Message>.channel.parentId this assumes the channel is a ThreadChanel (post channel in a forum channel) and parentId is the id of forum channel of the post channel
Jannik44
Jannik44OP13mo ago
thanks that worked for messages
Want results from more Discord servers?
Add your server