diff options
| author | Harmon <[email protected]> | 2020-01-22 22:55:05 -0600 |
|---|---|---|
| committer | Danny <[email protected]> | 2020-01-22 23:55:05 -0500 |
| commit | 6f9793fe5e8090446f7e8fd0d1e0d752cd66fd0f (patch) | |
| tree | 8df53b1ae373eb4dc0e05c3df4f2c388497e5499 /discord/webhook.py | |
| parent | 1.3.0 changelog: fetch_roles fetches roles, not members (diff) | |
| download | discord.py-6f9793fe5e8090446f7e8fd0d1e0d752cd66fd0f.tar.xz discord.py-6f9793fe5e8090446f7e8fd0d1e0d752cd66fd0f.zip | |
Fixes and improvements for v1.3 documentation
* Add missing versionadded strings for v1.3
* Add missing versionchanged string for Message.edit
* Consistently use versionadded for attributes
* Consistently use versionchanged for parameters
* Use versionchanged for Bot.is_owner
* Fix references in v1.3 changelog
* Improve grammar in v1.3 changelog
Diffstat (limited to 'discord/webhook.py')
| -rw-r--r-- | discord/webhook.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/webhook.py b/discord/webhook.py index cc43bbca..efc33bed 100644 --- a/discord/webhook.py +++ b/discord/webhook.py @@ -404,6 +404,9 @@ class Webhook: The webhook's ID type: :class:`WebhookType` The type of the webhook. + + .. versionadded:: 1.3 + token: Optional[:class:`str`] The authentication token of the webhook. If this is ``None`` then the webhook cannot be used to make requests. |