DiscordSRV

DiscordSRV

86.8k Downloads

Color codes don’t translate even if you have DiscordChatChannelRolesAllowedToUseColorCodesInChat role

akdukaan opened this issue · 2 comments

commented

Expected behavior

If I’m allowed to use colors and I send &6hi on the discord, it’ll send it to MC as an orange hi

Actual behavior

It sends it as &6hi without translating the color codes.

Steps to reproduce

Give yourself a role on Discord that’s allowed to have color. If you’re using the default config, Admin.

Say &6hi in the discord chat

Server software and version

Paper-65 1.18.1, DSRV snapshot from a couple hours ago

Checks

  • I am not using an outdated version of DiscordSRV.
  • I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.

Anything else

Looks to be a bug where it only detects a message as legacy when there a section sign in the message

commented

Can reproduce. This is caused by the way the %message% placeholder is placed into the content, might not be fixed for a while

commented

Can be worked around by using § instead of &.