mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Move away from StateContext and use ConnectionState directly.
This commit is contained in:
@ -63,7 +63,7 @@ class Reaction:
|
||||
|
||||
def __init__(self, *, message, data, emoji=None):
|
||||
self.message = message
|
||||
self.emoji = message._state.reaction_emoji(data['emoji']) if emoji is None else emoji
|
||||
self.emoji = message._state.get_reaction_emoji(data['emoji']) if emoji is None else emoji
|
||||
self.count = data.get('count', 1)
|
||||
self.me = data.get('me')
|
||||
|
||||
|
Reference in New Issue
Block a user