Skip to content

Role & DJ Permissions

The {permission} Parser

Protect commands from unauthorized execution with built-in permission gates:

{permission(dj):true}
{permission(voice):true}
{permission(roles):Admin,DJ,Moderator}
{permission(permissions):ManageGuild,Administrator}

Available Permission Gates

ParameterTypeDescription
djbooleanRequires user to have the DJ role or Administrator permission
voicebooleanRequires user to be connected to a voice channel
rolesstringComma-separated list of allowed Discord role names
permissionsstringComma-separated list of required Discord permission flags

Example: Protected DJ Skip

{cooldown(5)}
{permission(dj):true}
{permission(voice):true}
{skip}
{embed(title):⏭️ Force Skipped}
{embed(description):{user.username} skipped the track with DJ permissions.}
{embed(color):0x2ECC71}