Skip to main content
Module

x/discord_rpc_deno/mod.ts>Message

port of @xhayper/discord-rpc to deno
Go to Latest
class Message
extends Base
Re-export
import { Message } from "https://deno.land/x/discord_rpc_deno@1.0.8/mod.ts";

Constructors

new
Message(client: Client, props: Record<string, any>)

Properties

attachments: APIAttachment[]

any attached files

author: User

the author of this message

author_color: string
blocked: boolean

if the message's author is blocked

bot: boolean

if the message is sent by a bot

content: string

contents of the message

content_parsed: any[]
edited_timestamp: string | null

when this message was edited (or null if never)

embeds: APIEmbed[]

any embedded content

id: string

id of the message

mention_everyone: boolean

whether this message mentions everyone

mention_roles: string[]

roles specifically mentioned in this message

mentions: User[]

users specifically mentioned in the message

nick: string

author's server nickname

pinned: boolean

whether this message is pinned

timestamp: string

when this message was sent

tts: boolean

whether this was a TTS message