Add hashtags to message
This commit is contained in:
parent
9013fd972e
commit
01b2bb483d
|
@ -152,7 +152,7 @@ $chain = get_longest_chain();
|
|||
$chain_string = chain_to_string($chain);
|
||||
$saved_chain = include('chain.php');
|
||||
if ($saved_chain != $chain_string) {
|
||||
$send_message = "Chain Length: " . count($chain) . "\n\n" . $chain_string;
|
||||
$send_message = "Chain Length: " . count($chain) . "\n#Chain". count($chain) ."\n\n" . $chain_string;
|
||||
$reply = send_text($send_message);
|
||||
$json = json_decode($reply);
|
||||
pin_message($json->{'result'}->{"message_id"});
|
||||
|
|
Loading…
Reference in New Issue