Commit graph

15 commits

Author SHA1 Message Date
HgO
ad324c63c3 rename project 2022-06-13 20:55:01 +02:00
Kevin Li
71d520239c
Await invite callback (#32)
Co-authored-by: Kev <>
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
2021-10-25 20:28:38 +01:00
reivilibre
54c2b88d60
Skip InviteMemberEvents that are not our invites (#30)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2021-10-14 14:53:52 +01:00
Andrew Morgan
0e37bc724d Add some unit testing, starting with the config 2021-01-10 19:22:10 -05:00
Andrew Morgan
015ef12782 Add punctuation to the end of docstrings 2021-01-09 22:33:59 -05:00
Andrew Morgan
2b03c03891 Add typing to every method definition 2021-01-09 22:30:07 -05:00
Andrew Morgan
4aa1e2d0f4 React to undecryptable messages 2021-01-09 22:03:03 -05:00
Andrew Morgan
647233cfac Add example commands for reactions and event reply
There is now a 'react' command that the bot will react to when used. When a reaction is
made on a message that the bot sent, then it will acknowledge that reaction using a
reply.
2021-01-03 23:53:45 -05:00
Jason Robinson
b808119a73
Enable logging in using an access token (#21)
We do a `client.load_store()` to restore a previous session.

If both token and password are defined, token is preferred, since it wont create a new device for the bot. One or the other needs to be defined.

Requires https://github.com/anoadragon453/nio-template/pull/20 for the configuration change since password and access token must both be optional (but one must be given).
2020-12-14 22:38:47 +00:00
Hofer Julian
36cf756f04
Remove unneeded key_upload (#16)
It is automatically called by `sync_forever()`.
See https://matrix-nio.readthedocs.io/en/latest/nio.html?highlight=keys_upload#nio.AsyncClient.keys_upload
2020-08-27 11:36:30 +01:00
Andrew Morgan
2f81ebc8ce Fix docker setup 2020-08-16 17:00:38 +01:00
Andrew Morgan
95aa7943c1 Fix store and database config option names 2020-08-16 16:17:57 +01:00
Andrew Morgan
ec25fead72 Add support for postgres as a db backend 2020-08-16 15:51:59 +01:00
Andrew Morgan
af22f00868 Lint and add lint.sh dev script 2020-08-09 15:02:07 -07:00
Andrew Morgan
232258e8a0 Move files under module dir 2020-08-09 14:33:57 -07:00
Renamed from main.py (Browse further)