Skip to content

Commit

Permalink
Fix: Add more Pablo patterns (#2636)
Browse files Browse the repository at this point in the history
  • Loading branch information
qtlunya authored Oct 1, 2024
1 parent 65ef886 commit 064a8b3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ object PabloHelper {
// )

private val patterns = listOf(
"\\[NPC] Pablo: (?:✆ )?Could you bring me an (?<flower>[\\w ]+).*".toPattern(),
"\\[NPC] Pablo: (?:✆ )?Are you available\\? I desperately need an? (?<flower>[\\w ]+) today\\.".toPattern(),
"\\[NPC] Pablo: (?:✆ )?Bring me that (?<flower>[\\w ]+) as soon as you can!".toPattern(),
"\\[NPC] Pablo: (?:✆ )?Could you bring me an? (?<flower>[\\w ]+)\\?".toPattern(),
"\\[NPC] Pablo: (?:✆ )?I really need an? (?<flower>[\\w ]+) today, do you have one you could spare\\?".toPattern(),
)

private var lastSentMessage = SimpleTimeMark.farPast()
Expand Down

0 comments on commit 064a8b3

Please sign in to comment.