2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-30 05:37:59 +00:00

418 Commits

Author SHA1 Message Date
Pouria Ezzati
952bc3b9f9 updated repo url 2017-09-28 22:34:55 +03:30
GingerPlusPlus
f06a3a4bb6 Minor README improvement 2017-09-28 19:34:01 +02:00
GingerPlusPlus
28df8581fa Added engines field to package.json 2017-09-28 19:31:44 +02:00
GingerPlusPlus
533833d775 Add master to admins when added to group 2017-09-28 19:31:44 +02:00
Pouria Ezzati
251b9cb8b6 Update README.md 2017-09-28 21:00:16 +03:30
Pouria Ezzati
c2c25caf7e Update TODO.md 2017-09-28 20:29:18 +03:30
Pouria Ezzati
729036af17 Update README.md 2017-09-28 20:27:41 +03:30
Pouria Ezzati
28d8a5845b Update README.md 2017-09-28 20:14:33 +03:30
Pouria Ezzati
3691b01b95 Update README.md 2017-09-28 20:06:36 +03:30
Pouria Ezzati
f35de1d83d updated contributers 2017-09-28 16:05:40 +03:30
Pouria Ezzati
e3baeb4344 /commmands now only works on private 2017-09-28 15:46:49 +03:30
Pouria Ezzati
e76e26f919 fixed minor linting errors 2017-09-28 15:44:30 +03:30
Pouria Ezzati
cbdac3c48e don't try to delete private messages 2017-09-28 15:41:36 +03:30
Pouria Ezzati
4326065f42 added help and start command 2017-09-28 15:41:06 +03:30
Pouria Ezzati
62973485e8 updated leaving group gifs and button text 2017-09-28 15:35:53 +03:30
GingerPlusPlus
5820919e3a Added /commands 2017-09-27 22:17:42 +02:00
Pouria Ezzati
647abc4744 removed dotenv package 2017-09-27 23:22:06 +03:30
Pouria Ezzati
705f4fedef show message log only in dev environment 2017-09-27 23:20:31 +03:30
Pouria Ezzati
6a42356929 fixed small typo 2017-09-27 23:18:11 +03:30
Pouria Ezzati
78d3ca86bd used update instead of insert method for group db 2017-09-27 23:17:36 +03:30
Pouria Ezzati
6c0aebf715 changed error handling to console.error 2017-09-27 23:12:12 +03:30
Pouria Ezzati
5bcc12a171 removed warn db 2017-09-27 12:36:13 +03:30
Pouria Ezzati
7f27a30297 merged warn db into user db & improved db methods 2017-09-27 12:34:26 +03:30
Pouria Ezzati
40720d8ff9 fixed staff admins links 2017-09-27 00:12:21 +03:30
Pouria Ezzati
1219654065 merged ban & admin DBs into user DB 2017-09-27 00:11:20 +03:30
Pouria Ezzati
c27d1097c3 checks if group already has link before exporting one 2017-09-25 21:15:49 +03:30
GingerPlusPlus
9011e8f021 Added groupsInlineKeyboard to example config 2017-09-25 18:29:20 +02:00
Pouria Ezzati
32b117046c generated group links excluded from warns 2017-09-25 19:56:56 +03:30
Pouria Ezzati
2b3e0e2eaf generated group links excluded from warns 2017-09-25 19:42:10 +03:30
GingerPlusPlus
d0d4e1bc0c Added groupsInlineKyeboard to config
It allows to define inline keyboard to be displayed
under output of /groups.
2017-09-25 15:38:03 +02:00
Pouria Ezzati
7c94ca45f0 renamed group store to match others 2017-09-25 16:17:18 +03:30
Pouria Ezzati
40265a1074 /groups now shows groups with link 2017-09-25 16:14:29 +03:30
Pouria Ezzati
02a9b6ff78 Update TODO.md 2017-09-25 12:40:50 +03:30
Pouria Ezzati
d6c76952de commands now work with mention 2017-09-25 12:40:04 +03:30
Pouria Ezzati
a270210248 added error handling for db methods 2017-09-25 09:56:45 +03:30
GingerPlusPlus
ac6780f4f5 Added /groups 2017-09-24 23:23:36 +02:00
GingerPlusPlus
0b5aa1b02f Export escapeHtml 2017-09-24 23:23:13 +02:00
GingerPlusPlus
36706e7a5d Notify unbanned people 2017-09-24 22:42:39 +02:00
Pouria Ezzati
49397a16f7 Update TODO.md 2017-09-24 23:29:00 +03:30
Pouria Ezzati
39145d35be commands now tell which admin did it 2017-09-24 23:24:34 +03:30
Pouria Ezzati
dffe3cc9af corrected group db name to match others 2017-09-24 22:23:56 +03:30
Pouria Ezzati
730fd3c3c3 Updated todo 2017-09-24 22:18:30 +03:30
Pouria Ezzati
4455541afe getwarns and nowarns now check if there are warnings 2017-09-24 22:17:39 +03:30
GingerPlusPlus
50c6f76968 Added custom commands to TODO 2017-09-24 20:38:52 +02:00
GingerPlusPlus
20c0da34d8 Minor README improvements 2017-09-24 18:40:20 +02:00
GingerPlusPlus
3e344ceca2 console.error unhandled errors 2017-09-24 18:34:32 +02:00
GingerPlusPlus
3ffdee8c89 Added /start and /help into TODO 2017-09-24 18:11:50 +02:00
GingerPlusPlus
178545e7b7 Added /staff command 2017-09-24 18:05:16 +02:00
GingerPlusPlus
7d52880b83 Store first_name in admin store 2017-09-24 18:04:30 +02:00
GingerPlusPlus
797b01733b [Bugfix] Corrected middleware order
Put  addedToGroupHandler before leaveUnmanagedHandler.

Without that, it's impossible for the master to add the bot to a group,
because it leaves immiedetly, before checking who added him.
2017-09-24 15:28:43 +02:00