Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- With $onlyPerms you can lock commands similar to $onlyAdmin for certain permissions,
- this is useful if, for example, a command is not bad (such as a clear command) you don't use $onlyAdmin but $onlyperms.
- If you want it very easy and you only have the bot for a certain server you can also use $onlyForRoleID[RollenID;Errormessage].
- anyway as an example here we take the clear command
- triggers : !clear
- $onlyperms[managemessages;You must have "Manage Messages" permissions to do this]
- $clear[$nomentionMessage]
- _______________________________________________
- You can also here (https://nilpointer-software.github.io/bdfd-wiki/resources/permissions.html)
- View all permissions.
Advertisement
Add Comment
Please, Sign In to add comment