Skip to content

Commit

Permalink
Update reaction.py
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-thorsell authored May 1, 2023
1 parent 82e2f59 commit f985e72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nextguild/reaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
class Reaction:
def __init__(self, event_data: dict):
self.event_data: dict = event_data
self.message_id: str = event_data.get('reaction', {}).get('messageId')
self.server_id: str = event_data.get('serverId')
self.channel_id: str = event_data.get('reaction', {}).get('channelId')
self.user_id: str = event_data.get('reaction', {}).get('createdBy')
Expand Down

0 comments on commit f985e72

Please sign in to comment.