Eufranio / MagiBridge

A Discord <-> Minecraft chat relay plugin
MIT License
47 stars 27 forks source link

Posting a message in-game containing a single "@" symbol throws an error and the message is not posted in the main Discord channel #211

Closed Caaethil closed 3 years ago

Caaethil commented 3 years ago

Console error: https://pastebin.com/XbyxcsTQ

Only happens with lone @ symbols, so "@ hello" or "hello @ world" would throw this error and not be posted, but "@@@" would be posted. Messages are always posted in the console, this issue is solely with main chat. The issue appears to be that MagiBridge is trying to convert text following the @ symbol into a Discord mention. This could cause problems if someone types something like "I'm @ my base" as shorthand, or if someone just wants to use the symbol so someone on Discord doesn't see the message.

Eufranio commented 3 years ago

Should be fixed on 2.12.