Metadata-Version: 2.1
Name: disspy
Version: 0.2
Summary: Dispy - package for creating bots
Home-page: https://github.com/itttgg/dispy
Author: itttgg
Author-email: aitiiigg1@gmail.com
License: UNKNOWN
Download-URL: https://github.com/itttgg/dispy/tree/0.2
Platform: UNKNOWN
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

<p><img src="logo.png" width="250" alt="logo"/></p>

# Dispy

![version](https://img.shields.io/badge/version-0.2-informational?style=flat) ![project language](https://img.shields.io/badge/lang-python-informational)
### Needs minimal 3.8 python version
## Download stable version
```
# Windows
pip install --upgrade disspy

# Linux/MacOS
python3 -m pip install --upgrade disspy
```

## Download dev version
```
git clone https://github.com/itttgg/dispy.git
cd dispy
pip install --upgrade .
```

## Links
<p><a href="https://github.com/itttgg/dispy">https://github.com/itttgg/dispy</a> - GitHub repo</p>
<p><a href="https://pypi.org/project/disspy">https://pypi.org/project/disspy</a> - Project site on PyPi</p>
<p><a href="https://dispydocs.herokuapp.com/">https://dispydocs.herokuapp.com/</a> - Site with docs for package</p>

## Using
### Creating and running bot

```python
import disspy

bot = disspy.DisBot(token="YOUR_TOKEN")

bot.run()
```

### bot.on("ready")

```python
import disspy

bot = disspy.DisBot(token="YOUR_TOKEN")


@bot.on("ready")
async def on_ready():
    print("Ready!")


bot.run()
```

### bot.on("messagec")

```python
import disspy

bot = disspy.DisBot(token="YOUR_TOKEN")


@bot.on("messagec")
async def on_messagec(message):
    await message.channel.send("Test!")


bot.run()
```


