2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-31 06:05:22 +00:00
Commit Graph

548 Commits

Author SHA1 Message Date
Muthu Kumar
9c700f40ae chore: update versions 2023-09-20 00:45:07 +05:30
Muthu Kumar
5bedd0dce5 feat: forward reported msg to report chat 2023-09-20 00:36:58 +05:30
Muthu Kumar
610fd603c4 fix: allow adminLog to be false 2023-09-20 00:05:55 +05:30
Muthu Kumar
c59e54d589 chore: update eslint deps 2023-09-20 00:02:25 +05:30
Muthu Kumar
d6d40ac9fb fix: ban/warn delegate deleteMsg to ctx.{ban|warn} 2023-09-19 23:59:20 +05:30
Muthu Kumar
614043d711 fix: make context.ts work 2023-09-19 23:45:32 +05:30
Muthu Kumar
a5472bd928 feat: WIP update context.js to TS
Intermediate commit to trick git into diffing correctly
2023-09-19 23:39:41 +05:30
Martin Rys
e3a0cc300b README.md: Fix a missing newline 2023-09-18 20:07:27 +02:00
Martin Rys
3e9f117010 README.md: Fix node version, remove beta mentions, make Plugins section point to wiki only 2023-09-18 20:06:51 +02:00
Martin
ab7b3cc04c Remove duplicated Plugins readme and point it to the wiki instead 2023-09-18 19:32:35 +02:00
Muthu Kumar
f8e326b463 doc: update anti-sandland 2023-09-18 21:28:19 +05:30
Martin
93271117ec Deps bump (#167)
Bump version to 1.5.0
Bump minimum node to latest supported LTS (12->18)
Bump all possible deps, notably Telegraf to 4.13

string-replace-async and nedb-promise still need to be dealt with later
v1.5.0
2023-09-18 14:43:59 +02:00
wiz0u
3ac421e049 msgLink use group username if available (#161)
Tested in prod
2023-04-14 02:42:45 +02:00
Thomas Rory Gummerson
0f1bcaae88 Capital E 2023-03-08 12:05:44 +01:00
Thomas Rory Gummerson
a7bf6093a9 Merge branch 'develop' of https://github.com/thedevs-network/the-guard-bot into develop 2023-03-08 12:05:17 +01:00
Thomas Rory Gummerson
d3da16a6d8 Bugfix italics 2023-03-08 12:05:08 +01:00
trgwii
cf12a21847 Merge pull request #160 from trgwii/develop
Show warn expiry in warn message if expireWarnsAfter is set to a finite value
2023-03-08 11:59:46 +01:00
Thomas Rory Gummerson
1a1aa2c894 Change to italics 2023-03-08 11:59:30 +01:00
Thomas Rory Gummerson
21a67644e6 Show warn expiry in warn message if expireWarnsAfter is set to a finite value 2023-03-08 09:57:39 +01:00
Pouria Ezzati
5709d7f751 Merge pull request #157 from thedevs-network/fix/channel-comments
fix: keep auto forwarded channel posts to its linked discussion group
2022-09-10 11:56:39 +04:30
Pouria Ezzati
d8d4b8b797 fix: ignore forwards checks if the mesasge is automatically forwarded from channel to its linked discussion group 2022-09-10 11:49:28 +04:30
Martin
f91f6ef4f5 Change deprecated .tg Telegraf alias for .telegram (#152)
* Swap deprecated .tg for .telegram
2022-05-31 17:17:45 +02:00
Martin
2df5b7a77f Bump Telegraf to 4.8.3 and update deps (#151) 2022-05-31 16:40:24 +02:00
Martin
6d77fc0c86 Merge pull request #150 from C0rn3j/develop
Replace node-fetch, add originating room name to warns/bans
2022-03-29 15:35:20 +02:00
Martin
508544abb2 Merge branch 'thedevs-network:develop' into develop 2022-03-29 13:41:09 +02:00
Martin Rys
5fdfab82ac Add room name where warn/ban happened 2022-03-29 13:38:22 +02:00
Martin Rys
5456585380 Fix variable case typo in permits 2022-03-29 13:38:04 +02:00
Martin Rys
1092e56c43 Remove node-fetch and replace with latest undici
Also bump nodejs req to latest minor/patch release
2022-03-29 12:41:04 +02:00
Martin Rys
0b4d5a1edc Bump node-fetch to 2.6.7 explicitly (already implicitly installed) 2022-03-29 12:25:28 +02:00
Muthu Kumar
835b17443f merge: #148 from C0rn3j/develop 2022-03-27 21:48:19 +05:30
Martin Rys
dae020e267 Bump string-replace-async to 2.0.0 - needs to be bumped further to 3.x later 2022-03-26 15:20:24 +01:00
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