Closed C0LiSii0N closed 7 years ago
You need to have a permissions section similar to what I have below.
{ "name": "whitelist", "command": "whitelist {ARGS}", "enabled": true, "aliases": [], "permissions": [ "role:owner", "role:302635636870086657", "role:264932313828163595" ] }
So your fix should look like this
"commands": [
{
"name": "online",
"command": "discord online",
"enabled": true,
"aliases": [],
"permissions": ["role:admin"]
}
I hope this helps!
Well, at least it detect when I have the right role, but it still give me the same error when I'm authorized :c
HO! In fact it's working(But I get the error too for some reason)! Thanks!
Base informations
Minecraft version: 1.7.10 DiscordIntegration version: 3.0.1 Link to pastebin with (censored) config: Optional Console error
Command config
When I try to do a custom command on discord(like !online) the command is sent(Also if I dont have the right role it get the same error) but don't get executed, it just send a fatal error on the console :/
Sorry for my english if it's not perfect :/