Browse Source

Make parameters passed to Reaction.user keyword-only

pull/7048/head
Rapptz 4 years ago
parent
commit
f6ea03230e
  1. 2
      discord/reaction.py

2
discord/reaction.py

@ -155,7 +155,7 @@ class Reaction:
"""
await self.message.clear_reaction(self.emoji)
def users(self, limit: Optional[int] = None, after: Optional[Snowflake] = None) -> ReactionIterator:
def users(self, *, limit: Optional[int] = None, after: Optional[Snowflake] = None) -> ReactionIterator:
"""Returns an :class:`AsyncIterator` representing the users that have reacted to the message.
The ``after`` parameter must represent a member

Loading…
Cancel
Save