Fix some type-check errors

This commit is contained in:
Josh authored and Rapptz committed 2022-02-22 03:59:58 -05:00
1 parent c8064ba6f2
commit 3ce00abeae
6 files changed
+19 -14

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ class Reaction:
self.message: Message = message
self.emoji: Union[PartialEmoji, Emoji, str] = emoji or message._state.get_reaction_emoji(data['emoji'])
self.count: int = data.get('count', 1)
self.me: bool = data.get('me')
self.me: bool = data['me']
# TODO: typeguard
def is_custom_emoji(self) -> bool: