mirror of
https://gitlab.com/ceda_ei/Quadnite-Bot
synced 2025-10-30 00:30:05 +01:00
Remove /weebify from text
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user