[DFW.pm] What would you call a bot that does everything?

Tommy Butler dfwpm at internetalias.net
Tue Oct 29 21:03:18 PDT 2013

Totally <3 the names Patrick.

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 the git repo <https://github.com/dfwperl/dfwbot>.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

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

So if you write a plugin and it has a subroutine named
"text_john_cellphone", then in the IRC channel you would type "*borg
text_john_cellphone* Hi J don't forget to pick up milk!"

Thanks to code reuse, borgbot is still only 58 lines long.  The plugins
aren't much longer.

Here's what it looks like to run borgbot:

Here's what it looks like to talk to borgbot (join irc.perl.org#bot-test
if you want to talk to the borg)

This is how hard it is to write a plugin (see the 3 introductory ones up
on github for documented examples):

...And it's on github. <https://github.com/dfwperl/dfwbot>

--Tommy Butler

On 10/29/2013 02:42 PM, John Fields wrote:
> CamelBot "did you mean Camelot?"
> @camel_bot is on twitter in Japan
> Plugbot = "an IRC bot written in c++, extendible via plugins in
> Lua/c++..."
> Anybots.com makes the anybot robots.
> 5 points to PM for his naming acumen. At work, but I thought I would
> share my break time.. :)
> On Oct 29, 2013 2:30 PM, "Patrick R. Michaud" <pmichaud at pobox.com
> <mailto:pmichaud at pobox.com>> wrote:
>     On Tue, Oct 29, 2013 at 10:08:23AM -0500, Tommy Butler wrote:
>     > Omnibot?  Rosie?  I'm talking about an IRC bot that accepts as many
>     > plugins as you want to add.  /*What would you call it?*/
>     Off the top of my head, and don't know if any of these are taken:
>        plugbot
>        plugger
>        dfwbot
>        xbot
>        anybot
>        unibot
>        camelbot
>        sakbot  ("swiss army knife bot")
>        chbot   (similar idea, but using "ch" for "swiss")
>     Pm

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20131029/76a375d6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jjfihhjj.png
Type: image/png
Size: 196012 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20131029/76a375d6/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbcghcbf.png
Type: image/png
Size: 237671 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20131029/76a375d6/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: efcbcffg.png
Type: image/png
Size: 157235 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20131029/76a375d6/attachment-0005.png>

More information about the Dfw-pm mailing list