From 637cfa6010dd00a399463f5a14869c169960d6e6 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 16 Feb 2021 11:14:19 +0100 Subject: :bug: fix message model --- src/models/Message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/models/Message.ts b/src/models/Message.ts index 9af0b01e..62459eec 100644 --- a/src/models/Message.ts +++ b/src/models/Message.ts @@ -204,7 +204,7 @@ export const MessageSchema = new Schema({ { id: Types.Long, guild_id: Types.Long, - type: Number, + type: { type: Number }, name: String, }, ], -- cgit 1.5.1