diff --git a/bot.php b/bot.php index f5af0b0..4ab1f64 100644 --- a/bot.php +++ b/bot.php @@ -50,6 +50,9 @@ // announce self to channel $myCode = get_own_code(); +if(!isset($myCode) || $myCode == "") + die("Please contact 0xRoM on discord for help fixing this issue!"); + fputs($socket, "PRIVMSG #theSignal :!req " . $rand . " " . $myCode . "\n"); // Force an endless while