2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-29 13:17:56 +00:00

64 Commits

Author SHA1 Message Date
Pouria Ezzati
1036ad5f88 added styling format for messages 2017-09-24 14:28:31 +03:30
Pouria Ezzati
5cb22a6b5c banned users can't be admin. /admin clears warns 2017-09-24 14:28:31 +03:30
GingerPlusPlus
53fdf39a4e Moved report handler to the right place, updated TODO 2017-09-23 21:33:20 +02:00
GingerPlusPlus
a7b7172ed9 Added /report command
Closes #6
2017-09-23 20:57:32 +02:00
GingerPlusPlus
845b85e472 Added allAdmins function into admin store 2017-09-23 20:56:07 +02:00
Pouria Ezzati
ba9caaeae5 updated eslint rules for camelCase and comma-dangle 2017-09-23 21:56:16 +03:30
Pouria Ezzati
0b8af0cbb3 added next() on message middleware 2017-09-23 21:52:58 +03:30
Pouria Ezzati
d525b4a37b added try...catch on some async/awaits 2017-09-23 21:49:23 +03:30
Pouria Ezzati
34f34420bf refactored commands and middlewared into their folders 2017-09-23 21:40:58 +03:30
GingerPlusPlus
22fadcde92 Call kickChatMember in all groups upon ban 2017-09-23 19:08:17 +02:00
Pouria Ezzati
d24587fc35 Update TODO.md 2017-09-23 16:47:51 +03:30
Pouria Ezzati
f712ae93b5 Update TODO.md 2017-09-23 16:47:31 +03:30
GingerPlusPlus
43cd7ab285 /unban calls unbanChatMember in each group 2017-09-23 14:35:45 +02:00
Pouria Ezzati
e99d857df6 fixed DEBUG env variable 2017-09-23 15:39:25 +03:30
Pouria Ezzati
b8a74176ba fixed ban command 2017-09-23 15:39:12 +03:30
GingerPlusPlus
d5e3e1f0b5 Made sure names of handlers end with "handler" 2017-09-22 19:47:38 +02:00
GingerPlusPlus
e0279e3a95 Renamed newChatMemberHandler into antibotHandler 2017-09-22 19:46:00 +02:00
GingerPlusPlus
9e3e9c4672 Rewritten antibot and removing join / leave msgs 2017-09-22 19:24:36 +02:00
GingerPlusPlus
ea97b2fb31 Bot manages group only if added there by master
It leaves with a message otherwise.
2017-09-22 17:14:25 +02:00
GingerPlusPlus
8c9457cd8c Added groups store 2017-09-22 17:14:25 +02:00
Pouria Ezzati
19fffbd80d Update TODO.md 2017-09-22 16:52:21 +03:30
Pouria Ezzati
332af7bb05 Update TODO.md 2017-09-22 15:54:18 +03:30
Pouria Ezzati
24234a686a User DB and new commands: ban, unban, unadmin 2017-09-22 15:52:27 +03:30
GingerPlusPlus
5759e08326 Bot knows its username
It's available as ctx.me
2017-09-21 23:47:51 +02:00
Pouria Ezzati
ff8beb5153 Update TODO.md 2017-09-21 23:49:53 +04:30
Pouria Ezzati
299dfcd22c Merge branch 'develop' of github.com:TheDevs-Network/bot into develop 2017-09-21 23:48:08 +04:30
Pouria Ezzati
1e476d758f added nowarns command, more configs 2017-09-21 23:47:26 +04:30
Pouria Ezzati
3de638d0f8 Update TODO.md 2017-09-21 18:24:47 +04:30
Pouria Ezzati
afe4505da1 Update TODO.md 2017-09-21 18:24:31 +04:30
Pouria Ezzati
3064149886 minor refactoring for Warns, fixed warns count 2017-09-21 18:20:50 +04:30
Pouria Ezzati
1b9365f5cf link based on ID, minor warn refactoring 2017-09-21 16:14:54 +04:30
Pouria Ezzati
6739a2f0a0 refactored to be more modular 2017-09-21 13:57:49 +04:30
GingerPlusPlus
5353a1f6e5 Converted .gitignore to LF from CR LF 2017-09-20 22:53:13 +02:00
GingerPlusPlus
1f346b4f0d Removed notion of approved bot from todo
Bot is approved when it's added by an admin.
2017-09-20 22:46:22 +02:00
GingerPlusPlus
a0d556a0f3 Added README, closes #13 2017-09-20 22:45:40 +02:00
GingerPlusPlus
dad60a9dd1 Added start script 2017-09-20 22:44:10 +02:00
GingerPlusPlus
448f90caf7 Renamed config.json to config.example.json 2017-09-20 22:23:42 +02:00
Pouria Ezzati
fd399a45b6 removed init cli, revised Warn DB 2017-09-20 23:17:00 +04:30
Pouria Ezzati
7309b5e3f5 Update TODO.md 2017-09-09 13:07:57 +04:30
Pouria Ezzati
3745d46646 Update TODO.md 2017-09-03 09:29:00 +04:30
Pouria Ezzati
1eaf1c0592 Update TODO.md 2017-08-30 15:41:57 +04:30
Pouria Ezzati
5665cb95c0 Merge pull request #7 from MKRhere/master
Correct improperly completed backticks `'
2017-08-30 15:31:04 +04:30
Muthu Kumar
55cbd43778 Correct improperly completed backticks `' 2017-08-30 16:08:47 +05:30
Pouria Ezzati
e0ec0ea35d Update TODO.md 2017-08-30 14:11:37 +04:30
Pouria Ezzati
64ee8d4876 Update TODO.md 2017-08-30 14:10:45 +04:30
Pouria Ezzati
ec8ced2df6 Create TODO.md 2017-08-30 14:04:17 +04:30
Thomas Rory Gummerson
9122f0737a Antibot fixes 2017-07-24 19:26:42 +02:00
Thomas Rory Gummerson
b9b17b46f2 Antibot 2017-07-24 19:17:13 +02:00
Thomas Rory Gummerson
f7d2455cb1 More fixes 2017-07-24 18:44:51 +02:00
Thomas Rory Gummerson
68d72098ef admin tools 2017-07-24 18:37:43 +02:00