Noisebot

From Noisebridge
(Difference between revisions)
Jump to: navigation, search
m
 
(13 intermediate revisions by 10 users not shown)
Line 1: Line 1:
Noisebot is our irc bot. He occasionally does useful and/or annoying things.
+
:''Not to be confused with [[Noise-Bot|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 ==
 
== Useful Commands ==
  02:40 < radii> noisebot, tell ioerror this is a test.
+
  02:40 < radii> noisebot, note ioerror this is a test.
 
  02:40 < noisebot> radii: I'll pass that on when ioerror is around.
 
  02:40 < noisebot> radii: I'll pass that on when ioerror is around.
  
Line 10: Line 16:
 
  16:03 < arcanology> .title http://feeds.gawker.com/~r/gizmodo/full/~3/XEMcKeXXHzQ/lasers-the-only-way-to-carve-a-pumpkin
 
  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
 
  16:03 < noisebot> arcanology: Lasers: The Only Way to Carve a Pumpkin
 +
 +
;<tt>.wp <term></tt>
 +
:returns the first sentance of the Wikipedia page for <term>, plus a link to that page.
  
 
== Hacking the bot ==
 
== Hacking the bot ==
His sources are at http://hg.hexapodia.org/phenny/, check out using [http://www.selenic.com/mercurial/ Mercurial]:
+
 
  % hg clone http://hg.hexapodia.org/phenny/
+
It's a stock rbot instance, submit patches against [http://ruby-rbot.org/rbot-trac/wiki/ExampleSession rbot].
% cd phenny
+
 
% vi modules/foo.py
+
== Karma ==
  % hg commit modules/foo.py
+
 
 +
To use karma, just say <username>++
 +
To see how much people like you, type .karma <username>
 +
 
 +
= Ponybot =
 +
 
 +
<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.

Latest 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.

Contents

[edit] 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.

[edit] Hacking the bot

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

[edit] Karma

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

[edit] 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.

Personal tools