+
    rpÐj8í  ã            	      óv  a € 0 t $ R t^ RIHt ^ RIt^ RIHtHtHtH	t	H
t
HtHtHtHtHt ^ RIt^ RIt^RIHt ^RIHtHtHt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
I$H%t% ^RI&H't' ^RI(H)t) ^RI*H+t+H,t, ^RI-H.t. ^RI/H0t0 ^RI1H2t2H3t3H4t4H5t5 ^RI6H7t7 ^RI8H9t9 ^RI:H;t;H<t<H=t= ^RI H>t> R3t?]
'       d›   ^RI@HAtBHCtCHDtDHEtFHGtHHItIHJtJ ^RIKH3tL ^RIMHNtN ^RIOHPtP ^RIQHRtR ^RISHTtT ^R IUHVtV ^ R!IWHXtX ^R"IYHZtZ ^R#I[H\t\H]t]H^t^ ^R$I_H`t`Hata ^R%IbHctc ^R&I HdtdHeteHftfHgtgHhthHitiHjtj ^R'IkHltl ^R(ImHntnHoto ^R)IpHqtq ]]d]e]f]g]h]l]i]j3,          tr]R4,          ts]Pè                  ttR*]uR+&    ! R, R]	]#,          4      tA ! R- R4      tv ! R. R]	]#,          4      tw ! R/ R]	]#,          4      tx ! R0 R14      ty ! R2 R]+4      tzR# )5a:  
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.
)ÚannotationsN)
ÚAnyÚDictÚOptionalÚGenericÚTYPE_CHECKINGÚSequenceÚTupleÚUnionÚListÚoverload)Úutils)Útry_enumÚLocaleÚInteractionTypeÚInteractionResponseType)ÚInteractionRespondedÚHTTPExceptionÚClientExceptionÚDiscordException)ÚMessageFlags)ÚChannelType)ÚClientT)ÚEntitlement)ÚUser)ÚMember)ÚMessageÚ
Attachment)ÚPermissions)Úhandle_message_parameters)Úasync_contextÚWebhookÚinteraction_response_paramsÚ#interaction_message_response_params)ÚAppCommandContext)Ú	Namespace)Ú
locale_strÚTranslationContextÚTranslationContextLocation)Ú_threaded_channel_factoryÚInteractionÚInteractionMessageÚInteractionResponseÚInteractionCallbackResponseÚ#InteractionCallbackActivityInstance)r*   ÚInteractionDataÚ!ApplicationCommandInteractionDataÚInteractionCallbackÚInteractionCallbackActivityÚMessageComponentInteractionDataÚModalSubmitInteractionData)r!   )Ú	Snowflake)ÚGuild)ÚConnectionState)ÚFile)ÚAllowedMentions)ÚClientSession)ÚEmbed)ÚBaseViewÚViewÚ
LayoutView)ÚChoiceÚChoiceT)ÚModal)ÚVoiceChannelÚStageChannelÚTextChannelÚForumChannelÚCategoryChannelÚ	DMChannelÚGroupChannel)ÚThread)ÚCommandÚContextMenu)ÚPollr   ÚMISSINGc                  ó¬  € ] tR t^kt$ RtRCtR
]R&   R R ltR R ltR R lt	]
R R l4       t]
R R l4       t]
R R l4       t]
R R l4       t]
R R l4       t]P"                  ! R4      R R l4       t]P"                  ! R4      R R l4       t]P"                  ! R4      R  R! l4       t]P"                  ! R4      R" R# l4       t]P"                  ! R4      R$ R% l4       t]
R& R' l4       t]
R( R) l4       t]P"                  ! R	4      R* R+ l4       tR, R- ltR. R/ ltR0 R1 ltR2 R3 ltR4]R5]R6]R7]R8]R9R:R;]/R< R= lltR> R? lt R]R]/R@ RA llt!RBt"R:# )Dr*   a!  Represents a Discord interaction.

An interaction happens when a user does an action that needs to
be notified. Current examples are slash commands and components.

.. versionadded:: 2.0

Attributes
-----------
id: :class:`int`
    The interaction's ID.
type: :class:`InteractionType`
    The interaction type.
guild_id: Optional[:class:`int`]
    The guild ID the interaction was sent from.
channel: Optional[Union[:class:`abc.GuildChannel`, :class:`abc.PrivateChannel`, :class:`Thread`]]
    The channel the interaction was sent from.

    Note that due to a Discord limitation, if sent from a DM channel :attr:`~DMChannel.recipient` is ``None``.
entitlement_sku_ids: List[:class:`int`]
    The entitlement SKU IDs that the user has.
entitlements: List[:class:`Entitlement`]
    The entitlements that the guild or user has.
application_id: :class:`int`
    The application ID that the interaction was for.
user: Union[:class:`User`, :class:`Member`]
    The user or member that sent the interaction.
message: Optional[:class:`Message`]
    The message that sent this interaction.

    This is only available for :attr:`InteractionType.component` interactions.
token: :class:`str`
    The token to continue the interaction. These are valid
    for 15 minutes.
data: :class:`dict`
    The raw interaction data.
locale: :class:`Locale`
    The locale of the user invoking the interaction.
guild_locale: Optional[:class:`Locale`]
    The preferred locale of the guild the interaction was sent from, if any.
extras: :class:`dict`
    A dictionary that can be used to store extraneous data for use during
    interaction processing. The library will not touch any values or keys
    within this dictionary.
command_failed: :class:`bool`
    Whether the command associated with this interaction failed to execute.
    This includes checks and execution.
context: :class:`.AppCommandContext`
    The context of the interaction.

    .. versionadded:: 2.4
filesize_limit: int
    The maximum number of bytes a file can have when responding to this interaction.

    .. versionadded:: 2.6
ÚdataÚlocaleÚ_cs_responseÚ_cs_followupÚ_cs_namespaceÚ_cs_commandÚ_cs_command_idÚ_cs_custom_idúTuple[str, ...]Ú	__slots__c               ó    € V ^8„  d   QhRRRR/# )é   rO   ÚInteractionPayloadÚstatezConnectionState[ClientT]© )Úformats   "ÚF/opt/hermes/.venv/lib/python3.14/site-packages/discord/interactions.pyÚ__annotate__ÚInteraction.__annotate__È   s   € ÷ 
ñ 
Ð 2ð 
Ð;Sñ 
ó    c               	óÔ   € W n         VP                  4       V n        VP                  P                  V n        R V n        \        V n        / V n	        RV n
        V P                  V4       R # )NF)Ú_stateÚ_get_clientÚ_clientÚhttpÚ_HTTPClient__sessionÚ_sessionÚ_original_responserM   Ú_batonÚextrasÚcommand_failedÚ
