X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=app%2FTwitchBot%2FTwitchBot.php;fp=app%2FTwitchBot%2FTwitchBot.php;h=e5a5aa6e442307b06bbae8b68635a07f4255b463;hb=609c66ecff96d467f6f267a68d709ab5e609e002;hp=bb3724d6844bbf7f0990f5306fb3f04069f834a3;hpb=e49b130505f5712075dca2ff990e5a63fc90ce3c;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) { } });