From 514afaca697ae5f9a02e91342c0434fe9eeffe74 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 4 Mar 2021 21:59:49 +0100 Subject: :sparkles: AuditLog --- dist/models/Message.d.ts | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'dist/models/Message.d.ts') diff --git a/dist/models/Message.d.ts b/dist/models/Message.d.ts index 57bb0d6a..f064ca7b 100644 --- a/dist/models/Message.d.ts +++ b/dist/models/Message.d.ts @@ -1,9 +1,9 @@ /// import { Schema, Document } from "mongoose"; -import { ChannelType } from "./Channel"; export interface Message extends Document { id: bigint; channel_id: bigint; + guild_id?: bigint; author_id?: bigint; webhook_id?: bigint; application_id: bigint; @@ -12,14 +12,9 @@ export interface Message extends Document { edited_timestamp: number; tts: boolean; mention_everyone: boolean; - mentions: bigint[]; - mention_roles: bigint[]; - mention_channels?: { - id: bigint; - guild_id: bigint; - type: ChannelType; - name: string; - }[]; + mention_user_ids: bigint[]; + mention_role_ids: bigint[]; + mention_channels_ids: bigint[]; attachments: Attachment[]; embeds: Embed[]; reactions?: Reaction[]; -- cgit 1.5.1