dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.3.1 | You're being logged at https://irclog.whitequark.org/cinch/
Azure has quit [Read error: Connection reset by peer]
Azure has joined #cinch
_whitelogger has joined #cinch
elisaado has joined #cinch
<elisaado> Hiya, how do I .downcase the message first, before checking what it contains?
<Chew> like
<Chew> just args.downcase!
<Chew> the ! means set whatever args is and downcase it
<elisaado> Yep, but I use `on :message, "lenny" do |m|`
<elisaado> (and I want to match Lenny and LeNNY (and all other combinations) too)
<leftylink> elisaado: ah yeah good q, instead of "lenny" you could use a case-insensitive regex, that would do