New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] Discord integration does not respect different channel configs #163

Open
Norway174 opened this Issue Sep 9, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@Norway174
Copy link

Norway174 commented Sep 9, 2018

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.

@Godvil

This comment has been minimized.

Copy link

Godvil commented Nov 18, 2018

Same Issue here! Please fix.

@Rarcie

This comment has been minimized.

Copy link

Rarcie commented Nov 21, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment