1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-21 18:21:36 +02:00

🎨 Message

This commit is contained in:
Flam3rboy 2021-03-27 21:51:45 +01:00
parent f22b6d3f0b
commit 9d06aa09bf
2 changed files with 14 additions and 14 deletions

View File

@ -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;

View File

@ -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;