Skip to content

Commit

Permalink
fix(ThreadChannel): fetchStarterMessage bug (#6584)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImRodry committed Sep 3, 2021
1 parent 00bd92a commit 08edc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/ThreadChannel.js
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 08edc0b

Please sign in to comment.