+
    rpÐj—%  ã                  óÂ   € R t ^ RIHt ^ RIHtHtHtHt ^RIH	t	 ^RI
Ht ^RIHt Rt]'       d%   ^RIHt ^RIHt ^R	IHt ^R
IHt ^RIHt ^RIHt  ! R R4      tR# )a:  
The MIT License (MIT)

Copyright (c) 2015-present Rapptz

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
)Úannotations)ÚTYPE_CHECKINGÚAsyncIteratorÚUnionÚOptional)ÚUser)ÚObject)ÚReactionTypeÚReaction)ÚMember)r
   )ÚMessage)ÚPartialEmoji)ÚEmoji)Ú	Snowflakec                  ó®   € ] tR t^/tRtRtRR/R R lltR R ltR R	 ltR
 R lt	R R lt
R R ltR R ltR R ltR R ltRRRRRR/R R lltRtR# )r
   a  Represents a reaction to a message.

Depending on the way this object was created, some of the attributes can
have a value of ``None``.

.. container:: operations

    .. describe:: x == y

        Checks if two reactions are equal. This works by checking if the emoji
        is the same. So two messages with the same reaction will be considered
        "equal".

    .. describe:: x != y

        Checks if two reactions are not equal.

    .. describe:: hash(x)

        Returns the reaction's hash.

    .. describe:: str(x)

        Returns the string form of the reaction's emoji.

Attributes
-----------
emoji: Union[:class:`Emoji`, :class:`PartialEmoji`, :class:`str`]
    The reaction emoji. May be a custom emoji, or a unicode emoji.
count: :class:`int`
    Number of times this reaction was made. This is a sum of :attr:`normal_count` and :attr:`burst_count`.
me: :class:`bool`
    If the user sent this reaction.
message: :class:`Message`
    Message this reaction is for.
me_burst: :class:`bool`
    If the user sent this super reaction.

    .. versionadded:: 2.4
normal_count: :class:`int`
    The number of times this reaction was made using normal reactions.
    This is not available in the gateway events such as :func:`on_reaction_add`
    or :func:`on_reaction_remove`.

    .. versionadded:: 2.4
burst_count: :class:`int`
    The number of times this reaction was made using super reactions.
    This is not available in the gateway events such as :func:`on_reaction_add`
    or :func:`on_reaction_remove`.

    .. versionadded:: 2.4
