summary refs log tree commit diff
path: root/src/models
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-03-27 21:51:45 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-03-27 21:51:45 +0100
commit9d06aa09bf8e1b44766d502a5549ac49fcb79e4c (patch)
tree6fcae999bba1fd68367ce11d1d02baf81712c5ab /src/models
parent:art: update Message timestamp to use Date (diff)
downloadserver-9d06aa09bf8e1b44766d502a5549ac49fcb79e4c.tar.xz
:art: Message
Diffstat (limited to 'src/models')
-rw-r--r--src/models/Message.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/models/Message.ts b/src/models/Message.ts
index 81f617d3..e80ec1f8 100644
--- a/src/models/Message.ts
+++ b/src/models/Message.ts
@@ -10,20 +10,20 @@ export interface Message {
 	guild_id?: bigint;
 	author_id?: bigint;
 	webhook_id?: bigint;
-	application_id: bigint;
-	content: string;
+	application_id?: bigint;
+	content?: string;
 	timestamp: Date;
-	edited_timestamp: Date;
-	tts: boolean;
-	mention_everyone: boolean;
+	edited_timestamp?: Date;
+	tts?: boolean;
+	mention_everyone?: boolean;
 	mention_user_ids: bigint[];
 	mention_role_ids: bigint[];
 	mention_channels_ids: bigint[];
 	attachments: Attachment[];
 	embeds: Embed[];
-	reactions?: Reaction[];
+	reactions: Reaction[];
 	nonce?: string | number;
-	pinned: boolean;
+	pinned?: boolean;
 	type: MessageType;
 	activity?: {
 		type: number;