mirror of
https://github.com/pragma-/pbot.git
synced 2025-12-11 11:17:26 +01:00
Fix stray comma in Wordle plugin.
This commit is contained in:
parent
a493a7162e
commit
328d34b889
@ -1,14 +1,14 @@
|
|||||||
FROM perl:5.34
|
FROM perl:5.34
|
||||||
|
|
||||||
# Install system dependencies.
|
# 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.
|
# Install pbot and its own dependencies.
|
||||||
# FIXME: Replace nitrix with pragma-.
|
# FIXME: Replace nitrix with pragma-.
|
||||||
RUN cd /opt && git clone --recursive https://github.com/nitrix/pbot
|
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
|
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
|
RUN mkdir /mnt/persistent
|
||||||
|
|
||||||
# Just in case files are created in the working directory.
|
# Just in case files are created in the working directory.
|
||||||
|
|||||||
@ -125,7 +125,7 @@ sub wordle($self, $context) {
|
|||||||
hostmask => "$botnick!wordle\@localhost",
|
hostmask => "$botnick!wordle\@localhost",
|
||||||
command => 'wordle',
|
command => 'wordle',
|
||||||
checkflood => 1,
|
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);
|
$self->{pbot}->{interpreter}->add_message_to_output_queue($custom_channel, $message, 0);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user