3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 03:33:06 +01:00

Add newlines to ActionTrigger list

This commit is contained in:
Pragmatic Software 2017-09-09 22:32:14 -07:00
parent f15423774b
commit 58f21b3bf7

View File

@ -187,11 +187,11 @@ sub actiontrigger {
if (not @triggers) {
$result = "No counter triggers set for $channel.";
} else {
$result = "Triggers for $channel: ";
$result = "Triggers for $channel:\n";
my $comma = '';
foreach my $trigger (@triggers) {
$result .= "$comma$trigger->{trigger} -> $trigger->{action}";
$comma = ', ';
$comma = ",\n";
}
}
}