Variables Reference

Variables are placeholders that Diski replaces with live values when a message is sent. They use double curly braces, e.g. {{user.mention}}. Each feature only allows the variables that make sense for it, and the dashboard validates them as you type.

Variable syntax

Write variables with double curly braces like {{guild.name}}. Single-brace or unknown variables are rejected on save; use the variable picker shown on each page to insert valid ones.

User variables

{{user.mention}}, {{user.username}}, {{user.displayName}}, {{user.id}}, {{user.tag}}, {{user.avatarUrl}} — refer to the user who triggered the action.

Member variables

{{member.mention}}, {{member.displayName}}, {{member.nickname}}, {{member.roles}}, {{member.roles.count}}, {{member.joinedAt}} — the server-member view of a user.

Server variables

{{guild.name}}, {{guild.id}}, {{guild.iconUrl}}, {{guild.memberCount}}, {{guild.ownerId}}, {{guild.createdAt}} — details about the server.

Channel variables

{{channel.mention}}, {{channel.name}}, {{channel.id}} — the channel involved in the message.

Stream alert variables

{{streamer.name}}, {{streamer.username}}, {{streamer.title}}, {{streamer.game}}, {{streamer.url}}, {{streamer.profileImage}} — available in Twitch, Kick, YouTube and TikTok notifications.

YouTube video variables

{{video.url}}, {{video.type}}, {{video.thumbnail}}, {{video.scheduledTime}} — YouTube notifications only: the link, kind (live stream, video, Short or premiere), thumbnail and — for premieres — start time of the video the alert is about.

Giveaway variables

{{giveaway.prize}}, {{giveaway.description}}, {{giveaway.winnerCount}}, {{giveaway.entryCount}}, {{giveaway.channel}}, {{giveaway.endDate}}, {{giveaway.endRelative}}, {{giveaway.image}}, {{giveaway.status}} — available in giveaway messages. {{giveaway.entryCount}} is live: the giveaway message re-renders as people enter.