Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Message

The message class.

param

The client.

param

The message.

Hierarchy

  • Message

Index

Constructors

constructor

Properties

author

author: User

The message author.

client

client: Client

The client that instantiated the message.

color

color: string

The color of the message.

content

content: string

The content of the message.

Optional deleted

deleted: boolean

If the message has been deleted.

Optional deleterId

deleterId: string

The deleter id. (If deleted.)

id

id: string

The id of the message.

Optional isWhisper

isWhisper: boolean

If the message is a whisper.

sentAt

sentAt: string

The date format when the message was sent.

Methods

delete

  • delete(timeout?: number): Promise<void>

reply

  • reply(content: string): Promise<void>

Generated using TypeDoc