Skip to content

Commit

Permalink
Update placeholders.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
buapebot authored Oct 4, 2024
1 parent 50e7ecc commit 613c24f
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions pages/features/placeholders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ Kiai has a set of placeholders that can be used in several places, such as Level

### List of Placeholders:

| Placeholder Name | Example | Notes |
| --------------------------- | ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- |
| {guild.id} | 744282929684938844 | |
| {guild.name} | Buape Studios | |
| {guild.icon} | `https://cdn.discordapp.com/icons/744282929684938844/b0fb371b25e6689eff94692c63c0f7a5.png` | |
| {guild.owner} | `<@439223656200273932>` | This is rendered as a mention on Discord |
| {guild.owner.id} | 439223656200273932 | |
| {user} | `<@439223656200273932>` | This is rendered as a mention on Discord |
| {user.mention} | `<@439223656200273932>` | This is rendered as a mention on Discord |
| {user.id} | 439223656200273932 | |
| {user.tag} | 4shadowed | |
| {user.displayName} | Shadow | |
| {user.discriminator} | 0 | Discriminators are deprecated in Discord, but added here just in case. |
| {user.color} | #FF8D00 | |
| {user.avatar} | https://cdn.discordapp.com/avatars/439223656200273932/b0fb371b25e6689eff94692c63c0f7a5.png | |
| {xp} | 100 | |
| {level} | 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 | |
| {rewards.roles.removed.ids} | 439223656200273932,744282929684938844 | |
| {rewards.money} | 100 | |
| {rewards.money.total} | 100 | |
| {rewards.money.bank} | 100 | |
| {rewards.money.cash} | 100 | |
| Placeholder Name | Example | Notes |
| ----------------------------- | ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- |
| `{guild.id}` | 744282929684938844 | |
| `{guild.name}` | Buape Studios | |
| `{guild.icon}` | `https://cdn.discordapp.com/icons/744282929684938844/b0fb371b25e6689eff94692c63c0f7a5.png` | |
| `{guild.owner}` | `<@439223656200273932>` | This is rendered as a mention on Discord |
| `{guild.owner.id}` | 439223656200273932 | |
| `{user}` | `<@439223656200273932>` | This is rendered as a mention on Discord |
| `{user.mention}` | `<@439223656200273932>` | This is rendered as a mention on Discord |
| `{user.id}` | 439223656200273932 | |
| `{user.tag}` | 4shadowed | |
| `{user.displayName}` | Shadow | |
| `{user.discriminator}` | 0 | Discriminators are deprecated in Discord, but added here just in case. |
| `{user.color}` | #FF8D00 | |
| `{user.avatar}` | https://cdn.discordapp.com/avatars/439223656200273932/b0fb371b25e6689eff94692c63c0f7a5.png | |
| `{xp}` | 100 | |
| `{level}` | 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 | |
| `{rewards.roles.removed.ids}` | 439223656200273932,744282929684938844 | |
| `{rewards.money}` | 100 | |
| `{rewards.money.total}` | 100 | |
| `{rewards.money.bank}` | 100 | |
| `{rewards.money.cash}` | 100 | |

0 comments on commit 613c24f

Please sign in to comment.