MiraWaNeko / DiscordIntegration

Communicate between Minecraft and Discord
https://discordintegration.net
GNU Affero General Public License v3.0
88 stars 43 forks source link

Still having issues with custom commands that use arguments #75

Closed jc2xs closed 7 years ago

jc2xs commented 7 years ago

Minecraft version: 1.12.1 Pack is ATM3 DiscordIntegration version: 3.0.1 Config: https://pastebin.com/qPKZnDj6

I'm sure I'm just missing something in the config. But I can't get the whitelist command to work. The other command like tps and online work fine. But those are open to everyone and don't use args. So I'm not sure if this issue is with the permissions or that I've got something wrong in the args/command string.

I've also tried changing some of the role to IDs like this { "name": "whitelist", "command": "whitelist %args%", "enabled": true, "aliases": [], "permissions": [ "role:owner", "role:302635636870086657", "role:264932313828163595" ] }

grandrolf commented 7 years ago

Change: "command": "whitelist %args%", to "command": "whitelist {ARGS}",

And see if that works for you

jc2xs commented 7 years ago

Thank you @grandrolf that worked! Very Cool!