Interface RawMessageBeta

Defines a JSON structure that is used for more flexible.

Hierarchy

  • RawMessage

Properties

rawtext?: RawMessage[]

Remarks

Provides a raw-text equivalent of the current message.

Remarks

Provides a token that will get replaced with the value of a score.

text?: string

Remarks

Provides a string literal value to use.

translate?: string

Remarks

Provides a translation token where, if the client has an available resource in the players' language which matches the token, will get translated on the client.

with?: string[] | RawMessage

Remarks

Arguments for the translation token. Can be either an array of strings or RawMessage containing an array of raw text objects.