Skip to content

Simplest WhatsApp automation Library for Python

License

Notifications You must be signed in to change notification settings

quan-digital/Supbot2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supbot2

Discord Chat Donations Badge GitHub stars

Simplest WhatsApp automation Library for Python


Supbot2 is an unofficial WhatsApp automation library written in Python which can be used to create bots. Supbot2 uses Appium to automate WhatsApp application on your android device/emulator, and perform various actions (like sending message), and also trigger events (like receiving message).

Usage

Following code resends the message received from a contact (in just 5 LOC!).

from supbot import Supbot


def repeat_message(contact_name, message):
    supbot.send_message(contact_name, message)


with Supbot(message_received=repeat_message) as supbot:
    supbot.wait_for_finish()

About

Simplest WhatsApp automation Library for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%