_from_data)ÚselfrO   r\   s   &$$r_   Ú__init__ÚInteraction.__init__È   sT   € Ø05ŒØ %× 1Ñ 1Ó 3ˆŒØ',§z¡z×'FÑ'FˆŒØ@DˆÔô #ˆŒØ&(ˆŒØ$)ˆÔØ�‰˜Örb   c               ó   € V ^8„  d   QhRR/# ©rZ   ÚreturnÚstrr]   )r^   s   "r_   r`   ra   Ô   s   € ÷ |ñ |˜#ñ |rb   c                	ó¤   € R V P                   P                   RV P                   RV P                  : RV P                  : RV P
                  : R2# )Ú<z id=ú type=z
 guild_id=z user=Ú>)Ú	__class__Ú__name__ÚidÚtypeÚguild_idÚuser©ro   s   &r_   Ú__repr__ÚInteraction.__repr__Ô   sN   € Ø�4—>‘>×*Ñ*Ð+¨4°·±¨y¸¸t¿y¹y¹mÈ:ÐVZ×VcÑVcÑUfÐflÐmq×mvÑmvÑlyÐyzÐ{Ð{rb   c               ó   € V ^8„  d   QhRR/# )rZ   rO   r[   r]   )r^   s   "r_   r`   ra   ×   s   € ÷ Oñ OÐ1ñ Orb   c                	ó€
  € \        VR ,          4      V n        \        \        VR,          4      V n        VP                  R4      V n        VR,          V n        VR,          V n        \        P                  ! VR4      V n        RV n        \        VR,          4      V n        VP                  R. 4      ;'       g    .  Uu. uF  p\        V4      NK  	  upV n        VP                  R	. 4       Uu. uF  p\        V P                   V4      NK  	  upV n        VR
,          V n        VP                  R/ 4      P'                  4        UUu/ uF  w  r4\        V4      \        V4      bK  	  uppV n         VR,          p\*        P,                  ! V.4      V n        \        \2        VP                  RR4      4      V n        V   \        \2        VR,          4      V n        RpV P                  '       d¢   V P                   P9                  V P                  VP                  R4      R7      pVP:                  f^   V P<                  P>                  eF   VPA                  \B        PD                  ! V P<                  P>                  W`P                   R7      4       VP                  R/ 4      p\        P                  ! VR 4      pVe%   Ve!   T;'       d    VPG                  V4      V n        VP                  R4      p	V P                  f¬   V	e¨   \I        V	4      w  r«V
f'   \J        PL                  ! RPO                  V4      4       MpV\P        PR                  \P        PT                  39   d/   V
! V P<                  P>                  WpP                   R7      V n        MVe   V
! W`P                   VR7      V n        V   \W        V P                   V P                  VR,          R7      V n,        \Z        V n        ^ V n.        \        VP                  R^ 4      4      V n/        Ve„   V PX                  e)   V PX                  P`                  f   W`PX                  n0         VR,          p\C        V P                   WlR7      V n        V P>                  P\                  ;'       g    ^ V n.        R#  \c        V P                   VR,          R7      V n        R# u upi u upi u uppi   \0         d    \+        4       T n         ELQi ; i  \0         d    RT n         EL&i ; i  \0         d    RT n,         EL>i ; i  \0         d     R# i ; i  \0         d     R# i ; i)r|   r}   rO   ÚtokenÚversionr~   NÚapplication_idÚentitlement_skusÚentitlementsÚattachment_size_limitÚauthorizing_integration_ownersÚcontextrP   zen-USÚguild_localeÚguild)rO   )r   rŽ   r\   Úchannelz0Unknown channel type {type} for channel ID {id}.)ÚmerO   r\   )rŽ   r\   rO   Úmessage©r\   r�   rO   Úapp_permissionsÚmember)r\   rŽ   rO   r   )r\   rO   )2Úintr|   r   r   r}   ÚgetrO   r…   r†   r   Ú_get_as_snowflaker~   r�   r‡   Úentitlement_sku_idsr   rd   r‰   Úfilesize_limitÚitemsÚ_integration_ownersr$   Ú_from_valuerŒ   ÚKeyErrorr   rP   r�   Ú _get_or_create_unavailable_guildr�   rf   r   Ú_add_memberr   Ú_from_client_userÚ_resolve_channelr)   ÚloggingÚinfoÚ
format_mapr   ÚgroupÚprivater   r‘   rM   Ú_permissionsÚ_app_permissionsrŽ   r   )ro   rO   ÚxÚkÚvÚvaluerŽ   Úraw_channelÚ
channel_idÚraw_ch_typeÚfactoryÚch_typer”   s   &&           r_   rn   ÚInteraction._from_data×   s:  € Ü˜4 �:“ˆŒÜ%-¬o¸tÀF½|Ó%LˆŒ	Ø/3¯x©x¸Ó/?ˆŒ	Ø˜w�-ˆŒ
Ø  �OˆŒÜ',×'>Ò'>¸tÀZÓ'PˆŒØ59ˆŒÜ#& tÐ,<Õ'=Ó#>ˆÔØ?C¿x¹xÐHZÐ\^Ó?_×?eÐ?eÐceÐ?eÓ.fÑ?e¸!¬s°1®vÑ?eÑ.fˆÔ ØUY×U]ÑU]Ð^lÐnpÔUqÓ/rÑUqÐPQ´¸D¿K¹KÈÖ0KÑUqÑ/rˆÔØ#'Ð(?Õ#@ˆÔð (,§x¡xÐ0PÐRTÓ'U×'[Ñ'[Ô']ô:
Ù']™t˜qŒC�‹F”C˜“FŠNÑ']ò:
ˆÔ ð	/Ø˜•OˆEÜ,×8Ò8¸%¸ÓAˆDŒLô '¤v¨t¯x©x¸À'Ó/JÓKˆŒÙð	%Ü (¬°°nÕ1EÓ FˆDÔð ˆØ�=�=ˆ=à—K‘K×@Ñ@ÀÇÁÐUY×U]ÑU]Ð^eÓUfÐ@ÓgˆEØ�x‰xÒ D§L¡L×$5Ñ$5Ò$AØ×!Ñ!¤&×":Ò":ÀÇÁ×@QÑ@QÐY^×fqÑfqÔ"rÔsà—h‘h˜y¨"Ó-ˆÜ×,Ò,¨[¸$Ó?ˆ
ØÒ! eÒ&7Ø ×GÐG U×%;Ñ%;¸JÓ%GˆDŒLà!—o‘o fÓ-ˆØ�<‰<Ò KÒ$;Ü8¸ÓEÑˆGØŠÜ—’ÐO×ZÑZÐ[fÓgÕhàœ{×0Ñ0´+×2EÑ2EÐFÔFÙ#*¨d¯l©l×.?Ñ.?Àk×YdÑYdÔ#e�D•LØÒ&Ù#*°¿k¹kÐP[Ô#\�D”Láð	 ä"¨¯©¸d¿l¹lÐQUÐV_ÕQ`ÔaˆDŒLô *1ˆŒ	Ø!"ˆÔÜ%(¨¯©Ð2CÀQÓ)GÓ%HˆÔàÒà�|‰|Ò'¨D¯L©L×,>Ñ,>Ò,FØ%*—‘Ô"ð@Ø˜h��ô #¨¯©¸EÔO�”	Ø$(§I¡I×$:Ñ$:×$?Ð$?¸a�Ö!ðÜ  t§{¡{¸¸f½ÔF�–	ùòI /gùÚ/rùó:
øô ô 	/Ü,Ó.ˆD�Lð	/ûô ô 	%Ø $ˆD×ð	%ûô< ô 	 ØˆD�Lð	 ûô ô Úðûô ô Úðúsl   Â>R9Ã.R>Å SÅ0%S	 Æ=S* Î,.T Ñ	T Ò#T. Ó	S'Ó&S'Ó*T Ó?T ÔTÔTÔT+Ô*T+Ô.T=Ô<T=c               ó   € V ^8„  d   QhRR/# )rZ   rt   r   r]   )r^   s   "r_   r`   ra   )  s   € ÷ ñ ˜ñ rb   c                ó   € V P                   # )zÄ:class:`Client`: The client that is handling this interaction.

Note that :class:`AutoShardedClient`, :class:`~.commands.Bot`, and
:class:`~.commands.AutoShardedBot` are all subclasses of client.
)rf   r€   s   &r_   ÚclientÚInteraction.client(  s   € ð �|‰|Ðrb   c               ó   € V ^8„  d   QhRR/# )rZ   rt   zOptional[Guild]r]   )r^   s   "r_   r`   ra   2  s   € ÷ lñ l�ñ lrb   c                ó²   € V P                   ;'       d.    V P                   P                  V P                  4      ;'       g    \        V P                  RR4      # )zBOptional[:class:`Guild`]: The guild the interaction was sent from.rŽ   N)rd   Ú
_get_guildr~   Úgetattrr   r€   s   &r_   rŽ   ÚInteraction.guild1  sC   € ð —‘×EÐE §¡× 6Ñ 6°t·}±}Ó E×kÐkÌ'ÐRV×R[ÑR[Ð]dÐfjÓJkÐkrb   c               ó   € V ^8„  d   QhRR/# ©rZ   rt   zOptional[int]r]   )r^   s   "r_   r`   ra   :  s   € ÷ Eñ E˜Mñ Erb   c                óN   € V P                   e   V P                   P                  # R# )zLOptional[:class:`int`]: The ID of the channel the interaction was sent from.N)r�   r|   r€   s   &r_   r®   ÚInteraction.channel_id9  s    € ð #'§,¡,Ò":ˆt�|‰|�‰ÐDÀÐDrb   c               ó   € V ^8„  d   QhRR/# ©rZ   rt   r   r]   )r^   s   "r_   r`   ra   ?  s   € ÷ .ñ .˜[ñ .rb   c                ó,   € \        V P                  4      # )z¾:class:`Permissions`: The resolved permissions of the member in the channel, including overwrites.

In a non-guild context where this doesn't apply, an empty permissions object is returned.
)r   r§   r€   s   &r_   ÚpermissionsÚInteraction.permissions>  s   € ô ˜4×,Ñ,Ó-Ð-rb   c               ó   € V ^8„  d   QhRR/# rÁ   r]   )r^   s   "r_   r`   ra   G  s   € ÷ 2ñ 2 ñ 2rb   c                ó,   € \        V P                  4      # )zc:class:`Permissions`: The resolved permissions of the application or the bot, including overwrites.)r   r¨   r€   s   &r_   r“   ÚInteraction.app_permissionsF  s   € ô ˜4×0Ñ0Ó1Ð1rb   c               ó   € V ^8„  d   QhRR/# )rZ   rt   r%   r]   )r^   s   "r_   r`   ra   L  s   € ÷ Bñ B˜9ñ Brb   c                óf  € V P                   \        P                  \        P                  39  d   \	        V / . 4      # V P
                  P                  pVf   \	        V / . 4      # V P                  p VP                  V4      w  r4\	        WP                  R/ 4      V4      #   \         d    . p L+i ; i)zì:class:`app_commands.Namespace`: The resolved namespace for this interaction.

If the interaction is not an application command related interaction or the client does not have a
tree attached to it then this returns an empty namespace.
Úresolved)r}   r   Úapplication_commandÚautocompleter%   rd   Ú_command_treerO   Ú_get_app_command_optionsr   r–   )ro   ÚtreerO   Ú_Úoptionss   &    r_   Ú	namespaceÚInteraction.namespaceK  s¥   € ð �9‰9œ_×@Ñ@Ä/×B^ÑB^Ð_Ô_Ü˜T 2 rÓ*Ð*à�{‰{×(Ñ(ˆØŠ<Ü˜T 2 rÓ*Ð*ð 37·)±)ˆð	Ø×6Ñ6°tÓ<‰JˆAô ˜Ÿx™x¨
°BÓ7¸ÓAÐAøô  ô 	ØŠGð	ús   Á1B  Â B0Â/B0c               ó   € V ^8„  d   QhRR/# )rZ   rt   z4Optional[Union[Command[Any, ..., Any], ContextMenu]]r]   )r^   s   "r_   r`   ra   d  s   € ÷ 0ñ 0ÐMñ 0rb   c                óX  € V P                   \        P                  \        P                  39  d   R# V P                  P
                  pVf   R# V P                  pVP                  R^4      pV^8X  d    VP                  V4      w  rEV# VP                  V4      #   \         d     R# i ; i)a  Optional[Union[:class:`app_commands.Command`, :class:`app_commands.ContextMenu`]]: The command being called from
this interaction.

If the interaction is not an application command related interaction or the command is not found in the client's
attached tree then ``None`` is returned.
Nr}   )r}   r   rË   rÌ   rd   rÍ   rO   r–   rÎ   r   Ú_get_context_menu)ro   rÏ   rO   Úcmd_typeÚcommandrÐ   s   &     r_   rØ   ÚInteraction.commandc  s    € ð �9‰9œ_×@Ñ@Ä/×B^ÑB^Ð_Ô_Ùà�{‰{×(Ñ(ˆØŠ<Ùð 37·)±)ˆØ—8‘8˜F AÓ&ˆØ�qŒ=ðØ!×:Ñ:¸4Ó@‘
�ð �à×)Ñ)¨$Ó/Ð/øô $ô Úðús   Á4B ÂB)Â(B)c               ó   € V ^8„  d   QhRR/# r½   r]   )r^   s   "r_   r`   ra   €  s   € ÷ &ñ &˜Mñ &rb   c                ó²   € V P                   \        P                  \        P                  39  d   R# V P                  p\        VP                  R^ 4      4      # )zçOptional[:class:`int`]: The ID of the command that triggered this interaction.

Only applicable if :attr:`type` is one of, :attr:`InteractionType.application_command` or
:attr:`InteractionType.autocomplete`.

.. versionadded:: 2.7
Nr|   )r}   r   rË   rÌ   rO   r•   r–   ©ro   rO   s   & r_   Ú
command_idÚInteraction.command_id  sC   € ð �9‰9œ_×@Ñ@Ä/×B^ÑB^Ð_Ô_Ùà26·)±)ˆÜ�4—8‘8˜D !Ó$Ó%Ð%rb   c               ó   € V ^8„  d   QhRR/# )rZ   rt   zInteractionResponse[ClientT]r]   )r^   s   "r_   r`   ra   �  s   € ÷ )ñ )Ð6ñ )rb   c                ó   € \        V 4      # )zÛ:class:`InteractionResponse`: Returns an object responsible for handling responding to the interaction.