ÚemojiNc               ó$   € V ^8„  d   QhRRRRRR/# )é   Úmessager   ÚdataÚReactionPayloadr   z)Optional[Union[PartialEmoji, Emoji, str]]© )Úformats   "ÚB/opt/hermes/.venv/lib/python3.14/site-packages/discord/reaction.pyÚ__annotate__ÚReaction.__annotate__g   s"   € ÷ :ñ : 7ð :°/ð :ÐJsñ :ó    c               	ól  € Wn         T;'       g#    VP                  P                  VR ,          4      V n        VP	                  R^4      V n        VR,          V n        VP	                  R/ 4      pVP	                  R^ 4      V n        VP	                  R^ 4      V n        VP	                  RR4      V n	        R# )	r   ÚcountÚmeÚcount_detailsÚnormalÚburstÚme_burstFN)
r   Ú_stateÚget_emoji_from_partial_payloadr   Úgetr   r   Únormal_countÚburst_countr#   )Úselfr   r   r   Údetailss   &$$$ r   Ú__init__ÚReaction.__init__g   s‘   € Ø 'ŒØ6;×6{Ð6{¸w¿~¹~×?lÑ?lÐmqÐryÕmzÓ?{ˆŒ
ØŸ(™( 7¨AÓ.ˆŒ
Ø˜T�
ˆŒØ—(‘(˜?¨BÓ/ˆØ!(§¡¨X°qÓ!9ˆÔØ '§¡¨G°QÓ 7ˆÔØ"Ÿh™h z°5Ó9ˆŽr   c               ó   € V ^8„  d   QhRR/# )r   ÚreturnÚboolr   )r   s   "r   r   r   q   s   € ÷ /ñ / ñ /r   c                ó@   € \        V P                  \        4      '       * # )z):class:`bool`: If this is a custom emoji.)Ú
isinstancer   Ústr©r)   s   &r   Úis_custom_emojiÚReaction.is_custom_emojiq   s   € ä˜dŸj™j¬#Ó.Ô.Ð.r   c               ó    € V ^8„  d   QhRRRR/# ©r   ÚotherÚobjectr.   r/   r   )r   s   "r   r   r   u   s   € ÷ Oñ O˜Fð O tñ Or   c                	ón   € \        WP                  4      ;'       d    VP                  V P                  8H  # ©N©r1   Ú	__class__r   ©r)   r8   s   &&r   Ú__eq__ÚReaction.__eq__u   s&   € Ü˜%§¡Ó0×NÐN°U·[±[ÀDÇJÁJÑ5NÐNr   c               ó    € V ^8„  d   QhRRRR/# r7   r   )r   s   "r   r   r   x   s   € ÷ ñ ˜Fð  tñ r   c                	ón   € \        WP                  4      '       d   VP                  V P                  8g  # R # )Tr<   r>   s   &&r   Ú__ne__ÚReaction.__ne__x   s'   € Ü�eŸ^™^×,Ò,Ø—;‘; $§*¡*Ñ,Ð,Ùr   c               ó   € V ^8„  d   QhRR/# )r   r.   Úintr   )r   s   "r   r   r   }   s   € ÷  ñ  ˜#ñ  r   c                	ó,   € \        V P                  4      # r;   )Úhashr   r3   s   &r   Ú__hash__ÚReaction.__hash__}   s   € Ü�D—J‘JÓÐr   c               ó   € V ^8„  d   QhRR/# ©r   r.   r2   r   )r   s   "r   r   r   €   s   € ÷ ñ ˜ñ r   c                	ó,   € \        V P                  4      # r;   )r2   r   r3   s   &r   Ú__str__ÚReaction.__str__€   s   € Ü�4—:‘:‹Ðr   c               ó   € V ^8„  d   QhRR/# rL   r   )r   s   "r   r   r   ƒ   s   € ÷ Rñ R˜#ñ Rr   c                	óX   € R V P                   : RV P                   RV P                   R2# )z<Reaction emoji=z me=z count=Ú>)r   r   r   r3   s   &r   Ú__repr__ÚReaction.__repr__ƒ   s)   € Ø! $§*¡*¡¨t°D·G±G°9¸GÀDÇJÁJÀ<ÈqÐQÐQr   c               ó    € V ^8„  d   QhRRRR/# )r   Úuserr   r.   ÚNoner   )r   s   "r   r   r   †   s   € ÷ =ñ = ð =¨tñ =r   c              ƒ  ón   "  € V P                   P                  V P                  V4      G Rj  x€L
  R#  L5i)as  |coro|

Remove the reaction by the provided :class:`User` from the message.

If the reaction is not your own (i.e. ``user`` parameter is not you) then
:attr:`~Permissions.manage_messages` is needed.

The ``user`` parameter must represent a user or member and meet
the :class:`abc.Snowflake` abc.

Parameters
-----------
user: :class:`abc.Snowflake`
     The user or member from which to remove the reaction.

Raises
-------
HTTPException
    Removing the reaction failed.
Forbidden
    You do not have the proper permissions to remove the reaction.
NotFound
    The user you specified, or the reaction's message was not found.
N)r   Úremove_reactionr   )r)   rV   s   &&r   ÚremoveÚReaction.remove†   s%   é € ð4 �l‰l×*Ñ*¨4¯:©:°tÓ<×<Ô<ùs   ‚*5¬3­5c               ó   € V ^8„  d   QhRR/# )r   r.   rW   r   )r   s   "r   r   r   ¢   s   € ÷ 6ñ 6˜Tñ 6r   c              ƒ  ól   "  € V P                   P                  V P                  4      G Rj  x€L
  R#  L5i)aå  |coro|

Clears this reaction from the message.

You must have :attr:`~Permissions.manage_messages` to do this.

.. versionadded:: 1.3

.. versionchanged:: 2.0
    This function will now raise :exc:`ValueError` instead of
    ``InvalidArgument``.

Raises
--------
HTTPException
    Clearing the reaction failed.
Forbidden
    You do not have the proper permissions to clear the reaction.
NotFound
    The emoji you specified was not found.
TypeError
    The emoji parameter is invalid.
N)r   Úclear_reactionr   r3   s   &r   ÚclearÚReaction.clear¢   s#   é € ð0 �l‰l×)Ñ)¨$¯*©*Ó5×5Ô5ùs   ‚)4«2¬4ÚlimitÚafterÚtypec               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   ra   zOptional[int]rb   zOptional[Snowflake]rc   zOptional[ReactionType]r.   z"AsyncIterator[Union[Member, User]]r   )r   s   "r   r   r   ¼   s8   € ÷ bAñ bAØ%ðbAØ5HðbAØWmðbAà	+ñbAr   c          	    óÒ  "  € \        V P                  \        4      '       g1   V P                  P                   RV P                  P                   2pMV P                  pVf   V P
                  pV^ 8”  Edm   \        V^d4      pV P                  pVP                  pVP                  pV'       d   VP                  MRp	VP                  P                  VP                  P                  VP                  TTT	Ve   VP                  MRR7      G Rj  x€L
 p
