mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
feat(MessageEmbed): allow setTimestamp to take a timestamp (#2875)
* feat: allow MessageEmbed#setTimestamp to take a timestamp * fix the dumb i did
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -741,7 +741,7 @@ declare module 'discord.js' {
|
||||
public setFooter(text: StringResolvable, iconURL?: string): this;
|
||||
public setImage(url: string): this;
|
||||
public setThumbnail(url: string): this;
|
||||
public setTimestamp(timestamp?: Date): this;
|
||||
public setTimestamp(timestamp?: Date | number): this;
|
||||
public setTitle(title: StringResolvable): this;
|
||||
public setURL(url: string): this;
|
||||
public toJSON(): object;
|
||||
|
||||
Reference in New Issue
Block a user