Commit 371080a7 authored by kaiyou's avatar kaiyou

Add a debugging notifier

parent 616519e3
Pipeline #146 passed with stage
in 52 seconds
...@@ -3,6 +3,12 @@ from matrix_client import client as matrix_client ...@@ -3,6 +3,12 @@ from matrix_client import client as matrix_client
from amonit import util from amonit import util
def stdout(context):
""" Dump the context to the standard output, useful for debugging mostly
"""
print(context)
def matrix_room(context, account, roomid, message): def matrix_room(context, account, roomid, message):
""" Send a message to a given Matrix room """ Send a message to a given Matrix room
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment