Update README.md

This commit is contained in:
2024-04-14 16:37:57 +02:00
committed by GitHub
parent 521f808209
commit 31c39e8893

View File

@@ -13,4 +13,8 @@ flowchart TD
C -->|GoodbyeCommand| G[GoodbyeHandler]
```
Program registers an event listener ```DiscordEventListener``` which publish a message ```C# await Mediator.Publish(new MessageReceivedNotification(arg), _cancellationToken);```
Program registers an event listener ```DiscordEventListener``` which publish a message :
```c#
await Mediator.Publish(new MessageReceivedNotification(arg), _cancellationToken);
```