Skip to content

Commit

Permalink
added environment variable tip to getting-started
Browse files Browse the repository at this point in the history
  • Loading branch information
erayerdin committed May 12, 2019
1 parent 1601569 commit a04860e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ logger.error("foo")

![Screenshot](img/message_example.jpeg)

!!! tip
You can set `TELEGRAM_BOT_TOKEN` and `TELEGRAM_RECEIVER` environment
variables instead of setting `bot_token` and `receiver`.

[^1]:
You can change level offset by passing `level` to `TelegramHandler`
while you initialize it.

0 comments on commit a04860e

Please sign in to comment.