A response can only be done once. If secondary messages need to be sent, consider using :attr:`followup`
instead.
)r,   r€   s   &r_   ÚresponseÚInteraction.responseŽ  s   € ô # 4Ó(Ð(rb   c               ó   € V ^8„  d   QhRR/# )rZ   rt   r!   r]   )r^   s   "r_   r`   ra   ˜  s   € ÷ Cñ C˜'ñ Crb   c                ó|   € RV P                   R^RV P                  /p\        P                  ! WP                  R7      # )zK:class:`Webhook`: Returns the follow up webhook for follow up interactions.r|   r}   r…   )rO   r\   )r‡   r…   r!   Ú
from_staterd   )ro   Úpayloads   & r_   ÚfollowupÚInteraction.followup—  s;   € ð �$×%Ñ%Ø�AØ�T—Z‘Zð#
ˆô
 ×!Ò! w·k±kÔBÐBrb   c               ó   € V ^8„  d   QhRR/# ©rZ   rt   zdatetime.datetimer]   )r^   s   "r_   r`   ra   ¢  s   € ÷ -ñ -Ð-ñ -rb   c                óB   € \         P                  ! V P                  4      # )z=:class:`datetime.datetime`: When the interaction was created.)r   Úsnowflake_timer|   r€   s   &r_   Ú
created_atÚInteraction.created_at¡  s   € ô ×#Ò# D§G¡GÓ,Ð,rb   c               ó   € V ^8„  d   QhRR/# rê   r]   )r^   s   "r_   r`   ra   §  s   € ÷ @ñ @Ð-ñ @rb   c                óR   € V P                   \        P                  ! ^R7      ,           # )z9:class:`datetime.datetime`: When the interaction expires.)Úminutes)rí   ÚdatetimeÚ	timedeltar€   s   &r_   Ú
expires_atÚInteraction.expires_at¦  s   € ð �‰¤×!3Ò!3¸BÔ!?Õ?Ð?rb   c               ó   € V ^8„  d   QhRR/# )rZ   rt   úOptional[str]r]   )r^   s   "r_   r`   ra   ¬  s   € ÷ %ñ %˜=ñ %rb   c                óž   € V P                   \        P                  \        P                  39  d   R# V P                  pVP                  R4      # )zæOptional[:class:`str`]: The custom ID of the component that triggered this interaction.

Only applicable if :attr:`type` is one of, :attr:`InteractionType.component` or
:attr:`InteractionType.modal_submit`.

.. versionadded:: 2.7
NÚ	custom_id)r}   r   Ú	componentÚmodal_submitrO   r–   rÜ   s   & r_   rù   ÚInteraction.custom_id«  s>   € ð �9‰9œ_×6Ñ6¼×8TÑ8TÐUÔUÙàSW×S\ÑS\ˆØ�x‰x˜Ó$Ð$rb   c               ó   € V ^8„  d   QhRR/# ©rZ   rt   Úboolr]   )r^   s   "r_   r`   ra   º  s   € ÷ 1ñ 1˜Dñ 1rb   c                óF   € \         P                  ! 4       V P                  8¬  # )z>:class:`bool`: Returns ``True`` if the interaction is expired.)r   Úutcnowrô   r€   s   &r_   Ú
is_expiredÚInteraction.is_expiredº  s   € ä�|Š|‹~ §¡Ñ0Ð0rb   c               ó   € V ^8„  d   QhRR/# rþ   r]   )r^   s   "r_   r`   ra   ¾  s   € ÷ ñ  dñ rb   c                óz   € V P                   '       d)   V P                   V P                  P                  ^ 4      8H  # R# )zb:class:`bool`: Returns ``True`` if the interaction is a guild integration.

.. versionadded:: 2.4
F)r~   r›   r–   r€   s   &r_   Úis_guild_integrationÚ Interaction.is_guild_integration¾  s0   € ð
 �=�=ˆ=Ø—=‘= D×$<Ñ$<×$@Ñ$@ÀÓ$CÑCÐCÙrb   c               ó   € V ^8„  d   QhRR/# rþ   r]   )r^   s   "r_   r`   ra   Ç  s   € ÷ ?ñ ? Tñ ?rb   c                óf   € V P                   P                  V P                  P                  ^4      8H  # )za:class:`bool`: Returns ``True`` if the interaction is a user integration.

.. versionadded:: 2.4
)r   r|   r›   r–   r€   s   &r_   Úis_user_integrationÚInteraction.is_user_integrationÇ  s(   € ð
 �y‰y�|‰|˜t×7Ñ7×;Ñ;¸AÓ>Ñ>Ð>rb   c               ó   € V ^8„  d   QhRR/# )rZ   rt   r+   r]   )r^   s   "r_   r`   ra   Î  s   € ÷ 0ñ 0Ð);ñ 0rb   c              ƒ  óÂ  "  € V P                   e   V P                   # V P                  pVf   \        R4      h\        P                  ! 4       pV P
                  P                  pVP                  V P                  V P                  V P                  VP                  VP                  R7      G Rj  x€L
 p\        W P
                  4      p\        WQVR7      pW`n         V#  L.5i)a  |coro|

Fetches the original interaction response message associated with the interaction.

If the interaction response was a newly created message (i.e. through :meth:`InteractionResponse.send_message`
or :meth:`InteractionResponse.defer`, where ``thinking`` is ``True``) then this returns the message that was sent
using that response. Otherwise, this returns the message that triggered the interaction (i.e.
through a component).

Repeated calls to this will return a cached value.

Raises
-------
HTTPException
    Fetching the original response message failed.
ClientException
    The channel for the message could not be resolved.
NotFound
    The interaction response message does not exist.

Returns
--------
InteractionMessage
    The original interaction response message.
Nz)Channel for message could not be resolved)r‡   r…   ÚsessionÚproxyÚ
proxy_authr’   )rj   r�   r   r    r–   rd   rg   Ú!get_original_interaction_responser‡   r…   ri   r  r  Ú_InteractionMessageStater+   )ro   r�   Úadapterrg   rO   r\   r‘   s   &      r_   Úoriginal_responseÚInteraction.original_responseÎ  sÃ   é € ð6 ×"Ñ"Ò.Ø×*Ñ*Ð*ð —,‘,ˆØŠ?Ü!Ð"MÓNÐNä×#Ò#Ó%ˆØ�{‰{×ÑˆØ×>Ñ>Ø×.Ñ.Ø—*‘*Ø—M‘MØ—*‘*Ø—‘ð ?ó 
÷ 
ˆô )¨¯{©{Ó;ˆä$¨5ÈÔMˆØ")ÔØˆñ
ùs   ‚B,CÂ.CÂ//CÚcontentÚembedsÚembedÚattachmentsÚviewÚallowed_mentionsNÚpollc               ó8   € V ^8„  d   QhRRRRRRRRR	R
RRRRRR/# )rZ   r  r÷   r  úSequence[Embed]r  úOptional[Embed]r  ú!Sequence[Union[Attachment, File]]r  ú!Optional[Union[View, LayoutView]]r  úOptional[AllowedMentions]r  rL   rt   r+   r]   )r^   s   "r_   r`   ra      sf   € ÷ kñ kð ðkð  ð	kð
 ðkð 7ðkð 0ðkð 4ðkð ðkð 
ñkrb   c             ƒ  óî  "  € V P                   P                  p\        VVVVVVVVR7      ;_uu_ 4       p	\        P                  ! 4       p
V P                   P
                  pV
P                  V P                  V P                  V P                  VP                  VP                  V	P                  V	P                  V	P                  R7      G Rj  x€L
 pRRR4       \        W P                   4      p\!        WÐP"                  XR7      pV'       dR   VP%                  4       '       g<   VP'                  4       '       d&   V P                   P)                  W^P*                  4       V#  L“  + '       g   i     L™; i5i)aP  |coro|

Edits the original interaction response message.

This is a lower level interface to :meth:`InteractionMessage.edit` in case
you do not want to fetch the message and save an HTTP request.

This method is also the only way to edit the original message if
the message sent was ephemeral.

Parameters
------------
content: Optional[:class:`str`]
    The content to edit the message with or ``None`` to clear it.
embeds: List[:class:`Embed`]
    A list of embeds to edit the message with.
embed: Optional[:class:`Embed`]
    The embed to edit the message with. ``None`` suppresses the embeds.
    This should not be mixed with the ``embeds`` parameter.
attachments: List[Union[:class:`Attachment`, :class:`File`]]
    A list of attachments to keep in the message as well as new files to upload. If ``[]`` is passed
    then all attachments are removed.

    .. note::

        New files will always appear after current attachments.

allowed_mentions: :class:`AllowedMentions`
    Controls the mentions being processed in this message.
    See :meth:`.abc.Messageable.send` for more information.
view: Optional[Union[:class:`~discord.ui.View`, :class:`~discord.ui.LayoutView`]]
    The updated view to update this message with. If ``None`` is passed then
    the view is removed.

    .. note::

        If you want to update the message to have a :class:`~discord.ui.LayoutView`, you must
        explicitly set the ``content``, ``embed``, ``embeds``, and ``attachments`` parameters to
        ``None`` if the previous message had any.
poll: :class:`Poll`
    The poll to create when editing the message.

    .. versionadded:: 2.5

    .. note::

        This is only accepted when the response type is :attr:`InteractionResponseType.deferred_channel_message`.

Raises
-------
HTTPException
    Editing the message failed.
NotFound
    The interaction response message does not exist.
Forbidden
    Edited a message that is not yours.
TypeError
    You specified both ``embed`` and ``embeds``
ValueError
    The length of ``embeds`` was invalid.

Returns
--------
:class:`InteractionMessage`
    The newly edited message.
)r  r  r  r  r  r  Úprevious_allowed_mentionsr  )r  r  r  ræ   Ú	multipartÚfilesNr’   )rd   r  r   r    r–   rg   Ú"edit_original_interaction_responser‡   r…   ri   r  r  ræ   r%  r&  r  r+   r�   Úis_finishedÚis_dispatchableÚ
store_viewr|   )ro   r  r  r  r  r  r  r  Úprevious_mentionsÚparamsr  rg   rO   r\   r‘   s   &$$$$$$$       r_   Úedit_original_responseÚ"Interaction.edit_original_response   s$  é € ð\ 8<·{±{×7SÑ7SÐÜ&ØØ#ØØØØ-Ø&7Ø÷	
õ 	
ð Ü#×'Ò'Ó)ˆGØ—;‘;×#Ñ#ˆDØ ×CÑCØ×#Ñ#Ø—
‘
ØŸ™Ø—j‘jØŸ?™?ØŸ™Ø ×*Ñ*Ø—l‘lð Dó 	÷ 	ˆD÷	
ô0 )¨¯{©{Ó;ˆÜ$¨5¿,¹,ÈTÔRˆß˜×(Ñ(×*Ò*¨t×/CÑ/C×/EÒ/EØ�K‰K×"Ñ" 4¯©Ô4Øˆñ!	÷	
÷ 	
üs<   ‚2E5´BE"ÃE ÃE"ÃAE5Ä#E5Ä9'E5Å E"Å"E2	Å-E5c               ó   € V ^8„  d   QhRR/# ©rZ   rt   ÚNoner]   )r^   s   "r_   r`   ra   m  s   € ÷ 
ñ 
°ñ 
rb   c              ƒ  ó  "  € \         P                  ! 4       pV P                  P                  pVP	                  V P
                  V P                  V P                  VP                  VP                  R7      G Rj  x€L
  R#  L5i)a”  |coro|

Deletes the original interaction response message.

This is a lower level interface to :meth:`InteractionMessage.delete` in case
you do not want to fetch the message and save an HTTP request.

Raises
-------
HTTPException
    Deleting the message failed.
NotFound
    The interaction response message does not exist or has already been deleted.
Forbidden
    Deleted a message that is not yours.
)r  r  r  N)
r    r–   rd   rg   Ú$delete_original_interaction_responser‡   r…   ri   r  r  )ro   r  rg   s   &  r_   Údelete_original_responseÚ$Interaction.delete_original_responsem  sf   é € ô"  ×#Ò#Ó%ˆØ�{‰{×ÑˆØ×:Ñ:Ø×ÑØ�J‰JØ—M‘MØ—*‘*Ø—‘ð ;ó 
÷ 	
ô 	
ùs   ‚A7BÁ9B Á:Bc               ó(   € V ^8„  d   QhRRRRRRRR/# )	rZ   ÚstringzUnion[str, locale_str]rP   r   rO   r   rt   r÷   r]   )r^   s   "r_   r`   ra   ˆ  s2   € ÷ )Rñ )RØ,ð)RØ9?ð)RØQTð)Rà	ñ)Rrb   c             ƒ  ó|  "  € V P                   P                  pV'       g   R# \        V\        4      '       g   \        V4      pV\        J d   V P
                  pV\        J d!   V P                  ;'       g    V P                  p\        \        P                  VR7      pVP                  WVR7      G Rj  x€L
 #  L5i)a1  |coro|

Translates a string using the set :class:`~discord.app_commands.Translator`.

.. versionadded:: 2.1

Parameters
----------
string: Union[:class:`str`, :class:`~discord.app_commands.locale_str`]
    The string to translate.
    :class:`~discord.app_commands.locale_str` can be used to add more context,
    information, or any metadata necessary.
locale: :class:`Locale`
    The locale to use, this is handy if you want the translation
    for a specific locale.
    Defaults to the user's :attr:`.locale`.
data: Any
    The extraneous data that is being translated.
    If not specified, either :attr:`.command` or :attr:`.message` will be passed,
    depending on which is available in the context.

Returns
--------
Optional[:class:`str`]
    The translated string, or ``None`` if a translator was not set.
N)ÚlocationrO   )rP   rŒ   )rd   Ú_translatorÚ
isinstancer&   rM   rP   rØ   r‘   r'   r(   ÚotherÚ	translate)ro   r7  rP   rO   Ú
translatorrŒ   s   &&$$  r_   r=  ÚInteraction.translateˆ  s�   é € ð: —[‘[×,Ñ,ˆ
ßÙä˜&¤*×-Ò-Ü Ó'ˆFØ”WÓØ—[‘[ˆFØ”7‹?Ø—<‘<×/Ð/ 4§<¡<ˆDä$Ô.H×.NÑ.NÐUYÔZˆØ×)Ñ)¨&ÈÐ)ÓQ×QÐQÑQùs   ‚A4B<Á7>B<Â5B:Â6B<)r¨   rk   rf   r›   rj   r§   ri   rd   r‡   r�   rm   rŒ   rO   r˜   r‰   rl   r™   r~   r�   r|   rP   r‘   r…   r}   r   r†   ) r|   r}   r~   rO   r‡   r‘   r   r…   r†   rP   r�   rl   rm   r˜   r‰   rŒ   r™   r›   r§   r¨   rd   rf   ri   rk   rj   rQ   rR   r�   rS   rT   rU   rV   )#r{   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__rX   Ú__annotations__rp   r�   rn   Úpropertyrµ   rŽ   r®   rÃ   r“   r   Úcached_slot_propertyrÒ   rØ   rÝ   rá   rç   rí   rô   rù   r  r  r
  r  rM   r-  r4  r=  Ú__static_attributes__r]   rb   r_   r*   r*   k   s  ‡ ñ7ðr!"€Iˆó !õF
õ|õOðb ôó ðð ôló ðlð ôEó ðEð ô.ó ð.ð ô2ó ð2ð ×Ò Ó0ôBó 1ðBð. ×Ò Ó.ô0ó /ð0ð6 ×ÒÐ 0Ó1ô&ó 2ð&ð ×Ò Ó/ô)ó 0ð)ð ×Ò Ó/ôCó 0ðCð ô-ó ð-ð ô@ó ð@ð ×Ò Ó0ô%ó 1ð%õ1õõ?õ0ðdkð ")ðkð #*ð	kð
 ")ðkð :Aðkð 3:ðkð 7;ðkð ÷kõZ
