aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-07-03 21:45:09 -0400
committerRapptz <[email protected]>2021-07-03 21:45:15 -0400
commitc748e4bce58a74cfb6c8778693a3f034cbdf9a67 (patch)
treeedddad572d8b3d22ff8df56bf6a73b5f7462c5eb
parentFix Client.fetch_channel not returning Thread (diff)
downloaddiscord.py-c748e4bce58a74cfb6c8778693a3f034cbdf9a67.tar.xz
discord.py-c748e4bce58a74cfb6c8778693a3f034cbdf9a67.zip
Mention ephemeral messages can only be edited with raw method
-rw-r--r--discord/interactions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/interactions.py b/discord/interactions.py
index 5438ae7f..217e107f 100644
--- a/discord/interactions.py
+++ b/discord/interactions.py
@@ -258,6 +258,9 @@ class Interaction:
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`]