fix: new channel not loading
This commit is contained in:
@@ -19,7 +19,7 @@ class ChannelLogs:
|
|||||||
self.last_message_id = None
|
self.last_message_id = None
|
||||||
self.first_message_id = None
|
self.first_message_id = None
|
||||||
self.format = FORMAT
|
self.format = FORMAT
|
||||||
self.messages = []
|
self.messages = set()
|
||||||
self.start_date = None
|
self.start_date = None
|
||||||
elif isinstance(channel, dict):
|
elif isinstance(channel, dict):
|
||||||
self.format = channel["format"] if "format" in channel else None
|
self.format = channel["format"] if "format" in channel else None
|
||||||
|
|||||||
Reference in New Issue
Block a user