Metadata-Version: 2.1
Name: asterpy
Version: 0.2.0
Summary: A simple Python wrapper around the Aster protocol, inspired by the syntax of discord.py
Home-page: https://github.com/Jachdich/asterpy
Author: James Kitching
Author-email: jamesedkitching@gmail.com
Project-URL: Bug Tracker, https://github.com/Jachdich/asterpy/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# aster.py

Aster.py is a python implementation of the [Aster](https://github.com/Jachdich/aster-server) protocol, designed for use in bots or custom clients. The syntax is heavily inspired by [discord.py](https://github.com/Rapptz/discord.py).

Currently a work in progress, does not support all of the features of Aster.

PyPI release can be found [here](https://pypi.org/project/asterpy/)


## Documentation

See http://cospox.com/docs/asterpy/

## Example

Ping example (listens for "ping" and responds "pong")
```py
import asterpy

client = asterpy.Client(ip, port, username, password, uuid)

@client.event
async def on_message(message):
    if message.content == "ping":
        await message.channel.send("pong")

@client.event
async def on_ready():
    print("Ready!")

client.run()
```
