Bot-Collection icon indicating copy to clipboard operation
Bot-Collection copied to clipboard

Adding a new 'tag everyone' whatsapp bot [GSSOC '23]

Open anuraganand92 opened this issue 2 years ago • 15 comments

Description:

This GitHub issue proposes adding a WhatsApp Group Tagging Bot to the repository. The bot, developed in Python using Selenium, will automate the process of tagging everyone in a WhatsApp group.

Implementation:

The bot will utilize Selenium for web automation and interact with the WhatsApp web interface. It will send a message that tags all members in the group, saving time and effort.

Expected Outcome:

The WhatsApp Group Tagging Bot will effectively tag all members in a WhatsApp group, ensuring they receive a notification. As the GSSOC '23 contributor, I will implement this feature and welcome any suggestions or enhancements to the bot's functionality.

anuraganand92 avatar May 19 '23 21:05 anuraganand92

Can I also do it under GSSOC'23 with @anuraganand92

shrish-shete20 avatar May 20 '23 03:05 shrish-shete20

I want to work on this issue and will add a 'tag everyone' whatsapp bot. Please assign this to me.

A15h avatar May 20 '23 05:05 A15h

@anuraganand92 Go ahead !!

neelshah2409 avatar May 21 '23 12:05 neelshah2409

How do I add this to my WhatsApp??

Naemerem avatar Jul 05 '23 07:07 Naemerem

Hello

Maryam4311 avatar Oct 10 '23 08:10 Maryam4311

image i updated the sleep to 30sec made sure all my chats were loaded by the time it did the operation, still it failed

> python3 tagall-bot.py
Traceback (most recent call last):
  File "/Users/tazer/Desktop/INNOVA/Bot-Collection/Whatsapp-bot/Tag-all-bot/tagall-bot.py", line 16, in <module>
    group_name = driver.find_element_by_xpath(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath
    return self.find_element(by=By.XPATH, value=xpath)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element
    return self.execute(Command.FIND_ELEMENT, {
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/opt/homebrew/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//span[@title='Innova Event Discussion and Planning']"}
  (Session info: chrome=117.0.5938.88)

ajtazer avatar Feb 24 '24 12:02 ajtazer

same issue of @ajtazer

nxwi avatar Mar 28 '24 14:03 nxwi

how can I do it in my ends here I am really interested

Akojede70 avatar Jun 07 '24 07:06 Akojede70

Hiii how do I get the bot on my WhatsApp please

Maymayycodes avatar Oct 23 '24 15:10 Maymayycodes