Compare commits

..

2 commits

Author SHA1 Message Date
7a3e2e5e07 🏗️' move script to module folder
All checks were successful
Python formatting PEP8 / Python-PEP8 (push) Successful in 17s
2024-06-12 21:34:55 +02:00
91df6f9bb2 🙈 update .gitignore 2024-06-12 21:31:50 +02:00
3 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
# created by virtualenv automatically # created by virtualenv automatically
bin/ bin/
lib/ lib/
__pycache__
pyvenv.cfg pyvenv.cfg
.env .env
session.txt session.txt

View file

View file

@ -8,7 +8,12 @@ from dotenv import load_dotenv
load_dotenv() load_dotenv()
creds = botlib.Creds(os.getenv("BOT_HOMESERVER"), os.getenv("BOT_USERNAME"), os.getenv("BOT_PASSWORD")) creds = botlib.Creds(
os.getenv("BOT_HOMESERVER"),
os.getenv("BOT_USERNAME"),
os.getenv("BOT_PASSWORD")
)
bot = botlib.Bot(creds) bot = botlib.Bot(creds)
PREFIX = '!' PREFIX = '!'
utc = pytz.UTC utc = pytz.UTC