From 267fad9180e2d95f940aebbeea7e0b2d5c2ee107 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 30 May 2021 10:02:58 -0400 Subject: Add WebhookType.application --- discord/enums.py | 1 + discord/types/webhook.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'discord') diff --git a/discord/enums.py b/discord/enums.py index aaa59b25..f34d135c 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -417,6 +417,7 @@ class TeamMembershipState(Enum): class WebhookType(Enum): incoming = 1 channel_follower = 2 + application = 3 class ExpireBehaviour(Enum): remove_role = 0 diff --git a/discord/types/webhook.py b/discord/types/webhook.py index 851b5ec7..c526d750 100644 --- a/discord/types/webhook.py +++ b/discord/types/webhook.py @@ -41,7 +41,7 @@ class _WebhookOptional(TypedDict, total=False): token: str -WebhookType = Literal[1, 2] +WebhookType = Literal[1, 2, 3] class _FollowerWebhookOptional(TypedDict, total=False): -- cgit v1.2.3