From f96083e1092fa050788b4dedf154d244062e9468 Mon Sep 17 00:00:00 2001 From: Chiggy-Playz <49774426+Chiggy-Playz@users.noreply.github.com> Date: Mon, 18 Oct 2021 19:53:31 +0530 Subject: [PATCH] Typehint format method Co-authored-by: Stocker <44980366+StockerMC@users.noreply.github.com> --- discord/enums.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/enums.py b/discord/enums.py index 0576f38c..02368ca8 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -655,7 +655,7 @@ class ProtocolUrl(Enum): def __str__(self) -> str: return self.value - def format(self, **kwargs) -> str: + def format(self, **kwargs: Any) -> str: return self.value.format(**kwargs)