[Issue] Discord integration does not respect different channel configs
Norway174 opened this issue ยท 2 comments
Base informations
Minecraft version:
1.12.2
DiscordIntegration version:
3.0.5
Server type and version: Forge/Spigot/Sponge
Forge 14.23.4.2760
Link to pastebin with (censored) config: Optional
JSON: https://jsonformatter.org/json-parser/7a16d0
RAW: https://pastebin.com/EhR7DeBR
Expected behavior
Only accept commands in <channel ID: Two>
. And not relay the chat.
Only relay the chat in <channel ID: One>
. And ignore commands.
Actual behavior
The command added in <channel ID: Two>
can be executed from <channel ID: One>
. Even though <channel ID: One>
has no commands defined.
<channel ID: Two>
will not execute any commands while "relayChat": false
, despite "canExecuteCommands": true
.
<channel ID: One>
can also still execute commands with "canExecuteCommands": false
.
I can make <channel ID: Two>
execute commands by setting "relayChat": true
. But that will also relay the chat to Minecraft.
Steps to reproduce
Use the supplied config. Replace all the required fields.
<secret>
= Bot Token.
<channel ID: One>
= Discord channel ID to the first channel. The one you want to have public, and talk back and forth from the server.
<channel ID: Two>
= The second discord channel. For admins & bots only. Used to execute commands on the server.
All of the custom messages aren't working for me.
For example, a user dying would make the bot say "{USER} just died due to {REASON}!" despite me changing that message.