Skip to content

Commit

Permalink
Replace UserID with User in InteractionMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mlnrDev committed Apr 23, 2024
1 parent 3ff4973 commit 3dacb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/message.go
Expand Up @@ -469,7 +469,7 @@ type RoleSubscriptionData struct {
type InteractionMetadata struct {
ID snowflake.ID `json:"id"`
Type InteractionType `json:"type"`
UserID snowflake.ID `json:"user_id"`
User User `json:"user"`
AuthorizingIntegrationOwners map[ApplicationIntegrationType]snowflake.ID `json:"authorizing_integration_owners"`
OriginalResponseMessageID *snowflake.ID `json:"original_response_message_id"`
Name *string `json:"name"`
Expand Down

0 comments on commit 3dacb4b

Please sign in to comment.