-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.pl
More file actions
executable file
·20 lines (19 loc) · 822 Bytes
/
run.pl
File metadata and controls
executable file
·20 lines (19 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl
use Rolebot::Bot;
use Rolebot::Config;
use File::Basename;
use File::chdir;
unless (caller) {
local $CWD = dirname $0 || $CWD;
my $bot = Rolebot::Bot->new(
server => $Rolebot::Config::server,
port => $Rolebot::Config::port,
ssl => $Rolebot::Config::use_ssl,
channels => [@Rolebot::Config::channels],
nick => $Rolebot::Config::nick,
alt_nicks => [@Rolebot::Config::alt_nicks],
username => $Rolebot::Config::username,
name => $Rolebot::Config::name,
);
$bot->run;
}