kj415j45/kjBot

View on GitHub
public/tools/convert.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

function parseQQ($str){
    if(preg_match('/\[CQ:at,qq=(\d+)\]/', $str, $QQ)){
        return $QQ[1];
    }else return NULL;
}

?>