mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 03:04:57 +00:00
Use a different method?
This commit is contained in:
parent
6cccc6ca11
commit
0a74b422a0
1 changed files with 1 additions and 1 deletions
|
@ -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