From 328d34b88945838db6371877683c0cc4df7ba7d9 Mon Sep 17 00:00:00 2001 From: Alex Belanger Date: Fri, 8 Mar 2024 20:28:31 -0500 Subject: [PATCH] Fix stray comma in Wordle plugin. --- Dockerfile | 4 ++-- lib/PBot/Plugin/Wordle.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 53cc34f1..928c0943 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ FROM perl:5.34 # Install system dependencies. -RUN apt-get update && apt-get install -y make gcc clang cpanminus dos2unix wamerican +RUN apt-get update && apt-get install -y make gcc clang cpanminus wamerican # Install pbot and its own dependencies. # FIXME: Replace nitrix with pragma-. RUN cd /opt && git clone --recursive https://github.com/nitrix/pbot RUN cd /opt/pbot && cpanm -n --installdeps . --with-all-features --without-feature=compiler_vm_win32 -# Mount point for to persist the bot's data. +# Mount point to persist the bot's data. RUN mkdir /mnt/persistent # Just in case files are created in the working directory. diff --git a/lib/PBot/Plugin/Wordle.pm b/lib/PBot/Plugin/Wordle.pm index 3fcdced0..4b186ee7 100644 --- a/lib/PBot/Plugin/Wordle.pm +++ b/lib/PBot/Plugin/Wordle.pm @@ -125,7 +125,7 @@ sub wordle($self, $context) { hostmask => "$botnick!wordle\@localhost", command => 'wordle', checkflood => 1, - message => "$context->{nick} started a custom $result"; + message => "$context->{nick} started a custom $result", }; $self->{pbot}->{interpreter}->add_message_to_output_queue($custom_channel, $message, 0);