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:
parent
f15423774b
commit
58f21b3bf7
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user