EssentialsX

EssentialsX

2M Downloads

Discord command /list displays the same string as in-game command /list

takatalvi opened this issue ยท 0 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=c8fac8c076a240eb871a9887a9182297

Error log (if applicable)

No response

Bug description

On the current dev version of EssX, when running the Discord /list command from a server chat channel, the command outputs the same full string as the in-game /list command. It corresponds to the listAmount string, along with listGroupTag, listAfkTag, etc. It also displays all the formatting tags as shown below. In my example, I use some RGB color codes which are shown in Discord, while they shouldn't be.

In-game:
image

On DIscord:
image

Steps to reproduce

  1. Install EssX with the Discord module
  2. Run the /list command from the connected primary channel

Expected behaviour

The Discord bot should display a different message, one without any MiniMessage tags. Ideally, it would be configurable as a separate string where Discord tags could be used instead. If not, it could at least be plain text.

Actual behaviour

The command displays the full string, including MM formatting tags.