BaseSendable

BaseSendable implements the Sendable interface, and is the base implementation for all sendables

Members

Functions

getContents
immutable(string) getContents()

Get contents from sendable

getEmbed
immutable(MessageEmbed) getEmbed()

Get embed from sendable

getNonce
immutable(string) getNonce()

Get nonce of sendable

getTTS
immutable(bool) getTTS()

Find whether the sendable has TTS (text-to-speech) enabled

Inherited Members

From Sendable

getEmbed
immutable(MessageEmbed) getEmbed()

Returns the embed (or null if none) for this sendable

getContents
immutable(string) getContents()

Returns the contents for this sendable, no more than 2000 characters long

getNonce
immutable(string) getNonce()

Returns the nonce for this sendable

getTTS
immutable(bool) getTTS()

Returns the tts setting for this sendable

Meta