Archived
1
0
Fork 0
Commit graph

115 commits

Author SHA1 Message Date
yzhh
62783da02e update 2023-08-04 00:18:47 +08:00
yzhh
fe745a6b35 add permission level for base superuser; auto resume sending group message 2023-08-02 23:59:24 +08:00
yzhh
6affd9906a Update message.py 2023-08-02 23:07:30 +08:00
yzhh
b901101b48 fix forward msg 2023-07-30 19:45:42 +08:00
23ae1fb5f2
feat: partial matrix support (#680)
* build(deps): add matrix-nio

* build(deps): update requirements.txt for matrix-nio

* feat: add example config for matrix

* feat: init matrix support

* feat: do init sync to avoid receiving old messages

* feat: store next sync batch with file

* feat: parse matrix message

* feat: check moderator permission

* feat: redacting message

* feat: toMessageChain for m.text and m.image

* feat: drop m.notice messages

* feat: sending messages

* fix: power level fetching

* fix: rich reply fallback stripping

* style: less log

* feat: guess image content type

* fix: image upload

* feat: sending audio

* chore: add todo

* chore: add todo

* fix: use FinS.result to store room id

As the spec, room_id is an opaque identifier, and at least all valid ASCII characters except '/' and ':' can be included in room_id. This means in some servers, '|' may be included in room_id.

* fix: print RoomSendError

* fix: public rooms with two user are regarded as DM

* feat: resolving pm

* fix: nio.ErrorResponse

* feat: add post test

* feat: pm post test

* Revert "feat: pm post test"

This reverts commit 3688213c80.

* Revert "feat: add post test"

This reverts commit 259fcf54ca.

* feat: create TPM room

* feat: send typing notifications

* feat: leave empty room

* feat: rich reply formatted fallback support

* fix: import

* fix: include body in formatted rich reply fallbacks

* fix: escape line breaks in html

* fix: <br/> tag

* feat: improve matrix direct messaging

* feat: parse m.emote as m.text

* fix: command run blockingly

* fix: message send error handle

* fix: keep DM room

* fix: reuse of DM rooms

* feat: add error log

* docs: add deploy guide for matrix

* docs: add matrix to readme

* docs: add more warning

* style: remove explictly type declartion  (poljar/matrix-nio#417)

* feat: receive audio message

* feat: standard rich-reply fallback for m.emote

* chore: add matrix to bug report issues template
2023-07-30 17:41:01 +08:00
yzhh
70a7e206f6 e 2023-07-30 00:26:34 +08:00
yzhh
df472f6114 update 2023-07-30 00:24:35 +08:00
多羅狼
265b2ab15e
update rickroll 2023-07-28 03:31:53 +08:00
多羅狼
d37ab55035
Create tweet.py 2023-07-28 02:21:31 +08:00
多羅狼
c88762ef4a
Update 2023-07-23 16:22:30 +08:00
yzhh
7ea05299e9 #710 2023-07-22 16:32:38 +08:00
yzhh
9a632bfab1 im bored 2023-07-14 19:07:30 +08:00
多羅狼
fb10f3bf11
update 2023-07-14 15:59:01 +08:00
多羅狼
3e01c65048
Update 2023-07-08 01:30:31 +08:00
yzhh
ac229dcaab update 2023-06-30 15:59:11 +08:00
yzhh
3ba992fa7d bugfix 2023-06-30 15:42:49 +08:00
yzhh
07910322a9 kook support 2023-06-30 01:32:35 +08:00
yzhh
5c70ef69d5 voice support for discord 2023-06-29 22:53:46 +08:00
yzhh
ba4ed4583e use toml #517; auto convert cfg to toml 2023-06-29 20:57:46 +08:00
yzhh
1242b102f7 return NoneType instead of False value when field is not configured 2023-06-28 20:16:22 +08:00
yzhh
552a1cc595 Update client.py 2023-06-16 11:58:07 +08:00
yzhh
6b2a7c3a0e update 2023-06-14 09:58:16 +08:00
yzhh
212ad30d03 Update message.py 2023-06-13 19:07:12 +08:00
yzhh
0af3069d86
Update message.py 2023-06-12 22:57:06 +08:00
yzhh
14cadf5b77
Update message.py 2023-06-12 22:48:23 +08:00
yzhh
6415fc6b0f update 2023-06-10 11:59:24 +08:00
yzhh
19fa962342 update 2023-06-02 15:47:49 +08:00
yzhh
4661465cac Update bot.py 2023-05-30 21:19:41 +08:00
yzhh
7b384f806d #457 2023-05-30 21:14:00 +08:00
yzhh
250932692e update 2023-05-22 21:33:31 +08:00
yzhh
b89aae8431 Update message.py 2023-05-18 18:11:22 +08:00
yzhh
440e264a92
Merge branch 'master' into dev/phigros_module 2023-05-17 10:45:52 +08:00
yzhh
c6ca0fd575 add MessageSession.toMessageChain method 2023-05-02 20:07:19 +08:00
Dianliang233
3c91211933 Run autopep8 against all files 2023-04-30 11:30:59 +08:00
yzhh
f443d6c0be add minimum support for phigros b19 2023-04-29 16:19:10 +08:00
yzhh
cef07e1915 allow temp message session for aiocqhttp 2023-04-27 01:22:59 +08:00
yzhh
edbae57b11 Update message.py 2023-04-17 13:26:35 +08:00
yzhh
39fdaa72ec Update message.py 2023-04-08 15:27:27 +08:00
多羅狼
66efde1d1f
add i18n strings 2023-04-08 15:23:08 +08:00
yzhh
4e1938c241 Update bot.py 2023-04-07 00:48:02 +08:00
yzhh
39b29aca7b fix 2023-04-05 13:36:11 +08:00
yzhh
39330d5d62 support i18n for post message #507 2023-03-29 22:42:53 +08:00
yzhh
37effbddb4 i18nized for core function 2023-03-05 19:15:44 +08:00
yzhh
e89e7ff58b stop play boring troll 2023-03-04 17:51:20 +08:00
yzhh
9d54cae5ce #482 2023-03-04 17:41:03 +08:00
yzhh
cd6113685d #446 2023-03-01 21:41:42 +08:00
yzhh
6f53e6cd57 Update bot.py 2023-02-27 16:28:57 +08:00
yzhh
c4e3a908e7 Update bot.py 2023-02-25 14:14:51 +08:00
yzhh
3b3c9eabe0 Update slash_message.py 2023-02-12 12:53:02 +08:00
yzhh
afc430eaa1 Update bot.py 2023-02-09 00:08:10 +08:00