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
GingerPlusPlus
64e1942a25
0.5.2
v0.5.2
2017-11-17 20:53:40 +01:00
GingerPlusPlus
4bcfaa70f5
Updated dependencies
2017-11-17 20:53:27 +01:00
GingerPlusPlus
c8c95f65a8
Remove ban_reason in /unwarn
...
For consistency with unban.
2017-11-17 19:13:44 +01:00
GingerPlusPlus
e02f3ca9c3
/nowarns unbans
2017-11-17 18:53:51 +01:00
GingerPlusPlus
900611fb75
Display numberOfWarnsToBan instead of 3 in /unwarn
2017-11-17 18:02:03 +01:00
GingerPlusPlus
f1215a995f
[Bugfix] /unwarn no longer kicks
...
Unbanning (`unbanChatMember`) group member kicks him.
Interesting, but quirky and undocumented!
2017-11-17 17:46:40 +01:00
Pouria Ezzati
0619923579
no link preview for custom commands
2017-11-16 16:12:40 +03:30
Thomas Rory Gummerson
4c6e30f03e
Config cleanup of horrible comments in JSON
2017-11-14 00:01:08 +01:00
GingerPlusPlus
48c7733cf1
Report to local admins, instead of bot admins
...
1. This ensures that bot won't try mentioning admins which are not in
the group (which may fail),
2. This allows also local admins to sort out the situation.
2017-11-11 11:50:37 +01:00
Pouria Ezzati
921d1896c6
don't let synced admins promote members
2017-11-05 22:17:09 +03:30
Pouria Ezzati
f2dea53a3f
fixup! show more information for /user
2017-11-05 22:17:09 +03:30
Pouria Ezzati
4bbbb1377c
update username if is needed
2017-11-05 22:17:09 +03:30
Pouria Ezzati
e277ab7522
show more information for /user
2017-11-05 22:17:09 +03:30
GingerPlusPlus
a7fdaf752a
0.5.1
v0.5.1
2017-11-02 19:20:40 +01:00