updoot README
This commit is contained in:
parent
29cc8aedd4
commit
7e3acb68ce
1 changed files with 3 additions and 4 deletions
|
|
@ -25,10 +25,9 @@ LainMonitor is a Telegram bot designed to monitor your system by providing real-
|
||||||
```bash
|
```bash
|
||||||
pip install pyTelegramBotAPI
|
pip install pyTelegramBotAPI
|
||||||
```
|
```
|
||||||
3. Replace the placeholder in the code with your Telegram bot token:
|
3. Replace the placeholder in the .env file with your Telegram bot token
|
||||||
```python
|
|
||||||
TOKEN = 'PLACE_YOUR_TOKEN_HERE'
|
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).
|
4. Set up permissions for the bot to check system services (run as a user with `sudo` access).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue