3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-27 05:02:34 +01:00

Commands: fix minor typos in comments

This commit is contained in:
Pragmatic Software 2021-07-30 19:50:30 -07:00
parent 926d57990b
commit 5aeb608052

View File

@ -28,14 +28,14 @@ sub initialize {
$self->{metadata}->load;
}
# load commands in PBot::Core::Commands directory
sub load_commands {
my ($self) = @_;
# load commands in Commands directory
$self->{pbot}->{logger}->log("Loading commands:\n");
load_modules($self, 'PBot::Core::Commands');
}
# named parameters interface to register()
# named-parameters interface to register()
sub add {
my ($self, %args) = @_;
@ -53,7 +53,7 @@ sub add {
}
}
# alias to unregister() for conisistency
# alias to unregister() for consistency
sub remove {
my ($self) = @_;
$self->unregister(@_);