Custom Command
FunctionsMember Functions

$userPerms

Returns a list of permissions a user has across the server based on their roles.

Usage

$userPerms[userID;separator]
  1. userID - (Optional) default value: $authorID. The ID of a user you want to return permissions from.
  2. separator - (Optional) default value: , . The separator used for creating permission list.

Example

Using $userPerms

How to use $userPerms

Member
9/5/2026
!!exec $userPerms[;/]
Custom Command
APP
9/5/2026
View Channel/Send Messages/Mention Everyone

Cache

This function works on the bot's cache to find members. If the user is not cached, the function will not find them. User will be cached after they trigger any command from this bot, but eventually they will get deleted.
To have all members cached, you will need Tier 5 Bot.

Related Functions: $rolePerms $hasPerms

Function Difficulty: Medium

Tags: Member Permissions User Rights

On this page