<audy>
I want to write a bot that sends me a message when a file is changed without me having to give a command. Is there a way to do this with cinch?
<dominikh>
sure.
<dominikh>
your_bot.User("your_nick").send("your message") from whereever you are detecting the file change, for example
<audy>
dominikh and run this in a separate thread?
<dominikh>
yea
<audy>
dominikh okay thanks
flexd has joined #cinch
audy has left #cinch ["something went wrong"]
v0n has quit [Ping timeout: 252 seconds]
V8Energy has quit [Ping timeout: 256 seconds]
jhaals has joined #cinch
jhaals has quit []
V8Energy has joined #cinch
jhaals has joined #cinch
kith has quit [Read error: Connection reset by peer]
kith has joined #cinch
jhaals has quit [Ping timeout: 244 seconds]
jhaals has joined #cinch
yield_ has quit [Quit: leaving]
postmodern has quit [Read error: Operation timed out]
txdv has quit [Read error: Operation timed out]
nickrw has quit [Quit: leaving]
nickrw has joined #cinch
V8Energy has quit [Ping timeout: 276 seconds]
catepillar has joined #cinch
v0n has joined #cinch
_whitelogger has joined #cinch
v0n has quit [Ping timeout: 255 seconds]
bean__ has joined #cinch
v0n has joined #cinch
rsantos has joined #cinch
rsantos is now known as romulobr
<romulobr>
hi guys, I'm new to cinch, and want to add help functionality to a bot. can you point me to some docs that would help? Maybe some example?
<waxjar>
you can set a plugin name with set :plugin_name and set a help message with set :help, 'help string here', it'll automatically display when you call !help <plugin_name>
<romulobr>
thanks a lot!
<romulobr>
is there a way to show a default message, to be displayed when someone call just !help ?
<dominikh>
add a match for the help command
<waxjar>
no that i know of. i just did a simple on '!help' match that links to a web page
<waxjar>
*not
<romulobr>
ok waxjar thanks again, you were very helpful.
<waxjar>
yw :)
<romulobr>
another quick question, I just got banned from a server while testing my bot (too many disconnects), do you know a good place to test it without getting into trouble?
<dominikh>
freenode is relatively lax about reconnects. other options are setting up your own server or putting the bot behind a bouncer/proxy
<romulobr>
ok, thank you again.
<romulobr>
waxjar: do I need to set anything else to enable this help feature?
<waxjar>
it does it all automatically as far as i know
<dominikh>
it's automatic.
<romulobr>
ok, thanks again guys… it's not working here for some reason, I'll try to figure it out.
<romulobr>
this plugin is working correctly, but the help text is not being shown
<dominikh>
how are you trying to invoke the help?
<romulobr>
I'm calling !help ssl
<romulobr>
on the channel
<dominikh>
actually, the help command inherits the plugin's prefix
<dominikh>
so in this case it'd be a very awkward !ssl help ssl
<romulobr>
Thank you again! You are very helpful! It worked like a charm.
<romulobr>
I'm building an help index plugin and thinking if there's a way to get the list of available plugin_names, do you guys know hot to get that list? I can see a class called PluginList on the docs but the doc page is empty.
<dominikh>
god rubydoc.info is starting to really piss me off