Skip to content

Commit

Permalink
Merge pull request #39 from rpotter12/pull
Browse files Browse the repository at this point in the history
Pull
  • Loading branch information
rpotter12 authored Aug 12, 2019
2 parents d44f3a3 + c9c7d32 commit f006443
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It is command line software through which you can play with your WhatsApp. It is

***messageblast*** is a message bomb script. It sends messages to your WhatsApp contact continously. The number of messages is decided by you. You can blast infinite number of messages to your WhatsApp contact.

***savechat*** is a script to save the chat of the person. It saves all the messages with that person in message.txt file. (script is in progress)
***savechat*** is a script to save the chat of the person. It saves all the messages with that person in message.txt file.

---

Expand All @@ -24,7 +24,7 @@ It is command line software through which you can play with your WhatsApp. It is

## Usage
```
usage: wplay [-h] (-wc | -wb | -wt| -wsc) NAME
usage: wplay [-h] (-wc | -wb | -wt| -ws) NAME
WhatApp-play
Expand All @@ -36,6 +36,7 @@ optional arguments:
-wc, --wchat chatting from command line
-wb, --wblast message blast to a person
-wt, --wtrack track online status of person
-ws, --wsave save the whole chat of a person
```
Example - `wplay -wt "target_name_of_your_whatsapp_contact"`

Expand Down
2 changes: 1 addition & 1 deletion wplay/savechat.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import requests

def save(name):

print("It is for testing purpose only. It is not tested yet. Report a bug if you found any error.")
# enter the name of the person by the user
target = str(name) #str(input("Enter the name of target: "))
#target_email = str(input("Enter the email of the target: "))
Expand Down
6 changes: 3 additions & 3 deletions wplay/wplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_arguments():
group.add_argument("-wc", "--wchat", action="store_true", help="chatting from command line")
group.add_argument("-wb", "--wblast", action="store_true", help="message blast to a person")
group.add_argument("-wt", "--wtrack", action="store_true", help="track online status of person")
# group.add_argument("-ws", "--wsave", action="store_true", help="save the whole chat of a person")
group.add_argument("-ws", "--wsave", action="store_true", help="save the whole chat of a person")
# group.add_argument("-wl", "--wlocation", action="store_true", help="finds the location of the person")

args = parser.parse_args()
Expand All @@ -30,8 +30,8 @@ def match_args(args):
elif args.wblast:
messageblast.blast(args.name)

# elif args.wsave:
# savechat.save(args.name)
elif args.wsave:
savechat.save(args.name)

# elif args.wlocation:
# loactionfinder.finder(args.name)
Expand Down

0 comments on commit f006443

Please sign in to comment.