diff --git a/Reddit_ChatBot_Python/_api/models.py b/Reddit_ChatBot_Python/_api/models.py index 95105ce..8504778 100644 --- a/Reddit_ChatBot_Python/_api/models.py +++ b/Reddit_ChatBot_Python/_api/models.py @@ -45,7 +45,7 @@ def __init__(self, in_data: dict): self.unread_mention_count: Optional[int] = in_data.get('unread_mention_count') self.channel_url: str = in_data.get('channel_url') self.operators: Optional[List] = in_data.get('operators') - self.channel: _Channel = _Channel(in_data.get('channel')) + self.channel: _Channel = _Channel(in_data) self.unread_message_count: Optional[int] = in_data.get('unread_message_count') self.cover_url: Optional[str] = in_data.get('cover_url') self.members: List[User] = [User(n) for n in in_data.get('members')] diff --git a/setup.py b/setup.py index f7107a9..7fe5269 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='Reddit_ChatBot_Python', - version='1.5.0', + version='1.5.1', project_urls={"Source": "https://github.com/scrubjay55/Reddit_ChatBot_Python.git"}, url="https://github.com/scrubjay55/Reddit_ChatBot_Python.git", author='scrubjay55',