You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -748,26 +748,24 @@ The `run-container` command mounts also the `config.json` file, so any change to
748
748
The bot was created to replace terminal commands and allow interaction via Telegram. Each download runs within a screen session, enabling multiple downloads to run simultaneously.
749
749
750
750
To run the bot in the background, simply start it inside a screen session and then press Ctrl + A, followed by D, to detach from the session without stopping the bot.
751
-
</details>
752
-
753
-
<details>
754
-
<summary>🤖 Bot Commands</summary>
755
751
756
752
Command Functions:
757
753
758
754
🔹 /start – Starts a new search for a download. This command performs the same operations as manually running the script in the terminal with test_run.py.
759
755
760
756
🔹 /list – Displays the status of active downloads, with options to:
761
-
- Stop an incorrect download using /stop <ID>
762
-
- View the real-time output of a download using /screen <ID>
757
+
758
+
Stop an incorrect download using /stop <ID>.
759
+
760
+
View the real-time output of a download using /screen <ID>.
763
761
764
762
⚠ Warning: If a download is interrupted, incomplete files may remain in the folder specified in config.json. These files must be deleted manually to avoid storage or management issues.
765
-
</details>
766
763
767
-
<details>
768
-
<summary>🔧 Environment Setup</summary>
764
+
🛠 Configuration: Currently, the bot's settings are stored in the config.json file, which is located in the same directory as the telegram_bot.py script.
765
+
766
+
## .env Example:
769
767
770
-
Create an `.env` file with:
768
+
You need to create an .env file and enter your Telegram token and user ID to authorize only one user to use it
0 commit comments