3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

Commands: remove "metadata" from name of HashObject

This commit is contained in:
Pragmatic Software 2020-01-18 21:58:58 -08:00
parent aadc9c00d8
commit 6eeec3b26c

View File

@ -35,7 +35,7 @@ sub initialize {
$self->SUPER::initialize(%conf);
$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->register(sub { $self->set(@_); }, "cmdset", 90);