$rolePerms

Returns the given roles permissions

Syntax

$rolePerms[Guild ID;Role ID;(Separator)]

Parameters

  • Guild ID (Type: Snowflake || Flag: Required): The guild where the role is.
  • Role ID (Type: Snowflake || Flag: Required): The ID of the role.
  • Separator: (Type: String || Flag: Optional): The separator to use while separating the permissions. (default: “,”)

Example

$nomention
$rolePerms[$guildID;$mentionedRoles[1];#]

Without Perms

!example not-so-cool role No Permissions

With Perms

!example cool role CreateInvite# KickMembers# BanMembers# ManageChannels

How to get the Server ID guide.

What is this?

How $mentionedRoles works?