From d2f6b05c4306600ec6434cc6d48ce6633f5db644 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 17 Mar 2022 10:00:03 -0400 Subject: [PATCH] Fix missing List -> Sequence typehint in interaction message edit --- discord/webhook/async_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index 92ed7b0e1..fae8fe64d 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -406,7 +406,7 @@ class AsyncWebhookAdapter: session: aiohttp.ClientSession, payload: Optional[Dict[str, Any]] = None, multipart: Optional[List[Dict[str, Any]]] = None, - files: Optional[List[File]] = None, + files: Optional[Sequence[File]] = None, ) -> Response[MessagePayload]: r = Route( 'PATCH',