Update README.md

This commit is contained in:
2024-06-01 23:36:07 +02:00
committed by GitHub
parent 54c5c68ba6
commit 3daf18e053

View File

@@ -19,6 +19,11 @@ flowchart TD
C -->|HelloCommand| F[HelloHandler]
C -->|GoodbyeCommand| G[GoodbyeHandler]
```
Program registers an event listener ```DiscordEventListener``` which publish a message :
```c#
await Mediator.Publish(new MessageReceivedNotification(arg), _cancellationToken);
```
## Handler integrations
```mermaid
@@ -30,9 +35,3 @@ flowchart TD
v[ChatHandler] --> Disc[Discord Api]
E --> Lava[Lavalink]
```
Program registers an event listener ```DiscordEventListener``` which publish a message :
```c#
await Mediator.Publish(new MessageReceivedNotification(arg), _cancellationToken);
```