mirror of
https://github.com/Myxelium/Lunaris2.0.git
synced 2026-04-13 08:00:37 +00:00
Compare commits
2 Commits
1717277794
...
1717277838
| Author | SHA1 | Date | |
|---|---|---|---|
| 3daf18e053 | |||
| 54c5c68ba6 |
@@ -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
|
||||
@@ -29,10 +34,4 @@ flowchart TD
|
||||
G[GoodbyeHandler] --> Disc[Discord Api]
|
||||
v[ChatHandler] --> Disc[Discord Api]
|
||||
E --> Lava[Lavalink]
|
||||
```mermaid
|
||||
|
||||
Program registers an event listener ```DiscordEventListener``` which publish a message :
|
||||
|
||||
```c#
|
||||
await Mediator.Publish(new MessageReceivedNotification(arg), _cancellationToken);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user