Metadata-Version: 2.4
Name: mochi-analytics-discordpy
Version: 1.0.0
Summary: discord.py adapter for Mochi - auto-instruments commands, guild joins/leaves, and health snapshots
Project-URL: Homepage, https://github.com/mochi-analytics/mochi-py
Project-URL: Repository, https://github.com/mochi-analytics/mochi-py
Project-URL: Bug Tracker, https://github.com/mochi-analytics/mochi-py/issues
Author-email: Mochi Analytics <contact@bwmp.dev>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: analytics,bot,discord,discord.py,mochi
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: discord-py>=2.3
Requires-Dist: mochi-analytics>=1.0.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Description-Content-Type: text/markdown

# mochi-analytics-discordpy

discord.py v2 adapter for Mochi analytics.

## Install

```sh
pip install mochi-analytics mochi-analytics-discordpy discord.py
```

## Usage

```python
import discord
from mochi_analytics import MochiClient
from mochi_analytics_discordpy import attach_mochi

mochi = MochiClient(url="https://mochi.example.com", api_key="mochi_sk_...")

client = discord.Client(intents=discord.Intents.default())
detach = attach_mochi(client, mochi)
```

See the repository docs for the full discord.py guide.

## License

Apache-2.0
