Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bug 3
- if you can run a command without the proper permissions, you can do so with
- Prevent "$onlyPerms" use them for this
- $onlyPerms[permission;error message]
- under "Permission" you must specify the permissions that are required here is a list of all permissions
- https://nilpointer-software.github.io/bdfd-wiki/resources/permissions.html
- bow 4
- For example, if your bot has a ban command but doesn't have the ban permissions, you can set one here
- insert any error message
- $onlyNotPerms[permission;errormessage]
- under "Permission" you must specify the permissions that are required here is a list of all permissions
- https://nilpointer-software.github.io/bdfd-wiki/resources/permissions.html
- bug 5
- For example, if your bot is running a slowmode command, it needs the "Manage Channel" permissions,
- for this we recommend the use of
- $onlyBotChannelPerms[channelid;permission;errormessage]
- A better code is :
- $onlyBotChannelPerms[$channelID;permission;errormessage]
- the $channelID ensures that the bot checks the channel in which the command is executed
- bug 6
- If you have a clear command but want to specify a number of messages use them
- $argsChek[>1;error message]
- If you change the >1 to >2, you have to execute the command like this:" !clear 10 10" so 2 different entries.
- You can also use " $argsChek[1;errormessage] to force the user to use exactly one of the commands
- would then look like this: "!clear 10"
Advertisement
Add Comment
Please, Sign In to add comment