Skip to content
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

Strip Minecraft formatting from messages #27

Closed
ChristopherHaws opened this issue Nov 23, 2022 · 3 comments
Closed

Strip Minecraft formatting from messages #27

ChristopherHaws opened this issue Nov 23, 2022 · 3 comments
Labels
bug Something isn't working fixed-in-dev Issue has been fixed, but still needs to be released minor

Comments

@ChristopherHaws
Copy link

It looks like formatting codes do not get stripped from messages before sending to discord. Would it be possible to remove all format codes from the message? Optionally, you could modify the message to support some of the formatting codes (bold, italic, underline) by converting the message to us discords markdown syntax. For now, I would be happy with just stripping everything though if that is too much work. :)

image

@hypherionmc hypherionmc added bug Something isn't working minor labels Nov 24, 2022
@hypherionmc
Copy link
Owner

Hmmm. Looks like I forgot to strip formatting from the names. I forgot mods existed that modifies that....

As for the formatting to discord etc, we do have an open issue for that #5. It will be supported in a future version as soon as I get around to porting the required library. That would support formatting from both Discord -> MC and MC -> Discord

@hypherionmc
Copy link
Owner

Just giving an update here as well...

May or may not be messing with this

image

@hypherionmc hypherionmc added the fixed-in-dev Issue has been fixed, but still needs to be released label Dec 27, 2022
@hypherionmc
Copy link
Owner

Formatting feature was release with 2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed-in-dev Issue has been fixed, but still needs to be released minor
Projects
None yet
Development

No branches or pull requests

2 participants