2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-29 13:17:56 +00:00

493 Commits

Author SHA1 Message Date
Martin Rys
a89ca3899a Revert "Addcommand documentation"
This reverts commit d6611e4158dd710438794fc93b3879c362534bf3.
2021-05-12 16:30:53 +02:00
Martin Rys
f522ecd923 Format timestamps to have UTC in them, as they are UTC. 2021-05-12 16:30:11 +02:00
Martin Rys
9ab18ada0c fix addcommand in a dupe case 2021-05-10 09:14:03 +02:00
Martin Rys
19508ba346 Migrate /help to Telegraf 4 syntax 2021-05-09 21:03:24 +02:00
Martin Rys
d6611e4158 Addcommand documentation 2021-05-09 20:09:03 +02:00
Martin Rys
f102102845 Fix banning by reaching max warns 2021-05-08 22:28:42 +02:00
Martin Rys
96e6a3c761 Upgrade to Telegraf 4.3 2021-05-07 22:46:11 +02:00
Pouria Ezzati
a71292a700
Update README.md 2021-05-01 19:09:15 +04:30
Pouria Ezzati
5f142b290f
Update README.md 2021-04-25 15:32:47 +04:30
Pouria Ezzati
25cf3ef9b8
Update README.md 2021-04-25 15:32:37 +04:30
trgwii
2bd6394748
Merge pull request #135 from C0rn3j/develop
Whitelist sticker and setlanguage links
2021-04-13 21:47:45 +02:00
Martin Rys
92828f4324 Whitelist setlanguage links 2021-03-12 09:45:21 +01:00
Martin Rys
5bd57355b3 satisfy linter 2021-02-05 18:17:58 +01:00
Martin Rys
53fd31bf07 Whitelist linking telegram themes 2021-02-05 16:29:17 +01:00
trgwii
3aadf69297
Merge pull request #133 from C0rn3j/develop
Delete messages if report is missing a reply too
2021-02-05 15:16:07 +01:00
Martin Rys
0d10c7cbb7 also delete messages from mangled reports 2021-02-05 12:43:56 +01:00
trgwii
f8189c7846
Merge pull request #127 from C0rn3j/develop
Reporting fixes
2021-02-05 12:28:44 +01:00
Martin Rys
04a0995e02 ignore monospaced reports 2021-02-05 12:06:44 +01:00
Thomas Rory Gummerson
ea8e6d3654 Bugfix: Double-check that we got an array from jspack, return null if we didn't 2021-01-31 00:44:03 +01:00
Muthu Kumar
8b9babf987 Default report chat to false in example.config 2020-10-15 02:50:35 +05:30
Martin Rys
182a469660 Always delete all report messages
Co-authored-by: Thomas Rory Gummerson <thomas@gummerson.no>
2020-10-09 10:56:24 +02:00
Martin Rys
b710a47209 handle all variations of /!@report|admins
Co-authored-by: Thomas Rory Gummerson <thomas@gummerson.no>
2020-10-09 10:42:43 +02:00
Wojciech Pawlik
7ea9f48e3f
Merge pull request #126 from C0rn3j/develop 2020-09-18 13:32:39 +02:00
Martin Rys
33ed853712 Anonymize reporter 2020-09-18 12:54:33 +02:00
Martin Rys
e586cc8177 Show ID of reported user in reports 2020-09-18 12:49:16 +02:00
Wojciech Pawlik
abffcb6790
Enable handlerTimeout
Hopfully works around https://github.com/telegraf/telegraf/issues/735
#118
2020-09-06 14:14:24 +02:00
Muthu Kumar
eab18c3e85 Revert "Add telegraf-throttler"
This reverts commit d040bb1385e5b1eba9db5e8bce5cc35e41d7b8c3.
2020-07-26 08:38:28 +05:30
poeti8
c33192a443 Improve join log message by linking user 2020-07-15 18:48:24 +04:30
poeti8
62ec65ddb6 Fix checking if is private chat when ban 2020-07-15 18:47:44 +04:30
Wojciech Pawlik
d040bb1385
Add telegraf-throttler 2020-06-30 15:54:41 +02:00
Wojciech Pawlik
4e81a5c470
1.4.0 v1.4.0 2020-06-29 15:09:10 +02:00
Wojciech Pawlik
8fcfea6bb9
Add /permit, closes #72 2020-06-29 15:07:12 +02:00
Wojciech Pawlik
e54719ad11
Misc 2020-06-29 15:05:04 +02:00
Wojciech Pawlik
3d751b7704
Remove middlewares/antiflood 2020-06-26 22:31:53 +02:00
Wojciech Pawlik
e6dcc967eb
Don't antiflood forwards and media groups 2020-06-22 22:04:39 +02:00
Wojciech Pawlik
1872c665e2
Avoid relying on timer in antiflood 2020-06-15 15:38:03 +02:00
Wojciech Pawlik
78c8347c71
Fix invlite link checking 2020-06-15 15:05:43 +02:00
Wojciech Pawlik
db5e0f22f7
Add lrm 2020-06-15 14:45:55 +02:00
trgwii
c1edb7bc27
Fix format string for joinchat struct 2020-06-11 13:26:17 +02:00
Wojciech Pawlik
a11e35d3a7
Add middlewares/antiflood 2020-06-06 10:51:46 +02:00
Wojciech Pawlik
433854e154
Refactor utils/cmd/parse to TS 2020-06-06 09:20:15 +02:00
Wojciech Pawlik
b5f2db725f
utils/parse.js -> utils/cmd/parse.ts 2020-06-05 22:30:07 +02:00
Wojciech Pawlik
137f49e9e6
Centralize tmeDomains 2020-06-05 22:17:16 +02:00
Wojciech Pawlik
25215151a2
Refactor checkLinks to TS 2020-06-05 22:01:20 +02:00
Wojciech Pawlik
39036826d4
checkLinks.js -> checkLinks.ts 2020-06-05 15:58:31 +02:00
Thomas Rory Gummerson
b271c53fd8
Invite link checking based on chat ID rather than known invite links 2020-06-05 15:58:25 +02:00
Wojciech Pawlik
959bef339d
Use caption in substom 2020-05-26 13:29:57 +02:00
Wojciech Pawlik
624c74060a
Support group migration, fixes #122 2020-05-26 13:23:54 +02:00
Wojciech Pawlik
9f7d17a471
Display when /user was added to database 2020-05-25 23:25:42 +02:00
Wojciech Pawlik
93538a6d93
Don't try unbanning outside supergroups (#122) 2020-05-25 22:49:53 +02:00