<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><font face="Helvetica, Arial,
sans-serif">Totally <3 the names Patrick.<br>
<br>
While waiting on feedback for the name I went ahead and named it
borgbot, because like the borg, it assimilated the other bots
I'd written. If anyone has a very passionate name preference,
send a pull request to <a
href="https://github.com/dfwperl/dfwbot">the git repo</a>.The
result is a bot that takes very easy-to-make plugins, which are
defined in borgbot.yml along with some other settings. So you
actually just have to create a Moose role in module and list it
in the config file. That's easy.<br>
<br>
When borgbot runs it sucks in each listed role, and applies it
to itself. All that is required of the plugin writer is to
follow an example format which defines the added commands that
the plugin provides, lists any aliases to which the core
command(s) of the plugin will also answer, and then one or more
subroutines. The subroutine names in the plugin then become the
names of new commands that borgbot supports.<br>
<br>
So if you write a plugin and it has a subroutine named
"text_john_cellphone", then in the IRC channel you would type "<b>borg
text_john_cellphone</b> Hi J don't forget to pick up milk!"<br>
<br>
Thanks to code reuse, borgbot is still only 58 lines long. The
plugins aren't much longer.<br>
<br>
Here's what it looks like to run borgbot:<br>
<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif"><img
src="cid:part2.04070304.08020709@internetalias.net" alt=""><br>
</font></blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
Here's what it looks like to talk to borgbot (join
irc.perl.org#bot-test if you want to talk to the borg)<br>
<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif"><img
src="cid:part3.06030403.05040504@internetalias.net" alt=""><br>
</font></blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
This is how hard it is to write a plugin (see the 3 introductory
ones up on github for documented examples):<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif"><img
src="cid:part4.04090305.00090508@internetalias.net" alt=""><br>
<br>
</font></blockquote>
<font face="Helvetica, Arial, sans-serif">...And <a
href="https://github.com/dfwperl/dfwbot">it's on github.</a><br>
<br>
--Tommy Butler<br>
<br>
On 10/29/2013 02:42 PM, John Fields wrote:<br>
</font></div>
<blockquote
cite="mid:CAL-G4Shy6rMta8tPzUwspoMzTX5a1NAPiNjUFv20o4xeYjnUcA@mail.gmail.com"
type="cite">
<p dir="ltr"><font face="Helvetica, Arial, sans-serif">CamelBot
"did you mean Camelot?"<br>
@camel_bot is on twitter in Japan</font></p>
<p dir="ltr"><font face="Helvetica, Arial, sans-serif">Plugbot =
"an IRC bot written in c++, extendible via plugins in
Lua/c++..."</font></p>
<p dir="ltr"><font face="Helvetica, Arial, sans-serif">Anybots.com
makes the anybot robots.</font></p>
<p dir="ltr"><font face="Helvetica, Arial, sans-serif">5 points to
PM for his naming acumen. At work, but I thought I would share
my break time.. :)</font></p>
<div class="gmail_quote"><font face="Helvetica, Arial, sans-serif">On
Oct 29, 2013 2:30 PM, "Patrick R. Michaud" <<a
moz-do-not-send="true" href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>>
wrote:<br type="attribution">
</font>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><font
face="Helvetica, Arial, sans-serif">
On Tue, Oct 29, 2013 at 10:08:23AM -0500, Tommy Butler
wrote:<br>
> Omnibot? Rosie? I'm talking about an IRC bot that
accepts as many<br>
> plugins as you want to add. /*What would you call
it?*/<br>
</font>
<font face="Helvetica, Arial, sans-serif"><br>
Off the top of my head, and don't know if any of these are
taken:<br>
</font>
<font face="Helvetica, Arial, sans-serif"><br>
plugbot<br>
plugger<br>
dfwbot<br>
xbot<br>
anybot<br>
unibot<br>
camelbot<br>
sakbot ("swiss army knife bot")<br>
chbot (similar idea, but using "ch" for "swiss")<br>
</font>
<font face="Helvetica, Arial, sans-serif"><br>
Pm<br>
</font></blockquote>
</div>
</blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
</font>
</body>
</html>