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
1 changed files with 1 additions and 1 deletions

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);