Compare commits
2 commits
c035065afc
...
7a3e2e5e07
Author | SHA1 | Date | |
---|---|---|---|
7a3e2e5e07 | |||
91df6f9bb2 |
3 changed files with 7 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
|||
# created by virtualenv automatically
|
||||
bin/
|
||||
lib/
|
||||
__pycache__
|
||||
pyvenv.cfg
|
||||
.env
|
||||
session.txt
|
||||
|
|
0
matrix_bot_praying_times/__init__.py
Normal file
0
matrix_bot_praying_times/__init__.py
Normal file
|
@ -8,7 +8,12 @@ from dotenv import 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)
|
||||
PREFIX = '!'
|
||||
utc = pytz.UTC
|
Loading…
Reference in a new issue