Use a different method?

This commit is contained in:
Business Goose 2022-03-29 23:25:33 +01:00
parent 6cccc6ca11
commit 0a74b422a0
No known key found for this signature in database
GPG key ID: 77DCA801362E9645

View file

@ -38,7 +38,7 @@ public class DiscordBridge {
isAdmin = message.getChannel().getIdAsString().equalsIgnoreCase(ADMIN_CHANNEL.getIdAsString());
} catch (Exception ignored) {}
String content = message.getReadableMessageContent();
String content = message.getMessage().getReadableContent();
String prefix = MainConfig.getString(ConfigurationEntry.DISCORD_PREFIX);
MessageAuthor author = message.getMessage().getAuthor();