mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 09:50:07 +00:00
fix(types): update message.resolved description (#4511)
Co-authored-by: Link <link20050703@gmail.com>
This commit is contained in:
@@ -1234,6 +1234,10 @@ export interface Message {
|
||||
tts: boolean
|
||||
/** Whether this message came from the urgent message system */
|
||||
urgent: boolean
|
||||
// TODO: Adding this causes errors in the interaction functions due to how `InteractionResolvedDataMember` and `InteractionResolvedDataChannel` are treated by `TransformProperty`, since they get their desired props changed
|
||||
// and fixing this requires a few changes in `SetupDesiredProps` and `TransformProperty` so this is going to be done in another pr
|
||||
// /** data for users, members, channels, and roles referenced in this message */
|
||||
// resolved?: InteractionDataResolved
|
||||
}
|
||||
|
||||
export interface MessageActivity {
|
||||
|
||||
@@ -105,7 +105,7 @@ export interface DiscordMessage extends Partial<DiscordMessageCreateExtra> {
|
||||
position?: number
|
||||
/** data of the role subscription purchase or renewal that prompted this ROLE_SUBSCRIPTION_PURCHASE message */
|
||||
role_subscription_data?: DiscordRoleSubscriptionData
|
||||
/** data for users, members, channels, and roles in the message's auto-populated select menus */
|
||||
/** data for users, members, channels, and roles referenced in this message */
|
||||
resolved?: DiscordInteractionDataResolved
|
||||
/** The poll object */
|
||||
poll?: DiscordPoll
|
||||
|
||||
Reference in New Issue
Block a user