Skip to content

Commit

Permalink
Merge pull request #11 from ygbourhis/fixed_ygbot
Browse files Browse the repository at this point in the history
Fixed regex
  • Loading branch information
Gentux committed Jun 10, 2015
2 parents 7b8fbeb + 49c398e commit 49efa06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bots.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func handleMessageYgbot(conn *irc.Conn, line *irc.Line) {
"t'ain d'clavire!",
}

openstackRegexp, _ := regexp.Compile("openstack|réseau|network|bug")
openstackRegexp, _ := regexp.Compile("javascript|JavaScript|bug|git")
technicalPoint := openstackRegexp.FindString(line.Text())
randomLine := rand.Intn(30)

Expand Down

0 comments on commit 49efa06

Please sign in to comment.