diff --git a/pyZUnivers/corporations.py b/pyZUnivers/corporations.py index 984021c..91f1ca1 100644 --- a/pyZUnivers/corporations.py +++ b/pyZUnivers/corporations.py @@ -170,7 +170,7 @@ def user_name(self) -> str: @property def user_id(self) -> int: - return self.__payload['user']['discordId'] + return int(self.__payload['user']['discordId']) @property def user_role(self) -> str: @@ -198,7 +198,7 @@ def __init__(self, payload: CorporationUserAPIResponse) -> None: @property def id(self) -> int: - return self.__payload['user']['discordId'] + return int(self.__payload['user']['discordId']) @property def name(self) -> str: