Skip to content

Commit

Permalink
Update placeholders.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilloftheshadow authored Oct 9, 2024
1 parent 613c24f commit 4bc54a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/features/placeholders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Kiai has a set of placeholders that can be used in several places, such as Level Up messages, XP streak messages, and XP drops.

Not all of these are supported in every location, but most of them are, and if they aren't supported, they will simply show the placeholder itself in the message.

### List of Placeholders:

| Placeholder Name | Example | Notes |
Expand All @@ -21,6 +23,8 @@ Kiai has a set of placeholders that can be used in several places, such as Level
| `{user.avatar}` | https://cdn.discordapp.com/avatars/439223656200273932/b0fb371b25e6689eff94692c63c0f7a5.png | |
| `{xp}` | 100 | |
| `{level}` | 10 | |
| `{level.old}` | 9 | |
| `{level.new}` | 10 | |
| `{rewards.roles.added}` | `<@&439223656200273932>` | This is rendered as a mention on Discord |
| `{rewards.roles.removed}` | `<@&439223656200273932>` | This is rendered as a mention on Discord |
| `{rewards.roles.added.ids}` | 439223656200273932,744282929684938844 | |
Expand Down

0 comments on commit 4bc54a9

Please sign in to comment.