You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
493 B
Python

"""
Not really tests, because I don't know how to testt without a whole matrix server.
"""
import asyncio
import os
from dotenv import load_dotenv
from matrix_bot.client import Client
from getpass import getpass
async def main():
load_dotenv()
client = await Client(
os.environ["MUSER"],
os.environ["HOMESERVER"],
os.environ["PASSWD"],
os.environ["ROOMS"].split(",")
)
await client.run()
if __name__ == "__main__":
asyncio.run(main())