mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
Add new fields to message snapshots (#3897)
This commit is contained in:
@@ -1193,7 +1193,20 @@ export interface MessageReference {
|
||||
|
||||
export interface MessageSnapshot {
|
||||
/** Minimal subset of fields in the forwarded message */
|
||||
message: Pick<Message, 'type' | 'content' | 'embeds' | 'attachments' | 'timestamp' | 'editedTimestamp' | 'flags' | 'mentions' | 'mentionedRoleIds'>
|
||||
message: Pick<
|
||||
Message,
|
||||
| 'type'
|
||||
| 'content'
|
||||
| 'embeds'
|
||||
| 'attachments'
|
||||
| 'timestamp'
|
||||
| 'editedTimestamp'
|
||||
| 'flags'
|
||||
| 'mentions'
|
||||
| 'mentionedRoleIds'
|
||||
| 'stickerItems'
|
||||
| 'components'
|
||||
>
|
||||
}
|
||||
|
||||
export interface MessageInteractionMetadata {
|
||||
|
||||
@@ -1501,7 +1501,18 @@ export interface DiscordMessageSnapshot {
|
||||
/** Minimal subset of fields in the forwarded message */
|
||||
message: Pick<
|
||||
DiscordMessage,
|
||||
'type' | 'content' | 'embeds' | 'attachments' | 'timestamp' | 'edited_timestamp' | 'flags' | 'mentions' | 'mention_roles'
|
||||
| 'type'
|
||||
| 'content'
|
||||
| 'embeds'
|
||||
| 'attachments'
|
||||
| 'timestamp'
|
||||
| 'edited_timestamp'
|
||||
| 'flags'
|
||||
| 'mentions'
|
||||
| 'mention_roles'
|
||||
| 'stickers'
|
||||
| 'sticker_items'
|
||||
| 'components'
|
||||
>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user