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
GingerPlusPlus
d392a2ac96
[Bugfix] use warnInlineKeyboard name consistently
...
instead of using warnsInlineKeyboard in code,
and warnInlineKeybaord in config.
Because the keyboard is attached after receiving every single warn.
2017-11-02 19:17:45 +01:00
GingerPlusPlus
ea1c8c4aa6
0.5.0
v0.5.0
2017-11-02 17:38:02 +01:00
GingerPlusPlus
d9ce330e05
Merge branch 'develop'
2017-11-02 17:36:48 +01:00
GingerPlusPlus
702dd5784c
Fixed a typo
2017-11-02 17:34:26 +01:00
GingerPlusPlus
8e768095cf
Improvements to commands/commands.js
2017-11-02 16:55:36 +01:00
GingerPlusPlus
70b8f7bb0e
Minor improvements to /user
2017-11-02 16:54:17 +01:00
Pouria Ezzati
417bbb1dc9
members can use /user to get their status
2017-11-02 15:30:54 +03:30
GingerPlusPlus
2870b7fa56
[Bugfix] don't return Promise from scheduleDeletion
...
Because when Promise is returned from Telegraf handler,
bot doesn't fetch updates until it settles.
And we do `return reply(...).then(scheduleDeletion)`...
2017-11-02 12:04:42 +01:00
Pouria Ezzati
b6e57b4e29
Update README.md
2017-11-02 09:58:25 +03:30
Pouria Ezzati
70317189bd
fixed warn capacity number
2017-11-02 08:58:21 +03:30
Pouria Ezzati
f6dfa08d4b
send a message when /ban and /warn is used in private chat
2017-11-02 00:19:21 +03:30
Pouria Ezzati
8029e27fac
catching error with logError
2017-11-02 00:19:21 +03:30
Pouria Ezzati
e2e31f04d9
added /user command and removed /getwarns
2017-11-02 00:19:21 +03:30
GingerPlusPlus
eb76e2a651
Added configurable inline keyboard in warn messages
2017-11-01 21:34:38 +01:00
GingerPlusPlus
fc152708ac
Ignore past messages when in development
2017-11-01 21:03:48 +01:00
Pouria Ezzati
f9fac176bd
fixed warning links bug, minor refactoring
2017-11-01 23:32:47 +03:30
Pouria Ezzati
88aebcdc17
now warns both channels/groups links and usernames
2017-11-01 22:32:52 +03:30
Pouria Ezzati
8e4f01ce58
fixed no warning for channel links
2017-11-01 22:27:11 +03:30
GingerPlusPlus
564545e818
Don't remove the command in /warn
...
It's already handled by deleteMessage middleware in commands/index.js.
Handling it again causes an unhandled rejection.
2017-11-01 15:24:57 +01:00
GingerPlusPlus
fbbae8cb0c
Don't lint plugins
2017-11-01 14:06:27 +01:00
GingerPlusPlus
ff2e78c92b
[eslint] function-paren-newline: error, multiline
2017-10-31 23:08:22 +01:00
GingerPlusPlus
337f6e2183
Added and used scheduleDeletion
...
...only where I was certain that whis was a good idea,
perhaps it could be useful in more places.
2017-10-31 22:36:18 +01:00
GingerPlusPlus
84e178f363
Always send warn message on /warn
...
even when the last warning gets the target banned.
Closes #38
Also, use numberOfWarnsToBan instead of 3.
2017-10-31 19:08:17 +01:00
GingerPlusPlus
61d5cd9950
[eslint] no-console: error
2017-10-29 20:27:59 +01:00
GingerPlusPlus
04b5fac255
Made deleting commands more flexible and configurable
2017-10-29 17:46:52 +01:00
GingerPlusPlus
57f22e25d5
[Refactor] middlewares/removeCommands
2017-10-29 17:37:27 +01:00
GingerPlusPlus
9e728e33c7
/unwarn unbans
2017-10-28 20:24:13 +02:00
GingerPlusPlus
f3666f25f8
Documented plugins
2017-10-28 20:11:55 +02:00
GingerPlusPlus
d98ba68cb7
Added support for plugins
2017-10-27 18:43:33 +02:00
GingerPlusPlus
f08de28edd
[Refactor] split handlers into composers
2017-10-27 13:50:54 +02:00
GingerPlusPlus
2e1c1ff124
Added missing comma in package.json
2017-10-27 12:47:45 +02:00
Muthu Kumar
fa4e9d8b25
Update package.json
2017-10-27 11:39:12 +05:30
GingerPlusPlus
b0075f2065
Used new quietLink instead of link in /staff
...
1. It doesn't mention admins
2. It's more reliable (inline mentiones sometimes don't work)
2017-10-22 17:33:21 +02:00
GingerPlusPlus
0d52ff3e76
Syncing status
...
On join, apply admin and banned status
2017-10-21 18:13:34 +02:00
Pouria Ezzati
40ea78e23f
Update package-lock.json
v0.4.1
2017-10-15 20:30:38 +03:30
Pouria Ezzati
51147e0014
0.4.1
2017-10-15 20:30:05 +03:30