The event received when a player posts a message in Discord.

Hierarchy

Properties

discordId: string

The Discord snowflake ID of this message.

discordUser: DiscordUser

The Discord user who sent the message.

edited: boolean

true if this event represents an edit to the original message.

event: string
id: number
ok: boolean
rawText: string

The message contents, with its original Markdown formatting codes.

renderedText: RenderedTextObject

The message contents, serialised with formatting as Minecraft JSON text.

text: string

The message contents, without Markdown formatting codes.

time: Date
type: string

Generated using TypeDoc