summary refs log tree commit diff
path: root/dist/models/Message.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-03-27 21:25:49 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-03-27 21:25:49 +0100
commitf22b6d3f0b530058b538c33670a5600e5d3b4abd (patch)
treeef596b4678b984d6c27411d8c5e14565a9bb4eb1 /dist/models/Message.d.ts
parent:sparkles: changed number to date type (diff)
downloadserver-f22b6d3f0b530058b538c33670a5600e5d3b4abd.tar.xz
:art: update Message timestamp to use Date
Diffstat (limited to 'dist/models/Message.d.ts')
-rw-r--r--dist/models/Message.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/dist/models/Message.d.ts b/dist/models/Message.d.ts

index 403e84c3..cd0fc7a0 100644 --- a/dist/models/Message.d.ts +++ b/dist/models/Message.d.ts
@@ -8,8 +8,8 @@ export interface Message { webhook_id?: bigint; application_id: bigint; content: string; - timestamp: number; - edited_timestamp: number; + timestamp: Date; + edited_timestamp: Date; tts: boolean; mention_everyone: boolean; mention_user_ids: bigint[]; @@ -69,7 +69,7 @@ export interface Embed { type?: string; description?: string; url?: string; - timestamp?: number; + timestamp?: Date; color?: number; footer?: { text: string; @@ -136,7 +136,7 @@ export declare const Embed: { type: StringConstructor; description: StringConstructor; url: StringConstructor; - timestamp: NumberConstructor; + timestamp: DateConstructor; color: NumberConstructor; footer: { text: StringConstructor;