Commit Graph

39 Commits

Author SHA1 Message Date
Rongrong
ad56518512
feat: repeat \ ouen / 2022-05-25 11:25:30 +08:00
Rongrong
003dc1e4d2
fix: invalid command not filtered 2022-05-25 10:58:50 +08:00
Rongrong
f50954c30f
feat: multi-bot support; better logging 2022-04-28 04:43:02 +08:00
Rongrong
05d89f78ee
feat: dynamic punctuation tail
Close #4
2022-04-13 16:29:43 +08:00
Rongrong
8b5bd69107
new: /example\ to omit 2022-03-28 05:58:47 +08:00
Rongrong
6aa1109b83
new: / -> !; \//_ -> ¡ 2022-03-28 05:37:30 +08:00
Rongrong
42c9e1daa6
make command async 2022-03-18 01:36:55 +08:00
Rongrong
8ba16de4e6
add U+200E before the reply 2022-03-18 01:34:09 +08:00
Rongrong
7a6a32bbab
minor bugfix 2021-12-28 22:41:32 +08:00
Rongrong
4011e9cd8c
fullwidth-or-halfwidth adaptive exclamation mark 2021-12-13 15:33:35 +08:00
Rongrong
393ba738d3
rewrite 2021-12-13 08:18:11 +08:00
Rongrong
7523de8ee8
Dockerfile: bump python from 3.7-slim to 3.9-slim 2021-09-30 01:15:39 +08:00
Rongrong
6359928f03
use sender_chat instead of forward_from_chat as the sender of a channel message 2021-08-29 22:14:39 +08:00
Rongrong
8aa618cf6a
swapping position supports @mention 2021-08-09 17:59:28 +08:00
Rongrong
361ded7707
new env PROXY 2021-08-09 17:57:43 +08:00
Rongrong
234b5754e7
reformatting 2021-08-09 16:18:44 +08:00
Rongrong
cec0e557cd
mention id instead of username by default 2021-08-09 16:18:22 +08:00
Rongrong
ecf74e3bff
remove '@' in mention link while manually @someone 2021-08-06 23:46:51 +08:00
Soha Jin
b0213a54fe
swap position when using \sth or /_sth 2021-08-06 14:00:01 +08:00
Hykilpikonna
98b8cb3da6
[M] Move starting code to main 2021-08-05 11:47:04 +08:00
Hykilpikonna
4e156ae91e
[O] Remove username from text after identifying reply mention 2021-08-05 00:57:22 +08:00
Hykilpikonna
25ec388df8
[F] Fix HTTP 400 error from incomplete markdowns 2021-08-05 00:52:33 +08:00
Hykilpikonna
c0488d7d9a
[+] Add username reference option in mention function 2021-08-05 00:27:25 +08:00
Hykilpikonna
cad4ded9f1
[+] Detect mentions 2021-08-05 00:18:42 +08:00
Hykilpikonna
85d3dd6a6c
[O] Remove @ symbol before trying to find username 2021-08-05 00:15:51 +08:00
Hykilpikonna
acfbd58003
[+] Create function to find full name by username 2021-08-04 22:54:49 +08:00
Rongrong
f4f1d89b3f
delete abundant space when replying to single '/you' or '/me' 2020-12-16 01:22:49 +08:00
Rongrong
a43845be3a
fix 2020-11-29 19:35:03 +08:00
Rongrong
3bacf44460
escape '\\ ' 2020-11-29 19:11:19 +08:00
Rongrong
8fda8d6c88
linked channel and anonymous admin support 2020-11-10 01:46:55 +08:00
Rongrong
2bbf781351
add /you support 2020-11-07 22:54:07 +08:00
Rongrong
e0b8c59373
add /me support 2020-11-06 03:02:50 +08:00
Rongrong
cecd2f70d8
adjust regex 2020-10-29 01:06:18 +08:00
Rongrong
39d768b9d5
auto delete @username 2020-10-28 21:51:16 +08:00
Rongrong
49810eb5d9
Update SlashBot.py 2020-10-26 16:41:16 +08:00
Rongrong
a1b6a195c5
add second argument support 2020-10-26 16:08:50 +08:00
Rongrong
7f4eb9aac8
add '自己' support 2020-10-26 15:36:12 +08:00
Rongrong
c5d9c9d13e
fix redundant space when last_name do not exist 2020-10-26 02:54:06 +08:00
Rongrong
fbce725cec
initial 2020-10-26 02:11:53 +08:00