Skip to main content

discord.py adapter for Mochi - auto-instruments commands, guild joins/leaves, and health snapshots

Project description

mochi-analytics-discordpy

discord.py v2 adapter for Mochi analytics.

Install

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

Usage

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

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_discordpy-1.0.0.tar.gz (9.2 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_discordpy-1.0.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file mochi_analytics_discordpy-1.0.0.tar.gz.

File metadata

File hashes

Hashes for mochi_analytics_discordpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a90e8aba89056b699a25a76fe88a23a57ffed16dcac1ed3faa14d3beaf1415bb
MD5 c7cfdd4be40137c226120bc8c75f26b5
BLAKE2b-256 fd0c98b318ca4286efb1ef353c4230a0344378a6617ad78958ee9bd07284a20c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mochi_analytics_discordpy-1.0.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_discordpy-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mochi_analytics_discordpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d35fb5a72a7135b0740ef5d3ecfb197e2233e01918dec3433313dc25a0fed06d
MD5 7d47555ac6b5fb462a1ac7a3aea8400f
BLAKE2b-256 5f5b9b307983633105f4526d5e357ccfb4339a42709589a461d234b367130a5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mochi_analytics_discordpy-1.0.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