Noisebot: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
mNo edit summary
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
:''Not to be confused with [[Noise-Bot|MC Hawking]].''
Noisebot is our irc bot. It occasionally does useful and/or annoying things.
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.
It hangs out in #noisebridge and #nycresistor.  You can ask it to tell people things across the two channels.


We're currently in an uptime contest with #nycresistor's bot.
We're currently in an uptime contest with #nycresistor's bot.


>== Useful Commands ==
== Useful Commands ==
  02:40 < radii> noisebot, tell ioerror this is a test.
  02:40 < radii> noisebot, note ioerror this is a test.
  02:40 &lt; noisebot&gt; radii: I'll pass that on when ioerror is around.
  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


13:33 &lt; radii&gt; .twitter crackhead theater, now playing on wiese st
;<tt>.wp <term></tt>
13:33 &lt; noisebot&gt; radii: http://twitter.com/noisebridge/984347090
:returns the first sentance of the Wikipedia page for <term>, plus a link to that page.


16:03 &lt; arcanology&gt; .title http://feeds.gawker.com/~r/gizmodo/full/~3/XEMcKeXXHzQ/lasers-the-only-way-to-carve-a-pumpkin
== Hacking the bot ==
16:03 &lt; noisebot&gt; arcanology: Lasers: The Only Way to Carve a Pumpkin


;&lt;tt&gt;.wik &lt;term&gt;&lt;/tt&gt;
It's a stock rbot instance, submit patches against [http://ruby-rbot.org/rbot-trac/wiki/ExampleSession rbot].
:returns the first sentance of the Wikipedia page for &lt;term&gt;, plus a link to that page.


----
== Karma ==  
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://ynecowamoh.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
----
=[http://ynecowamoh.co.cc CLICK HERE]=
----
</div>


== Hacking the bot ==
To use karma, just say <username>++
His sources are at http://hg.hexapodia.org/phenny/, check out using [http://www.selenic.com/mercurial/ Mercurial]:
To see how much people like you, type .karma <username>
% hg clone http://hg.hexapodia.org/phenny/
 
  % cd phenny
= Ponybot =
Edit the code to do what you want:
 
  % vi modules/foo.py
<tt>ponybot</tt> is a rbot running as <tt>ponybot</tt> on <tt>pony.noisebridge.net</tt>.  The plugins and so on (but '''not''' the config.yaml, since it contains passwords) are checked into git and available at https://github.com/radii/noisebot/ for your hacking pleasurePlease send pull requests! In fact, please make a module so that ponybot can update itself based on IRC requests from registered users.
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

Revision as of 23:11, 17 July 2012

Not to be confused with MC Hawking.

Noisebot is our irc bot. It occasionally does useful and/or annoying things.

It hangs out in #noisebridge and #nycresistor. You can ask it 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, note 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
.wp <term>
returns the first sentance of the Wikipedia page for <term>, plus a link to that page.

Hacking the bot

It's a stock rbot instance, submit patches against rbot.

Karma

To use karma, just say <username>++ To see how much people like you, type .karma <username>

Ponybot

ponybot is a rbot running as ponybot on pony.noisebridge.net. The plugins and so on (but not the config.yaml, since it contains passwords) are checked into git and available at https://github.com/radii/noisebot/ for your hacking pleasure. Please send pull requests! In fact, please make a module so that ponybot can update itself based on IRC requests from registered users.