diff --git a/discord/audit_logs.py b/discord/audit_logs.py index f1bba6ef4..a31d36345 100644 --- a/discord/audit_logs.py +++ b/discord/audit_logs.py @@ -92,8 +92,8 @@ def _transform_overwrites( ) -> List[Tuple[Object, PermissionOverwrite]]: overwrites = [] for elem in data: - allow = Permissions(elem['allow']) - deny = Permissions(elem['deny']) + allow = Permissions(int(elem['allow'])) + deny = Permissions(int(elem['deny'])) ow = PermissionOverwrite.from_pair(allow, deny) ow_type = elem['type']