V
'       d7   V\        V
4      ,          p\        \!        V
R,          R,          4      R7      pM^ pVe   \        V\        4      '       d%   \#        V
4       F  p\%        W‹R7      5x € K  	  EK#  \#        V
4       F?  p\!        VR,          4      pVP'                  V4      pT;'       g    \%        W‹R7      5x € KA  	  EKt  R#  LÕ5i)aà  Returns an :term:`asynchronous iterator` representing the users that have reacted to the message.

The ``after`` parameter must represent a member
and meet the :class:`abc.Snowflake` abc.

.. versionchanged:: 2.0

    ``limit`` and ``after`` parameters are now keyword-only.

Examples
---------

Usage ::

    # I do not actually recommend doing this.
    async for user in reaction.users():
        await channel.send(f'{user} has reacted with {reaction.emoji}!')

Flattening into a list: ::

    users = [user async for user in reaction.users()]
    # users is now a list of User...
    winner = random.choice(users)
    await channel.send(f'{winner} has won the raffle.')

Parameters
------------
limit: Optional[:class:`int`]
    The maximum number of results to return.
    If not provided, returns all the users who
    reacted to the message.
after: Optional[:class:`abc.Snowflake`]
    For pagination, reactions are sorted by member.
type: Optional[:class:`ReactionType`]
    The type of reaction to return users from.
    If not provided, Discord only returns users of reactions with type ``normal``.

    .. versionadded:: 2.4

Raises
--------
HTTPException
    Getting the users for the reaction failed.

Yields
--------
Union[:class:`User`, :class:`Member`]
    The member (if retrievable) or the user that has reacted
    to this message. The case where it can be a :class:`Member` is
    in a guild message context. Sometimes it can be a :class:`User`
    if the member has left the guild.
Ú:N)rb   rc   Úid)rg   )Ústater   éÿÿÿÿ)r1   r   r2   Únamerg   r   Úminr   Úguildr$   ÚhttpÚget_reaction_usersÚchannelÚvalueÚlenr   rF   Úreversedr   Ú
get_member)r)   ra   rb   rc   r   Úretriever   rl   rh   Úafter_idr   Úraw_userÚ	member_idÚmembers   &$$$          r   ÚusersÚReaction.users¼   s}  é € ôp ˜$Ÿ*™*¤c×*Ò*Ø—z‘z—‘Ð' q¨¯©¯©¨Ð8‰Eà—J‘JˆEàŠ=Ø—J‘JˆEà�a�iÜ˜5 #“ˆHà—l‘lˆGØ—M‘MˆEØ—N‘NˆEß#(�u—x’x¨dˆHàŸ™×6Ñ6Ø—‘×"Ñ"Ø—
‘
ØØØØ#'Ò#3�T—Z’Z¸ð 7ó ÷ ˆD÷ Øœ˜T›Õ"�Ü¤# d¨2¥h¨t¥nÓ"5Ô6‘ð �àŠ}¤
¨5´&× 9Ò 9Ü (¨¦�HÜ UÔ:Õ:ñ !/ò ä$ TžN�Ü ¨¥Ó/�	Ø×)Ñ)¨)Ó4�à×@Ð@¤¨5Ô @Õ@ô	 +ñ= ñùs   ‚DG'ÄG%ÄG'ÄB/G'ÇG')r(   r   r   r   r#   r   r'   )r   r   r   r   r#   r'   r(   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r+   r4   r?   rC   rI   rN   rS   rZ   r_   ry   Ú__static_attributes__r   r   r   r
   r
   /   ss   † ñ3ðj _€Ið:Ðvz÷ :õ/õOõõ
 õõRõ=õ86ð4bAØ(,ðbAØKOðbAØpt÷bAó bAr   N)r   Ú
__future__r   Útypingr   r   r   r   rV   r   r9   r   Úenumsr	   Ú__all__rx   r   Útypes.messager
   r   r   r   Úpartial_emojir   r   r   Úabcr   r   r   r   Ú<module>r‰      sJ   ðñõ0 #ß @Ó @å Ý Ý ð€÷
 ÝÝ:Ý Ý+ÝÝ÷oAó oAr   