3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-29 23:39:24 +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; $self->{metadata}->load;
} }
# load commands in PBot::Core::Commands directory
sub load_commands { sub load_commands {
my ($self) = @_; my ($self) = @_;
# load commands in Commands directory
$self->{pbot}->{logger}->log("Loading commands:\n"); $self->{pbot}->{logger}->log("Loading commands:\n");
load_modules($self, 'PBot::Core::Commands'); load_modules($self, 'PBot::Core::Commands');
} }
# named parameters interface to register() # named-parameters interface to register()
sub add { sub add {
my ($self, %args) = @_; my ($self, %args) = @_;
@ -53,7 +53,7 @@ sub add {
} }
} }
# alias to unregister() for conisistency # alias to unregister() for consistency
sub remove { sub remove {
my ($self) = @_; my ($self) = @_;
$self->unregister(@_); $self->unregister(@_);