dyno-bot/Dyno-web-premium/views/partials/variables.hbs
2020-09-12 19:08:48 +01:00

14 lines
851 B
Handlebars

<p class="help-text">
<strong>Variables:</strong>
<ul>
<li><code>{user}</code> - the user calling the command. Ex: <code>Hello {user}!</code></li>
<li><code>{server}</code> - the server name</li>
<li><code>{channel}</code> - the channel name</li>
<li><code>{@user}</code> - mention a user by their username (not nickname), replace <code>user</code> with username. Ex: <code>{@Nooblance}</code> </li>
<li><code>{&amp;role}</code> - mention a role by name, replace <code>role</code> with the role name. Ex: <code>{&amp;Gamers}, We're streaming now!</code></li>
<li><code>{#channel}</code> - a channel link, replace <code>channel</code> with the name of the channel you want to link. Ex: <code>Use {#testing} for all bot testing.</code></li>
<li><code>{everyone}</code> - @everyone</li>
<li><code>{here}</code> - @here</li>
</ul>
</p>