GingerPlusPlus
16f303622b
Allow to remove any warn by specifying its date
2019-05-31 13:36:37 +02:00
GingerPlusPlus
b83e8bf42f
Improve and consistently use escapeHtml
2019-04-06 20:58:56 +02:00
GingerPlusPlus
5b9cea8103
Handle and utilize message links
2019-04-06 15:39:40 +02:00
GingerPlusPlus
1fbec32df3
Extract target user from bot's messages
2019-01-31 21:54:43 +01:00
GingerPlusPlus
f5367457b8
Replace messages/checkUsername with utils/parse ( #97 )
2019-01-28 21:46:29 +01:00
GingerPlusPlus
6c36e30102
Support multiple masters; closes #81
2019-01-28 15:20:00 +01:00
GingerPlusPlus
8115e3959e
Fix masterById
2019-01-28 12:25:17 +01:00
GingerPlusPlus
c5bae13d3f
Make some handlers channel-friendly
2019-01-24 19:53:10 +01:00
Muthu Kumar
eeb571226d
[feature] Schedule deletion of warn and ban messages ( #95 )
2018-11-20 06:17:30 +00: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
2fafa93b10
Add isMaster util function
2018-05-04 19:51:49 +02:00
GingerPlusPlus
6c7b2dcf06
Made time before deleting join and leave messages configurable
2017-11-24 15:20:08 +01:00
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
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
61d5cd9950
[eslint] no-console: error
2017-10-29 20:27:59 +01: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
GingerPlusPlus
0f0dee3a7d
Removed utils/json, replaced loadJSON with require
2017-10-06 18:35:53 +02:00
GingerPlusPlus
5ad0a72325
Added @returns to silence eslint
2017-10-06 18:15:34 +02:00
Faizan Akram
b46edc8cb9
Added jsdoc to some files
...
+ some minor refactoring
2017-10-04 23:57:47 +05:30
Pouria Ezzati
6c0aebf715
changed error handling to console.error
2017-09-27 23:12:12 +03:30
GingerPlusPlus
0b5aa1b02f
Export escapeHtml
2017-09-24 23:23:13 +02:00
GingerPlusPlus
3e344ceca2
console.error unhandled errors
2017-09-24 18:34:32 +02:00
GingerPlusPlus
6593c52acf
Always use first_name in link, and escape it
...
I'm disappointed that you added that to TODO
instead of resolving it immiedetly, @poeti8.
Also added escapeHtml, so the bot doesn't break
when someone has something html-like in first_name.
2017-09-24 14:55:26 +02:00
Pouria Ezzati
1b9365f5cf
link based on ID, minor warn refactoring
2017-09-21 16:14:54 +04:30
Thomas Rory Gummerson
caa8f1340b
MANY FEATURES
2017-07-24 18:08:31 +02:00
Thomas Rory Gummerson
086a13948f
Fixes
2017-07-24 17:12:38 +02:00
Thomas Rory Gummerson
d20c9e8b57
Logging fix
2017-07-24 15:41:16 +02:00
Thomas Rory Gummerson
9bd52ba77f
Fixes
2017-07-24 15:06:12 +02:00
Thomas Rory Gummerson
f55c834a02
Cleanup
2017-07-24 14:44:42 +02:00
Thomas Rory Gummerson
bcee0c4aa7
More
2017-07-24 14:18:53 +02:00
Thomas Rory Gummerson
57baf97cae
initial
2017-07-24 12:44:28 +02:00