parent
78dad45524
commit
1ea9a2d651
@ -326,7 +326,7 @@ class ThreadChannel extends Channel {
|
|||||||
// eslint-disable-next-line require-await
|
// eslint-disable-next-line require-await
|
||||||
async fetchStarterMessage(options) {
|
async fetchStarterMessage(options) {
|
||||||
const channel = this.parent?.type === 'GUILD_FORUM' ? this : this.parent;
|
const channel = this.parent?.type === 'GUILD_FORUM' ? this : this.parent;
|
||||||
return channel?.messages.fetch({ message: this.id, ...options }) ?? null;
|
return channel?.messages.fetch(this.id, options) ?? null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user