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
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
Faizan Akram
b46edc8cb9
Added jsdoc to some files
...
+ some minor refactoring
2017-10-04 23:57:47 +05:30
GingerPlusPlus
0b5aa1b02f
Export escapeHtml
2017-09-24 23:23:13 +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
bcee0c4aa7
More
2017-07-24 14:18:53 +02:00