Add hashtags to message

This commit is contained in:
Ceda EI 2018-04-19 21:33:56 +05:30 committed by GitHub
parent 9013fd972e
commit 01b2bb483d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"});