ð6)RØBIð)RØW^÷)Ró )Rrb   c                  ó*   € ] tR tRtRtRtR R ltRtR# )r.   i´  z¢Represents an activity instance launched as an interaction response.

.. versionadded:: 2.5

Attributes
----------
id: :class:`str`
    The activity instance ID.
c               ó    € V ^8„  d   QhRRRR/# )rZ   rO   Ú"InteractionCallbackActivityPayloadrt   r1  r]   )r^   s   "r_   r`   Ú0InteractionCallbackActivityInstance.__annotate__Á  s   € ÷ "ñ "Ð?ð "ÀDñ "rb   c                	ó"   € VR ,          V n         R# )r|   N©r|   rÜ   s   &&r_   rp   Ú,InteractionCallbackActivityInstance.__init__Á  s   € Ø˜D•zˆŽrb   rM  N)r{   r@  rA  rB  rC  rX   rp   rG  r]   rb   r_   r.   r.   ´  s   † ñð €I÷"ñ "rb   c                  óZ   € ] tR tRtRtRtR R ltR R ltR R ltR	 R
 lt	R R lt
RtR# )r-   iÅ  ae  Represents an interaction response callback.

.. versionadded:: 2.5

Attributes
----------
id: :class:`int`
    The interaction ID.
type: :class:`InteractionResponseType`
    The interaction callback response type.
resource: Optional[Union[:class:`InteractionMessage`, :class:`InteractionCallbackActivityInstance`]]
    The resource that the interaction response created. If a message was sent, this will be
    a :class:`InteractionMessage`. If an activity was launched this will be a
    :class:`InteractionCallbackActivityInstance`. In any other case, this will be ``None``.
message_id: Optional[:class:`int`]
    The message ID of the resource. Only available if the resource is a :class:`InteractionMessage`.
activity_id: Optional[:class:`str`]
    The activity ID of the resource. Only available if the resource is a :class:`InteractionCallbackActivityInstance`.
c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )rZ   rO   ÚInteractionCallbackPayloadÚparentúInteraction[ClientT]r\   r7   r}   r   rt   r1  r]   )r^   s   "r_   r`   Ú(InteractionCallbackResponse.__annotate__æ  s>   € ÷ ñ ð )ðð %ð	ð
 ðð &ðð 
ñrb   c               	óL   € W0n         W n        W@n        V P                  V4       R # ©N)rd   Ú_parentr}   Ú_update)ro   rO   rR  r\   r}   s   &$$$$r_   rp   Ú$InteractionCallbackResponse.__init__æ  s   € ð (-ŒØ-3ŒØ-1Œ	Ø�‰�TÖrb   c               ó   € V ^8„  d   QhRR/# rs   r]   )r^   s   "r_   r`   rT  ó  s   € ÷ Pñ P˜#ñ Prb   c                	ó>   € R V P                    RV P                  : R2# )z <InteractionCallbackResponse id=rx   ry   )r|   r}   r€   s   &r_   r�   Ú$InteractionCallbackResponse.__repr__ó  s   € Ø1°$·'±'°¸&ÀÇÁÁÈQÐOÐOrb   c               ó    € V ^8„  d   QhRRRR/# )rZ   rO   rQ  rt   r1  r]   )r^   s   "r_   r`   rT  ö  s   € ÷ Wñ WÐ6ð W¸4ñ Wrb   c                	ó€  € VR ,          p\        VR,          4      V n        VP                  RR4      V n        VP                  RR4      V n        \
        P                  ! VR4      V n        VP                  R4      V n        RV n	        VP                  R4      pVe¢   \        \        VR	,          4      V n        VP                  R
4      pVP                  R4      pVeH   \        \        V P                  V P                   4      V P                  P"                  VR7      V n	        R# Ve   \%        V4      V n	        R# R# R# )Úinteractionr|   Úresponse_message_loadingFÚresponse_message_ephemeralÚresponse_message_idÚactivity_instance_idNÚresourcer}   r‘   Úactivity_instancer’   )r•   r|   r–   Ú	_thinkingÚ
_ephemeralr   r—   Ú
message_idÚactivity_idrd  r   r   r}   r+   r  rW  rd   r�   r.   )ro   rO   r_  rd  r‘   re  s   &&    r_   rX  Ú#InteractionCallbackResponse._updateö  s
  € Ø˜=Õ)ˆä˜; tÕ,Ó-ˆŒØ*Ÿ™Ð/IÈ5ÓQˆŒØ +§¡Ð0LÈeÓ TˆŒä).×)@Ò)@ÀÐNcÓ)dˆŒØ*5¯/©/Ð:PÓ*QˆÔà?CˆŒà—8‘8˜JÓ'ˆØÒÜ Ô!8¸(À6Õ:JÓKˆDŒIà—l‘l 9Ó-ˆGØ (§¡Ð-@Ó AÐØÒ"Ü 2Ü2°4·<±<ÀÇÁÓMØ ŸL™L×0Ñ0Ø ô!�–ð
 #Ò.Ü CÐDUÓ V�–ñ /ñ  rb   c               ó   € V ^8„  d   QhRR/# rþ   r]   )r^   s   "r_   r`   rT    s   € ÷ ñ ˜Tñ rb   c                ó   € V P                   # )z9:class:`bool`: Whether the response was a thinking defer.)rf  r€   s   &r_   Úis_thinkingÚ'InteractionCallbackResponse.is_thinking  s   € à�~‰~Ðrb   c               ó   € V ^8„  d   QhRR/# rþ   r]   )r^   s   "r_   r`   rT    s   € ÷ ñ ˜dñ rb   c                ó   € V P                   # )z2:class:`bool`: Whether the response was ephemeral.)rg  r€   s   &r_   Úis_ephemeralÚ(InteractionCallbackResponse.is_ephemeral  s   € à�‰Ðrb   )	rg  rW  rd   rf  ri  r|   rh  rd  r}   N)	rd   rW  r}   r|   rf  rg  rh  ri  rd  )r{   r@  rA  rB  rC  rX   rp   r�   rX  rm  rq  rG  r]   rb   r_   r-   r-   Å  s.   † ñð(
