Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hbashton committed Apr 9, 2017
1 parent 7fdcb4f commit 7cd4b97
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions supergroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ function delmessage($update, $MadelineProto)
} catch (Exception $e) {
}
} else {
$message = $repsonses['delmessage']['help'];
$message = $MadelineProto->responses['delmessage']['help'];
$default['message'] = $message;
}
}
Expand Down Expand Up @@ -521,7 +521,7 @@ function delmessage_user($update, $MadelineProto, $msg = "")
}
}
} else {
$message = $reponses['delmessage_user']['help'];
$message = $MadelineProto->responses['delmessage_user']['help'];
$default['message'] = $message;
}
}
Expand All @@ -545,7 +545,8 @@ function purgemessage($update, $MadelineProto)
$ch_id = $chat['id'];
$default = array(
'peer' => $peer,
'reply_to_msg_id' => $msg_id
'reply_to_msg_id' => $msg_id,
'parse_mode' => 'html'
);
$mods = $MadelineProto->responses['purgemessage']['mods'];
if (is_moderated($ch_id)) {
Expand Down Expand Up @@ -578,7 +579,7 @@ function purgemessage($update, $MadelineProto)
unset($default['message']);
} catch (Exception $e) {}
} else {
$message = $reponses['purgemessage']['help'];
$message = $MadelineProto->responses['purgemessage']['help'];
$default['message'] = $message;
}
}
Expand Down

0 comments on commit 7cd4b97

Please sign in to comment.