1
0
mirror of https://github.com/otter18/tg_logger.git synced 2025-08-04 21:32:56 +02:00

Update README.md

This commit is contained in:
ChernV
2021-03-04 13:35:28 +03:00
committed by GitHub
parent b7b5e04498
commit 6936361103

View File

@@ -6,6 +6,7 @@
Bridging python logging and files to tg bot Bridging python logging and files to tg bot
![example_scr](https://raw.githubusercontent.com/otter18/tg_logger/master/img/example_scr.png)
## Table of Contents ## Table of Contents
- [Installation & Usage](#installation--usage) - [Installation & Usage](#installation--usage)
@@ -13,7 +14,6 @@ Bridging python logging and files to tg bot
* [Simple logging](#simple-logging) * [Simple logging](#simple-logging)
* [Flask logging](#flask-logging) * [Flask logging](#flask-logging)
* [TgFileLogger example](#tgfilelogger-example) * [TgFileLogger example](#tgfilelogger-example)
* [Example screenshot](#example-screenshot)
- [FQA](#fqa) - [FQA](#fqa)
* [How to create a telegram bot?](#how-to-create-a-telegram-bot) * [How to create a telegram bot?](#how-to-create-a-telegram-bot)
* [How to get **token** and **user_id**?](#how-to-get-token-and-user_id) * [How to get **token** and **user_id**?](#how-to-get-token-and-user_id)
@@ -90,9 +90,6 @@ with open(file_name, 'w') as example_file:
tg_files_logger.send(file_name, "Test file") tg_files_logger.send(file_name, "Test file")
``` ```
### Example screenshot
![example_scr](https://raw.githubusercontent.com/otter18/tg_logger/master/img/example_scr.png)
## FQA ## FQA
### How to create a telegram bot? ### How to create a telegram bot?
- To create bot use official [BotFather](https://t.me/BotFather) bot (descibed [here](https://core.telegram.org/bots#6-botfather)) - To create bot use official [BotFather](https://t.me/BotFather) bot (descibed [here](https://core.telegram.org/bots#6-botfather))