From af92f3a393c56fbc5d57a38e0e024842579e51d4 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 21 May 2021 17:51:27 +0200 Subject: [PATCH] :bug: make Message created_at optional --- src/models/Message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/Message.ts b/src/models/Message.ts index 4a66d76c..305f1326 100644 --- a/src/models/Message.ts +++ b/src/models/Message.ts @@ -46,7 +46,7 @@ export interface Message { })[]; mention_roles?: Role[]; mention_channels?: Channel[]; - created_at: Date; + created_at?: Date; } export interface MessageDocument extends Document, Message {