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>
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