Metadata-Version: 2.5
Name: clixhooks
Version: 0.1.1
Summary: An asynchronous library for Discord webhooks
Project-URL: Homepage, https://github.com/skaptactic/Clixhooks
Author-email: skap <300829252+skaptactic@users.noreply.github.com>
License: MIT
License-File: LICENSE
Keywords: clix,clixhooks,discord,discord webhooks,webhooks
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Requires-Dist: aiofiles>=24.1.0
Requires-Dist: aiohttp>=3.14.3
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Description-Content-Type: text/markdown

# Clixhooks
A simple, lightweight, and asynchronous library for using Discord webhooks in Python.

## Installation
>[!IMPORTANT]
>**Python 3.10 or higher is required!**

Methods to install:
- Install via pip: `pip install --upgrade clixhooks`
- Clone this repo: `git clone https://github.com/skaptactic/Clixhooks.git`

Uses the following dependencies:
- `aiofiles`: **24.1.0 or higher.**
- `aiohttp`: **3.14.3 or higher.**

# Usage Examples
*These are asynchronous examples, run them using something like `asyncio`.*

- **Sending a message**
```python
import clix

webhook = clix.Webhook.from_url(url="YOUR_WEBHOOK_URL")

async with webhook:
    await webhook.send("Hello world!")
```

- **Sending a embed**
```python
import clix

webhook = clix.Webhook.from_url(url="YOUR_WEBHOOK_URL")

embed = clix.Embed(
    color=clix.Color.blurple(),
    title="Example Embed",
    description="This is an example embed."
)
message = clix.ExtraMessage(embeds=[embed])

async with webhook:
    await webhook.send(message)
```

## URLS
- **Repository**: https://github.com/skaptactic/Clixhooks
- **PyPi**: https://pypi.org/project/clixhooks/0.1.0/