diff options
| author | Rapptz <[email protected]> | 2021-07-03 21:45:09 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-07-03 21:45:15 -0400 |
| commit | c748e4bce58a74cfb6c8778693a3f034cbdf9a67 (patch) | |
| tree | edddad572d8b3d22ff8df56bf6a73b5f7462c5eb | |
| parent | Fix Client.fetch_channel not returning Thread (diff) | |
| download | discord.py-c748e4bce58a74cfb6c8778693a3f034cbdf9a67.tar.xz discord.py-c748e4bce58a74cfb6c8778693a3f034cbdf9a67.zip | |
Mention ephemeral messages can only be edited with raw method
| -rw-r--r-- | discord/interactions.py | 3 |
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`] |