Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 260b1a2

Browse files
Update MessageListener.kt (#140)
1 parent aee4928 commit 260b1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/yogstation/yogbot/listeners/MessageListener.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class MessageListener(
2828
val content: String = event.message.content
2929
if (event.message.author.isEmpty) return responses
3030

31-
if (content.contains("snail", ignoreCase = true) && content.contains("when", ignoreCase = true))
31+
if (content.contains("new pr:", ignoreCase = true))
3232
responses = responses.and(DiscordUtil.reply(event, "When you code it"))
3333

3434
val jesterRole = Snowflake.of(discordConfig.jesterRole)

0 commit comments

Comments
 (0)