Check if message was sent in a thread

How do I check if a message was sent within a thread? hasThread or thread don't seem to work. I've added an output for a message object sent within a thread
5 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
It's Manny
It's MannyOP2y ago
might be able to check this, I'll update on whether it works or not
It's Manny
It's MannyOP2y ago
It worked, thanks me
monbrey
monbrey2y ago
Checking message.channel.type would be correct too
It's Manny
It's MannyOP2y ago
Thanks
Want results from more Discord servers?
Add your server