From 89eb86ecdc605baaa1470a9097d47499f50afed7 Mon Sep 17 00:00:00 2001 From: Harshal Laheri <73422191+Harshal6927@users.noreply.github.com> Date: Mon, 25 Apr 2022 11:30:27 +0530 Subject: [PATCH] Add return type for __init__ --- discord/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/abc.py b/discord/abc.py index 4f861984d..e2da0f849 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -300,7 +300,7 @@ class _Overwrites: ROLE = 0 MEMBER = 1 - def __init__(self, data: PermissionOverwritePayload): + def __init__(self, data: PermissionOverwritePayload) -> None: self.id: int = int(data['id']) self.allow: int = int(data.get('allow', 0)) self.deny: int = int(data.get('deny', 0))