Pouria Ezzati
0f42c9ee55
change delete message delay to 2 minutes
2017-10-02 14:16:54 +03:30
GingerPlusPlus
fdfbfa5727
Added /leave
2017-09-28 22:59:35 +02:00
Pouria Ezzati
4326065f42
added help and start command
2017-09-28 15:41:06 +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
6c0aebf715
changed error handling to console.error
2017-09-27 23:12:12 +03:30
Pouria Ezzati
7f27a30297
merged warn db into user db & improved db methods
2017-09-27 12:34:26 +03:30
Pouria Ezzati
d6c76952de
commands now work with mention
2017-09-25 12:40:04 +03:30
GingerPlusPlus
ac6780f4f5
Added /groups
2017-09-24 23:23:36 +02:00
GingerPlusPlus
3e344ceca2
console.error unhandled errors
2017-09-24 18:34:32 +02:00
GingerPlusPlus
178545e7b7
Added /staff command
2017-09-24 18:05:16 +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
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
Pouria Ezzati
0b8af0cbb3
added next() on message middleware
2017-09-23 21:52:58 +03:30
Pouria Ezzati
34f34420bf
refactored commands and middlewared into their folders
2017-09-23 21:40:58 +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
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
1e476d758f
added nowarns command, more configs
2017-09-21 23:47:26 +04:30
Pouria Ezzati
6739a2f0a0
refactored to be more modular
2017-09-21 13:57:49 +04:30
Pouria Ezzati
fd399a45b6
removed init cli, revised Warn DB
2017-09-20 23:17:00 +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
Thomas Rory Gummerson
993bc6bccb
Fix
2017-07-24 18:27:48 +02:00
Thomas Rory Gummerson
66683cde5f
colon
2017-07-24 18:19:29 +02:00
Thomas Rory Gummerson
5e472e31c3
AAAAH WORKING
2017-07-24 18:17:47 +02:00
Thomas Rory Gummerson
caa8f1340b
MANY FEATURES
2017-07-24 18:08:31 +02:00
Thomas Rory Gummerson
086a13948f
Fixes
2017-07-24 17:12:38 +02:00
Thomas Rory Gummerson
1ff70847ee
stores folder
2017-07-24 16:25:00 +02:00
Thomas Rory Gummerson
d20c9e8b57
Logging fix
2017-07-24 15:41:16 +02:00
Thomas Rory Gummerson
9bd52ba77f
Fixes
2017-07-24 15:06:12 +02:00
Thomas Rory Gummerson
f55c834a02
Cleanup
2017-07-24 14:44:42 +02:00
Thomas Rory Gummerson
bcee0c4aa7
More
2017-07-24 14:18:53 +02:00
Thomas Rory Gummerson
9116038f4f
Bans and warns
2017-07-24 13:44:14 +02:00
Thomas Rory Gummerson
57baf97cae
initial
2017-07-24 12:44:28 +02:00