diff --git a/src/main/kotlin/me/duncte123/io/Listener.kt b/src/main/kotlin/me/duncte123/io/Listener.kt index b229c3e..0af2f9d 100644 --- a/src/main/kotlin/me/duncte123/io/Listener.kt +++ b/src/main/kotlin/me/duncte123/io/Listener.kt @@ -31,7 +31,11 @@ class Listener : EventListener { private fun onMessageReceived(event: MessageReceivedEvent) { // ALWAYS IGNORE BOTS - if (event.isFromType(ChannelType.PRIVATE) && !event.author.isBot) { + if (event.author.isBot) { + return + } + + if (event.isFromType(ChannelType.PRIVATE)) { event.message .reply("Hey you! Wishlist jock studio now! ") .queue()