Metadata-Version: 2.1
Name: discourtesy
Version: 0.1.1
Summary: A minimal framework to handle Discord interactions.
Home-page: https://github.com/robinmahieu/discourtesy
License: MIT
Keywords: discord,discourtesy
Author: Robin Mahieu
Author-email: robin.mahieu@protonmail.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: PyNaCl (>=1.4.0,<2.0.0)
Requires-Dist: loguru (>=0.5.3,<0.6.0)
Requires-Dist: starlette (>=0.16.0,<0.17.0)
Requires-Dist: uvicorn (>=0.15.0,<0.16.0)
Project-URL: Repository, https://github.com/robinmahieu/discourtesy
Description-Content-Type: text/markdown

# Discourtesy

Discourtesy is a minimal framework to handle Discord interactions.

## Installation

Discourtesy requires [Python 3.9][python-3.9] or higher.

The package is available on PyPi, so install it with `pip` or another dependency manager.

```bash
pip install discourtesy
```

## Introduction

```py
import discourtesy

application = discourtesy.Application()

public_key = ""
application.set_public_key(public_key)


@discourtesy.command("beep")
async def beep_command(client, interaction):
    return "boop"


application.add_plugin(__name__)
```

```bash
uvicorn filename:application
```

[python-3.9]: <https://www.python.org/downloads/>

