mirror of
https://github.com/pragma-/pbot.git
synced 2025-04-01 13:27:10 +02:00
Minor effective-level /kick derp
This commit is contained in:
parent
fdf529f2ae
commit
0e4f2d1447
@ -724,7 +724,7 @@ sub interpreter {
|
|||||||
return "/say $nick: I don't have the effective-level to do that.";
|
return "/say $nick: I don't have the effective-level to do that.";
|
||||||
}
|
}
|
||||||
my $level = 10;
|
my $level = 10;
|
||||||
if ($level >= $self->{factoids}->hash->{$channel}->{$keyword}->{'effective-level'}) {
|
if ($self->{factoids}->hash->{$channel}->{$keyword}->{'effective-level'} >= $level) {
|
||||||
return "/$self->{pbot}->{secretstuff}kick " . $action;
|
return "/$self->{pbot}->{secretstuff}kick " . $action;
|
||||||
} else {
|
} else {
|
||||||
return "/say $nick: My effective-level isn't high enough to do that.";
|
return "/say $nick: My effective-level isn't high enough to do that.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user