Browse Source

Fix missing List -> Sequence typehint in interaction message edit

pull/7710/head
Rapptz 3 years ago
parent
commit
d2f6b05c43
  1. 2
      discord/webhook/async_.py

2
discord/webhook/async_.py

@ -406,7 +406,7 @@ class AsyncWebhookAdapter:
session: aiohttp.ClientSession, session: aiohttp.ClientSession,
payload: Optional[Dict[str, Any]] = None, payload: Optional[Dict[str, Any]] = None,
multipart: Optional[List[Dict[str, Any]]] = None, multipart: Optional[List[Dict[str, Any]]] = None,
files: Optional[List[File]] = None, files: Optional[Sequence[File]] = None,
) -> Response[MessagePayload]: ) -> Response[MessagePayload]:
r = Route( r = Route(
'PATCH', 'PATCH',

Loading…
Cancel
Save