mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-10-31 22:49:21 +00:00
Use readable message content for the discord bridge
This commit is contained in:
parent
1f3a900e61
commit
52f293a175
|
@ -38,7 +38,7 @@ public class DiscordBridge {
|
|||
isAdmin = message.getChannel().getIdAsString().equalsIgnoreCase(ADMIN_CHANNEL.getIdAsString());
|
||||
} catch (Exception ignored) {}
|
||||
|
||||
String content = message.getMessageContent();
|
||||
String content = message.getReadableMessageContent();
|
||||
String prefix = MainConfig.getString(ConfigurationEntry.DISCORD_PREFIX);
|
||||
MessageAuthor author = message.getMessage().getAuthor();
|
||||
|
||||
|
|
Loading…
Reference in a new issue