mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-05-15 00:41:18 +00:00
Use a different method?
This commit is contained in:
parent
3ba470d580
commit
a099863291
|
@ -38,7 +38,7 @@ public class DiscordBridge {
|
||||||
isAdmin = message.getChannel().getIdAsString().equalsIgnoreCase(ADMIN_CHANNEL.getIdAsString());
|
isAdmin = message.getChannel().getIdAsString().equalsIgnoreCase(ADMIN_CHANNEL.getIdAsString());
|
||||||
} catch (Exception ignored) {}
|
} catch (Exception ignored) {}
|
||||||
|
|
||||||
String content = message.getReadableMessageContent();
|
String content = message.getMessage().getReadableContent();
|
||||||
String prefix = MainConfig.getString(ConfigurationEntry.DISCORD_PREFIX);
|
String prefix = MainConfig.getString(ConfigurationEntry.DISCORD_PREFIX);
|
||||||
MessageAuthor author = message.getMessage().getAuthor();
|
MessageAuthor author = message.getMessage().getAuthor();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue