mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
disable bot_token
This commit is contained in:
@@ -111,8 +111,8 @@ class TelethonArchiver(Archiver):
|
||||
result = Metadata()
|
||||
|
||||
# NB: not using bot_token since then private channels cannot be archived: self.client.start(bot_token=self.bot_token)
|
||||
# with self.client.start():
|
||||
with self.client.start(bot_token=self.bot_token):
|
||||
with self.client.start():
|
||||
# with self.client.start(bot_token=self.bot_token):
|
||||
try:
|
||||
post = self.client.get_messages(chat, ids=post_id)
|
||||
except ValueError as e:
|
||||
|
||||
Reference in New Issue
Block a user