mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:14:57 +00:00
Use readable message content for the discord bridge
This commit is contained in:
parent
1f3a900e61
commit
52f293a175
1 changed files with 1 additions and 1 deletions
|
@ -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