mirror of
https://gitlab.com/ceda_ei/Zeeth-Naaw-Bot
synced 2025-10-28 17:00:05 +01:00
Fix wrong variable name
This commit is contained in:
@@ -155,7 +155,7 @@ if ($saved_chain != $chain_string) {
|
|||||||
$send_message = "Chain Length: " . count($chain) . "\n\n" . $chain_string;
|
$send_message = "Chain Length: " . count($chain) . "\n\n" . $chain_string;
|
||||||
$reply = send_text($send_message);
|
$reply = send_text($send_message);
|
||||||
$json = json_decode($reply);
|
$json = json_decode($reply);
|
||||||
pin_message($reply->{'result'}->{"message_id"});
|
pin_message($json->{'result'}->{"message_id"});
|
||||||
$file = fopen('chain.php', 'w');
|
$file = fopen('chain.php', 'w');
|
||||||
$contents = "<?php return '". $chain_string . "'; ?>";
|
$contents = "<?php return '". $chain_string . "'; ?>";
|
||||||
fwrite($file, $contents);
|
fwrite($file, $contents);
|
||||||
|
|||||||
Reference in New Issue
Block a user