Skip to content

Commit

Permalink
Update Listener.java
Browse files Browse the repository at this point in the history
  • Loading branch information
W1llDu authored Dec 7, 2021
1 parent f91ab44 commit 6ec1d85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/io/github/w1ll_du/whitelister/Listener.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ public void onGuildMessageReceived(@NotNull GuildMessageReceivedEvent event) {
if (event.getAuthor().getId().equals(conf.get("fdlink_bot_id"))) {
fdLinkHandler.handle(event, playerMap, conf);
}
if (event.getChannel().getId().equals(conf.get("changelog_channel_id))
&& ! event.getAuthor.getId().equals(owner_id)) {
// TODO: only allow java and filter out bedrock
}
if (event.getAuthor().isBot()) {
return;
}
Expand Down

0 comments on commit 6ec1d85

Please sign in to comment.