mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
types(Message): guild should be non-null when message is in guild (#6933)
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -1408,8 +1408,8 @@ export class Message<Cached extends boolean = boolean> extends Base {
|
||||
public editedTimestamp: number | null;
|
||||
public embeds: MessageEmbed[];
|
||||
public groupActivityApplication: ClientApplication | null;
|
||||
public guildId: Snowflake | null;
|
||||
public readonly guild: Guild | null;
|
||||
public guildId: If<Cached, Snowflake>;
|
||||
public readonly guild: If<Cached, Guild>;
|
||||
public readonly hasThread: boolean;
|
||||
public id: Snowflake;
|
||||
public interaction: MessageInteraction | null;
|
||||
|
||||
Reference in New Issue
Block a user