From 5aeb6080523077723442b811ac5ceadd2b42bd99 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 30 Jul 2021 19:50:30 -0700 Subject: [PATCH] Commands: fix minor typos in comments --- lib/PBot/Core/Commands.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PBot/Core/Commands.pm b/lib/PBot/Core/Commands.pm index 8c25bde1..1df63a98 100644 --- a/lib/PBot/Core/Commands.pm +++ b/lib/PBot/Core/Commands.pm @@ -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(@_);