diff --git a/app/src/main/java/io/github/w1ll_du/whitelister/Listener.java b/app/src/main/java/io/github/w1ll_du/whitelister/Listener.java index 267c3bf..e1dfd53 100644 --- a/app/src/main/java/io/github/w1ll_du/whitelister/Listener.java +++ b/app/src/main/java/io/github/w1ll_du/whitelister/Listener.java @@ -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; }