mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
PBot: add config option to load only the logger (for internal use)
This commit is contained in:
parent
230f9ca133
commit
3e6c560352
@ -67,6 +67,8 @@ sub initialize {
|
||||
$self->{version} = PBot::VERSION->new(pbot => $self, %conf);
|
||||
$self->{logger}->log($self->{version}->version . "\n");
|
||||
|
||||
return if $conf{logger_only};
|
||||
|
||||
$self->{atexit} = PBot::Registerable->new(%conf);
|
||||
$self->{timer} = PBot::Timer->new(timeout => 10, %conf);
|
||||
$self->{commands} = PBot::Commands->new(pbot => $self, %conf);
|
||||
|
Loading…
Reference in New Issue
Block a user