dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.10
abolishme has quit [Remote host closed the connection]
<CM-Punk> Now if I want to check if a user is in a channel...how would I do that?
<catepillar> User.channels.include? channel
<catepillar> channel is a string
<catepillar> User("user").channels.include? channel
<catepillar> ^ is right
<CM-Punk> Awesome
<CM-Punk> That's what I thought it would be
<CM-Punk> Also catepillar I've been meaning to ask you.
<CM-Punk> You said you created a admin handling system.
<CM-Punk> Is it on github?
<catepillar> no, it was very primitive
<CM-Punk> Oh, okay.
<catepillar> and relied on mysql
<catepillar> basically, i just kept a list of authnames in a table
<catepillar> and every time an admin action was called, the bot would check against the table
<CM-Punk> Right, see that's cool
<CM-Punk> Could you add to it remotely without hardcoding it?
<catepillar> also very primitive
<catepillar> well, yea, that's the point of using sql
* CM-Punk nods
<CM-Punk> Cool.
<catepillar> if i were going to do something for release, i would add some kind of groups and maybe level access
<CM-Punk> I'm trying to get people to help with my bot project.
<catepillar> or by-command access
<CM-Punk> That would be awesome catepillar
<catepillar> but i really dont have the time right now
<catepillar> and I haven't added a line of code to my bot in months
<CM-Punk> Yeah I know that feel.
<CM-Punk> Do you know of any YouTube search plugins?
* CM-Punk is not good at coding for websearch
<CM-Punk> XDD
<catepillar> nope, but i am sure there are ruby libraries to help with this
<catepillar> that seems like a decent place to start
<catepillar> you can wrap that into a cinch plugin easily
<CM-Punk> Okay...
DeepBlue has quit [Quit: Konversation terminated!]
Spami has quit [Quit: This computer has gone to sleep]
CM-Punk has quit [Quit: ZNC - http://znc.in]
CM-Punk has joined #cinch
Spami has joined #cinch
DeepBlue has joined #cinch
<CM-Punk> Alright, so I have array set up for the admins of the bot. For certain commands I want the bot to broadcast to everyone in that array that they were used. I'm thinking it should go something like "m.user(check_user).send"
<CM-Punk> Would that be the case?
<CM-Punk> check_user is where the array is.
DeepBlue has quit [Quit: Konversation terminated!]
xeviox|afk is now known as xeviox
DeepBlue has joined #cinch
DeepBlue has quit [Ping timeout: 272 seconds]
DeepBlue has joined #cinch
Azure has quit [Quit: My MBP went to sleep.]
kludge` has quit [Ping timeout: 252 seconds]
kludge` has joined #cinch
rikai has joined #cinch
rikai_ has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
qb has quit [Ping timeout: 246 seconds]
v0n has joined #cinch
Azure has joined #cinch
xeviox is now known as xeviox|afk
qb has joined #cinch
Boohbah has joined #cinch
DeepBlue has quit [Quit: Konversation terminated!]
ckrailo has quit [Ping timeout: 252 seconds]
ckrailo has joined #cinch
Zackio has quit [Read error: Connection reset by peer]
Zackio has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #cinch
cyrusdavid has quit [Ping timeout: 246 seconds]
cyrusdavid has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
postmodern has joined #cinch
Spami has joined #cinch