src/Extension/AbstractMessageHandler.php
final public function admin()
    {
        $remark = vbot('config')->get('extension.admin.remark');

        if ($remark) {
            static::$admin = vbot('friends')->getUsernameByRemarkName($remark);
        }

        if (!$remark && ($nickname = vbot('config')->get('extension.admin.nickname'))) {
            static::$admin = vbot('friends')->getUsernameByNickname($nickname);
        }
    }
final public function admin()
    {
        $remark = vbot('config')->get('extension.admin.remark');

        if ($remark) {
            static::$admin = vbot('friends')->getUsernameByRemarkName($remark);
        }

        if (!$remark && ($nickname = vbot('config')->get('extension.admin.nickname'))) {
            static::$admin = vbot('friends')->getUsernameByNickname($nickname);
        }
    }
设置管理员.

@throws ExtensionException