mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 03:16:48 +00:00
Make parameters passed to Reaction.user keyword-only
This commit is contained in:
parent
c251c51cb1
commit
f6ea03230e
@ -155,7 +155,7 @@ class Reaction:
|
|||||||
"""
|
"""
|
||||||
await self.message.clear_reaction(self.emoji)
|
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.
|
"""Returns an :class:`AsyncIterator` representing the users that have reacted to the message.
|
||||||
|
|
||||||
The ``after`` parameter must represent a member
|
The ``after`` parameter must represent a member
|
||||||
|
Loading…
x
Reference in New Issue
Block a user