import { AbstractModule } from '../../../core/abstract-module' import type { Mclogs } from '../types' export class MclogsInsightsV1Module extends AbstractModule { public getModuleID(): string { return 'mclogs_insights_v1' } public async analyse(content: string): Promise { return this.client.request('/analyse', { api: 'https://api.mclo.gs', version: '1', method: 'POST', body: new URLSearchParams({ content }), headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, skipAuth: true, }) } }