mirror of
https://github.com/pragma-/pbot.git
synced 2025-05-07 15:17:34 +02:00
Spinach: show expression used in output for rank expr
This commit is contained in:
parent
8bd1a00ce2
commit
7de3cb6dd1
@ -318,8 +318,12 @@ sub rank {
|
|||||||
} else {
|
} else {
|
||||||
$result = "No rankings available for $self->{channel} yet.\n";
|
$result = "No rankings available for $self->{channel} yet.\n";
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if ($arguments eq 'expr') {
|
||||||
|
$result = "Rankings for $opt_arg: ";
|
||||||
} else {
|
} else {
|
||||||
$result = "Rankings for $ranks{$arguments}->{title}: ";
|
$result = "Rankings for $ranks{$arguments}->{title}: ";
|
||||||
|
}
|
||||||
$result .= join ', ', @ranking;
|
$result .= join ', ', @ranking;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user