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 | |
| parent | 0086f5016f1255a8d311ed5c6adfaf8f5c4fcf7e (diff) | |
Add dotenv, update requirements.txt
| -rw-r--r-- | requirements.txt | 12 | ||||
| -rw-r--r-- | taulubot.py | 13 |
2 files changed, 19 insertions, 6 deletions
diff --git a/requirements.txt b/requirements.txt index a57210c..3eca971 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,14 @@ +aiohappyeyeballs==2.6.1 +aiohttp==3.13.0 +aiosignal==1.4.0 +attrs==25.4.0 +dotenv==0.9.9 +frozenlist==1.8.0 +idna==3.10 +multidict==6.7.0 pillow==11.3.0 +propcache==0.4.1 +python-dotenv==1.1.1 +telepot==12.7 urllib3==2.5.0 +yarl==1.22.0 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) |
