joaoricardo000 / whatsapp-bot-seed

A small python framework to create a whatsapp bot, with regex-callback message routing.
726 stars 245 forks source link

/add /kick /ban not working in project #79

Closed haxxorsid closed 8 years ago

haxxorsid commented 8 years ago

/add /kick /ban are not working in my project. I use /add Number or /ban Number or /kick Number while interacting but I cant see neither any log request in terminal nor even BOT reacts to the request. Please help me, there might be no error in the whatsapp-bot-seed, it might be a problem on my side. So help me solve it.

ghost commented 8 years ago

4

ghost commented 8 years ago

Group Admin is disabled by default, but, if you want to enable it, just go to router.py and change this:

# group admin views disabled by default.
# read the issue on: https://github.com/joaoricardo000/whatsapp-bot-seed/issues/4
# enable on your own risk!
# routes.extend(GroupAdminViews(self).routes)

to this:

# group admin views disabled by default.
# read the issue on: https://github.com/joaoricardo000/whatsapp-bot-seed/issues/4
# enable on your own risk!
routes.extend(GroupAdminViews(self).routes)