2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-28 12:47:56 +00:00

339 Commits

Author SHA1 Message Date
GingerPlusPlus
e2bb87948c 0.9.1 v0.9.1 2018-11-02 19:52:23 +01:00
Muthu Kumar
2a356f0855
Merge pull request #92 from thedevs-network/feat-configurable-blacklists
Feature: configurable blacklists
2018-10-30 11:21:29 +05:30
Muthu Kumar
9abf4ce50a [blacklist] Make blacklisting domains configurable 2018-10-30 11:04:24 +05:30
Muthu Kumar
74bb97191c [deps] upgrade 2018-10-30 11:04:01 +05:30
SitiSchu
b11a35a503 Remove message for already banned members
Signed-off-by: SitiSchu <admin@sitischu.com>
2018-09-09 19:48:34 +02:00
GingerPlusPlus
a5aa974e53 [Bugfix] start polling only after fetching username 2018-09-01 15:46:42 +02:00
Simon Schürrle
ed0f717714 Update commandReferenceHandler to only display relevant commands (#87) 2018-08-15 12:50:11 +02:00
SitiSchu
939963b752 Add Link to Support Chat to README
Signed-off-by: SitiSchu <admin@sitischu.com>
2018-08-03 17:29:08 +02:00
GingerPlusPlus
2b33189b3f Don't allow admins to replace master commands, closes #84 2018-07-26 14:27:09 +02:00
Pouria Ezzati
92599f562e
Merge pull request #76 from MKRhere/develop
[ci] Added CircleCI config for continuous integration
2018-06-08 21:37:48 +04:30
Muthu Kumar
aa6e4e162a [ci] Added lint rule for CircleCI 2018-06-06 11:09:25 +05:30
Muthu Kumar
a447211f13 [ci] Added CircleCI config 2018-06-05 11:52:04 +05:30
GingerPlusPlus
c7771ff262 Ignore queryString when checking if link is whitelisted, closes #73 2018-06-01 19:57:26 +02:00
Muthu Kumar
0462f8330e [Bugfix] Don't warn for links to sticker packs (#75) 2018-05-31 16:40:32 +02:00
GingerPlusPlus
cb41e47757 Autodetect handlers in commands/index 2018-05-20 18:58:36 +02:00
GingerPlusPlus
6ee5593520 A fix 2018-05-20 18:58:36 +02:00
GingerPlusPlus
bafb69371f Centralize removing commands into middlewares/removeCommands 2018-05-20 13:10:38 +02:00
GingerPlusPlus
642f2e99c3 Use router instead of composer in commands/index
+ Makes commands case-insensitive
+ Avoids hardcoding commands in commands/addCommand
2018-05-20 12:07:12 +02:00
GingerPlusPlus
23e6b78f05 Alias !report and !admins? to /report 2018-05-16 19:09:27 +02:00
GingerPlusPlus
2d9de464b6 0.8.1 v0.8.1 2018-05-05 20:10:34 +02:00
GingerPlusPlus
498c76ae0d [Bugfix] handle cyclic dependency 2018-05-05 20:10:22 +02:00
GingerPlusPlus
2fafa93b10 Add isMaster util function 2018-05-04 19:51:49 +02:00
GingerPlusPlus
7b34308462 Remove messages/removeLinks, closes #51 2018-05-04 16:13:44 +02:00
GingerPlusPlus
3e6a242a6b New handler: middlewares/removeChannelForwards (#51) 2018-05-04 15:48:07 +02:00
GingerPlusPlus
b20e1b3a9b Add and use ctx.warn 2018-05-04 14:21:51 +02:00
GingerPlusPlus
932e6fd1a2 Warn for "t.me links" in monospace (#51) 2018-05-01 14:31:52 +02:00
GingerPlusPlus
bc4411b073 Don't warn for multiple copies of the same link 2018-05-01 13:01:44 +02:00
GingerPlusPlus
94b8057c36 0.8.0 v0.8.0 2018-04-26 20:44:39 +02:00
GingerPlusPlus
6f1915e0b1 Reduce duplication in addCustomCmd, closes #69 2018-04-26 19:07:39 +02:00
Muthu Kumar
6858bb9168
Fixed bot name 2018-04-22 11:38:02 +05:30
GingerPlusPlus
6cfdfbed45 Improve and disable notifyBrokenLink 2018-04-21 17:50:57 +02:00
GingerPlusPlus
32694b18bf Add ban_details to User schema, closes #47
Note that legacy ban_reason is still set on every ban,
as ban_details aren't yet respected in /user.
2018-04-20 21:45:06 +02:00
GingerPlusPlus
53b37e9dfa Change warn schema to array of objects (#47) 2018-04-18 21:47:35 +02:00
GingerPlusPlus
47d33ad025 Extend groupLinker's regex (3) 2018-04-18 21:17:59 +02:00
GingerPlusPlus
631c61ccbc Allow /commands to be used in groups, scheduleDeletion 2018-04-17 17:35:20 +02:00
GingerPlusPlus
ef9bad90eb [Bugfix] fix /commands' markup 2018-04-17 17:19:27 +02:00
GingerPlusPlus
8253b70421 Extend groupLinker's regex (2) 2018-04-16 16:26:44 +02:00
GingerPlusPlus
aaa4f52df8 Extend groupLinker's regex 2018-04-15 17:26:39 +02:00
GingerPlusPlus
47639b42a2 [Bugfix] match only full group name in groupLinker 2018-04-15 17:26:14 +02:00
GingerPlusPlus
50f5961e89 Lint staged JS files in pre-commit 2018-04-15 14:31:14 +02:00
GingerPlusPlus
908b9b46ee
New handler: middlewares/checkLinks (#66) 2018-04-15 13:21:28 +02:00
GingerPlusPlus
b74b352e6d [Bugfix] closes #67 2018-04-05 17:58:48 +02:00
GingerPlusPlus
538c2da501 New commands: /showgroup, /hidegroup
Closes #64.
Closes #31.
2018-04-03 00:21:00 +02:00
GingerPlusPlus
a42e9c9b8e New handler: middlewares/updateGroupTitle 2018-04-02 20:09:12 +02:00
Pouria Ezzati
a861b20534
Merge pull request #65 from DonMcCoy/develop
Fix a Typo
2018-04-02 11:28:16 +04:30
Omar Khalil
b96f4c82b0 Fix a Typo 2018-04-02 01:42:21 +02:00
Thomas Rory Gummerson
a0493751b7 Localize logo file 2018-03-23 15:28:40 +01:00
GingerPlusPlus
ea909dcebb Revert "Don't lint plugins"
This reverts commit fbbae8cb0c8d95041b05bba6b673dbd75e443c7c.
2018-03-14 16:46:14 +01:00
Pouria Ezzati
7180d922ee Case-insensitive catching spam links 2018-02-22 10:58:42 +03:30
GingerPlusPlus
8f01e57d55 0.7.0 v0.7.0 2018-02-18 14:38:28 +01:00