€IõõPõWõ6÷ñ rb   c                  ó˜  € ] tR tRt$ RtR/tR]R&   R R ltR R lt]	R	 R
 l4       t
RRRR/R R lltR R lt]R]R]RRR]RRRRRR/R R ll4       t]R0R]R]R]R]R]RRRRR]RRRRRRR]/R  R! lll4       tR0R]R]R]R]R]RRRRR]RRRRRRR]/R" R# llltR$]R]R]R%]R]R]RRR]/R& R' lltR( R) ltR* R+ ltR, R- ltR.tR# )1r,   i  zƒRepresents a Discord interaction response.

This type can be accessed through :attr:`Interaction.response`.

.. versionadded:: 2.0
rW   rX   c               ó   € V ^8„  d   QhRR/# )rZ   rR  rS  r]   )r^   s   "r_   r`   Ú InteractionResponse.__annotate__'  s   € ÷ Fñ FÐ3ñ Frb   c                	ó    € Wn         R V n        R # rV  ©rW  Ú_response_type)ro   rR  s   &&r_   rp   ÚInteractionResponse.__init__'  s   € Ø-3ŒØAEˆÖrb   c               ó   € V ^8„  d   QhRR/# rþ   r]   )r^   s   "r_   r`   ru  +  s   € ÷ /ñ /˜ñ /rb   c                ó   € V P                   RJ# )z~:class:`bool`: Indicates whether an interaction response has been done before.

An interaction can only be responded to once.
N©rx  r€   s   &r_   Úis_doneÚInteractionResponse.is_done+  s   € ð
 ×"Ñ"¨$Ð.Ð.rb   c               ó   € V ^8„  d   QhRR/# )rZ   rt   z!Optional[InteractionResponseType]r]   )r^   s   "r_   r`   ru  3  s   € ÷ #ñ #Ð7ñ #rb   c                ó   € V P                   # )zg:class:`InteractionResponseType`: The type of response that was sent, ``None`` if response is not done.r|  r€   s   &r_   r}   ÚInteractionResponse.type2  s   € ð ×"Ñ"Ð"rb   Ú	ephemeralFÚthinkingc               ó$   € V ^8„  d   QhRRRRRR/# )rZ   r‚  rÿ   rƒ  rt   ú.Optional[InteractionCallbackResponse[ClientT]]r]   )r^   s   "r_   r`   ru  7  s/   € ÷ Sñ Sð ðSð ð	Sð
 
8ñSrb   c          	   ƒ  óÐ  "  € V P                   '       d   \        V P                  4      h^ pRpV P                  pVP                  \        P
                  J g   VP                  \        P                  J dR   V'       d   \        P                  P                  M\        P                  P                  pV'       d   V'       d   R^@/pMDVP                  \        P                  J d'   \        P                  P                  pV'       d   R^@/pV'       dÐ   \        P                  ! 4       p\        W4R7      pVP                  P                   pVP#                  VP$                  VP&                  VP(                  VP*                  VP,                  VR7      G Rj  x€L
 p	\        V4      V n         \/        V	V P                  V P                  P                  V P                   R7      # R#  LM5i)aÐ  |coro|

Defers the interaction response.

This is typically used when the interaction is acknowledged
and a secondary action will be done later.

This is only supported with the following interaction types:

- :attr:`InteractionType.application_command`
- :attr:`InteractionType.component`
- :attr:`InteractionType.modal_submit`

.. versionchanged:: 2.5
    This now returns a :class:`InteractionCallbackResponse` instance.

Parameters
-----------
ephemeral: :class:`bool`
    Indicates whether the deferred message will eventually be ephemeral.
    This only applies to :attr:`InteractionType.application_command` interactions, or if ``thinking`` is ``True``.
thinking: :class:`bool`
    Indicates whether the deferred type should be :attr:`InteractionResponseType.deferred_channel_message`
    instead of the default :attr:`InteractionResponseType.deferred_message_update` if both are valid.
    In UI terms, this is represented as if the bot is thinking of a response. It is your responsibility to
    eventually send a followup message via :attr:`Interaction.followup` to make this thinking state go away.
    Application commands (AKA Slash commands) cannot use :attr:`InteractionResponseType.deferred_message_update`.

Raises
-------
HTTPException
    Deferring the interaction failed.
InteractionResponded
    This interaction has already been responded to before.

Returns
-------
Optional[:class:`InteractionCallbackResponse`]
    The interaction callback resource, or ``None``.
NÚflags©r}   rO   ©r  r  r  r,  ©rO   rR  r\   r}   )rx  r   rW  r}   r   rú   rû   r   Údeferred_channel_messager¬   Údeferred_message_updaterË   r    r–   r"   rd   rg   Úcreate_interaction_responser|   r…   ri   r  r  r-   )
ro   r‚  rƒ  Ú
defer_typerO   rR  r  r,  rg   rá   s
   &$$       r_   ÚdeferÚInteractionResponse.defer7  st  é € ð\ ××ÐÜ& t§|¡|Ó4Ð4àˆ
Ø)-ˆØ—‘ˆØ�;‰;œ/×3Ñ3Ó3°v·{±{Äo×FbÑFbÓ7b÷ ô (×@Ñ@×FÒFä,×DÑD×JÑJð ÷
 ŸIØ �}�øØ�[‰[œO×?Ñ?Ó?Ü0×IÑI×OÑOˆJßØ �}�çÜ#×'Ò'Ó)ˆGÜ0°jÔLˆFØ—=‘=×%Ñ%ˆDØ$×@Ñ@Ø—	‘	Ø—‘ØŸ™Ø—j‘jØŸ?™?Øð Aó ÷ ˆHô #:¸*Ó"EˆDÔÜ.ØØ—|‘|Ø—l‘l×)Ñ)Ø×(Ñ(ô	ð ñ ñùs3   ‚A;G&Á>;G&Â:G&ÃAG&ÄG&ÄBG&ÆG$ÆAG&c               ó   € V ^8„  d   QhRR/# r0  r]   )r^   s   "r_   r`   ru  Œ  s   € ÷ ?ñ ?˜Dñ ?rb   c           	   ƒ  ó   "  € V P                   '       d   \        V P                  4      hV P                  pVP                  \        P
                  J d·   \        P                  ! 4       p\        \        P                  P                  4      pVP                  P                  pVP                  VP                  VP                   VP"                  VP$                  VP&                  VR7      G Rj  x€L
  \        P                  V n         R# R#  L5i)zÓ|coro|

Pongs the ping interaction.

This should rarely be used.

Raises
-------
HTTPException
    Ponging the interaction failed.
InteractionResponded
    This interaction has already been responded to before.
r‰  N)rx  r   rW  r}   r   Úpingr    r–   r"   r   Úpongr¬   rd   rg   r�  r|   r…   ri   r  r  )ro   rR  r  r,  rg   s   &    r_   r”  ÚInteractionResponse.pongŒ  sÎ   é € ð ××ÐÜ& t§|¡|Ó4Ð4à—‘ˆØ�;‰;œ/×.Ñ.Ó.Ü#×'Ò'Ó)ˆGÜ0Ô1H×1MÑ1M×1SÑ1SÓTˆFØ—=‘=×%Ñ%ˆDØ×5Ñ5Ø—	‘	Ø—‘ØŸ™Ø—j‘jØŸ?™?Øð 6ó ÷ ð ô #:×">Ñ">ˆDÖñ /ñùs   ‚C,DÃ.DÃ/DÚfiler&  r  Úsuppress_embedsÚsilentÚdelete_afterNc               ó<   € V ^8„  d   QhRRRRRRRRR	R
RRRRRRRR/	# )rZ   r–  r8   r&  úSequence[File]r  r>   r‚  rÿ   r  r9   r—  r˜  r™  úOptional[float]rt   ú$InteractionCallbackResponse[ClientT]r]   )r^   s   "r_   r`   ru  ­  sf   € ÷ 3ñ 3ð ð3ð ð	3ð
 ð3ð ð3ð *ð3ð ð3ð ð3ð &ð3ð 
.ñ3rb   c             ƒ  	ó   "  € R # 5irV  r]   )	ro   r–  r&  r  r‚  r  r—  r˜  r™  s	   &$$$$$$$$r_   Úsend_messageÚ InteractionResponse.send_message¬  s
   é € ñ 03ùó   ‚r  r  r  Úttsr  c               óP   € V ^8„  d   QhRRRRRRRRR	R
RRRRRRRRRRRRRRRRRR/# )rZ   r  úOptional[Any]r  r;   r  r  r–  r8   r&  r›  r  r=   r¢  rÿ   r‚  r  r9   r—  r˜  r™  rœ  r  rL   rt   r�  r]   )r^   s   "r_   r`   ru  »  s–   € ÷ 3ñ 3àð3ð ð	3ð
  ð3ð ð3ð ð3ð ð3ð ð3ð ð3ð *ð3ð ð3ð ð3ð &ð3ð ð3ð  
.ñ!3rb   c             ƒ  	ó   "  € R # 5irV  r]   )ro   r  r  r  r–  r&  r  r¢  r‚  r  r—  r˜  r™  r  s   &&$$$$$$$$$$$$r_   rŸ  r   º  s
   é € ñ" 03ùr¡  c               óP   € V ^8„  d   QhRRRRRRRRR	R
RRRRRRRRRRRRRRRRRR/# )rZ   r  r¤  r  r;   r  r  r–  r8   r&  r›  r  r<   r¢  rÿ   r‚  r  r9   r—  r˜  r™  rœ  r  rL   rt   r�  r]   )r^   s   "r_   r`   ru  Í  s¦   € ÷ Qñ QàðQð ð	Qð
  ðQð ðQð ðQð ðQð ðQð ðQð *ðQð ðQð ðQð &ðQð ðQð  
.ñ!Qrb   c             ƒ  óN  a "  € S P                   '       d   \        S P                  4      hV'       g   V
'       g	   V'       d*   \        P                  ! ^ 4      pWŽn        W®n        W¾n        M\        pS P                  p\        P                  ! 4       p\        \        P                  P                  VVVVVVVP                  P                   V	VVVR7      pVP                  P"                  pVP%                  VP&                  VP(                  VP*                  VP,                  VP.                  VR7      G Rj  x€L
 p\        P                  S n         \1        VS P                  S P                  P                  S P                   R7      pV\        Jdd   VP3                  4       '       gN   V'       d   VP4                  f   RVn        S P                  P                  P7                  VVP8                  4       Ve(   V3R V 3R lllp\:        P<                  ! V! 4       4       V#  Lê5i)a	  |coro|

Responds to this interaction by sending a message.

.. versionchanged:: 2.5
    This now returns a :class:`InteractionCallbackResponse` instance.

Parameters
-----------
content: Optional[:class:`str`]
    The content of the message to send.
embeds: List[:class:`Embed`]
    A list of embeds to send with the content. Maximum of 10. This cannot
    be mixed with the ``embed`` parameter.
embed: :class:`Embed`
    The rich embed for the content to send. This cannot be mixed with
    ``embeds`` parameter.
file: :class:`~discord.File`
    The file to upload.
files: List[:class:`~discord.File`]
    A list of files to upload. Must be a maximum of 10.
tts: :class:`bool`
    Indicates if the message should be sent using text-to-speech.
view: Union[:class:`discord.ui.View`, :class:`discord.ui.LayoutView`]
    The view to send with the message.
ephemeral: :class:`bool`
    Indicates if the message should only be visible to the user who started the interaction.
    If a view is sent with an ephemeral message and it has no timeout set then the timeout
    is set to 15 minutes.
allowed_mentions: :class:`~discord.AllowedMentions`
    Controls the mentions being processed in this message. See :meth:`.abc.Messageable.send` for
    more information.
suppress_embeds: :class:`bool`
    Whether to suppress embeds for the message. This sends the message without any embeds if set to ``True``.
silent: :class:`bool`
    Whether to suppress push and desktop notifications for the message. This will increment the mention counter
    in the UI, but will not actually send a notification.

    .. versionadded:: 2.2
delete_after: :class:`float`
    If provided, the number of seconds to wait in the background
    before deleting the message we just sent. If the deletion fails,
    then it is silently ignored.

    .. versionadded:: 2.1
poll: :class:`~discord.Poll`
    The poll to send with this message.

    .. versionadded:: 2.4

Raises
-------
HTTPException
    Sending the message failed.
TypeError
    You specified both ``embed`` and ``embeds`` or ``file`` and ``files``.
ValueError
    The length of ``embeds`` was invalid.
InteractionResponded
    This interaction has already been responded to before.

Returns
-------
:class:`InteractionCallbackResponse`
    The interaction callback data.
)r}   r  r¢  r  r  r–  r&  r$  r  r‡  r  r  r‰  NrŠ  c               ó   € V ^8„  d   QhRR/# ©rZ   ÚdelayÚfloatr]   )r^   s   "r_   r`   Ú6InteractionResponse.send_message.<locals>.__annotate__U  ó   € ÷ ñ ¨ñ rb   c              “  ó¾   <"  € \         P                  ! V 4      G R j  x€L
   SP                  P                  4       G R j  x€L
  R #  L) L  \         d     R # i ; i5irV  ©ÚasyncioÚsleeprW  r4  r   ©rª  ro   s   &€r_   Ú
