<?php
namespace App\Controllers;

use App\Core\Response;
use App\Services\Moderation\ModerationBot;

class ModerationBotController extends BaseController
{
    public function scanLink(): Response
    {
        return Response::json((new ModerationBot($this->config))->scanLink($_POST['url'] ?? ''));
    }
}
