범인찾기 v1.3.2: 외부 전적 사이트 접속 제거 — OP.GG · LOL.PS 는 계산법만 참고
- 사용자 결정: 실제 OP.GG 연결이 아니라 계산법 참고 → 분석 때 OP.GG 를 찾아보던 opgg.ts · 결과의 OP.GG 점수 · 조회 상태 · 지시문 줄 · Riot 태그/경기 찾기 정보 제거 - 남은 것: 기록 점수(OP.GG OP스코어 계산법, 앱이 경기 기록으로 계산) · 10/15분 라인전(LOL.PS 정의) - 실제 E2E (Claude Opus 5.5 high, 외부 접속 없음): 발로란트 33초 $0.138, 롤 36초 $0.123 - 테스트: 앱 40 · 서버 16 통과 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,6 @@ import type { Config } from './config.js';
|
||||
import { registerAppAuth } from './app-auth.js';
|
||||
import { BotBroker, type BotSource } from './bot-broker.js';
|
||||
import { registerCulprit, type ModelCall } from './culprit.js';
|
||||
import type { ToolCaller } from './opgg.js';
|
||||
import type { KnowledgeAuto } from './culprit-prompt.js';
|
||||
import { avatarUrl, DiscordApi } from './discord.js';
|
||||
import { RateLimiter } from './rate-limit.js';
|
||||
@@ -19,7 +18,7 @@ const SID = 'gvr_sid';
|
||||
const RECHECK_MS = 10 * 60000;
|
||||
|
||||
/** botSource: 겜녹이 봇 디스코드 연결 (main.ts 가 discord.js 로 만든다. 없으면 /app/bot/ws 는 503) */
|
||||
export async function buildServer(cfg: Config, opts: { botSource?: BotSource; botRecheckMs?: number; culpritCall?: ModelCall; culpritKnowledge?: KnowledgeAuto; culpritOpgg?: ToolCaller | null } = {}) {
|
||||
export async function buildServer(cfg: Config, opts: { botSource?: BotSource; botRecheckMs?: number; culpritCall?: ModelCall; culpritKnowledge?: KnowledgeAuto } = {}) {
|
||||
const app = Fastify({
|
||||
logger: {
|
||||
level: process.env.LOG_LEVEL || 'info',
|
||||
@@ -178,7 +177,7 @@ export async function buildServer(cfg: Config, opts: { botSource?: BotSource; bo
|
||||
});
|
||||
|
||||
// ------------------------------------------------------------------ 범인찾기 (Claude API 는 이 서버만 부른다)
|
||||
const culprit = registerCulprit(app, { cfg, store, hub, requireSession, log: app.log, call: opts.culpritCall, knowledge: opts.culpritKnowledge, opgg: opts.culpritOpgg });
|
||||
const culprit = registerCulprit(app, { cfg, store, hub, requireSession, log: app.log, call: opts.culpritCall, knowledge: opts.culpritKnowledge });
|
||||
|
||||
// ------------------------------------------------------------------ 기록 API 중계
|
||||
const relay = async (req: FastifyRequest, reply: FastifyReply) => {
|
||||
|
||||
@@ -28,8 +28,6 @@ export interface Config {
|
||||
monthLimitUsd: number;
|
||||
dailyLimit: number;
|
||||
tone: 'mild' | 'medium' | 'spicy';
|
||||
/** 분석할 때 OP.GG 실제 OP스코어를 찾을지 (기본 켬, CULPRIT_OPGG=0 이면 끔) */
|
||||
opgg?: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -74,7 +72,6 @@ export function loadConfig(env = process.env): Config {
|
||||
monthLimitUsd: Number(env.CULPRIT_MONTH_LIMIT_USD || 100),
|
||||
dailyLimit: Number(env.CULPRIT_DAILY_LIMIT || 20),
|
||||
tone: (env.CULPRIT_TONE as any) || 'medium',
|
||||
opgg: env.CULPRIT_OPGG !== '0',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ import {
|
||||
} from '@gvr/shared';
|
||||
import { CULPRIT_DEFAULTS, type Config } from './config.js';
|
||||
import { buildSystemPrompt, KnowledgeAuto, outputSchema } from './culprit-prompt.js';
|
||||
import { lookupOpgg, opggCaller, opggLines, type ToolCaller } from './opgg.js';
|
||||
import type { RelayHub } from './relay.js';
|
||||
import type { ServerStore, Session } from './store.js';
|
||||
|
||||
@@ -255,8 +254,6 @@ export interface CulpritOptions {
|
||||
log: { info: (o: any, m?: string) => void; warn: (o: any, m?: string) => void; error: (o: any, m?: string) => void };
|
||||
call?: ModelCall;
|
||||
knowledge?: KnowledgeAuto;
|
||||
/** OP.GG 실제 점수 찾기 (테스트에서 바꿔 끼운다, null = 끔) */
|
||||
opgg?: ToolCaller | null;
|
||||
}
|
||||
|
||||
export function registerCulprit(app: FastifyInstance, o: CulpritOptions) {
|
||||
@@ -265,7 +262,6 @@ export function registerCulprit(app: FastifyInstance, o: CulpritOptions) {
|
||||
const ledger = new Ledger(cfg.dataDir);
|
||||
const call: ModelCall | null = o.call ?? (c.apiKey ? anthropicCall(c.apiKey) : null);
|
||||
const knowledge = o.knowledge ?? new KnowledgeAuto(undefined, log);
|
||||
const opgg: ToolCaller | null = o.opgg !== undefined ? o.opgg : c.opgg === false ? null : opggCaller();
|
||||
const running = new Map<string, { by: string; at: number; stage: CulpritStage }>();
|
||||
|
||||
/** (가) 등록된 앱 유저 이상만 분석 버튼, 다시 분석은 관리자 이상 (사용자 결정 ②) */
|
||||
@@ -352,27 +348,17 @@ export function registerCulprit(app: FastifyInstance, o: CulpritOptions) {
|
||||
log.error(e, '범인찾기 자료 받기 실패');
|
||||
return reply.code(502).send({ error: 'input_failed' });
|
||||
}
|
||||
publish(matchId, 'thinking');
|
||||
void run(matchId, input, { id: s.user.id, name: s.user.name }).finally(() => running.delete(matchId));
|
||||
return reply.code(202).send({ ok: true });
|
||||
});
|
||||
|
||||
/** AI 분석 (버튼 응답 뒤에 돈다. 창을 닫아도 계속, 끝나면 실시간 알림) */
|
||||
async function run(matchId: string, raw: CulpritInput, by: { id: string; name: string }): Promise<void> {
|
||||
async function run(matchId: string, input: CulpritInput, by: { id: string; name: string }): Promise<void> {
|
||||
const started = Date.now();
|
||||
const usages: Usage[] = [];
|
||||
let fallback = false;
|
||||
try {
|
||||
// 전적 사이트 점수: 이 경기가 OP.GG 에 있으면 실제 OP스코어를 자료에 붙인다 (없거나 실패해도 기록 점수로 계속)
|
||||
let opggMeta: { found: boolean; error?: boolean; note?: string } | undefined;
|
||||
let input = raw;
|
||||
if (opgg && raw.lookup) {
|
||||
publish(matchId, 'collect', 'OP.GG 점수 찾는 중');
|
||||
const r = await lookupOpgg(raw, opgg).catch((e) => ({ scores: new Map(), found: false, error: true, note: `OP.GG 연결 실패 (${String(e?.message ?? e).slice(0, 80)})` }));
|
||||
opggMeta = { found: r.found, ...(r.error ? { error: true } : {}), ...(r.note ? { note: r.note } : {}) };
|
||||
input = withOpgg(raw, r);
|
||||
log.info({ matchId, opgg: opggMeta, n: r.scores.size }, '범인찾기 OP.GG 점수');
|
||||
}
|
||||
publish(matchId, 'thinking');
|
||||
const system = buildSystemPrompt(input.game, c.tone, await knowledge.get(input.game));
|
||||
const schema = outputSchema();
|
||||
const user = `<match>\n${input.text}\n</match>`;
|
||||
@@ -413,7 +399,7 @@ export function registerCulprit(app: FastifyInstance, o: CulpritOptions) {
|
||||
players: input.players,
|
||||
model: usages.at(-1)?.model ?? c.model,
|
||||
createdBy: by,
|
||||
meta: { tone: c.tone, durationMs: Date.now() - started, costUsd: totalCost, usage: sumUsage(usages), inputStats: input.stats, fallback, ...(opggMeta ? { opgg: opggMeta } : {}) },
|
||||
meta: { tone: c.tone, durationMs: Date.now() - started, costUsd: totalCost, usage: sumUsage(usages), inputStats: input.stats, fallback },
|
||||
},
|
||||
60000,
|
||||
);
|
||||
@@ -435,20 +421,6 @@ export function registerCulprit(app: FastifyInstance, o: CulpritOptions) {
|
||||
return { budget, ledger, running };
|
||||
}
|
||||
|
||||
/** OP.GG 점수를 자료(시간 순서 기록 앞)와 참가자에 붙인다 */
|
||||
export function withOpgg(input: CulpritInput, r: Awaited<ReturnType<typeof lookupOpgg>>): CulpritInput {
|
||||
const lines = opggLines(input, r);
|
||||
if (!lines.length) return input;
|
||||
const text = input.text.split('\n');
|
||||
const at = text.indexOf('# 시간 순서 기록');
|
||||
text.splice(at < 0 ? text.length : at, 0, ...lines);
|
||||
return {
|
||||
...input,
|
||||
text: text.join('\n'),
|
||||
players: input.players.map((p) => (r.scores.has(p.id) ? { ...p, opgg: r.scores.get(p.id)! } : p)),
|
||||
};
|
||||
}
|
||||
|
||||
function sumUsage(us: Usage[]) {
|
||||
return us.reduce((a, u) => ({ input: a.input + u.input, output: a.output + u.output, cacheRead: a.cacheRead + u.cacheRead, cacheWrite: a.cacheWrite + u.cacheWrite }), { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 });
|
||||
}
|
||||
|
||||
@@ -1,234 +0,0 @@
|
||||
import type { CulpritInput } from '@gvr/shared';
|
||||
|
||||
/**
|
||||
* OP.GG 실제 OP스코어 찾기 (범인찾기 참고 자료).
|
||||
* OP.GG 가 AI 도구용으로 연 공식 MCP 서버(https://mcp-api.op.gg/mcp, 키 없음)를 부른다.
|
||||
* - 롤: 우리 팀 한 명의 최근 경기에서 시작 시각 · 길이가 같은 경기를 찾고, 그 경기 상세에서 10명의 op_score
|
||||
* - 발로란트: 경기 UUID 가 같으니 각 선수의 최근 경기에서 그 경기를 찾아 opScore(0~1000 → 0~10)
|
||||
* 사용자 지정 게임(내전)은 OP.GG 에 올라가지 않아 못 찾는 게 정상이다. 못 찾거나 실패해도 분석은 기록 점수만으로 계속한다.
|
||||
*/
|
||||
|
||||
export const OPGG_MCP_URL = 'https://mcp-api.op.gg/mcp';
|
||||
const PROTOCOL = '2025-06-18';
|
||||
|
||||
export interface OpggResult {
|
||||
/** P번호 → 점수 (0~10) · OP.GG 경기 순위 (롤만) */
|
||||
scores: Map<string, { score: number; rank: number | null }>;
|
||||
found: boolean;
|
||||
/** 조회가 실패해서 경기가 있는지 확인하지 못했다 (OP.GG 장애 · 연결 실패). "경기 없음"과 다르다 */
|
||||
error?: boolean;
|
||||
note?: string;
|
||||
}
|
||||
|
||||
/** 세션이 끝났다는 서버 응답 (MCP 규격: 404 → 새로 initialize) */
|
||||
class SessionExpired extends Error {}
|
||||
|
||||
export type ToolCaller = (name: string, args: Record<string, unknown>) => Promise<unknown>;
|
||||
|
||||
/** MCP 스트리머블 HTTP 클라이언트 (세션 하나로 여러 번 부른다) */
|
||||
export function opggCaller(opts: { url?: string; timeoutMs?: number; fetchFn?: typeof fetch } = {}): ToolCaller {
|
||||
const url = opts.url ?? OPGG_MCP_URL;
|
||||
const f = opts.fetchFn ?? fetch;
|
||||
const timeoutMs = opts.timeoutMs ?? 20000;
|
||||
let sid: string | null = null;
|
||||
let id = 1;
|
||||
const post = async (body: unknown) => {
|
||||
const headers: Record<string, string> = { 'content-type': 'application/json', accept: 'application/json, text/event-stream', 'user-agent': 'gvr-site/1.3' };
|
||||
if (sid) Object.assign(headers, { 'mcp-session-id': sid, 'mcp-protocol-version': PROTOCOL });
|
||||
const r = await f(url, { method: 'POST', headers, body: JSON.stringify(body), signal: AbortSignal.timeout(timeoutMs) });
|
||||
if (sid && r.status === 404) throw new SessionExpired('OP.GG 세션 만료');
|
||||
if (!r.ok) throw new Error(`OP.GG ${r.status}`);
|
||||
const s = r.headers.get('mcp-session-id');
|
||||
const text = await r.text();
|
||||
// 서버가 SSE 로 줄 때는 마지막 data: 줄
|
||||
const json = text.trimStart().startsWith('{') ? text : (text.split('\n').filter((l) => l.startsWith('data:')).pop() ?? '').slice(5);
|
||||
return { sid: s, data: JSON.parse(json) };
|
||||
};
|
||||
let starting: Promise<void> | null = null;
|
||||
const start = () =>
|
||||
(starting ??= (async () => {
|
||||
sid = null;
|
||||
const init = await post({ jsonrpc: '2.0', id: id++, method: 'initialize', params: { protocolVersion: PROTOCOL, capabilities: {}, clientInfo: { name: 'gvr', version: '1.3' } } });
|
||||
if (!init.sid) throw new Error('OP.GG 세션 없음');
|
||||
sid = init.sid;
|
||||
})().finally(() => (starting = null)));
|
||||
const toolCall = (name: string, args: Record<string, unknown>) => post({ jsonrpc: '2.0', id: id++, method: 'tools/call', params: { name, arguments: args } });
|
||||
return async (name, args) => {
|
||||
if (!sid) await start();
|
||||
let res;
|
||||
try {
|
||||
res = await toolCall(name, args);
|
||||
} catch (e) {
|
||||
// 세션이 끝났으면(서버 재시작 · 만료) 새 세션으로 한 번 다시
|
||||
if (!(e instanceof SessionExpired)) throw e;
|
||||
await start();
|
||||
res = await toolCall(name, args);
|
||||
}
|
||||
if (res.data.error) throw new Error(`OP.GG ${name}: ${res.data.error.message ?? 'error'}`);
|
||||
const text = res.data.result?.content?.[0]?.text ?? '';
|
||||
if (res.data.result?.isError) throw new Error(`OP.GG ${name}: ${String(text).slice(0, 200)}`);
|
||||
return parseOpgg(text);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* OP.GG MCP 응답 해석. JSON 이면 그대로, 아니면 "class X: a,b … X(…)" 모양(필드 이름은 class 줄)을 객체로.
|
||||
*/
|
||||
export function parseOpgg(text: string): unknown {
|
||||
const t = text.trim();
|
||||
if (t.startsWith('{') || t.startsWith('[')) return JSON.parse(t);
|
||||
const classes = new Map<string, string[]>();
|
||||
const lines = t.split('\n');
|
||||
let bodyStart = 0;
|
||||
lines.forEach((ln, i) => {
|
||||
const m = /^class (\w+): (.*)$/.exec(ln);
|
||||
if (m) {
|
||||
classes.set(m[1], m[2].split(','));
|
||||
bodyStart = i + 1;
|
||||
}
|
||||
});
|
||||
const body = lines.slice(bodyStart).join('\n');
|
||||
const re = /\s*(?:("(?:[^"\\]|\\.)*")|(-?\d+(?:\.\d+)?(?:[eE][-+]?\d+)?)|([A-Za-z_][A-Za-z0-9_]*)|([()[\],]))/y;
|
||||
const toks: [string, string][] = [];
|
||||
let m: RegExpExecArray | null;
|
||||
while (re.lastIndex < body.length && (m = re.exec(body))) {
|
||||
if (m[1] !== undefined) toks.push(['s', m[1]]);
|
||||
else if (m[2] !== undefined) toks.push(['n', m[2]]);
|
||||
else if (m[3] !== undefined) toks.push(['i', m[3]]);
|
||||
else if (m[4] !== undefined) toks.push(['p', m[4]]);
|
||||
}
|
||||
let pos = 0;
|
||||
const isP = (v: string) => toks[pos]?.[0] === 'p' && toks[pos][1] === v;
|
||||
const list = (close: string): unknown[] => {
|
||||
const out: unknown[] = [];
|
||||
while (pos < toks.length && !isP(close)) {
|
||||
out.push(val());
|
||||
if (isP(',')) pos++;
|
||||
}
|
||||
pos++;
|
||||
return out;
|
||||
};
|
||||
const val = (): unknown => {
|
||||
const [k, v] = toks[pos++] ?? ['p', ')'];
|
||||
if (k === 's') return JSON.parse(v);
|
||||
if (k === 'n') return Number(v);
|
||||
if (k === 'p' && v === '[') return list(']');
|
||||
if (k === 'i') {
|
||||
if (v === 'true' || v === 'True') return true;
|
||||
if (v === 'false' || v === 'False') return false;
|
||||
if (v === 'null' || v === 'None') return null;
|
||||
if (!isP('(')) throw new Error(`OP.GG 응답 해석 실패: ${v}`);
|
||||
pos++;
|
||||
const args = list(')');
|
||||
const fields = classes.get(v) ?? [];
|
||||
return Object.fromEntries(fields.map((f, i) => [f, args[i]]));
|
||||
}
|
||||
throw new Error('OP.GG 응답 해석 실패');
|
||||
};
|
||||
return val();
|
||||
}
|
||||
|
||||
const NOT_FOUND = 'OP.GG 에 이 경기가 없습니다 (사용자 설정 게임은 OP.GG 에 올라가지 않습니다)';
|
||||
const riotKey = (name: string, tag: string) => `${name}#${tag}`.toLowerCase().replace(/\s+/g, '');
|
||||
|
||||
/** 이 경기를 OP.GG 에서 찾아 참가자별 실제 점수. 전체 제한 시간 안에 못 끝나면 그때까지 찾은 만큼 */
|
||||
export async function lookupOpgg(input: CulpritInput, call: ToolCaller, opts: { region?: string; deadlineMs?: number } = {}): Promise<OpggResult> {
|
||||
const lk = input.lookup;
|
||||
const scores: OpggResult['scores'] = new Map();
|
||||
if (!lk?.riotMatchId) return { scores, found: false, note: '앱이 경기 번호를 보내지 않았습니다' };
|
||||
const tagged = input.players.filter((p) => p.tag && p.name && p.name !== '?');
|
||||
if (!tagged.length) return { scores, found: false, note: '참가자 Riot ID 가 없습니다' };
|
||||
const deadline = Date.now() + (opts.deadlineMs ?? 45000);
|
||||
const region = opts.region ?? 'KR';
|
||||
// 우리 사람(음성 · 앱 계정)부터 찾아본다
|
||||
const order = [...tagged].sort((a, b) => Number(!!b.userId) - Number(!!a.userId) || Number(a.team !== 'ally') - Number(b.team !== 'ally'));
|
||||
|
||||
let calls = 0;
|
||||
let failed = 0;
|
||||
let lastError = '';
|
||||
const fail = (e: unknown) => {
|
||||
failed++;
|
||||
lastError = String((e as Error)?.message ?? e).slice(0, 80);
|
||||
};
|
||||
/** 못 찾았을 때: 조회가 모두(또는 일부) 실패했으면 "확인 못 함", 다 성공했는데 없으면 "경기 없음" */
|
||||
const missing = (): OpggResult =>
|
||||
failed
|
||||
? { scores, found: false, error: true, note: `OP.GG 조회 실패로 이 경기를 확인하지 못했습니다 (${calls}번 중 ${failed}번 실패: ${lastError})` }
|
||||
: { scores, found: false, note: NOT_FOUND };
|
||||
|
||||
if (input.game === 'valorant') {
|
||||
let seen = false;
|
||||
// 각자의 최근 경기 목록에 자기 opScore 만 있다 → 사람마다 부른다 (동시에 3개까지)
|
||||
const queue = [...order];
|
||||
const worker = async () => {
|
||||
for (let p = queue.shift(); p && Date.now() < deadline; p = queue.shift()) {
|
||||
calls++;
|
||||
try {
|
||||
const list = (await call('valorant_list_player_matches', { game_name: p.name, tag_line: p.tag })) as any;
|
||||
const arr: any[] = Array.isArray(list) ? list : (list?.data ?? []);
|
||||
const hit = arr.find((x) => x?.matchId === lk.riotMatchId);
|
||||
if (!hit) continue;
|
||||
seen = true;
|
||||
if (typeof hit.opScore === 'number' && (!hit.puuid || hit.puuid === p.puuid)) scores.set(p.id, { score: Math.round(hit.opScore / 10) / 10, rank: null });
|
||||
} catch (e) {
|
||||
fail(e); // 이 사람은 건너뛴다
|
||||
}
|
||||
}
|
||||
};
|
||||
await Promise.all([worker(), worker(), worker()]);
|
||||
if (!seen) return missing();
|
||||
return { scores, found: scores.size > 0, note: scores.size < input.players.length ? `OP.GG 에서 ${scores.size}명 점수를 찾았습니다` : undefined };
|
||||
}
|
||||
|
||||
// 롤: 한 사람의 최근 경기에서 같은 경기(시작 ±5분 · 길이 ±2분)를 찾는다
|
||||
for (const p of order.slice(0, 3)) {
|
||||
if (Date.now() >= deadline) break;
|
||||
calls++;
|
||||
try {
|
||||
const hist = (await call('lol_list_summoner_matches', {
|
||||
game_name: p.name,
|
||||
tag_line: p.tag,
|
||||
region,
|
||||
limit: 20,
|
||||
desired_output_fields: ['data.game_history[].{created_at,game_length_second,game_type,id}'],
|
||||
})) as any;
|
||||
const games: any[] = hist?.data?.game_history ?? [];
|
||||
const g = games.find(
|
||||
(x) => Math.abs(Date.parse(x.created_at) - lk.startedAt) < 5 * 60000 && Math.abs((x.game_length_second ?? 0) - lk.durationSec) < 120,
|
||||
);
|
||||
if (!g) continue;
|
||||
calls++;
|
||||
const det = (await call('lol_get_summoner_game_detail', {
|
||||
region,
|
||||
game_id: g.id,
|
||||
created_at: g.created_at,
|
||||
desired_output_fields: [
|
||||
'data.game_detail.teams[].participants[].stats.{op_score,op_score_rank}',
|
||||
'data.game_detail.teams[].participants[].summoner.{puuid,game_name,tagline}',
|
||||
],
|
||||
})) as any;
|
||||
const parts: any[] = (det?.data?.game_detail?.teams ?? []).flatMap((t: any) => t.participants ?? []);
|
||||
for (const q of input.players) {
|
||||
const hit = parts.find((x) => (x.summoner?.puuid && x.summoner.puuid === q.puuid) || (q.tag && x.summoner?.game_name && riotKey(x.summoner.game_name, x.summoner.tagline ?? '') === riotKey(q.name, q.tag)));
|
||||
const s = hit?.stats;
|
||||
if (s && typeof s.op_score === 'number') scores.set(q.id, { score: Math.round(s.op_score * 10) / 10, rank: typeof s.op_score_rank === 'number' ? s.op_score_rank : null });
|
||||
}
|
||||
return { scores, found: scores.size > 0, note: scores.size ? undefined : 'OP.GG 경기에서 참가자를 맞추지 못했습니다' };
|
||||
} catch (e) {
|
||||
fail(e); // 다음 사람으로
|
||||
}
|
||||
}
|
||||
return missing();
|
||||
}
|
||||
|
||||
/** AI 자료에 붙일 줄 (찾은 것만) */
|
||||
export function opggLines(input: CulpritInput, r: OpggResult): string[] {
|
||||
if (!r.found || !r.scores.size) return [];
|
||||
const cells = input.players
|
||||
.filter((p) => r.scores.has(p.id))
|
||||
.map((p) => {
|
||||
const s = r.scores.get(p.id)!;
|
||||
return `${p.id} ${s.score.toFixed(1)}${s.rank ? `(${s.rank}위)` : ''}`;
|
||||
});
|
||||
return [`# OP.GG 실제 OP스코어 (이 경기를 OP.GG 에서 찾음, 0~10${input.game === 'lol' ? ', 괄호 = OP.GG 경기 순위' : ''}): ${cells.join(' · ')}`];
|
||||
}
|
||||
Reference in New Issue
Block a user