2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-28 04:37:52 +00:00

129 Commits

Author SHA1 Message Date
Wojciech Pawlik
b553079ce7
Add -amend flag to /ban 2020-04-29 17:25:59 +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
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
5c741022c4
Misc 2020-02-19 14:32:25 +01:00
Wojciech Pawlik
697fd2be29
Allow to add custom command by replying to message 2020-02-19 08:11:32 +01:00
Wojciech Pawlik
096d8fe1ff
Improve /del 2020-02-12 17:25:29 +01:00
Wojciech Pawlik
11da9c9ba2
Add "report handled" button 2020-02-06 12:35:04 +01:00
Wojciech Pawlik
661941b0aa
Add /del; closes #83 2020-02-06 12:20:49 +01:00
GingerPlusPlus
4481790d2c Add deep linking 2019-06-27 15:05:28 +02:00
Simon Schürrle
73cf32ee27
Make button command all lowercase 2019-06-23 03:03:05 +02:00
GingerPlusPlus
713bd02210 Add -amend flag to /warn 2019-05-31 17:02:00 +02:00
GingerPlusPlus
16f303622b Allow to remove any warn by specifying its date 2019-05-31 13:36:37 +02:00
GingerPlusPlus
80dc184fe0 Misc 2019-05-04 14:06:24 +02:00
GingerPlusPlus
6861119315 Improve /user 2019-05-02 21:42:13 +02:00
GingerPlusPlus
53550cc685 Simplify /link 2019-04-06 21:01:35 +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
5bbdb529f1 Misc 2019-03-18 19:05:16 +01:00
GingerPlusPlus
e4ba6d151a Recommend Rose (with federation support) over Group Butler 2019-02-23 16:32:32 +01:00
Aziz Kasymov
7aa5c3ff37 Add free-spacing flag to the emoji regex (#100) 2019-02-03 17:16:50 +01:00
Aziz Kasymov
c0d0145197 Fix sorting groups with emoji in title; closes #98 (#99) 2019-02-03 11:33:05 +01:00
GingerPlusPlus
af58ee36cd Fix warning users without username 2019-01-31 20:54:45 +01:00
GingerPlusPlus
634f294ba2 Add batchBan aka multiBan; closes #24 2019-01-31 20:19:39 +01:00
GingerPlusPlus
f5367457b8
Replace messages/checkUsername with utils/parse (#97) 2019-01-28 21:46:29 +01:00
GingerPlusPlus
ae1080fc54 Update readme 2019-01-26 14:08:54 +01:00
GingerPlusPlus
c5bae13d3f Make some handlers channel-friendly 2019-01-24 19:53:10 +01:00
GingerPlusPlus
92ec6e9725 Add report chat 2019-01-21 17:22:53 +01:00
Muthu Kumar
eeb571226d [feature] Schedule deletion of warn and ban messages (#95) 2018-11-20 06:17:30 +00:00
Simon Schürrle
ed0f717714 Update commandReferenceHandler to only display relevant commands (#87) 2018-08-15 12:50:11 +02:00
GingerPlusPlus
2b33189b3f Don't allow admins to replace master commands, closes #84 2018-07-26 14:27:09 +02:00
GingerPlusPlus
cb41e47757 Autodetect handlers in commands/index 2018-05-20 18:58:36 +02:00
GingerPlusPlus
6ee5593520 A fix 2018-05-20 18:58:36 +02:00
GingerPlusPlus
bafb69371f Centralize removing commands into middlewares/removeCommands 2018-05-20 13:10:38 +02: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
23e6b78f05 Alias !report and !admins? to /report 2018-05-16 19:09:27 +02:00
GingerPlusPlus
b20e1b3a9b Add and use ctx.warn 2018-05-04 14:21:51 +02:00
GingerPlusPlus
53b37e9dfa Change warn schema to array of objects (#47) 2018-04-18 21:47:35 +02:00
GingerPlusPlus
631c61ccbc Allow /commands to be used in groups, scheduleDeletion 2018-04-17 17:35:20 +02:00
GingerPlusPlus
ef9bad90eb [Bugfix] fix /commands' markup 2018-04-17 17:19:27 +02:00
GingerPlusPlus
908b9b46ee
New handler: middlewares/checkLinks (#66) 2018-04-15 13:21:28 +02:00
GingerPlusPlus
538c2da501 New commands: /showgroup, /hidegroup
Closes #64.
Closes #31.
2018-04-03 00:21:00 +02:00
GingerPlusPlus
57ff83b779 /link doesn't try to reply to PMs 2018-02-17 22:19:00 +01:00
GingerPlusPlus
eb83119492 /unadmin attempts to revoke admin permissions in all groups 2018-02-17 22:03:46 +01:00
GingerPlusPlus
1b7f750d53
Warn and ban actions (#54)
This feature allows any part of the bot to warn and ban,
without having to repeat what that means,
which reduces duplication and makes the UX more consistent.
2018-02-05 19:17:52 +01:00
GingerPlusPlus
ea69ca9256 Improved custom commands, /replaceCommand
Closes #53
2018-02-02 15:47:09 +01:00
azeezy
7765ae15d0 Fixed letting bot warn and ban itself. Closes #43 2017-12-15 03:48:27 +05:00
Pouria Ezzati
8893458296 updated custom commands' info 2017-11-25 22:55:49 +03:30