Reference
Classes
Message

Class: Message

Constructors

new Message()

new Message(client, data): Message

Parameters

ParameterType
clientClient
dataany

Returns

Message

Defined in

src/core/classes/Message.ts:15 (opens in a new tab)

Properties

PropertyModifierTypeDefined in
authorpublicUsersrc/core/classes/Message.ts:10 (opens in a new tab)
channelIdpublicstringsrc/core/classes/Message.ts:12 (opens in a new tab)
contentpublicnull | stringsrc/core/classes/Message.ts:9 (opens in a new tab)
guildIdpublicstringsrc/core/classes/Message.ts:11 (opens in a new tab)
idpublicstringsrc/core/classes/Message.ts:8 (opens in a new tab)

Accessors

channel

get channel(): null | TextChannel

Returns

null | TextChannel

Defined in

src/core/classes/Message.ts:33 (opens in a new tab)


guild

get guild(): null | Guild

Returns

null | Guild

Defined in

src/core/classes/Message.ts:29 (opens in a new tab)

Methods

delete()

delete(): Promise<undefined | RequestReponse>

Returns

Promise<undefined | RequestReponse>

Defined in

src/core/classes/Message.ts:44 (opens in a new tab)


sendReference()

sendReference(content, options?): Promise<undefined | Message>

Parameters

ParameterType
contentstring
options?IMessageSendOptions

Returns

Promise<undefined | Message>

Defined in

src/core/classes/Message.ts:37 (opens in a new tab)