fix(ThreadChannel): fetchStarterMessage bug (#6584)

This commit is contained in:
Rodry
2021-09-03 18:22:49 +01:00
committed by GitHub
parent 00bd92a451
commit 08edc0b1db

View File

@@ -262,7 +262,7 @@ class ThreadChannel extends Channel {
* @returns {Promise<Message>}
*/
fetchStarterMessage(options) {
return this.channel.messages.fetch(this.id, options);
return this.parent.messages.fetch(this.id, options);
}
/**