|
|
@ -255,9 +255,10 @@ class Interaction: |
|
|
|
|
|
|
|
Fetches the original interaction response message associated with the interaction. |
|
|
|
|
|
|
|
If the interaction response was :meth:`InteractionResponse.send_message` then this would |
|
|
|
return the message that was sent using that response. Otherwise, this would return |
|
|
|
the message that triggered 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. |
|
|
|
|
|
|
@ -267,6 +268,8 @@ class Interaction: |
|
|
|
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 |
|
|
|
-------- |
|
|
@ -342,6 +345,8 @@ class Interaction: |
|
|
|
------- |
|
|
|
HTTPException |
|
|
|
Editing the message failed. |
|
|
|
NotFound |
|
|
|
The interaction response message does not exist. |
|
|
|
Forbidden |
|
|
|
Edited a message that is not yours. |
|
|
|
TypeError |
|
|
@ -393,6 +398,8 @@ class Interaction: |
|
|
|
------- |
|
|
|
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. |
|
|
|
""" |
|
|
|