2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-31 06:05:22 +00:00
Commit Graph

493 Commits

Author SHA1 Message Date
Thomas Rory Gummerson
55bf2f330e Allow custom commands for everyone 2020-05-25 21:33:07 +02:00
Wojciech Pawlik
417f956278 Improve report handling 2020-05-25 13:19:12 +02:00
Wojciech Pawlik
1a9e3cecd0 Allow some custom commands in /warn and /ban 2020-05-23 21:56:04 +02:00
Wojciech Pawlik
9db362f6ad 1.3.0 v1.3.0 2020-05-18 20:44:07 +02:00
Wojciech Pawlik
25440ecf04 Misc 2020-05-18 20:43:28 +02:00
Wojciech Pawlik
765a8dd5a5 Add adminLog chat, fixes #96 2020-05-14 23:18:25 +02:00
Wojciech Pawlik
67f7120968 Fix floating promises 2020-05-13 22:59:23 +02:00
Wojciech Pawlik
20e142fa85 Remove replyOptions 2020-05-13 22:38:59 +02:00
Wojciech Pawlik
5b5cf335a1 Avoid manual escapeHtml 2020-05-13 22:35:50 +02:00
Wojciech Pawlik
b8f4de0c25 Avoid logError 2020-05-13 22:05:22 +02:00
Wojciech Pawlik
c93f27bcf6 Avoid forEach 2020-05-13 22:00:49 +02:00
Wojciech Pawlik
88f4c65100 Fix html formatting in /staff 2020-05-13 21:35:17 +02:00
Wojciech Pawlik
fffdc1c827 Edit instead of re-sending in commandButtons 2020-05-13 21:23:13 +02:00
Wojciech Pawlik
14db56be56 Make use of docker layer caching (#119)
* Make use of docker layer caching

This will decrease the build times by a massive amount due to layer caching in the docker build process.

* Removed installation of git

@wojpawlik mentioned it would not be needed anymore.
2020-05-13 18:20:38 +02:00
Wojciech Pawlik
39a1f22e3e Fix /del 2020-05-13 18:15:42 +02:00
Wojciech Pawlik
e814ec185d Rewrite /report 2020-05-13 17:22:30 +02:00
Wojciech Pawlik
f15b22d1f0 Normalize html formatting 2020-05-13 15:11:43 +02:00
Christian Romeni
6b5ed4ac47 Removed installation of git
@wojpawlik mentioned it would not be needed anymore.
2020-05-12 22:47:51 +02:00
Christian Romeni
62d4023dfe Make use of docker layer caching
This will decrease the build times by a massive amount due to layer caching in the docker build process.
2020-05-12 18:25:54 +02:00
Wojciech Pawlik
6949c6535b Vendor tg-html 2020-05-12 18:03:07 +02:00
Wojciech Pawlik
7b81666003 Globally disable_web_page_preview by default 2020-05-11 13:31:36 +02:00
Wojciech Pawlik
9ad99e6c82 Handle expiry in /unwarn 2020-05-08 21:31:02 +02:00
Wojciech Pawlik
8925648216 Streamline /user 2020-05-08 21:30:49 +02:00
Wojciech Pawlik
c8673d963b TSify 2020-05-08 15:52:59 +02:00
Wojciech Pawlik
3205d04e74 Add user ID to ban/warn message, fixes #105 2020-05-08 14:08:11 +02:00
Wojciech Pawlik
56b25f9dd8 Streamline CI 2020-05-05 16:04:31 +02:00
Wojciech Pawlik
02fb858e4d Strenghten tsconfig 2020-05-04 23:56:22 +02:00
Wojciech Pawlik
cf56ef66c5 Streamline .eslintrc 2020-05-04 23:56:22 +02:00
Wojciech Pawlik
0ab0b582ff Transpile with ts-node 2020-04-29 18:01:53 +02:00
Wojciech Pawlik
b553079ce7 Add -amend flag to /ban 2020-04-29 17:25:59 +02:00
Wojciech Pawlik
779898d628 1.2.0 v1.2.0 2020-04-24 22:34:15 +02:00
Wojciech Pawlik
2cc5ed14d7 Update Telegraf 2020-04-24 20:58:48 +02:00
Wojciech Pawlik
7a7b8a4ab4 Remove legacy /addCommand 2020-04-24 15:24:24 +02:00
Wojciech Pawlik
1fc8938ed4 Misc 2020-04-04 14:01:03 +02:00
Wojciech Pawlik
1074615927 Add spamwatch 2020-04-03 21:59:25 +02:00
Wojciech Pawlik
b379aabc4f Revert "Try my eslint-fix git filter"
Filter failure somehow prevents git status and git log lmao

This reverts commit e107081650.
2020-04-03 16:37:00 +02:00
Wojciech Pawlik
41f71268dc Remove (slow) precommit 2020-04-03 16:11:18 +02:00
Wojciech Pawlik
0fabca1040 Update typings 2020-04-03 15:46:01 +02:00
trgwii
b340ea368e Fix broken link 2020-04-01 11:01:15 +02:00
Wojciech Pawlik
6ca88f4133 Allow to separate users and reason using -- 2020-03-21 20:07:07 +01:00
Muthu Kumar
dab3e4e99f Don't delete source message in groupLinker 2020-03-21 00:36:23 +05:30
Wojciech Pawlik
b8b2fb3a46 Don't warn the Telegram service account 2020-03-20 18:15:27 +01:00
Wojciech Pawlik
e107081650 Try my eslint-fix git filter 2020-03-16 18:33:23 +01:00
Wojciech Pawlik
e60d2e31fb Fix some TypeScript errors 2020-03-13 22:02:41 +01:00
Wojciech Pawlik
e6c60a4a20 Add tsconfig 2020-03-13 22:00:33 +01:00
Wojciech Pawlik
eb1f1c8e0e Update Telegraf 2020-03-13 22:00:32 +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
Sathyajith Bhat
fe48a65c83 Streamline Docker (#112)
* Add git to Docker image
* Bind mount /data for persistence
2020-03-08 14:21:48 +01:00
GingerPlusPlus
7744b0d83c 1.1.0 v1.1.0 2020-02-19 14:33:10 +01:00