mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-12 13:02:48 +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) {
|
if (not @triggers) {
|
||||||
$result = "No counter triggers set for $channel.";
|
$result = "No counter triggers set for $channel.";
|
||||||
} else {
|
} else {
|
||||||
$result = "Triggers for $channel: ";
|
$result = "Triggers for $channel:\n";
|
||||||
my $comma = '';
|
my $comma = '';
|
||||||
foreach my $trigger (@triggers) {
|
foreach my $trigger (@triggers) {
|
||||||
$result .= "$comma$trigger->{trigger} -> $trigger->{action}";
|
$result .= "$comma$trigger->{trigger} -> $trigger->{action}";
|
||||||
$comma = ', ';
|
$comma = ",\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user