Remove /weebify from text

This commit is contained in:
Ceda EI 2019-01-06 15:21:09 +05:30
parent dcf2ed7fd3
commit f289a8b377
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ function weebify() {
"y" => "",
"z" => ""
);
$chars = str_split($decoded->{"message"}->{"text"});
$chars = str_split(preg_replace('/^\/[^ ]+ /', '', $decoded->{"message"}->{"text"}));
$text = "";
foreach($chars as $char){
if(key_exists($char, $letters)) {