diff --git a/.gitignore b/.gitignore index aad75ca..06c7e8d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ config.yaml data/* telegram_secrets.session -*/.directory \ No newline at end of file +*/.directory +venv +.idea/ +.vscode/ +__pycache__ \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 105ce2d..0000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index d0fa063..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index e4618e2..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/stickerbridge.iml b/.idea/stickerbridge.iml deleted file mode 100644 index 00c1736..0000000 --- a/.idea/stickerbridge.iml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..21af950 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.9.13 diff --git a/stickerbridge/telegram_exporter.py b/stickerbridge/telegram_exporter.py index 9865f01..a93887a 100644 --- a/stickerbridge/telegram_exporter.py +++ b/stickerbridge/telegram_exporter.py @@ -64,7 +64,7 @@ class TelegramExporter: self.bot_token = bot_token self.secrets_filename = secrets_filename - self.client = TelegramClient(self.secrets_filename, self.api_id, self.api_hash) + self.client = TelegramClient(self.secrets_filename, self.api_id, self.api_hash, system_version="4.16.30-vxStickerBridge") async def connect(self): await self.client.start(bot_token=self.bot_token)