diff --git a/FredBoat/src/main/java/fredboat/event/EventListenerBoat.java b/FredBoat/src/main/java/fredboat/event/EventListenerBoat.java index 771df399a..4709a0b02 100644 --- a/FredBoat/src/main/java/fredboat/event/EventListenerBoat.java +++ b/FredBoat/src/main/java/fredboat/event/EventListenerBoat.java @@ -251,7 +251,7 @@ public void onPrivateMessageReceived(PrivateMessageReceivedEvent event) { } //quick n dirty bot admin / owner check - if (appConfig.getAdminIds().contains(event.getAuthor().getId()) + if (appConfig.getAdminIds().contains(event.getAuthor().getIdLong()) || DiscordUtil.getOwnerId(event.getJDA()) == event.getAuthor().getIdLong()) { //hack in / hardcode some commands; this is not meant to look clean