Skip to content

Commit

Permalink
Fix MessageInteraction#user id
Browse files Browse the repository at this point in the history
  • Loading branch information
BartArys authored and HopeBaron committed Jun 24, 2021
1 parent 15a2c73 commit 8b7eda5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class MessageInteraction(
/**
* The [UserBehavior] of the [user][Interaction.user] who invoked the [Interaction]
*/
val user: UserBehavior get() = UserBehavior(data.id, kord)
val user: UserBehavior get() = UserBehavior(data.user, kord)

/**
* the [InteractionType] of the interaction [MessageInteraction].
Expand Down

0 comments on commit 8b7eda5

Please sign in to comment.