UNPKG

@evolvejs/core

Version:

An advanced Discord API wrapper with TS and JS support

36 lines (35 loc) 811 B
import { IUser } from "./UserOptions"; import { IGuildMember } from "./GuildMemberOptions"; export interface IMessage { id: string; channel_id: string; guild_id?: string; author: IUser; member?: IGuildMember; content: string; timestamp: number; edited_timestamp: number | null; tts: boolean; mention_everyone: boolean; mentions: IUser[]; mention_roles: string[]; mention_channels?: {}; attachments: []; embeds: []; reactions?: []; nonce?: number | string; pinned: boolean; webhook_id?: string; type: number; activity?: {}; application?: {}; message_reference?: {}; flags?: number; sent_at: string; } export interface IChannelMention { id: string; guild_id: string; type: number; name: string; }