From 7e3acb68ce5a354435903f46dc8b3dcd6247a2bf Mon Sep 17 00:00:00 2001 From: HornetMaidan Date: Sat, 5 Oct 2024 01:41:05 +0500 Subject: [PATCH] updoot README --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c00ed87..dbc6ff4 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,9 @@ LainMonitor is a Telegram bot designed to monitor your system by providing real- ```bash pip install pyTelegramBotAPI ``` -3. Replace the placeholder in the code with your Telegram bot token: - ```python - TOKEN = 'PLACE_YOUR_TOKEN_HERE' - ``` +3. Replace the placeholder in the .env file with your Telegram bot token + +4. Add the .env file to .gitignore to prevent token overwriting 4. Set up permissions for the bot to check system services (run as a user with `sudo` access).