3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 11:42:35 +01:00

Make beeps more interesting

This commit is contained in:
Pragmatic Software 2017-02-27 04:46:55 -08:00
parent 71fabfc0ea
commit b89becfc31

View File

@ -150,7 +150,9 @@ sub postprocess_output {
} }
$self->{output} = $boutput; $self->{output} = $boutput;
$self->{output} =~ s/\007/*BEEP*/g; my @beeps = qw/*BEEP* *BING* *DING* *DONG* *CLUNK* *BONG* *PING* *BOOP* *BLIP* *BOP* *WHIRR*/;
$self->{output} =~ s/\007/$beeps[rand @beeps]/g;
} }
sub show_output { sub show_output {