Skip to content

$userPerms

$userPerms will return a user’s permission of a specific guild.

Usage

$userPerms[userID?;sep?;guildID?]

Parameters

FieldTypeDescriptionRequired
userID?numberThe user ID.false
sep?stringSeparator to separate multiple returned values.false
guildID?numberThe guild ID.false

Example(s)

This will return your permissions:

1
client.command({
2
name: "userPerms",
3
code: `
4
$userPerms[$authorID;, ;$guildID]
5
`
6
});