Commit graph

23 commits

Author SHA1 Message Date
Tulir Asokan
342ab32f3a Add internal option for client-wide reply disabling 2020-01-23 18:43:33 +02:00
Tulir Asokan
1d03fd83df Switch to commonmark 2019-11-17 22:31:16 +02:00
Tulir Asokan
ccc94da432 Add edits parameter to client.send_markdown 2019-09-28 17:21:03 +03:00
Tulir Asokan
7fcb7cbf0a Update type hints and allow InternalEventTypes for @event.on 2019-09-28 17:21:03 +03:00
Tulir Asokan
eb353c4964 Add edit function to MaubotMessageEvent 2019-08-30 01:27:40 +03:00
Tulir Asokan
d557a5b02a Add sync state indicator and support for clearing cache 2019-07-21 20:37:32 +03:00
Tulir Asokan
d451a8d669 Use more specific mautrix.client import path 2019-07-21 18:18:22 +03:00
Tulir Asokan
cd43fcde4b Fix error preventing any bot from syncing 2019-07-09 23:08:28 +03:00
Tulir Asokan
72b7e81f97 Change event.react() to use client.react() 2019-06-21 14:40:12 +03:00
Tulir Asokan
d56ec94d34 Add react method to MaubotMessageEvent 2019-06-21 14:19:24 +03:00
Tulir Asokan
ac3b862f23 Trim reply fallback when fetching single events 2019-06-16 01:33:51 +03:00
Tulir Asokan
c5337f96a3 Add an option in events to make reply() act as respond()
Should be a command handler argument or have some other way of making
it configurable in the future.
2019-06-09 18:22:30 +03:00
Tulir Asokan
4210f3195f Update copyright year 2019-06-08 17:42:07 +03:00
Tulir Asokan
401643afba Add html_in_markdown option to reply() and respond() 2019-01-07 09:06:11 +02:00
Tulir Asokan
682eab348d Some sort of command handling system 2018-12-18 00:53:39 +02:00
Tulir Asokan
f104595217 Changes related to rewriting the command handling system 2018-12-16 00:52:54 +02:00
Tulir Asokan
c39cacbab4 Switch to Python-Markdown
Commonmark doesn't have any built-in HTML sanitization
2018-11-28 15:28:35 +02:00
Tulir Asokan
6a6e8a818e Simplify Event.reply and add MaubotMatrixClient.send_markdown 2018-11-28 02:33:59 +02:00
Tulir Asokan
91f804d4cf Allow commands for all non-notice message types 2018-10-30 21:29:58 +02:00
Tulir Asokan
cc053d0cfc Move bot helper checks to command event handler 2018-10-17 22:45:59 +03:00
Tulir Asokan
2844865e3a Fix potential await bug 2018-10-17 22:09:25 +03:00
Tulir Asokan
c342dc225f Move bot-oriented stuff from mautrix-python and add more logs 2018-10-17 20:17:14 +03:00
Tulir Asokan
eef052b1e9 More changes 2018-10-16 16:41:02 +03:00