aboutsummaryrefslogtreecommitdiff
path: root/matrix-mcnt.py
diff options
context:
space:
mode:
Diffstat (limited to 'matrix-mcnt.py')
-rw-r--r--matrix-mcnt.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/matrix-mcnt.py b/matrix-mcnt.py
new file mode 100644
index 0000000..5fd1800
--- /dev/null
+++ b/matrix-mcnt.py
@@ -0,0 +1,16 @@
+#!/usr/bin/env python3
+
+"""matrix-mcnt
+Matrix message count outputs the number of unread messages to stdout.
+
+Run:
+ ./matrix-mcnt --all-rooms (default)
+
+ ./matrix-mcnt --room '!Idstring:matrix.org'
+
+ ./matrix-mcnt --room '!Idstring1:matrix.org' '!Idstring2:matrix.org' '!Idstringn:matrix.org'
+
+"""
+
+if __name__ == "__main__":
+ main()