inner_callÚ4InteractionResponse.send_message.<locals>.inner_callU  óL   øé € Ü—m’m EÓ*×*Ð*ðØŸ,™,×?Ñ?ÓA×AÒAñ +áAøÜ$ô ÚðüóD   ƒA�AžA£A Á A	ÁA ÁAÁ	A ÁAÁAÁAÁAg      Œ@)rx  r   rW  r   rœ   r‚  r—  Úsuppress_notificationsrM   r    r–   r#   r   Úchannel_messager¬   rd   r  rg   r�  r|   r…   ri   r  r  r-   r(  Útimeoutr*  rh  r°  Úcreate_task)ro   r  r  r  r–  r&  r  r¢  r‚  r  r—  r˜  r™  r  r‡  rR  r  r,  rg   rO   rá   r³  s   f&$$$$$$$$$$$$        r_   rŸ  r   Í  s²  øé € ðf ××ÐÜ& t§|¡|Ó4Ð4çŸ¯6Ü ×,Ò,¨QÓ/ˆEØ'ŒOØ$3Ô!Ø+1Õ(äˆEà—‘ˆÜ×#Ò#Ó%ˆÜ4Ü(×8Ñ8×>Ñ>ØØØØØØØ&,§m¡m×&DÑ&DØ-ØØØô
ˆð �}‰}×!Ñ!ˆØ×8Ñ8Ø�I‰IØ�L‰LØ—O‘OØ—*‘*Ø—‘Øð 9ó 
÷ 
ˆô 6×EÑEˆÔÜ.ØØ—<‘<Ø—,‘,×%Ñ%Ø×$Ñ$ô	
ˆð ”wÓ t×'7Ñ'7×'9Ò'9ß˜TŸ\™\Ò1Ø(�”à�L‰L×Ñ×*Ñ*¨4°×1DÑ1DÔEàÒ#à0<÷ ò ô ×Ò¡
£Ô-àˆñC
ùs0   ƒ/H%³H%»H%ÁC5H%Ä8H#Ä9A/H%Æ)H%Æ1A3H%r  r  c               ó<   € V ^8„  d   QhRRRRRRRRR	R
RRRRRRRR/	# )rZ   r  r¤  r  r  r  r  r  r   r  r!  r  r"  r™  rœ  r—  rÿ   rt   r…  r]   )r^   s   "r_   r`   ru  `  sq   € ÷ Pñ Pð ðPð ð	Pð
  ðPð 7ðPð 0ðPð 4ðPð &ðPð ðPð 
8ñPrb   c             ƒ  óâ  a "  € S P                   '       d   \        S P                  4      hS P                  p	V	P                  p
V	P                  pV
e   V
P
                  pMRpV	P                  \        P                  \        P                  39  d   R# V\        Jd   Ve   VP                  V4       V\        Jd   \        P                  ! ^ 4      pW�n        M\        p\        P                   ! 4       p\#        \$        P&                  P(                  VVVVVV	P                  P*                  VVR7	      pV	P                  P,                  pVP/                  V	P
                  V	P0                  V	P2                  VP4                  VP6                  VR7      G Rj  x€L
 p\$        P&                  S n         \9        VS P                  S P                  P                  S P                   R7      pV'       dR   VP;                  4       '       g<   VP=                  4       '       d&   TP?                  Y\;'       g    VP@                  4       Ve(   V3R V 3R lllp\B        PD                  ! V! 4       4       V#  LÖ5i)a1	  |coro|

Responds to this interaction by editing the original message of
a component or modal interaction.

.. versionchanged:: 2.5
    This now returns a :class:`InteractionCallbackResponse` instance.

Parameters
-----------
content: Optional[:class:`str`]
    The new content to replace the message with. ``None`` removes the content.
embeds: List[:class:`Embed`]
    A list of embeds to edit the message with.
embed: Optional[:class:`Embed`]
    The embed to edit the message with. ``None`` suppresses the embeds.
    This should not be mixed with the ``embeds`` parameter.
attachments: List[Union[:class:`Attachment`, :class:`File`]]
    A list of attachments to keep in the message as well as new files to upload. If ``[]`` is passed
    then all attachments are removed.

    .. note::

        New files will always appear after current attachments.

view: Optional[Union[:class:`~discord.ui.View`, :class:`~discord.ui.LayoutView`]]
    The updated view to update this message with. If ``None`` is passed then
    the view is removed.

    .. note::

        To update the message to add a :class:`~discord.ui.LayoutView`, you
        must explicitly set the ``content``, ``embed``, ``embeds``, and
        ``attachments`` parameters to either ``None`` or an empty array, as appropriate.
allowed_mentions: Optional[:class:`~discord.AllowedMentions`]
    Controls the mentions being processed in this message. See :meth:`.Message.edit`
    for more information.
delete_after: :class:`float`
    If provided, the number of seconds to wait in the background
    before deleting the message we just edited. If the deletion fails,
    then it is silently ignored.

    .. versionadded:: 2.2
suppress_embeds: :class:`bool`
    Whether to suppress embeds for the message. This removes
    all the embeds if set to ``True``. If set to ``False``
    this brings the embeds back if they were suppressed.
    Using this parameter requires :attr:`~.Permissions.manage_messages`.

    .. versionadded:: 2.4

Raises
-------
HTTPException
    Editing the message failed.
TypeError
    You specified both ``embed`` and ``embeds``.
InteractionResponded
    This interaction has already been responded to before.

Returns
-------
Optional[:class:`InteractionCallbackResponse`]
    The interaction callback data, or ``None`` if editing the message was not possible.
N)	r}   r  r  r  r  r  r$  r  r‡  r‰  rŠ  c               ó   € V ^8„  d   QhRR/# r©  r]   )r^   s   "r_   r`   Ú6InteractionResponse.edit_message.<locals>.__annotate__ç  r­  rb   c              “  ó¾   <"  € \         P                  ! V 4      G R j  x€L
   SP                  P                  4       G R j  x€L
  R #  L) L  \         d     R # i ; i5irV  r¯  r²  s   &€r_   r³  Ú4InteractionResponse.edit_message.<locals>.inner_callç  rµ  r¶  )#rx  r   rW  r‘   rd   r|   r}   r   rú   rû   rM   Úprevent_view_updates_forr   rœ   r—  r    r–   r#   r   Úmessage_updater¬   r  rg   r�  r…   ri   r  r  r-   r(  r)  r*  rh  r°  rº  )ro   r  r  r  r  r  r  r™  r—  rR  Úmsgr\   rh  r‡  r  r,  rg   rO   rá   r³  s   f$$$$$$$$           r_   Úedit_messageÚ InteractionResponse.edit_message`  sð  øé € ðZ ××ÐÜ& t§|¡|Ó4Ð4à—‘ˆØ�n‰nˆØ—‘ˆØŠ?ØŸ™‰JàˆJà�;‰;œ×8Ñ8¼/×:VÑ:VÐWÔWÙà”wÓ :Ò#9Ø×*Ñ*¨:Ô6à¤'Ó)Ü ×,Ò,¨QÓ/ˆEØ$3Õ!äˆEä×#Ò#Ó%ˆÜ4Ü(×7Ñ7×=Ñ=ØØØØØ#Ø&,§m¡m×&DÑ&DØ-Øô

