mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +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
|
tts: boolean
|
||||||
/** Whether this message came from the urgent message system */
|
/** Whether this message came from the urgent message system */
|
||||||
urgent: boolean
|
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 {
|
export interface MessageActivity {
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ export interface DiscordMessage extends Partial<DiscordMessageCreateExtra> {
|
|||||||
position?: number
|
position?: number
|
||||||
/** data of the role subscription purchase or renewal that prompted this ROLE_SUBSCRIPTION_PURCHASE message */
|
/** data of the role subscription purchase or renewal that prompted this ROLE_SUBSCRIPTION_PURCHASE message */
|
||||||
role_subscription_data?: DiscordRoleSubscriptionData
|
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
|
resolved?: DiscordInteractionDataResolved
|
||||||
/** The poll object */
|
/** The poll object */
|
||||||
poll?: DiscordPoll
|
poll?: DiscordPoll
|
||||||
|
|||||||
Reference in New Issue
Block a user