refactor(Message): make thread a getter for accuracy (#6215)

* refactor(Message): make thread a getter for accuracy

* docs: reword info block
This commit is contained in:
ckohen
2021-07-29 16:04:05 -07:00
committed by GitHub
parent 40b127ee1e
commit 5f710ae559
3 changed files with 27 additions and 11 deletions

3
typings/index.d.ts vendored
View File

@@ -996,6 +996,7 @@ export class Message extends Base {
public embeds: MessageEmbed[];
public groupActivityApplication: ClientApplication | null;
public readonly guild: Guild | null;
public readonly hasThread: boolean;
public id: Snowflake;
public interaction: MessageInteraction | null;
public readonly member: GuildMember | null;
@@ -1007,7 +1008,7 @@ export class Message extends Base {
public reactions: ReactionManager;
public stickers: Collection<Snowflake, Sticker>;
public system: boolean;
public thread: ThreadChannel | null;
public readonly thread: ThreadChannel | null;
public tts: boolean;
public type: MessageType;
public readonly url: string;