$oldMsgData
holds data of the old message.
Field | Type | Description | Required |
---|
option | string | Option to retrieve. | true |
Option | Type | Description |
---|
authorId | number | Returns message author ID |
authorName | string | Returns message author name |
authorIcon | string | Returns message author’s icon URL |
channelName | string | Returns message channel name |
channelType | string | Returns message channel’s type |
guildname | string | Returns message guild’s name |
guildicon | string | Returns message guild’s icon URL |
attachments | string | Returns message attachments as URL |
editedAt | string | Returns when message was edited |
createdAt | string | Returns when message was created |