$userPerms
$userPerms
will return a user’s permission of a specific guild.
Usage
$userPerms[userID?;sep?;guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
userID? | number | The user ID. | false |
sep? | string | Separator to separate multiple returned values. | false |
guildID? | number | The guild ID. | false |
Example(s)
This will return your permissions:
1client.command({2 name: "userPerms",3 code: `4 $userPerms[$authorID;, ;$guildID]5 `6});