dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.6
Azure|dc has quit [Ping timeout: 240 seconds]
Azure has joined #cinch
Azure has quit [Max SendQ exceeded]
Azure has joined #cinch
Rickmasta has joined #cinch
Rickmasta has quit [Ping timeout: 256 seconds]
Rickmasta has joined #cinch
_whitelogger has joined #cinch
iamayam has quit [Ping timeout: 250 seconds]
iamayam has joined #cinch
postmodern has quit [Quit: Leaving]
apt-get has joined #cinch
legit has quit [Quit: WeeChat 1.2-dev]
legit has joined #cinch
eebs has joined #cinch
apt-get has quit [Read error: No route to host]
apt-get_ has joined #cinch
greenbigfrog has joined #cinch
<greenbigfrog> Hi
<greenbigfrog> I'm getting undefined method `match' and I have no Idea how to fix it... Anyone got any ideas?
<leftylink> greenbigfrog: because you haven't included Cinch::Plugin
<dominikh> include Cinch::Plugin, singular
<greenbigfrog> OMG... so easy
<greenbigfrog> ty
<greenbigfrog> if I have a few triggers like f.e. !twitter (link) and !music (link) is it then better to put it in two plugins or one?
<greenbigfrog> dominikh:
<dominikh> those would normally be two plugins.
<dominikh> unless you have a valid reason for grouping them together.
<greenbigfrog> regarding startup time and needed resources?
<dominikh> that's neither a valid reason, nor a reason at all. unless you care about microseconds and bytes
<greenbigfrog> ok
<greenbigfrog> thanks
<greenbigfrog> dominikh: do you have a gitlab account and can take a look at some code?
<greenbigfrog> I'm having the issue that some matches get triggered 2 times and I don't know why and can't find anything?
<dominikh> I'm tne author of Cinch, have fun looking at my code :)
<greenbigfrog> the repo is private that's why I was asking...
<dominikh> what repo.
<dominikh> and why would it be on gitlab.
<greenbigfrog> because gitlab offers free private repos
<greenbigfrog> you didn't get the point but ok...
<greenbigfrog> If I trigger !topstreamers it replies twice
<dominikh> no, I didn't get the point because I parsed your question wrong
<leftylink> greenbigfrog: because you triggered top and topstreamers
<dominikh> but leftylink is right
<greenbigfrog> ok
<greenbigfrog> thanks
<greenbigfrog> what was the fix of that again?
<dominikh> for one, /ts/ will even match "!tsfoobar" – there's no default $
<dominikh> easiest there would be to use strings, not regexps. match "topstreamers"; match "ts" and so on
<dominikh> that will have an automatic $ anchor
<dominikh> (also, wrt "can you look at some code": since you should always provide the minimal example that reproduces the issue, like you eventually did, there should be no reason for us to look at code that can't be made public)
<greenbigfrog> ok... sorry
<greenbigfrog> thanks!
<greenbigfrog> Twitch "IRC" servers don't allow to join two channels at once... Can I delay the second join somehow?
<greenbigfrog> dominikh:
<greenbigfrog> leftylink: ping
<dominikh> "at once"? what's their definition of "at once" that joining one after the other (which is what Cinch does) doesn't work.
<leftylink> greenbigfrog: I can't respond to pings if you don't put why I'm being pinged on the same line as the ping
<greenbigfrog> ok
<dominikh> http://sprunge.us/hdYR untested code, have fun. also realize early on that Twitch's chat is the ugly step-sister of IRC. with no teeth. and only one working kidney.
<legit> twitch chat is a playground for 4chans brigades
<greenbigfrog> It only does join one channel
<legit> 4chan*
<greenbigfrog> dominikh: ok...
<greenbigfrog> but maybe we can get it working without the need of using a plugin...
<dominikh> greenbigfrog: eh, show your code please
<dominikh> the c.channels setting, in particular
<greenbigfrog> dominikh: ping
<dominikh> for starters you could set that value correctly.
<dominikh> c.channels = ['#first', '#second']
<legit> greenbigfrog, if you don't mind me asking, what does the Twitter plug-in do?
<greenbigfrog> post a link
<legit> Oh, ok.
<greenbigfrog> dominikh: that could be a good idea...
<greenbigfrog> now it's working...
<greenbigfrog> good night everybody... no one will disturb you with any questions anymore...
eebs has quit [Ping timeout: 272 seconds]
apt-get_ has quit [Ping timeout: 244 seconds]
eebs has joined #cinch
head8debian has quit [Ping timeout: 265 seconds]
eebs has quit [Quit: Leaving.]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
postmodern has joined #cinch
head8debian has joined #cinch
head8debian has joined #cinch