Skip to content

$oldMsgData

$oldMsgData holds data of the old message.

Usage

$oldMsgData[option]

Parameters

FieldTypeDescriptionRequired
optionstringOption to retrieve.true

Options

OptionTypeDescription
authorIdnumberReturns message author ID
authorNamestringReturns message author name
authorIconstringReturns message author’s icon URL
channelNamestringReturns message channel name
channelTypestringReturns message channel’s type
guildnamestringReturns message guild’s name
guildiconstringReturns message guild’s icon URL
attachmentsstringReturns message attachments as URL
editedAtstringReturns when message was edited
createdAtstringReturns when message was created