Commit graph

6 commits

Author SHA1 Message Date
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
8go
8c0ec5f759
built-with-matrix-nio badge + permit aliases (#15)
* added built-with-matrix-nio badge to README

* permit aliases

- using room.is_group is not ideal to determine if a room is a DM
- if a room alias is created for a DM, the existing code will break
- changing to check for room.member_count seems to be more appropriate
- new code also works on DMs that have aliases

* moving badge next to existing badge

* Update my_project_name/callbacks.py

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-08-24 11:39:50 +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 callbacks.py (Browse further)