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 DRSchlaubi committed Jun 7, 2021
1 parent af3a6de commit a7642ed
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 a7642ed

Please sign in to comment.