ˆð �}‰}×!Ñ!ˆØ×8Ñ8Ø�I‰IØ�L‰LØ—O‘OØ—*‘*Ø—‘Øð 9ó 
÷ 
ˆô 6×DÑDˆÔÜ.ØØ—<‘<Ø—,‘,×%Ñ%Ø×$Ñ$ô	
ˆ÷ ˜×(Ñ(×*Ò*¨t×/CÑ/C×/EÒ/EØ×Ñ˜T×#DÐ#D°×1DÑ1DÔEàÒ#à0<÷ ò ô ×Ò¡
£Ô-àˆñ=
ùs%   ƒFI/ÆI-ÆA-I/ÈI/ÈI/È/?I/c               ó    € V ^8„  d   QhRRRR/# )rZ   ÚmodalrA   rt   r�  r]   )r^   s   "r_   r`   ru  ò  s   € ÷ 3
ñ 3
 eð 3
Ð3Wñ 3
rb   c          	   ƒ  óÞ  "  € V P                   '       d   \        V P                  4      hV P                  p\        P                  ! 4       pVP
                  P                  p\        \        P                  P                  VP                  4       4      pVP                  VP                  VP                  VP                  VP                   VP"                  VR7      G Rj  x€L
 pVP%                  4       '       g&   V P                  P
                  P'                  V4       \        P                  V n         \)        VV P                  V P                  P
                  V P                   R7      #  L‹5i)aÎ  |coro|

Responds to this interaction by sending a modal.

.. versionchanged:: 2.5
    This now returns a :class:`InteractionCallbackResponse` instance.

Parameters
-----------
modal: :class:`~discord.ui.Modal`
    The modal to send.

Raises
-------
HTTPException
    Sending the modal failed.
InteractionResponded
    This interaction has already been responded to before.

Returns
-------
:class:`InteractionCallbackResponse`
    The interaction callback data.
r‰  NrŠ  )rx  r   rW  r    r–   rd   rg   r"   r   rÇ  r¬   Úto_dictr�  r|   r…   ri   r  r  r(  r*  r-   )ro   rÇ  rR  r  rg   r,  rá   s   ""     r_   Ú
send_modalÚInteractionResponse.send_modalò  s  é € ð2 ××ÐÜ& t§|¡|Ó4Ð4à—‘ˆä×#Ò#Ó%ˆØ�}‰}×!Ñ!ˆä,Ô-D×-JÑ-J×-PÑ-PÐRW×R_ÑR_ÓRaÓbˆØ ×<Ñ<Ø�I‰IØ�L‰LØ—O‘OØ—*‘*Ø—‘Øð =ó 
÷ 
ˆð × Ñ ×"Ò"Ø�L‰L×Ñ×*Ñ*¨5Ô1Ü5×;Ñ;ˆÔä*ØØ—<‘<Ø—,‘,×%Ñ%Ø×$Ñ$ô	
ð 	
ñ
ùs   ‚CE-ÃE+Ã E-Ã:A2E-c               ó    € V ^8„  d   QhRRRR/# )rZ   ÚchoiceszSequence[Choice[ChoiceT]]rt   r1  r]   )r^   s   "r_   r`   ru  '  s   € ÷ 1Jñ 1JÐ*Cð 1JÈñ 1Jrb   c           	   ƒ  ó\  "  € V P                   '       d   \        V P                  4      hV P                  P                  P                  pVeB   V P                  P
                  pRV Uu. uF  qDP                  W#4      G Rj  x€L
 NK  	  up/pM!RV Uu. uF  qDP                  4       NK  	  up/pV P                  pVP                  \        P                  Jd   \        R4      h\        P                  ! 4       pVP                  P                  p\        \         P"                  P$                  VR7      p	VP'                  VP(                  VP*                  VP,                  VP.                  VP0                  V	R7      G Rj  x€L
  \         P"                  V n         R#  ELu upi u upi  L(5i)a¢  |coro|

Responds to this interaction by giving the user the choices they can use.

Parameters
-----------
choices: List[:class:`~discord.app_commands.Choice`]
    The list of new choices as the user is typing.

Raises
-------
HTTPException
    Sending the choices failed.
ValueError
    This interaction cannot respond with autocomplete.
InteractionResponded
    This interaction has already been responded to before.
NrÍ  z5cannot respond to this interaction with autocomplete.rˆ  r‰  )rx  r   rW  rd   r:  rP   Ú!get_translated_payload_for_localerÉ  r}   r   rÌ   Ú
ValueErrorr    r–   rg   r"   r   Úautocomplete_resultr¬   r�  r|   r…   ri   r  r  )
ro   rÍ  r>  Úuser_localeÚoptionræ   rR  r  rg   r,  s
   &&        r_   rÌ   Ú InteractionResponse.autocomplete'  sc  é € ð& ××ÐÜ& t§|¡|Ó4Ð4à—\‘\×(Ñ(×4Ñ4ˆ
ØÒ!ØŸ,™,×-Ñ-ˆKàÑryÓzÑryÐhn×"JÑ"JÈ:Ó"c×cÒcÑryÑzð'‰Gð
 ¹7ÓC¹7°ŸN™NÖ,¹7ÑCð'ˆGð —‘ˆØ�;‰;œo×:Ñ:Ó:ÜÐTÓUÐUä×#Ò#Ó%ˆØ�}‰}×!Ñ!ˆÜ,Ô2I×2]Ñ2]×2cÑ2cÐjqÔrˆØ×1Ñ1Ø�I‰IØ�L‰LØ—O‘OØ—*‘*Ø—‘Øð 2ó 
÷ 	
ð 	
ô 6×IÑIˆÖò/ dùÒzùò Dñ	
ùsC   ‚A'F,Á)F ÂFÂF Â

F,ÂF%Â,CF,ÆF*ÆF,ÆF Æ F,c               ó   € V ^8„  d   QhRR/# )rZ   rt   r�  r]   )r^   s   "r_   r`   ru  Z  s   € ÷ ,
ñ ,
Ð'Kñ ,
rb   c           	   ƒ  óJ  "  € V P                   '       d   \        V P                  4      hV P                  p\        P                  ! 4       pVP
                  P                  p\        \        P                  P                  4      pVP                  VP                  VP                  VP                  VP                  VP                   VR7      G Rj  x€L
 p\        P                  V n         \#        VV P                  V P                  P
                  V P                   R7      #  LP5i)aŠ  |coro|

Responds to this interaction by launching the activity associated with the app.
Only available for apps with activities enabled.

.. versionadded:: 2.6

Raises
-------
HTTPException
    Launching the activity failed.
InteractionResponded
    This interaction has already been responded to before.

Returns
-------
:class:`InteractionCallbackResponse`
    The interaction callback data.
r‰  NrŠ  )rx  r   rW  r    r–   rd   rg   r"   r   Úlaunch_activityr¬   r�  r|   r…   ri   r  r  r-   )ro   rR  r  rg   r,  rá   s   &     r_   r×  Ú#InteractionResponse.launch_activityZ  sá   é € ð( ××ÐÜ& t§|¡|Ó4Ð4à—‘ˆä×#Ò#Ó%ˆØ�}‰}×!Ñ!ˆä,Ô-D×-TÑ-T×-ZÑ-ZÓ[ˆØ ×<Ñ<Ø�I‰IØ�L‰LØ—O‘OØ—*‘*Ø—‘Øð =ó 
÷ 
ˆô 6×EÑEˆÔä*ØØ—<‘<Ø—,‘,×%Ñ%Ø×$Ñ$ô	
ð 	
ñ
ùs   ‚CD#ÃD!ÃAD#rw  )rx  rW  rV  )r{   r@  rA  rB  rC  rX   rD  rp   r}  rE  r}   r�  r”  r   rM   rŸ  rÄ  rÊ  rÌ   r×  rG  r]   rb   r_   r,   r,     sE  ‡ ñð"€Iˆó õ
Fõ/ð ô#ó ð#ðSð  ðSð ÷	Sõj?ð@ ð3ð ð3ð !(ð	3ð  ð3ð -4ð3ð !&ð3ð ð3ð )-ö3ó ð3ð ñ3ð ð	3ð
 #*ð3ð ð3ð !(ð3ð ð3ð ð3ð  ð3ð -4ð3ð !&ð3ð ð3ð )-ð3ð ÷3ó ð3ñ$Qð ð	Qð
 #*ðQð ðQð !(ðQð !ðQð ðQð  ðQð -4ðQð !&ðQð ðQð )-ðQð ÷Qð QðfPð ")ðPð ")ð	Pð
 #*ðPð :AðPð 3:ðPð 7>ðPð )-ðPð !(÷Põd3
õj1J÷f,
ñ ,
rb   c                  ó\   € ] tR tRtRtR R ltR tRR/R R lltR	 t]	R
 4       t
R tRtR# )r  i‰  c               ó    € V ^8„  d   QhRRRR/# )rZ   r_  r*   rR  r7   r]   )r^   s   "r_   r`   Ú%_InteractionMessageState.__annotate__Œ  s   € ÷ /ñ / Kð /¸ñ /rb   c                	ó   € Wn         W n        R # rV  ©Ú_interactionrW  )ro   r_  rR  s   &&&r_   rp   Ú!_InteractionMessageState.__init__Œ  s   € Ø)4ÔØ(.Žrb   c                	ó8   € V P                   P                  V4      # rV  )rW  r¹   )ro   r~   s   &&r_   r¹   Ú#_InteractionMessageState._get_guild�  s   € Ø�|‰|×&Ñ& xÓ0Ð0rb   ÚcacheTc               ó   € V ^8„  d   QhRR/# )rZ   râ  rÿ   r]   )r^   s   "r_   r`   rÛ  “  s   € ÷ :ñ :¨ñ :rb   c               	ó:   € V P                   P                  WR 7      # ))râ  )rW  Ú
store_user)ro   rO   râ  s   &&$r_   rå  Ú#_InteractionMessageState.store_user“  s   € Ø�|‰|×&Ñ& tÐ&Ó9Ð9rb   c                	ó8   € V P                   P                  V4      # rV  )rW  Úcreate_userrÜ   s   &&r_   rè  Ú$_InteractionMessageState.create_user–  s   € Ø�|‰|×'Ñ'¨Ó-Ð-rb   c                	ó.   € V P                   P                  # rV  )rW  rg   r€   s   &r_   rg   Ú_InteractionMessageState.http™  s   € à�|‰|× Ñ Ð rb   c                	ó.   € \        V P                  V4      # rV  )rº   rW  )ro   Úattrs   &&r_   Ú__getattr__Ú$_InteractionMessageState.__getattr__�  s   € Ü�t—|‘| TÓ*Ð*rb   rÝ  N)rW  rÞ  )r{   r@  rA  rB  rX   rp   r¹   rå  rè  rE  rg   rî  rG  r]   rb   r_   r  r  ‰  s;   † Ø+€Iõ/ò1ð:°÷ :ò.ð ñ!ó ð!ö+rb   r  c                  óæ   € ] tR tRt$ RtRtR]R&   ]R]RRRR/R	 R
 ll4       t	]R]R]R]R]R]RRRRR]/R R ll4       t	R]R]R]R]R]RRRRR]/R R llt	R R lt
R R ltRR/R R lltRtR# )r+   i¡  aO  Represents the original interaction response message.

This allows you to edit or delete the message associated with
the interaction response. To retrieve this object see :meth:`Interaction.original_response`.

This inherits from :class:`discord.Message` with changes to
:meth:`edit` and :meth:`delete` to work.

