Skip to content

Commit

Permalink
Merge pull request #432 from Watashi-wa-Fai-Kun/patch-2
Browse files Browse the repository at this point in the history
Create addResponseEmbed.md
  • Loading branch information
kubastick committed Sep 3, 2024
2 parents 9702079 + f3f2bd9 commit 5c6da61
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,9 @@
- [$onInteraction[]](./callbacks/onInteractionComplex.md)

- [Flowchart]()
- [Add Response Embed](./flowchart/addResponseEmbed.md)
- [Set Response Message](./flowchart/setResponseMessage.md)


- [Premium]()
- [Introduction](./premium/introduction.md)
Expand Down
44 changes: 44 additions & 0 deletions src/flowchart/addResponseEmbed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

# Add response embed
Adds embed to the response message for the command.

## Inputs
| Name | Type | Descripton |
| :----- | :----- | :------ |
|Title | String |Title Of The Embed Message. |
| Description | String | Description Of The Embed Message. |
| Footer | String | Footer Of The Embed Message. |

***
### Flags
- ➤ Execute

## Example
Entry Point ➤ - ➤ Add response embed :

| Name | Value |
| :----- | :----- |
|Title | Meowing Title |
| Description | Meowing Description |
| Footer | Cats shall rule this footer! |

![image](https://github.com/user-attachments/assets/c99109d3-20df-44a8-be09-a7f5506e71f5)

## Result
```discord yaml
- username: Flowchart
user_id: 566613317972394004
color: "#748bd4"
bot: true
command:
user_id: 713752533763489893
author: Fai-Kun
command: /meow
color: "#E67E22"
content: ""
embed:
title: "Meowing Title"
description: "Meowing Description!"
footer:
text: "Cats shall rule this footer!"
```

0 comments on commit 5c6da61

Please sign in to comment.