diff --git a/Bot/README.md b/Bot/README.md index d29af60..90550e7 100644 --- a/Bot/README.md +++ b/Bot/README.md @@ -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); -```