1
0
Fork 0
This commit is contained in:
Nyx 2025-01-31 18:20:14 -06:00
parent 773beb5553
commit 52a7e18d03

7
bot.py
View file

@ -1,6 +1,11 @@
import simplematrixbotlib as botLibrary
import json
credentials = botLibrary.Creds("https://localhost:8008", "user", "password")
with open('config.json', 'r') as f:
config = json.load(f)
credentials = botLibrary.Creds(config[server], config[login], config[password])
print(credentials)
bot = botLibrary.Bot(credentials)
PREFIX = "!q"