Muthu Kumar
32bc5a684b
hotfix: temporarily add replyWithCopy back
2023-10-09 00:55:57 +05:30
Muthu Kumar
4d8ed6cf42
fix: missing awaits
2023-09-20 02:15:12 +05:30
Muthu Kumar
614043d711
fix: make context.ts work
2023-09-19 23:45:32 +05:30
Muthu Kumar
a5472bd928
feat: WIP update context.js to TS
...
Intermediate commit to trick git into diffing correctly
2023-09-19 23:39:41 +05:30
Martin
f91f6ef4f5
Change deprecated .tg Telegraf alias for .telegram ( #152 )
...
* Swap deprecated .tg for .telegram
2022-05-31 17:17:45 +02:00
Martin Rys
8491b9793b
Fix comment
2021-05-12 16:31:32 +02:00
Martin Rys
a89ca3899a
Revert "Addcommand documentation"
...
This reverts commit d6611e4158dd710438794fc93b3879c362534bf3.
2021-05-12 16:30:53 +02:00
Martin Rys
d6611e4158
Addcommand documentation
2021-05-09 20:09:03 +02:00
Martin Rys
f102102845
Fix banning by reaching max warns
2021-05-08 22:28:42 +02:00
Wojciech Pawlik
abffcb6790
Enable handlerTimeout
...
Hopfully works around https://github.com/telegraf/telegraf/issues/735
#118
2020-09-06 14:14:24 +02:00
Wojciech Pawlik
1872c665e2
Avoid relying on timer in antiflood
2020-06-15 15:38:03 +02:00
Wojciech Pawlik
a11e35d3a7
Add middlewares/antiflood
2020-06-06 10:51:46 +02:00
Wojciech Pawlik
765a8dd5a5
Add adminLog chat, fixes #96
2020-05-14 23:18:25 +02:00
Wojciech Pawlik
20e142fa85
Remove replyOptions
2020-05-13 22:38:59 +02:00
Wojciech Pawlik
e60d2e31fb
Fix some TypeScript errors
2020-03-13 22:02:41 +01:00
Thomas Rory Gummerson
758b924436
Type ctx
2020-03-13 22:00:30 +01:00
Thomas Rory Gummerson
f018464482
Type config file
2020-03-12 19:42:53 +01:00
Wojciech Pawlik
697fd2be29
Allow to add custom command by replying to message
2020-02-19 08:11:32 +01:00
GingerPlusPlus
713bd02210
Add -amend flag to /warn
2019-05-31 17:02:00 +02:00
GingerPlusPlus
634f294ba2
Add batchBan aka multiBan; closes #24
2019-01-31 20:19:39 +01:00
Muthu Kumar
eeb571226d
[feature] Schedule deletion of warn and ban messages ( #95 )
2018-11-20 06:17:30 +00:00
GingerPlusPlus
498c76ae0d
[Bugfix] handle cyclic dependency
2018-05-05 20:10:22 +02:00
GingerPlusPlus
b20e1b3a9b
Add and use ctx.warn
2018-05-04 14:21:51 +02:00
GingerPlusPlus
feba5c1f43
Update dependencies; closes #55 .
2018-02-10 20:20:17 +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
GingerPlusPlus
fc152708ac
Ignore past messages when in development
2017-11-01 21:03:48 +01:00
Pouria Ezzati
8fe91927c0
removing keyboard after sending custom command role
2017-10-15 00:01:36 +03:30
GingerPlusPlus
0f0dee3a7d
Removed utils/json, replaced loadJSON with require
2017-10-06 18:35:53 +02:00
Pouria Ezzati
6739a2f0a0
refactored to be more modular
2017-09-21 13:57:49 +04:30