mirror of
https://github.com/Myxelium/Lunaris2.0.git
synced 2026-04-13 08:00:37 +00:00
Compare commits
1 Commits
1717277891
...
1717277838
| Author | SHA1 | Date | |
|---|---|---|---|
| 3daf18e053 |
@@ -19,6 +19,11 @@ flowchart TD
|
|||||||
C -->|HelloCommand| F[HelloHandler]
|
C -->|HelloCommand| F[HelloHandler]
|
||||||
C -->|GoodbyeCommand| G[GoodbyeHandler]
|
C -->|GoodbyeCommand| G[GoodbyeHandler]
|
||||||
```
|
```
|
||||||
|
Program registers an event listener ```DiscordEventListener``` which publish a message :
|
||||||
|
|
||||||
|
```c#
|
||||||
|
await Mediator.Publish(new MessageReceivedNotification(arg), _cancellationToken);
|
||||||
|
```
|
||||||
|
|
||||||
## Handler integrations
|
## Handler integrations
|
||||||
```mermaid
|
```mermaid
|
||||||
@@ -30,9 +35,3 @@ flowchart TD
|
|||||||
v[ChatHandler] --> Disc[Discord Api]
|
v[ChatHandler] --> Disc[Discord Api]
|
||||||
E --> Lava[Lavalink]
|
E --> Lava[Lavalink]
|
||||||
```
|
```
|
||||||
|
|
||||||
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