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:
parent
71fabfc0ea
commit
b89becfc31
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user