-
Notifications
You must be signed in to change notification settings - Fork 43
Additional Custom Commands don't work [1.12.2-3.0.5] #166
Comments
Suggestion received via DM Allow the mod to be completely configurable in-game as well.
Having this type of functionality removes the issues caused by editing json by hand and it allows you to tell everyone that fails at hand editing to use the internal method. |
Have you tried setting the permission to the |
Did you look at my paste to see if there was a glaring issue with my json syntax in regards to the mod? |
Ok, the issue is when you try to use a named role like "role:staff" that doesn't work, but if you use the id of the role ie "role:0000000000000" that works. Also the bot needs a way to expose the roleid of a role such that if issue maybe !roleid staff with spaces it would return 000000000000000. Because the method for Discord to reveal roleid's is not perfect. I use the tool from DiscordChat by ShadowFactsMC to reveal the roleid. That's also an open source and open licensed project, you could grab that code and then your mod is like totally awesome. |
Okay, good to know the cause behind the issue. Thanks for checking that. I was about to suggest the built-in |
You can get the ID of the role This is less a DiscordIntegration bug but more a thing missing in the documentation (plus, a missing discord feature). |
Markus the method you describe for getting a discord role id does not work
if the discord role is composed of more than one word with spaces between
those words.
…On Tue, Oct 30, 2018 at 4:27 AM Markus ***@***.***> wrote:
Closed #166 <#166>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#166 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADs0iJpyN_K_FExEfKwJp-e5rQ8FoEwuks5uqBuKgaJpZM4W4220>
.
|
Base informations
Minecraft version:
1.12.2-14.23.4.2760
DiscordIntegration version:
1.12.2-3.0.5
Server type and version: Forge/Spigot/Sponge
Forge 1.12.2-14.23.4.2760
Link to pastebin with (censored) config: Optional
https://pastebin.com/BxiHiesH
Expected behavior
new custom commands to work
Actual behavior
The demo provided commands discord, tps, online, list all work as intended. But the other ones I added do not and are completely ignored.
Steps to reproduce
Install version 3.0.5 and add your own commands to it.
Also use Forge build 2760
The text was updated successfully, but these errors were encountered: