Skip to main content

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


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)

Uploaded Source

Built Distribution

crazyshit-0.0.1-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page