aboutsummaryrefslogtreecommitdiff
path: root/matrix-mcnt.py
blob: 5fd1800db79fce38c076183745ad0393ff24948c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()