Skip to main content

disnake adapter for Mochi - auto-instruments commands, guild joins/leaves, and health snapshots

Project description

mochi-analytics-disnake

disnake adapter for Mochi analytics.

Install

pip install mochi-analytics mochi-analytics-disnake disnake

Usage

import disnake
from mochi_analytics import MochiClient
from mochi_analytics_disnake import attach_mochi

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

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

An AutoShardedClient sends one snapshot per shard, each carrying that shard's own guild count.

See the disnake guide for the full documentation.

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mochi_analytics_disnake-0.2.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mochi_analytics_disnake-0.2.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file mochi_analytics_disnake-0.2.0.tar.gz.

File metadata

  • Download URL: mochi_analytics_disnake-0.2.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mochi_analytics_disnake-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b30175c08174038cc85aabf7458698a5c539884ef4a63feea9d1efbd8855172b
MD5 36e0a84462c10193a535da6208c564f2
BLAKE2b-256 587b89b1e464c080e15571b152f09f5797799af9fbce2e2f9023713f62ad1cca

See more details on using hashes here.

Provenance

The following attestation bundles were made for mochi_analytics_disnake-0.2.0.tar.gz:

Publisher: release-please.yml on mochi-analytics/mochi-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mochi_analytics_disnake-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mochi_analytics_disnake-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fc2473028b9158d7dac349ace0c1989ac80970afa82ce83499be4d05fed4bda
MD5 a5f78d9457eff3ff8efd241e14e0cb63
BLAKE2b-256 f5aedaceaa5ec409554aeadfe6d4e00373b715e7d8084fcc9c4a0e8c00e9ede0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mochi_analytics_disnake-0.2.0-py3-none-any.whl:

Publisher: release-please.yml on mochi-analytics/mochi-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page