diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-03-27 21:51:45 +0100 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-03-27 21:51:45 +0100 |
commit | 9d06aa09bf8e1b44766d502a5549ac49fcb79e4c (patch) | |
tree | 6fcae999bba1fd68367ce11d1d02baf81712c5ab | |
parent | :art: update Message timestamp to use Date (diff) | |
download | server-9d06aa09bf8e1b44766d502a5549ac49fcb79e4c.tar.xz |
:art: Message
-rw-r--r-- | dist/models/Message.d.ts | 14 | ||||
-rw-r--r-- | src/models/Message.ts | 14 |
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; |