CrazyShit is a Python library designed for automating tasks for a WhatsApp bot using Selenium. It enables handling of updates and sending messages efficiently.
Project description
CrazyShit
CrazyShit is a Python library for handling automation tasks for a WhatsApp bot using Selenium.
Example Usage
from crazyshit import Client, filters
import asyncio
client = Client(
"test",
number="+2011111",
)
@client.on_message(filters.regex(r"^/start$"))
async def start_(bot, msg):
await bot.send_message(
to=msg.chat.title,
text="how are you?"
)
async def run():
await client.start()
print("[!] Running")
loop = asyncio.get_event_loop()
loop.run_until_complete(run())
loop.run_forever()
Features
- automation tasks for a WhatsApp bot using Selenium.
- Get updates and send messages.
Requirements
- Python 3.8 or higher.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crazyshit-0.0.1.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for crazyshit-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aa925e5494ded7db5bc863e19119cc0108cc69b45839ceea6c426e8b2d3cb57 |
|
MD5 | 7966ae0ec198ea0ff1795e4cab9de7aa |
|
BLAKE2b-256 | bb10a07b813fa90199c9a236e04dd7a559be76e1ae4c1aab619b9c1d8a5a332c |