fix images; fix closing brace on cs ref (#1992)
This commit is contained in:
@@ -28,7 +28,7 @@ This is the property sent to you by discord when a button is clicked. It is not
|
|||||||
|
|
||||||
Styling your buttons are important for indicating different actions:
|
Styling your buttons are important for indicating different actions:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
You can do this by using the `ButtonStyle` which has all the styles defined.
|
You can do this by using the `ButtonStyle` which has all the styles defined.
|
||||||
|
|
||||||
|
|||||||
@@ -34,4 +34,4 @@ public async Task MyButtonHandler(SocketMessageComponent component)
|
|||||||
|
|
||||||
Running it and clicking the button:
|
Running it and clicking the button:
|
||||||
|
|
||||||

|

|
||||||
@@ -48,7 +48,7 @@ Interaction Result come in a handful of different flavours:
|
|||||||
Every time a command gets executed, Interaction Service raises a `CommandExecuted` event.
|
Every time a command gets executed, Interaction Service raises a `CommandExecuted` event.
|
||||||
These events can be used to create a post-execution pipeline.
|
These events can be used to create a post-execution pipeline.
|
||||||
|
|
||||||
[!code-csharp[Error Review](samples/postexecution/error_review.cs)
|
[!code-csharp[Error Review](samples/postexecution/error_review.cs)]
|
||||||
|
|
||||||
## Log Event
|
## Log Event
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user