.. versionadded:: 2.0
r  rd   r  r  Nr™  c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )rZ   r  r   r  r>   r  r"  r™  rœ  rt   r+   r]   )r^   s   "r_   r`   ÚInteractionMessage.__annotate__±  s>   € ÷ !ñ !ð 7ð!ð ð	!ð
 4ð!ð &ð!ð 
ñ!rb   c             ƒ  	ó   "  € R # 5irV  r]   )ro   r  r  r  r™  s   &$$$$r_   ÚeditÚInteractionMessage.edit°  s
   é € ñ !ùr¡  r  r  r  r  r  c               ó<   € V ^8„  d   QhRRRRRRRRR	R
RRRRRRRR/	# )rZ   r  r÷   r  r  r  r  r  r   r  zOptional[View]r  r"  r™  rœ  r  rL   rt   r+   r]   )r^   s   "r_   r`   rò  »  sf   € ÷ !ñ !ð ð!ð  ð	!ð
 ð!ð 7ð!ð ð!ð 4ð!ð &ð!ð ð!ð 
ñ!rb   c             ƒ  	ó   "  € R # 5irV  r]   )	ro   r  r  r  r  r  r  r™  r  s	   &$$$$$$$$r_   rô  rõ  º  s
   é € ñ !ùr¡  c               ó<   € V ^8„  d   QhRRRRRRRRR	R
RRRRRRRR/	# )rZ   r  r÷   r  r  r  r  r  r   r  r!  r  r"  r™  rœ  r  rL   rt   r+   r]   )r^   s   "r_   r`   rò  È  sq   € ÷ Xñ Xð ðXð  ð	Xð
 ðXð 7ðXð 0ðXð 4ðXð &ðXð ðXð 
ñXrb   c          
   ƒ  óº   "  € V P                   P                  P                  VVVVVVVR7      G Rj  x€L
 p	Ve   V P                  VR7      G Rj  x€L
  V	#  L$ L5i)a4  |coro|

Edits the message.

Parameters
------------
content: Optional[:class:`str`]
    The content to edit the message with or ``None`` to clear it.
embeds: List[:class:`Embed`]
    A list of embeds to edit the message with.
embed: Optional[:class:`Embed`]
    The embed to edit the message with. ``None`` suppresses the embeds.
    This should not be mixed with the ``embeds`` parameter.
attachments: List[Union[:class:`Attachment`, :class:`File`]]
    A list of attachments to keep in the message as well as new files to upload. If ``[]`` is passed
    then all attachments are removed.

    .. note::

        New files will always appear after current attachments.

allowed_mentions: :class:`AllowedMentions`
    Controls the mentions being processed in this message.
    See :meth:`.abc.Messageable.send` for more information.
view: Optional[Union[:class:`~discord.ui.View`, :class:`~discord.ui.LayoutView`]]
    The updated view to update this message with. If ``None`` is passed then
    the view is removed.

    .. note::

        If you want to update the message to have a :class:`~discord.ui.LayoutView`, you must
        explicitly set the ``content``, ``embed``, ``embeds``, and ``attachments`` parameters to
        ``None`` if the previous message had any.
delete_after: Optional[:class:`float`]
    If provided, the number of seconds to wait in the background
    before deleting the message we just sent. If the deletion fails,
    then it is silently ignored.

    .. versionadded:: 2.2
poll: :class:`~discord.Poll`
    The poll to create when editing the message.

    .. versionadded:: 2.5

    .. note::

        This is only accepted if the interaction response's :attr:`InteractionResponse.type`
        attribute is :attr:`InteractionResponseType.deferred_channel_message`.

Raises
-------
HTTPException
    Editing the message failed.
Forbidden
    Edited a message that is not yours.
TypeError
    You specified both ``embed`` and ``embeds``
ValueError
    The length of ``embeds`` was invalid.

Returns
---------
:class:`InteractionMessage`
    The newly edited message.
)r  r  r  r  r  r  r  N)rª  )rd   rÞ  r-  Údelete)
ro   r  r  r  r  r  r  r™  r  Úress
   &$$$$$$$$ r_   rô  rõ  È  sm   é € ðZ —K‘K×,Ñ,×CÑCØØØØ#ØØ-Øð Dó 
÷ 
ˆð Ò#Ø—+‘+ L�+Ó1×1Ð1Øˆ
ñ
ñ 2ùs!   ‚0A²A³AÁAÁAÁAc               ó    € V ^8„  d   QhRRRR/# )rZ   r&  r8   rt   r+   r]   )r^   s   "r_   r`   rò  "  s   € ÷ Hñ H dð HÐ/Añ Hrb   c              ‡  ó^   "  € V P                  . V P                  OVOR7      G Rj  x€L
 #  L5i)al  |coro|

Adds new files to the end of the message attachments.

.. versionadded:: 2.0

Parameters
-----------
\*files: :class:`File`
    New files to add to the message.

Raises
-------
HTTPException
    Editing the message failed.
Forbidden
    Tried to edit a message that isn't yours.

Returns
---------
:class:`InteractionMessage`
    The newly edited message.
©r  N©rô  r  )ro   r&  s   &*r_   Ú	add_filesÚInteractionMessage.add_files"  s/   é € ð0 —Y‘YÐ+F¨T×-=Ñ-=Ð+FÀÐ+F�YÓG×GÐGÑGùs   ‚$-¦+§-c               ó    € V ^8„  d   QhRRRR/# )rZ   r  r   rt   r+   r]   )r^   s   "r_   r`   rò  <  s   € ÷ bñ b°Zð bÐDVñ brb   c              ‡  ó�   "  € T P                  V P                   Uu. uF  q"V9  g   K  VNK  	  upR7      G Rj  x€L
 # u upi  L	5i)ao  |coro|

Removes attachments from the message.

.. versionadded:: 2.0

Parameters
-----------
\*attachments: :class:`Attachment`
    Attachments to remove from the message.

Raises
-------
HTTPException
    Editing the message failed.
Forbidden
    Tried to edit a message that isn't yours.

Returns
---------
:class:`InteractionMessage`
    The newly edited message.
rþ  Nrÿ  )ro   r  Úas   &* r_   Úremove_attachmentsÚ%InteractionMessage.remove_attachments<  s@   é € ð0 —Y‘Y°t×7GÒ7GÓ+`Ñ7G°!ÐT_ÑK_¯A¨AÑ7GÑ+`�YÓa×aÐaùÒ+`Ñaùs   ‚Aœ?©?¯AºA»
Arª  c               ó    € V ^8„  d   QhRRRR/# )rZ   rª  rœ  rt   r1  r]   )r^   s   "r_   r`   rò  V  s   € ÷  Fñ  F _ð  FÀñ  Frb   c             ƒ  óÆ   a "  € Ve*   V3R V 3R lllp\         P                  ! V! 4       4       R# S P                  P                  P	                  4       G Rj  x€L
  R#  L5i)a¢  |coro|

Deletes the message.

Parameters
-----------
delay: Optional[:class:`float`]
    If provided, the number of seconds to wait before deleting the message.
    The waiting is done in the background and deletion failures are ignored.

Raises
------
Forbidden
    You do not have proper permissions to delete the message.
NotFound
    The message was deleted already.
HTTPException
    Deleting the message failed.
Nc               ó   € V ^8„  d   QhRR/# r©  r]   )r^   s   "r_   r`   Ú/InteractionMessage.delete.<locals>.__annotate__m  r­  rb   c              “  óÒ   <"  € \         P                  ! V 4      G R j  x€L
   SP                  P                  P	                  4       G R j  x€L
  R #  L3 L  \
         d     R # i ; i5irV  )r°  r±  rd   rÞ  r4  r   r²  s   &€r_   r³  Ú-InteractionMessage.delete.<locals>.inner_callm  sR   øé € Ü—m’m EÓ*×*Ð*ðØŸ+™+×2Ñ2×KÑKÓM×MÒMñ +áMøÜ$ô ÚðüsD   ƒA'�AžA'£'A Á
AÁA ÁA'ÁA ÁA$Á A'Á#A$Á$A')r°  rº  rd   rÞ  r4  )ro   rª  r³  s   f$ r_   rú  ÚInteractionMessage.deleteV  sI   øé € ð* Òà05÷ ò ô ×Ò¡
£Ö-à—+‘+×*Ñ*×CÑCÓE×EÔEùs   ƒAA!ÁAÁA!r]   )r{   r@  rA  rB  rC  rX   rD  r   rM   rô  r   r  rú  rG  r]   rb   r_   r+   r+   ¡  s*  ‡ ñ	ð €IØ$Ó$àð!ð :Að!ð
 7;ð!ð )-ö!ó ð!ð ð!ð ")ð!ð #*ð	!ð
 ")ð!ð :Að!ð  'ð!ð 7;ð!ð )-ð!ð ö!ó ð!ðXð ")ðXð #*ð	Xð
 ")ðXð :AðXð 3:ðXð 7;ðXð )-ðXð ÷XõtHõ4bð4 F°t÷  Fó  Frb   )r*   r+   r,   r-   r.   )r+   r.   ){Ú__conditional_annotations__rC  Ú
__future__r   r¢   Útypingr   r   r   r   r   r   r	   r
   r   r   r°  rò   Ú r   Úenumsr   r   r   r   Úerrorsr   r   r   r   r‡  r   r�   r   Ú_typesr   Úskur   r   r   r”   r   r‘   r   r   rÃ   r   rg   r   Úwebhook.async_r    r!   r"   r#   Úapp_commands.installsr$   Úapp_commands.namespacer%   Úapp_commands.translatorr&   r'   r(   r)   Ú__all__Útypes.interactionsr*   r[   r/   r0   r1   rQ  r2   rJ  r3   r4   Útypes.webhookÚWebhookPayloadÚtypes.snowflaker5   rŽ   r6   r\   r7   r–  r8   Úmentionsr9   Úaiohttpr:   r  r;   Úui.viewr<   r=   r>   Úapp_commands.modelsr?   r@   Úui.modalrA   rB   rC   rD   rE   rF   rG   rH   ÚthreadsrI   Úapp_commands.commandsrJ   rK   r  rL   ÚInteractionChannelÚInteractionCallbackResourcerM   rD  r.   r-   r,   r  r+   )r  s   @r_   Ú<module>r(     sb  øðôõ0 #ã ß f× f× fÛ Û å ß MÓ Mß ZÓ ZÝ Ý  Ý Ý å Ý ß (Ý $Ý +ß tÓ tÝ 4Ý -ß _Ñ _Ý .ð€÷ ÷÷ ñ õõ +ÝÝ&ÝÝ)Ý%Ýß3Ñ3ß4Ýßx×xÑxÝß;ÝàØØØØØØØØð	õ	Ðð #(ð	/õ#Ðð
 �}‰}€ˆÓ ôF	R�'˜'Õ"ô F	R÷R"ñ "ô"R '¨'Õ"2ô Rôjl	
˜' 'Õ*ô l	
÷^+ñ +ô0UF˜ö UFrb   