EditedMessage
Properties
EditedMessage.id : string
The message's id.
EditedMessage.messageType : number
The type of message the message is.
EditedMessage.content : string
The message's content.
EditedMessage.channelId : string
The id of the channel the message was sent in.
EditedMessage.author : Author
The the author of the message.
EditedMessage.embeds : {[number] : Embed}
A table of embeds that are attached to the message.
EditedMessage.reactions : {[number] : Reaction}
A table of reactions that were added to the message.
EditedMessage.mentions : {[number] : User}
A table of users mentioned in the message.
EditedMessage.mentionRoles : {[number] : string}
A table of role ids mentioned in the message.
EditedMessage.pinned : boolean
Whether the message is pinned.
EditedMessage.mentionEveryone : boolean
Whether the message mentions @everyone.
EditedMessage.tts : boolean
Whether the message was a TTS message.
EditedMessage.timestamp : string
A timestamp of when the message was sent in ISO8601 format.
EditedMessage.flags : MessageFlags
A MessageFlags object representing the message's flags.
EditedMessage.webhookId : string
The id of the webhook that sent this message.
EditedMessage.editedTimestamp : string
A timestamp of when the message was edited in ISO8601 format.
Methods
EditedMessage.new(data : dictionary) : EditedMessage
This method returns a new EditedMessage object.
Warning
This method is not meant to be called outside of Voyager's internal code.
Parameters
- data: A message object.