mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
typings(MessageEmbed): allow null for setTimestamp (#6514)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -1297,7 +1297,7 @@ export class MessageEmbed {
|
||||
public setFooter(text: string, iconURL?: string): this;
|
||||
public setImage(url: string): this;
|
||||
public setThumbnail(url: string): this;
|
||||
public setTimestamp(timestamp?: Date | number): this;
|
||||
public setTimestamp(timestamp?: Date | number | null): this;
|
||||
public setTitle(title: string): this;
|
||||
public setURL(url: string): this;
|
||||
public spliceFields(index: number, deleteCount: number, ...fields: EmbedFieldData[] | EmbedFieldData[][]): this;
|
||||
|
||||
Reference in New Issue
Block a user