types(embed): fix timestamp allowed types (#7470)

This commit is contained in:
Rodry
2022-02-16 07:36:56 +00:00
committed by GitHub
parent d2bc9d444f
commit 7959a68d8e

View File

@@ -484,7 +484,7 @@ export interface EmbedData {
type?: EmbedType;
description?: string;
url?: string;
timestamp?: string;
timestamp?: string | number | Date;
color?: number;
footer?: EmbedFooterData;
image?: EmbedImageData;