Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix $interactionEdit's code not displaying the warning and details label properly #91

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions guide/Interaction/interactionEdit.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ edits a previously sent interaction with `$interactionReply`

#### Usage: `$interactionEdit[New Message;message id (optional, default is previously sent message)]`

<br>
::: warning Just like $interactionreply, this function only works for interactions.
Don't use it in exec or other triggertypes.
:::
<br/>

::: details Example
```
$interactionreply[Hello world!;yes]
Expand Down
4 changes: 2 additions & 2 deletions guide/Interaction/interactionId.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ gets the id of the interaction (button ,menu)

#### Usage: `$interactionId`

::: warning Just like $interactionReply, this functions only works for interaction
::: warning Just like $interactionReply, this function only works for interactions
Except slash commands, since they don't have id.
:::

Expand All @@ -16,4 +16,4 @@ Except slash commands, since they don't have id.


##### Function difficulty: <Badge type="tip" text="Easy" vertical="middle" />
###### Tags: <Badge type="tip" text="interaction" vertical="middle" /> <Badge type="tip" text="id" vertical="middle" /> <Badge type="tip" text="button" vertical="middle" /> <Badge type="tip" text="menu" vertical="middle" /> <Badge type="tip" text="reply" vertical="middle" />
###### Tags: <Badge type="tip" text="interaction" vertical="middle" /> <Badge type="tip" text="id" vertical="middle" /> <Badge type="tip" text="button" vertical="middle" /> <Badge type="tip" text="menu" vertical="middle" /> <Badge type="tip" text="reply" vertical="middle" />
Loading