Running an appendtext command in custom chat posts to global chat #70

Closed
opened 2018-07-21 16:25:33 +00:00 by NorbiPeti · 1 comment
NorbiPeti commented 2018-07-21 16:25:33 +00:00 (Migrated from github.com)

Description: Running a command like /lenny in a connected town/nation chat sends the message to OOC.

Steps to Reproduce:

  1. Have a town chat connected to a Discord channel
  2. Send /lenny on Discord

Result: Message is posted in global chat (OOC)

Expected Result: Message is sent in correct channel to the correct group

**Description:** Running a command like /lenny in a connected town/nation chat sends the message to OOC. **Steps to Reproduce:** 1. Have a town chat connected to a Discord channel 2. Send `/lenny` on Discord **Result:** Message is posted in global chat (OOC) **Expected Result:** Message is sent in correct channel to the correct group
NorbiPeti commented 2018-07-21 23:28:50 +00:00 (Migrated from github.com)

To fix this, we need to get the MC channel info here.

To fix this, we need to get the MC channel info [here](https://github.com/TBMCPlugins/ButtonChat/blob/master/src/main/java/buttondevteam/chat/commands/appendtext/AppendTextCommandBase.java#L33).
Sign in to join this conversation.
No description provided.