2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-30 05:37:59 +00:00

517 Commits

Author SHA1 Message Date
Martin Rys
8889a91e54 Bump xregexp to 5.1.0 2022-03-26 15:08:52 +01:00
Martin Rys
60193d2460 Bump typescript to 4.6.3 2022-03-26 15:00:32 +01:00
Martin Rys
218d17b458 Bump ts-node to 10.7.0 2022-03-26 14:59:29 +01:00
Martin Rys
6c5bb9146b Revert nedb-promise changes, bump spamwatch up to 0.4.0 2022-03-26 14:45:18 +01:00
Martin Rys
bc5e3aa315 index.js: Simplify creating data folder 2022-03-26 14:26:10 +01:00
Martin Rys
f51cbf77c8 Switch dead nedb-promise to latest nedb-promiseS 2022-03-26 14:04:33 +01:00
Martin Rys
91b04c5aa9 Bump telegraf to 4.7.0 2022-03-26 14:00:50 +01:00
Martin Rys
d411c977a6 index.js: Make sure data folder gets automatically created 2022-03-26 13:57:00 +01:00
Muthu Kumar
117c0c7f59
fix: rm unique index on username
Users can delete their account or rename their username and it's is released for anyone to pick up

Signed-off-by: Muthu Kumar <muthukumar@thefeathers.in>
2022-02-16 01:04:01 +05:30
Muthu Kumar
a14f9d0c97
chore: update telegraf
Signed-off-by: Muthu Kumar <muthukumar@thefeathers.in>
2021-12-08 20:53:37 +05:30
Muthu Kumar
004b93ceca
(merge) #143 from C0rn3j/develop
Log ID in logpresence
2021-07-02 13:00:54 +05:30
Martin Rys
61e3f50a3d Cleaner way to log ID 2021-07-02 09:17:22 +02:00
Martin Rys
d5eaf76c9c Log ID in logpresence, add myself to contributors 2021-07-01 23:23:20 +02:00
Muthu Kumar
264c2664f3
(merge) #141 from C0rn3j 2021-06-02 00:32:28 +05:30
Martin
0e3a475d46 Merge branch 'thedevs-network:develop' into develop 2021-06-01 21:00:25 +02:00
Martin Rys
07e078aae5 Fix logPresence for Telegraf 4 2021-06-01 21:00:00 +02:00
Pouria Ezzati
c7810c73d0
Merge pull request #136 from thedevs-network/feature/verify-captcha
Add verify captcha function
2021-05-15 17:14:28 +04:30
Muthu Kumar
fb143d2522
(merge) #140 from C0rn3j: fix /addCommand, /help, add "UTC" to time 2021-05-13 00:50:37 +05:30
Martin Rys
8491b9793b Fix comment 2021-05-12 16:31:32 +02:00
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
Muthu Kumar
2a90255e13
(merge) #139 from C0rn3j fix ban on max warns
Fix banning by reaching max warns
2021-05-09 02:05:33 +05:30
Martin Rys
f102102845 Fix banning by reaching max warns 2021-05-08 22:28:42 +02:00
Muthu Kumar
019f1fc756
(merge) #137 from C0rn3j: Upgrade to Telegraf 4.3 2021-05-08 02:31:52 +05:30
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
Pouria Ezzati
cc0c1e6bb4
refactor: undefiend check
Co-authored-by: Wojciech Pawlik <woj.pawlik@gmail.com>
2021-04-23 19:49:06 +04:30
pouria
d48772ef32 feat: add verifyCaptcha 2021-04-23 19:40:59 +04:30
pouria
01ff76ec6a fix: make sure is not undefined 2021-04-23 19:39:47 +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