Retrieving the original message a thread is created with #8807
-
Hello, I currently have a bot that creates threads from other people's messages automatically. The Is there a way to retrieve the original message object that the thread was created from? |
Beta Was this translation helpful? Give feedback.
Answered by
MrMythicalYT
Nov 3, 2022
Replies: 1 comment
-
https://discord.js.org/#/docs/discord.js/main/class/ThreadChannel?scrollTo=fetchStarterMessage |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
almostSouji
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://discord.js.org/#/docs/discord.js/main/class/ThreadChannel?scrollTo=fetchStarterMessage
ThreadChannel#fetchStarterMessage()
will return the message