|
Revision 53, 0.7 kB
(checked in by bkuhn, 10 months ago)
|
- Added SFLC's internally developed tim bot released under AGPLv3
|
| Line | |
|---|
| 1 |
#!/usr/bin/perl |
|---|
| 2 |
|
|---|
| 3 |
# A standard Bot::BasicBot::Pluggable interface. You can /query the bot to |
|---|
| 4 |
# load in more modules, I suggest Auth is a good start, so other people |
|---|
| 5 |
# can't load modules, and CHANGE THE ADMIN PASSWORD. |
|---|
| 6 |
|
|---|
| 7 |
# See perldoc Bot::BasicBot::Pluggable::Auth for details of this. |
|---|
| 8 |
|
|---|
| 9 |
use warnings; |
|---|
| 10 |
use strict; |
|---|
| 11 |
use Bot::BasicBot::Pluggable; |
|---|
| 12 |
|
|---|
| 13 |
my $bot = Bot::BasicBot::Pluggable->new( channels => [ ], |
|---|
| 14 |
server => "london.rhizomatic.net", |
|---|
| 15 |
nick => "jerabot", |
|---|
| 16 |
); |
|---|
| 17 |
|
|---|
| 18 |
print "Loading Loader\n"; |
|---|
| 19 |
print $bot->load("Loader"); |
|---|
| 20 |
|
|---|
| 21 |
print "\n"; |
|---|
| 22 |
|
|---|
| 23 |
$bot->run(); |
|---|
| 24 |
|
|---|