MiraWaNeko / DiscordIntegration

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

[Feature Request][Question] Configuring which types of messages get sent to which channel #159

Open Mobster112 opened 6 years ago

Mobster112 commented 6 years ago

Currently we can only configure which types of messages (achievement, server start, etc.) are sent to Discord depending on which dimension they happen in.

I suggest adding the ability to define specific settings for each channel in "minecraft":"dimensions" like in "discord":"channels". Exempli gratia:

"minecraft": { "dimensions": { "generic": { "discordChannel": { "1234567890" : { "relayAchievements": false, "relayChat": true, "relayCommands": false, ...

xunto commented 5 years ago

Yeah, really need it too.

MiraWaNeko commented 5 years ago

All the relayX (such as relayChat, relayCommands) takes a boolean value to enable it/disable it or an array of channel IDs.

"relayChat": true

Means all chat messages are relayed to the configured Discord channels.

"relayChat": true

Means all chat messages are not relayed.

"relayChat": [1234567890, 123456891]

Means all chat messages are relayed to those two Discord channels.

Shadow-Night-Black commented 5 years ago

relaySayCommand does not seem to take an array? (I get config error on trying to give it an array of channel names)