GingerPlusPlus
57ff83b779
/link doesn't try to reply to PMs
2018-02-17 22:19:00 +01:00
GingerPlusPlus
eb83119492
/unadmin attempts to revoke admin permissions in all groups
2018-02-17 22:03:46 +01:00
GingerPlusPlus
feba5c1f43
Update dependencies; closes #55 .
2018-02-10 20:20:17 +01:00
GingerPlusPlus
dabd7dc471
Unique, sparse index on username field
...
Db schema change:
don't default username to empty string.
2018-02-06 15:03:37 +01:00
GingerPlusPlus
1b7f750d53
Warn and ban actions ( #54 )
...
This feature allows any part of the bot to warn and ban,
without having to repeat what that means,
which reduces duplication and makes the UX more consistent.
2018-02-05 19:17:52 +01:00
GingerPlusPlus
9de38b7306
Move runCustomCmd to handlers/regex
2018-02-02 20:37:23 +01:00
Pouria Ezzati
4e0bbef740
fixed bug warning all usernames
2018-02-02 18:30:03 +03:30
GingerPlusPlus
ea69ca9256
Improved custom commands, /replaceCommand
...
Closes #53
2018-02-02 15:47:09 +01:00
Pouria Ezzati
695a255496
a bit refactoring for removeLinks
2018-02-02 01:26:55 +03:30
Pouria Ezzati
789c42ddcd
make warning forward links case insensitive.
2018-02-02 00:29:16 +03:30
GingerPlusPlus
150a1246bc
Added .editorconfig
2018-02-01 17:07:37 +01:00
GingerPlusPlus
d60ff556b4
[Bugfix] kickBanned doesn't prevent checking new members
2018-02-01 16:01:21 +01:00
GingerPlusPlus
83a61353e5
New handlers: regex/groupLinker, unmatched
2018-01-30 14:48:07 +01:00
Pouria Ezzati
38e1559804
warn bot start links, channel posts. Closes #41 , #46 , #49
2018-01-30 01:31:29 +03:30
GingerPlusPlus
11f6c4b0de
0.6.1
v0.6.1
2018-01-28 17:18:37 +01:00
GingerPlusPlus
69f8431eea
When kicked from a group, stop managing it
2018-01-28 17:17:47 +01:00
GingerPlusPlus
7143e588a6
Rewritten middlewares/kickBanned
...
Closes #52
2018-01-28 17:05:52 +01:00
GingerPlusPlus
ed4473fbab
Do nothing in syncStatus if newcomer is not in db
2018-01-28 15:21:15 +01:00
GingerPlusPlus
617bdbfc54
Rewritten middleware/updateUserData
...
Formerly known as messages/addUser
2018-01-27 23:13:42 +01:00
GingerPlusPlus
e84348e363
Misc
2018-01-27 21:35:20 +01:00
GingerPlusPlus
47ac482f78
messages/addUser -> middleware/updateUserData
2018-01-27 21:21:11 +01:00
Pouria Ezzati
783fa97b1c
Merge pull request #45 from ishanjain28/develop
...
Added Dockerfile, Updated readme
2017-12-18 18:09:31 +03:30
Ishan Jain
8804c048ca
Added Dockerfile, Updated readme
2017-12-18 18:59:44 +05:30
Pouria Ezzati
005374335c
Merge pull request #44 from azeezy/develop
...
Fixed letting bot warn and ban itself. Closes #43
2017-12-15 12:46:34 +03:30
azeezy
7765ae15d0
Fixed letting bot warn and ban itself. Closes #43
2017-12-15 03:48:27 +05:00
Pouria Ezzati
3da51d8ad0
Fixed getting undefined when there is no username. Closes #42
2017-12-14 12:00:56 +03:30
GingerPlusPlus
d086a9d771
0.6.0
v0.6.0
2017-11-29 15:42:51 +01:00
Pouria Ezzati
7121fb1342
added jsdoc to excludeLinks
2017-11-25 22:55:49 +03:30
Pouria Ezzati
8893458296
updated custom commands' info
2017-11-25 22:55:49 +03:30
GingerPlusPlus
dd5b01f73e
Changed default config file format from json to js
...
Put all the documentation as jsdoc in example.config.js.
Leaving `numberOfWarnsToBan` without extra documentation,
IMO it's obvious what it does and what's the expected type.
Leaving documenting `excludeLinks` up to @poeti8,
I don't know how it works.
2017-11-25 19:37:28 +01:00
GingerPlusPlus
6adac05442
Fixed some spelling issues in Readme
2017-11-25 18:35:46 +01:00
Pouria Ezzati
0683d5fc26
Merge pull request #40 from azeezy/patch-1
...
Fix replacing previously added command
2017-11-25 14:41:54 +03:30
Aziz Kasymov
7dbec5eab8
Fix replacing previously added command
...
Without this, adding new command causes replacing previously added command
2017-11-25 14:10:18 +05:00
GingerPlusPlus
6c7b2dcf06
Made time before deleting join and leave messages configurable
2017-11-24 15:20:08 +01:00
GingerPlusPlus
cb644f8bb4
Added millisecond dependency
2017-11-24 14:09:12 +01:00
GingerPlusPlus
5a4002e7d4
Don't assume config file extension
...
Even if we want to enforce one extension,
doing it in requires scattered across the whole project
doesn't sound like a good idea (don't repeat yourself).
This commit also enables .js configs,
so I added that to .gitignore.
I'll document it when we settle on default config format.
Why was .json everywhere in the first place?
I thought it was neccessary in some older versions of Node
to be able to require a .json file.
2017-11-24 12:31:47 +01:00
Pouria Ezzati
19f0a109f8
fixup previous commit: checking if usernames match
2017-11-24 00:12:35 +03:30
Pouria Ezzati
e2f8432711
fixed sorting
2017-11-23 22:29:40 +03:30
Pouria Ezzati
f230d0497a
fixed checking if usernames match
2017-11-23 22:19:07 +03:30
Pouria Ezzati
dabe672fa8
sorting staffs and groups alphabetically
2017-11-23 18:39:08 +03:30
Pouria Ezzati
e9695208eb
don't check for username if no user is found
2017-11-23 18:06:52 +03:30
Pouria Ezzati
a88984d6a1
fixed minor typos
2017-11-23 00:20:21 +03:30
Pouria Ezzati
b0dd4578ea
ban and unban users with id before they join
2017-11-22 21:44:17 +03:30
Pouria Ezzati
15b92ad1b6
usernames mentions are now case insensitive
2017-11-20 16:03:47 +03:30
Pouria Ezzati
73833c9740
removed custom command's adding step and make it inline
2017-11-20 14:32:34 +03:30
Pouria Ezzati
ff5eca49e7
made custom commands case insensitive
2017-11-20 13:29:33 +03:30
GingerPlusPlus
631f5732a0
Notify unbanned person in /unwarn and /nowarns too
2017-11-19 13:08:11 +01:00
Pouria Ezzati
480632d53f
checking edited texts for channels and groups links
2017-11-18 22:07:18 +03:30
Pouria Ezzati
39dad12ead
added checking captions and linked texts for ads
2017-11-18 14:05:39 +03:30
Pouria Ezzati
25ff603556
merging excluded groups and channels
2017-11-18 14:05:39 +03:30