Noisebot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Undo revision 14020 by 178.90.204.65 (Talk)) |
||
Line 5: | Line 5: | ||
We're currently in an uptime contest with #nycresistor's bot. | We're currently in an uptime contest with #nycresistor's bot. | ||
== Useful Commands == | |||
02:40 | 02:40 < radii> noisebot, tell ioerror this is a test. | ||
02:40 | 02:40 < noisebot> radii: I'll pass that on when ioerror is around. | ||
13:33 | 13:33 < radii> .twitter crackhead theater, now playing on wiese st | ||
13:33 | 13:33 < noisebot> radii: http://twitter.com/noisebridge/984347090 | ||
16:03 | 16:03 < arcanology> .title http://feeds.gawker.com/~r/gizmodo/full/~3/XEMcKeXXHzQ/lasers-the-only-way-to-carve-a-pumpkin | ||
16:03 | 16:03 < noisebot> arcanology: Lasers: The Only Way to Carve a Pumpkin | ||
; | ;<tt>.wik <term></tt> | ||
:returns the first sentance of the Wikipedia page for | :returns the first sentance of the Wikipedia page for <term>, plus a link to that page. | ||
== Hacking the bot == | == Hacking the bot == |
Revision as of 17:26, 17 November 2010
Noisebot is our irc bot. It occasionally does useful and/or annoying things.
It hangs out in #noisebridge and #nycresistor. You can ask him to tell people things across the two channels.
We're currently in an uptime contest with #nycresistor's bot.
Useful Commands
02:40 < radii> noisebot, tell ioerror this is a test. 02:40 < noisebot> radii: I'll pass that on when ioerror is around.
13:33 < radii> .twitter crackhead theater, now playing on wiese st 13:33 < noisebot> radii: http://twitter.com/noisebridge/984347090
16:03 < arcanology> .title http://feeds.gawker.com/~r/gizmodo/full/~3/XEMcKeXXHzQ/lasers-the-only-way-to-carve-a-pumpkin 16:03 < noisebot> arcanology: Lasers: The Only Way to Carve a Pumpkin
- .wik <term>
- returns the first sentance of the Wikipedia page for <term>, plus a link to that page.
Hacking the bot
His sources are at http://hg.hexapodia.org/phenny/, check out using Mercurial:
% hg clone http://hg.hexapodia.org/phenny/ % cd phenny
Edit the code to do what you want:
% vi modules/foo.py
Check in your code to your local repository, describing the changes in the changelog entry:
% hg commit modules/foo.py
Bundle up the changes for email:
% hg bundle /tmp/foo.hg
and email them to the repository owner to review and merge:
% mutt -a /tmp/foo.hg -s adi@hexapodia.org