dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
_djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
CM-Punk has quit [Remote host closed the connection]
CM-Punk has joined #cinch
djbkd has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
Spami has joined #cinch
djbkd has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
postmodern has joined #cinch
Edelwin has joined #cinch
<Edelwin> hi
<onewheelskyward> hello!
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
<Edelwin> does anyone know how the bot could parse a message begining by "~" to see if it matches a key (defined in an associative array" and return the value?
<Edelwin> like
<Edelwin> ~repo
<Edelwin> and it gives https://repo.blah.org
<onewheelskyward> Yeah, set your prefix
<onewheelskyward> or match /~repo/, use_prefix: false
<onewheelskyward> Err, match /~(\w+)/, use_prefix: false, method: parse_repo
<onewheelskyward> Then your parse_repo parameter will be the matched text from the regex.
<Edelwin> thank you :D
<onewheelskyward> Sure!
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
lagweezle has quit [*.net *.split]
Quintasan has quit [*.net *.split]
Quintasan has joined #cinch
Quintasan has joined #cinch
Quintasan has quit [Changing host]
lagweezle has joined #cinch
lagweezle is now known as Guest54605
Guest54605 is now known as lagweezle
Azure has quit [*.net *.split]
[DS]Matej has quit [*.net *.split]
Azure has joined #cinch
[DS]Matej has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch