🚚 Make session persistent
This commit is contained in:
parent
9eb1a75baf
commit
d6792c91a8
3 changed files with 8 additions and 1 deletions
|
@ -12,7 +12,8 @@ load_dotenv()
|
|||
creds = botlib.Creds(
|
||||
os.getenv("BOT_HOMESERVER"),
|
||||
os.getenv("BOT_USERNAME"),
|
||||
os.getenv("BOT_PASSWORD")
|
||||
os.getenv("BOT_PASSWORD"),
|
||||
session_stored_file="data/session.txt"
|
||||
)
|
||||
|
||||
bot = botlib.Bot(creds)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue