mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-26 20:14:34 +01:00
Commands: remove "metadata" from name of HashObject
This commit is contained in:
parent
aadc9c00d8
commit
6eeec3b26c
@ -35,7 +35,7 @@ sub initialize {
|
|||||||
$self->SUPER::initialize(%conf);
|
$self->SUPER::initialize(%conf);
|
||||||
$self->{pbot} = $conf{pbot} // Carp::croak("Missing pbot reference to " . __FILE__);
|
$self->{pbot} = $conf{pbot} // Carp::croak("Missing pbot reference to " . __FILE__);
|
||||||
|
|
||||||
$self->{metadata} = PBot::HashObject->new(pbot => $self->{pbot}, name => 'Commands metadata', filename => $conf{filename});
|
$self->{metadata} = PBot::HashObject->new(pbot => $self->{pbot}, name => 'Commands', filename => $conf{filename});
|
||||||
$self->load_metadata;
|
$self->load_metadata;
|
||||||
|
|
||||||
$self->register(sub { $self->set(@_); }, "cmdset", 90);
|
$self->register(sub { $self->set(@_); }, "cmdset", 90);
|
||||||
|
Loading…
Reference in New Issue
Block a user