mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-25 21:39:27 +01:00
Plugin/Connect4: make send_message() delay argument optional
This commit is contained in:
parent
2096df16d6
commit
451c6ace2e
@ -367,8 +367,7 @@ sub player_left($self, $nick, $user, $host) {
|
||||
}
|
||||
}
|
||||
|
||||
sub send_message($self, $to, $text, $delay) {
|
||||
$delay = 0 if not defined $delay;
|
||||
sub send_message($self, $to, $text, $delay = 0) {
|
||||
my $botnick = $self->{pbot}->{registry}->get_value('irc', 'botnick');
|
||||
my $message = {
|
||||
nick => $botnick,
|
||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
||||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4688,
|
||||
BUILD_DATE => "2023-09-24",
|
||||
BUILD_REVISION => 4689,
|
||||
BUILD_DATE => "2023-09-28",
|
||||
};
|
||||
|
||||
sub initialize {}
|
||||
|
Loading…
Reference in New Issue
Block a user