mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
fix(ThreadChannel): fetchStarterMessage bug (#6584)
This commit is contained in:
@@ -262,7 +262,7 @@ class ThreadChannel extends Channel {
|
|||||||
* @returns {Promise<Message>}
|
* @returns {Promise<Message>}
|
||||||
*/
|
*/
|
||||||
fetchStarterMessage(options) {
|
fetchStarterMessage(options) {
|
||||||
return this.channel.messages.fetch(this.id, options);
|
return this.parent.messages.fetch(this.id, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user