How can I get the text channel a thread is in?
So, when I do
interaction.channel
I get the thread channel. I was wondering if it is possible to somehow find out what text channel the thread channel is in from just the thread channel. Any help is greatly appreciated.9 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
You can then access
Message#channel
, I presumeI'll try it out 👍
@Myth 🌈 this gives the channel category tmk
Nope
I swear I just tried it and it gave me the channel category 🤷♂️
It would only give a category if you used it on a GuildChannel pretty sure
Ah, you right. I just got confused because I was looking at the parentId of the parentId when logging it by accident.
Thanks 👍