diff --git a/Commands/ShortenCommand.php b/Commands/ShortenCommand.php index 35a4a98..e528810 100644 --- a/Commands/ShortenCommand.php +++ b/Commands/ShortenCommand.php @@ -74,7 +74,7 @@ class ShortenCommand extends UserCommand if($reply != NULL) { $replytext1 = $reply->getText(); - $result = json_decode($this->shorten($replytext1, $text, $user_id), true); + $result = json_decode($this->shorten($replytext1, strtolower($text), $user_id), true); $replytext = $result['message']."\n\nShortened link: ".$result['shorturl']."\n\nQR Code: ".$result['shorturl'].".qr\n\nStats: ".$result['shorturl']."+"; } @@ -141,4 +141,4 @@ class ShortenCommand extends UserCommand return $data; } -} \ No newline at end of file +}