dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.11
v0n has joined #cinch
waxjar has quit [Ping timeout: 252 seconds]
waxjar has joined #cinch
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
v0n has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
nOgAnOo is now known as nogandoo
nogandoo is now known as nOgAnOo
frdmn has quit [Quit: ssssSSSSssss]
frdmn has joined #cinch
krisbulman is now known as [krisbulman]
xeviox|afk is now known as xeviox
kludge` has quit [Ping timeout: 272 seconds]
kludge` has joined #cinch
[krisbulman] is now known as krisbulman
v0n has joined #cinch
Cysioland has joined #cinch
<
Cysioland>
Hi, guys, where and how to set properly bot user mode?
<
catepillar>
gonna need more information than that
<
catepillar>
what do you mean by "bot user mode"
<
Cysioland>
catepillar, like bot running /mode MyBot +B
<
catepillar>
well that's largely dependent on the server you are using and personal preference
<
Cysioland>
catepillar, ?
<
catepillar>
different servers can and do support different modes
<
catepillar>
some modes are channel specific
<
Cysioland>
catepillar, I know the mode to set, but I don't know, how
<
Cinchy>
[URL] Class: Cinch::Bot — Documentation for cinchrb/cinch (master)
<
Cysioland>
catepillar, but where do I do it? on_connect?
<
catepillar>
that should work
<
Cysioland>
catepillar, it doesn't
<
Cysioland>
def on_connect()
<
Cysioland>
bot.set_mode('+B')
<
Cysioland>
Before it is listen_to :connect,:method=>:on_connect
<
leftylink>
what about in configure, doe that work?
<
catepillar>
you don't need the "+"
<
leftylink>
configure do |c| c.modes = ['B', 'x'] end
<
catepillar>
i never tried it that way, i have mine set up on a connect event
<
Cysioland>
Thanks, leftylink method did the trick
<
dominikh>
it's also the recommended way
Cysioland has left #cinch ["I can't stand you, jerks!"]
<
catepillar>
["I can't stand you, jerks!"]
<
catepillar>
I hope that's just a random quit message
xeviox is now known as xeviox|afk
cout has quit [Ping timeout: 260 seconds]
cout has joined #cinch
seemant has joined #cinch
<
seemant>
hi all, I'm a newbie looking at some newbie issues (apologies in advance):
<
seemant>
how can I have the bot announce its status right after powering up & joining a channel?
<
seemant>
2. is there a guide to packaging up cinch plugins? :)
<
seemant>
thank you
<
dominikh>
2) the same way you create other gems
<
catepillar>
seemant: my solution to 1) has always been to have a listen_to :join
<
catepillar>
and the resulting m.user == m.bot when teh bot first enters the channel
<
seemant>
catepillar: thank you
<
seemant>
catepillar: would the resulting "talk" command be m.channel.send?
<
catepillar>
that would work
<
catepillar>
you should also be able to do m.reply
<
seemant>
catepillar: thank, that worked wonderfully
<
catepillar>
fwiw, Message#reply ends up aliasing to Channel#send or User#send
<
dominikh>
wouldn't call it aliasing, but yeah.
<
dominikh>
actually it's probably just Target#send nowadays? I should check…
<
catepillar>
yea, poor choice of word
<
catepillar>
it splits on "\n"
<
dominikh>
for the prefixing bit, yeah
<
dominikh>
forgot we have the prefix thing in there
<
catepillar>
i always just added prefixes myself
<
catepillar>
wasn't terribly difficult
<
catepillar>
i have found when i need something
<
catepillar>
i don't look at the rdocs anymore
<
catepillar>
i just go looking at the code
<
catepillar>
no fault of rdoc, but the code shows me everything
krisbulman is now known as [krisbulman]
postmodern has joined #cinch
cout has quit [Ping timeout: 260 seconds]
cout has joined #cinch
nOgAnOo is now known as me
me is now known as Guest66919
Guest66919 is now known as nOgAnOo
v0n has quit [Ping timeout: 260 seconds]
Zackio has quit [Ping timeout: 272 seconds]
Zackio has joined #cinch
Azure has quit [Read error: Connection reset by peer]
Azure has joined #cinch
v0n has joined #cinch