aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
Diffstat (limited to 'discord')
-rw-r--r--discord/webhook/async_.py7
-rw-r--r--discord/webhook/sync.py7
2 files changed, 2 insertions, 12 deletions
diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py
index 296cccde..143dc710 100644
--- a/discord/webhook/async_.py
+++ b/discord/webhook/async_.py
@@ -577,17 +577,12 @@ class WebhookMessage(Message):
):
"""|coro|
- Edits a message owned by this webhook.
-
- This is a lower level interface to :meth:`WebhookMessage.edit` in case
- you only have an ID.
+ Edits the message.
.. versionadded:: 1.6
Parameters
------------
- message_id: :class:`int`
- The message ID to edit.
content: Optional[:class:`str`]
The content to edit the message with or ``None`` to clear it.
embeds: List[:class:`Embed`]
diff --git a/discord/webhook/sync.py b/discord/webhook/sync.py
index c2f4d15b..7cbbd107 100644
--- a/discord/webhook/sync.py
+++ b/discord/webhook/sync.py
@@ -341,15 +341,10 @@ class SyncWebhookMessage(Message):
files: List[File] = MISSING,
allowed_mentions: Optional[AllowedMentions] = None,
):
- """Edits a message owned by this webhook.
-
- This is a lower level interface to :meth:`WebhookMessage.edit` in case
- you only have an ID.
+ """Edits the message.
Parameters
------------
- message_id: :class:`int`
- The message ID to edit.
content: Optional[:class:`str`]
The content to edit the message with or ``None`` to clear it.
embeds: List[:class:`Embed`]