mirror of
https://gitlab.com/ceda_ei/Quadnite-Bot
synced 2025-10-30 08:40:05 +01:00
Remove /weebify from text
This commit is contained in:
@@ -398,7 +398,7 @@ function weebify() {
|
|||||||
"y" => "丫",
|
"y" => "丫",
|
||||||
"z" => "乙"
|
"z" => "乙"
|
||||||
);
|
);
|
||||||
$chars = str_split($decoded->{"message"}->{"text"});
|
$chars = str_split(preg_replace('/^\/[^ ]+ /', '', $decoded->{"message"}->{"text"}));
|
||||||
$text = "";
|
$text = "";
|
||||||
foreach($chars as $char){
|
foreach($chars as $char){
|
||||||
if(key_exists($char, $letters)) {
|
if(key_exists($char, $letters)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user