DiscordBot icon indicating copy to clipboard operation
DiscordBot copied to clipboard

Multiple permissions?

Open nickfoon opened this issue 10 years ago • 1 comments

Hi, I an trying to make it so that some commands cannot be used by the majority of people. To do this, would I make the permissions.json file look like the following?

{
    "global":{
        "eval" : false,
        "create" : false
    },
    "users":{
        "1234":{
            "eval": true
            "create": true
        }
    }
}

nickfoon avatar Feb 17 '16 21:02 nickfoon

nevermind, I figured it out. Had to add permissions to discord_bot.js

nickfoon avatar Feb 17 '16 22:02 nickfoon