Skip to content

feat: Custom events#6

Merged
Nonolanlan1007 merged 17 commits intomasterfrom
feat/custom-events
Dec 19, 2025
Merged

feat: Custom events#6
Nonolanlan1007 merged 17 commits intomasterfrom
feat/custom-events

Conversation

@ValDesign22
Copy link
Copy Markdown
Member

@ValDesign22 ValDesign22 commented Apr 24, 2025

Warning

Don't merge the pull request because the api is currently not compatible with the new custom events

This pull request introduces new functionality for custom event tracking in the discordanalytics library, updates the version to 3.2.0, and includes minor documentation and metadata changes. The most significant changes involve the addition of the Event class and related methods to support custom events.

New functionality for custom event tracking:

  • Added the Event class in discordanalytics/client.py to manage custom events, including methods for ensuring event existence, incrementing, decrementing, and setting event values.
  • Introduced a custom_events dictionary in the stats structure to track custom event counts.
  • Added the events method to the DiscordAnalytics class to create and manage custom events.

Version update:

  • Updated the package version to 3.5.0 in discordanalytics/__init__.py and pyproject.toml to reflect the new features.

Documentation and metadata:

  • Updated the API documentation link in README.md to a new URL.

@Nonolanlan1007 Nonolanlan1007 added the enhancement New feature or request label Apr 27, 2025
@Nonolanlan1007 Nonolanlan1007 merged commit 324bb5f into master Dec 19, 2025
@Nonolanlan1007 Nonolanlan1007 deleted the feat/custom-events branch December 19, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants