dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
djbkd has quit [Remote host closed the connection]
sarkyniin has quit [Quit: Quitte]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
jackdempsey has joined #cinch
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
djbkd has quit [Ping timeout: 260 seconds]
djbkd has joined #cinch
djbkd has quit [Ping timeout: 240 seconds]
jackdempsey has quit [Ping timeout: 260 seconds]
djbkd has joined #cinch
djbkd has quit [Ping timeout: 240 seconds]
sarkyniin has joined #cinch
djbkd has joined #cinch
djbkd has quit [Ping timeout: 240 seconds]
kith has quit [Quit: kith]
kith has joined #cinch
djbkd has joined #cinch
<TieSoul> so, I need to use sprunge for my bot
<TieSoul> And I'm using HTTParty
<TieSoul> but HTTParty.post('http://sprunge.us', {'sprunge' => 'Hello'}) doesn't work
<TieSoul> it gives me a link to an empty sprunge
<TieSoul> so what am I doing wrong?
djbkd has quit [Ping timeout: 250 seconds]
<TieSoul> nevermind
TieSoul_ has joined #cinch
TieSoul has quit [Read error: Connection reset by peer]
onewheelskyward has quit [Ping timeout: 260 seconds]
Zackio has quit [Ping timeout: 260 seconds]
Rylee has quit [Ping timeout: 260 seconds]
skybotalpha has quit [Ping timeout: 260 seconds]
mpapis has quit [Ping timeout: 260 seconds]
onewheelskyward has joined #cinch
Rylee_ has joined #cinch
skybotalpha has joined #cinch
mpapis has joined #cinch
Zackio has joined #cinch
<IotaSpencer> what exactly is the deal with the :group part of match, if I were to make a command that given a certain !command (???) would I be able to give it the same function, but where does group come into play
<waxjar> if i have two matches that have the same pattern, but don't want to run both i can put them in a group
<waxjar> so only the first one will run
<IotaSpencer> I see
TieSoul_ is now known as TieSoul
onewheelskyward has quit [Ping timeout: 260 seconds]
skybotalpha has quit [Ping timeout: 260 seconds]
onewheelskyward has joined #cinch
skybotalpha has joined #cinch
djbkd has joined #cinch
djbkd has quit [Ping timeout: 246 seconds]
<sarkyniin> hey
<sarkyniin> is it even possible to initialize a thread with a cinch function in a class?
<sarkyniin> I tried @pffthread = Thread.new {sleep 15; m.reply("... pff")}
<sarkyniin> [2014/08/25 16:40:13.122] !! /home/apt-get/ASBot/plugins/no-plugin.rb:9:in `block in initialize': undefined method `reply' for #<Bot nick="ASBot"> (NoMethodError)
<sarkyniin> but this is what I get
<sarkyniin> anyone?
<dominikh> showing a single line of code is useless
<dominikh> your "m" is the instance of Bot.
<dominikh> that gets passed to a plugin's initialize (which, by the way, is lacking the second *args argument)
<dominikh> plugins get initialized once, when the bot starts.
<dominikh> not for each message.
<sarkyniin> ohokay
<sarkyniin> is this any better
djbkd has joined #cinch
<sarkyniin> uh, is it possible for the bot
<sarkyniin> to check its own rank
<sarkyniin> in the room
<TieSoul> https://gist.github.com/TieSoul/06fe15a20084430a8d12 < I made this bot today :D
<TieSoul> and yesterday
<TieSoul> It's in #cinch-bots
<sarkyniin> hm.
<sarkyniin> Is there a function that returns the bot's name?
<lagweezle> Yes, but I'm failing to recall what it is presently.
<lagweezle> I want to say 'bot.name'
<TieSoul> bot.nick?
<lagweezle> Hm. That is probably it.
djbkd has quit [Remote host closed the connection]
Thanatermesis has joined #cinch
<Thanatermesis> it is normal that a line that contains "timer 15, mehotd: :poll_reminders" blocks all the other plugins ?
djbkd has joined #cinch
<sarkyniin> nah, lagweezle
<sarkyniin> [2014/08/25 21:29:49.238] !! /home/apt-get/ASBot/plugins/markov-plugin.rb:40:in `useline': undefined method `nick' for #<Cinch::Message:0x00000003a2fa00> (NoMethodError)
<dominikh> he said bot, not message.
<dominikh> messages rarely have nicks…
<sarkyniin> oh wait
<sarkyniin> shit
TieSoul has quit [Ping timeout: 255 seconds]
TieSoul has joined #cinch
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
jackdempsey has joined #cinch
djbkd has joined #cinch
<sarkyniin> how do I get the list of the chan's auth?
<catepillar> the authenticated users on a channel?
<sarkyniin> yeah
<sarkyniin> wait
<sarkyniin> yeah, how can I do that?
<sarkyniin> oh nvm
<sarkyniin> figured it out
<sarkyniin> def self.auth?(m, user)
<sarkyniin> return Channel.voiced?(m.user.nick) || Channel.half_opped?(m.user.nick) || Channel.opped?(m.user.nick)
<sarkyniin> end
kith_ has joined #cinch
kith has quit [Ping timeout: 249 seconds]
TieSoul has quit [Ping timeout: 255 seconds]
TieSoul has joined #cinch
thews has quit [Read error: Connection reset by peer]
thews_ has joined #cinch
apt-get_ has joined #cinch
sarkyniin has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
postmodern has joined #cinch
jackdempsey has quit [Ping timeout: 240 seconds]
apt-get_ has quit [Quit: Quitte]