From: Daniel Karbach Date: Sun, 21 Jan 2024 15:44:56 +0000 (+0100) Subject: use irc nick as pink token X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=609c66ecff96d467f6f267a68d709ab5e609e002;p=alttp.git use irc nick as pink token --- 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) { } });