diff options
| author | Rapptz <[email protected]> | 2021-06-10 08:58:25 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-10 08:58:25 -0400 |
| commit | f6ea03230e0c4f11be378c00ce92d74d935ac973 (patch) | |
| tree | cb6737c3002fe84f9a75496d678ec514c369353f /discord | |
| parent | Typehint Reaction (diff) | |
| download | discord.py-f6ea03230e0c4f11be378c00ce92d74d935ac973.tar.xz discord.py-f6ea03230e0c4f11be378c00ce92d74d935ac973.zip | |
Make parameters passed to Reaction.user keyword-only
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/reaction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/reaction.py b/discord/reaction.py index d9b2b953..04eee342 100644 --- a/discord/reaction.py +++ b/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 |