whatsplay / whatsapp-play

Command line software through which you can play with your WhatsApp. It is having different options to play with your WhatsApp like message blast, online tracking, whatsapp chat..
MIT License
403 stars 218 forks source link

Broadcast Message to numbers given in a file ( regarding #273) #288

Closed zulkernine closed 4 years ago

zulkernine commented 4 years ago

Regarding issue #273

A file broadcast_message.py is created to accomplish the job of sending a message to different numbers kept in a file. Tkinter is used to make a small dialogue box to choose that .txt file of number with GUI . These are demonstrated in the following screenshot.

Screenshot from 2020-04-10 20-37-04

The text file used is following: Numbers are kept each in a new line with country code. If any 10 digit number has no country code then it will be considered as Indian number. IMG_20200410_210638

Here's the dialogue to choose the text file.

Screenshot from 2020-04-10 20-35-53

Here's some shot during sending the message:

1) Following number was already saved in mobile. (Though it make no difference .) IMG_20200410_210914

2) This number wasn't saved: IMG_20200410_210837

3) This one is of different country :) IMG_20200410_210742

Please review the code and suggest further modification required(if any ) before merge.

xandao-dev commented 4 years ago

Looks better than I expected! I'm glad that you implemented tkinter to search the file. I will test it soon.

xandao-dev commented 4 years ago

Those pop-ups aren't your fault, I will fix them soon.

xandao-dev commented 4 years ago

I will change some things.

zulkernine commented 4 years ago

Ok. I'll make a little change according to the code review. 😊

zulkernine commented 4 years ago

See that single line comment. Rest all LGTM but I have not tested it yet.

Now the argument is changed to "-wbc" .

rpotter12 commented 4 years ago

Codacy Here is an overview of what got changed by this pull request:


Issues
======
- Added 1

Complexity increasing per file
==============================
- wplay/broadcast_message.py  7
- wplay/__main__.py  1

See the complete overview on Codacy