aboutsummaryrefslogtreecommitdiff
path: root/discord/webhook/sync.py
diff options
context:
space:
mode:
authorNoName <[email protected]>2021-05-03 07:21:11 +0900
committerGitHub <[email protected]>2021-05-02 18:21:11 -0400
commit2793fc06d5cb8fdbe3e19ba0c88e681d33902866 (patch)
tree5b68e0fa4f504b2f3d1cf2927bcfb0153d7d6823 /discord/webhook/sync.py
parentAdd classproperty helper utility (diff)
downloaddiscord.py-2793fc06d5cb8fdbe3e19ba0c88e681d33902866.tar.xz
discord.py-2793fc06d5cb8fdbe3e19ba0c88e681d33902866.zip
Clarify Webhook.send return value documentation
Diffstat (limited to 'discord/webhook/sync.py')
-rw-r--r--discord/webhook/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/webhook/sync.py b/discord/webhook/sync.py
index 1fd05f3e..26978299 100644
--- a/discord/webhook/sync.py
+++ b/discord/webhook/sync.py
@@ -845,7 +845,7 @@ class SyncWebhook(BaseWebhook):
Returns
---------
Optional[:class:`SyncWebhookMessage`]
- The message that was sent.
+ If ``wait`` is ``True`` then the message that was sent, otherwise ``None``.
"""
if self.token is None: