diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-10-10 16:23:28 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-10-10 16:23:28 +0300 |
| commit | 88019526877172925ef4d44cbc7ef6c2402d920b (patch) | |
| tree | 02084b84cd6ba5e0c1548480d0c398e6a1893111 /taulubot.py | |
| parent | 0086f5016f1255a8d311ed5c6adfaf8f5c4fcf7e (diff) | |
Add dotenv, update requirements.txt
Diffstat (limited to 'taulubot.py')
| -rw-r--r-- | taulubot.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/taulubot.py b/taulubot.py index 27f3b1b..3f7880f 100644 --- a/taulubot.py +++ b/taulubot.py @@ -1,13 +1,14 @@ -import random import time -from pprint import pprint -from telepot import Bot -from telepot.loop import MessageLoop -import time -from PIL import Image import os import calendar import logging +from telepot import Bot +from telepot.loop import MessageLoop +from PIL import Image +from dotenv import load_dotenv + +load_dotenv() + logging.basicConfig(format="%(asctime)s %(message)s", level=logging.INFO) |
