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
|
04b5fac255
|
Made deleting commands more flexible and configurable
|
2017-10-29 17:46:52 +01:00 |
|
GingerPlusPlus
|
9e728e33c7
|
/unwarn unbans
|
2017-10-28 20:24:13 +02:00 |
|
GingerPlusPlus
|
f08de28edd
|
[Refactor] split handlers into composers
|
2017-10-27 13:50:54 +02:00 |
|
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 |
|
Pouria Ezzati
|
a160e992fa
|
sort and show all custom command roles in lowercase
|
2017-10-11 22:51:44 +03:30 |
|
Pouria Ezzati
|
7904e1db6c
|
removed console logs XD
|
2017-10-11 00:02:45 +03:30 |
|
Pouria Ezzati
|
d487a6fc75
|
ban/warn command on admins doesn't delete the message now
|
2017-10-10 22:20:50 +03:30 |
|
Pouria Ezzati
|
183b901f26
|
custom commands role is not case sensitive anymore
|
2017-10-10 21:54:59 +03:30 |
|
Pouria Ezzati
|
699df6e1c5
|
small fix for removecommand message
|
2017-10-10 21:42:39 +03:30 |
|
Pouria Ezzati
|
6713112903
|
improved custom commands info
|
2017-10-08 14:18:55 +03:30 |
|
Pouria Ezzati
|
c42db48de1
|
/leave now works with id and name too. closes #20
|
2017-10-08 13:19:11 +03:30 |
|
Pouria Ezzati
|
5314328ab6
|
replaced stars with zero-width spaces, resolves #22
|
2017-10-08 11:45:43 +03:30 |
|
Pouria Ezzati
|
78fbcdc981
|
custom commands name can't be one of preserved names.
|
2017-10-06 22:44:16 +03:30 |
|
GingerPlusPlus
|
0f0dee3a7d
|
Removed utils/json, replaced loadJSON with require
|
2017-10-06 18:35:53 +02:00 |
|
Pouria Ezzati
|
36535d4a6b
|
refactoring on line if statements returns
|
2017-10-06 16:40:49 +03:30 |
|
Pouria Ezzati
|
672fd562f3
|
refactoring, created messages folder and added context state
|
2017-10-06 16:34:23 +03:30 |
|
GingerPlusPlus
|
23ac796744
|
Don't ban / warn in PM, don't ban / warn itself
|
2017-10-04 20:36:34 +02:00 |
|
Pouria Ezzati
|
0bf92d9ff2
|
fixed unwarn count
|
2017-10-04 20:58:12 +03:30 |
|
Pouria Ezzati
|
88a08d0d88
|
added custom commands
|
2017-10-04 20:55:50 +03:30 |
|
Pouria Ezzati
|
1b12efce72
|
delete /groups and /link responses after 5 min
|
2017-10-02 14:16:54 +03:30 |
|
Pouria Ezzati
|
1f693bf3d0
|
added /link command
|
2017-10-02 14:16:54 +03:30 |
|
GingerPlusPlus
|
2e729d62b8
|
[Bugfix] adapt /report to changed schema
|
2017-09-29 15:53:21 +02:00 |
|
GingerPlusPlus
|
fdfbfa5727
|
Added /leave
|
2017-09-28 22:59:35 +02:00 |
|
GingerPlusPlus
|
36f4180ebe
|
disable_web_page_preview in /groups
|
2017-09-28 22:48:18 +02:00 |
|
Pouria Ezzati
|
b58bd64e7d
|
fixed mior typo
|
2017-09-29 00:03:55 +03:30 |
|
Pouria Ezzati
|
dd5dea4c56
|
updated commands info to match docs
|
2017-09-29 00:02:58 +03:30 |
|
Pouria Ezzati
|
e3baeb4344
|
/commmands now only works on private
|
2017-09-28 15:46:49 +03:30 |
|
Pouria Ezzati
|
e76e26f919
|
fixed minor linting errors
|
2017-09-28 15:44:30 +03:30 |
|
Pouria Ezzati
|
4326065f42
|
added help and start command
|
2017-09-28 15:41:06 +03:30 |
|
GingerPlusPlus
|
5820919e3a
|
Added /commands
|
2017-09-27 22:17:42 +02:00 |
|
Pouria Ezzati
|
6a42356929
|
fixed small typo
|
2017-09-27 23:18:11 +03:30 |
|
Pouria Ezzati
|
6c0aebf715
|
changed error handling to console.error
|
2017-09-27 23:12:12 +03:30 |
|
Pouria Ezzati
|
7f27a30297
|
merged warn db into user db & improved db methods
|
2017-09-27 12:34:26 +03:30 |
|
Pouria Ezzati
|
40720d8ff9
|
fixed staff admins links
|
2017-09-27 00:12:21 +03:30 |
|
Pouria Ezzati
|
1219654065
|
merged ban & admin DBs into user DB
|
2017-09-27 00:11:20 +03:30 |
|
GingerPlusPlus
|
d0d4e1bc0c
|
Added groupsInlineKyeboard to config
It allows to define inline keyboard to be displayed
under output of /groups.
|
2017-09-25 15:38:03 +02:00 |
|
Pouria Ezzati
|
7c94ca45f0
|
renamed group store to match others
|
2017-09-25 16:17:18 +03:30 |
|
Pouria Ezzati
|
40265a1074
|
/groups now shows groups with link
|
2017-09-25 16:14:29 +03:30 |
|
Pouria Ezzati
|
d6c76952de
|
commands now work with mention
|
2017-09-25 12:40:04 +03:30 |
|
GingerPlusPlus
|
ac6780f4f5
|
Added /groups
|
2017-09-24 23:23:36 +02:00 |
|
GingerPlusPlus
|
36706e7a5d
|
Notify unbanned people
|
2017-09-24 22:42:39 +02:00 |
|
Pouria Ezzati
|
39145d35be
|
commands now tell which admin did it
|
2017-09-24 23:24:34 +03:30 |
|
Pouria Ezzati
|
4455541afe
|
getwarns and nowarns now check if there are warnings
|
2017-09-24 22:17:39 +03:30 |
|
GingerPlusPlus
|
178545e7b7
|
Added /staff command
|
2017-09-24 18:05:16 +02:00 |
|
Pouria Ezzati
|
14f2164e5d
|
added styling format for messages
|
2017-09-24 14:32:27 +03:30 |
|
Pouria Ezzati
|
1036ad5f88
|
added styling format for messages
|
2017-09-24 14:28:31 +03:30 |
|
Pouria Ezzati
|
5cb22a6b5c
|
banned users can't be admin. /admin clears warns
|
2017-09-24 14:28:31 +03:30 |
|