Skip to content
Snippets Groups Projects
Commit b2081096 authored by Michael G's avatar Michael G
Browse files

Merge branch 'master' of github.com:foss-ag/tool_matrixbot

parents 6d41b60f 1ad3bd81
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ client = MatrixClient("https://matrix.org") ...@@ -15,7 +15,7 @@ client = MatrixClient("https://matrix.org")
#token = client.register_with_password(username="foobar", password="monkey") #token = client.register_with_password(username="foobar", password="monkey")
# Existing user # Existing user
token = client.login(username="foss-ag_klo", password="justklo") token = client.login(username="foss-ag_klo", password="justkloklo")
#room = client.create_room("#klotest:matrix.org") #room = client.create_room("#klotest:matrix.org")
room = client.join_room("#klotest:matrix.org") room = client.join_room("#klotest:matrix.org")
...@@ -23,3 +23,6 @@ room.send_text("Hello!") ...@@ -23,3 +23,6 @@ room.send_text("Hello!")
room.add_listener(on_message) room.add_listener(on_message)
client.start_listener_thread() client.start_listener_thread()
while True:
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment