summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--dist/models/Message.d.ts14
-rw-r--r--src/models/Message.ts14
2 files changed, 14 insertions, 14 deletions
diff --git a/dist/models/Message.d.ts b/dist/models/Message.d.ts
index cd0fc7a0..a823ce5e 100644
--- a/dist/models/Message.d.ts
+++ b/dist/models/Message.d.ts
@@ -6,20 +6,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;
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;