Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

Spider570
Copy link
Contributor

Description

Adds a new event (UnknownDispatchReceived) which fires whenever the library encounters an unknown or unhandled dispatch type.

Changes

  • Added a new UnknownDispatchReceived event and an internal AsyncEvent<Func<string, JToken, Task>> field named _unknownDispatchReceived.
  • Modified ProcessMessageAsync to invoke UnknownDispatchReceived when a dispatch event is received with an unknown type.

Related Issues

Resolves #2899

@Misha-133 Misha-133 merged commit 9b79f0b into discord-net:dev Apr 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Unknown event

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.