Skip to main content

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

Project description

mochi-analytics-nextcord

nextcord adapter for Mochi analytics.

Install

pip install mochi-analytics mochi-analytics-nextcord nextcord

Usage

import nextcord
from mochi_analytics import MochiClient
from mochi_analytics_nextcord import attach_mochi

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

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

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

See the nextcord 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_nextcord-0.2.0.tar.gz (10.5 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_nextcord-0.2.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mochi_analytics_nextcord-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fe3065c9187aecb79c2c50134eed972723b87a996143532fe345847dfbdeda87
MD5 9c2dc4ed2b0145715f429194e5032252
BLAKE2b-256 26f3d878d56ebd6adfb720e883f5495d1984f98ac74ee247ac42887f7cecf976

See more details on using hashes here.

Provenance

The following attestation bundles were made for mochi_analytics_nextcord-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_nextcord-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mochi_analytics_nextcord-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 871483e06caa504fe9d80a20b9a14f3632ca710a47eb0947a09aa1785172c373
MD5 925bb4fe427e3c26b24ca09a1451a19e
BLAKE2b-256 05ea14c0c9fb24b729065d93f8afeea29ef65fb2c43a715a786f11cc780bcc0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mochi_analytics_nextcord-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