Message

- (array) attachments - See Attachment.

- (User) author - Author of the message.

- (Channel) channel - The channel where the message was sent.

- (string) channelID - Id of the channel where the message was sent.

- (string) cleanContent - Clean content of the message.

- (string) content - Content of the message.

- (number) createdTimestamp - Describes when the message was created

- (boolean) deletable - Describes if the message can be deleted by the bot.

- (deleted) deleted - Describes if the message is deleted.

- (boolean) editable - Describes if the message can be edited by the bot.

- (number) editedTimestamp - Describes when the message was last edited.

- (array) edits - Cached edits (old versions) of the message. SeeĀ Message.

- (array) embeds - Embeds attached to the message. See Embed.

- (Guild) guild - The guild where the message was sent.

- (boolean) hit - Describes if the message is a hit in search.

- (string) id - Message's id.

- (Member) member - Member who has sent the message.

- (Mentions) mentions - Describes mentions from the message.

- (string) nonce - A random number or string used for message delivery check.

- (boolean) pinnable - Describes if the message can be pinned by the bot.

- (boolean) pinned - Describes if the message is pinned.

- (array) reactions - Reactions attached to the message. See Reaction.

- (boolean) system - Describes if the message was sent by the system.

- (string) url - The url to jump to this message.

- (string) webhookID - The id of the webhook that sent this message.

- (Message) confirmation - The confirmation (when using setCommandEvent).

Back to top