Get started

Variables

Variables are placeholders like {user.mention} that are filled in when a message is sent. They work in plain text and in every part of embed code.

Member and server

  • {user} / {user.mention} - mentions the member
  • {user.name} {user.tag} {user.id} {user.avatar}
  • {user.created_at} {user.joined_at}
  • {server} {server.id} {server.icon}
  • {membercount} {membercount.ordinal} (100th)

Invites (welcome messages)

  • {inviter} {inviter.mention} {inviter.id}
  • {invites} - the inviter's invite count

Levels (level-up messages)

  • {level} {rank}
  • {xp} {xp.needed} {xp.total} {xp.percent}

Moderation (invoke messages)

  • {moderator} {moderator.name} {moderator.id}
  • {reason} {duration} {case}
  • {role} {role.name} {role.id} (role add / remove)

Tickets

Ticket messages have their own large set, all starting with ticket. - see Tickets.

  • {ticket.case} {ticket.opened_at} {ticket.closed_at} (+ .raw unix and .short date)
  • {ticket.author.mention} {ticket.claimer.mention} {ticket.closer.mention} (+ .name .id .avatar ...)
  • {ticket.reason.closed} {ticket.option.label} {ticket.panel.name} {ticket.channel.mention}
  • {ticket.form.field.<key>} - a form answer
  • {ticket.transcript.url} {ticket.closed_automatically}