X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FTwitchBot%2FTwitchBot.php;h=e5a5aa6e442307b06bbae8b68635a07f4255b463;hb=b5a50d74cf042fa7fc874d8184dc37ae20bb74dd;hp=bb3724d6844bbf7f0990f5306fb3f04069f834a3;hpb=06fbdc15c8db57590c9b6a38ee1f00d5f349cff9;p=alttp.git diff --git a/app/TwitchBot/TwitchBot.php b/app/TwitchBot/TwitchBot.php index bb3724d..e5a5aa6 100644 --- a/app/TwitchBot/TwitchBot.php +++ b/app/TwitchBot/TwitchBot.php @@ -156,7 +156,7 @@ class TwitchBot { if (!$this->ready) return; if (time() - $this->last_contact < 60) return; try { - $this->sendIRCMessage(IRCMessage::ping()); + $this->sendIRCMessage(IRCMessage::ping($this->nick)); } catch (\Exception $e) { } });