This commit is contained in:
dada513 2022-06-07 12:33:23 +02:00
parent d39a6a025a
commit c346bc87db
No known key found for this signature in database
GPG key ID: 403448C14FA4B33E

View file

@ -48,6 +48,7 @@ export async function parseLog(s: string): Promise<MessageEmbed | null> {
const id = link.replace('https://mclo.gs/', '');
if (!id) return null;
const apiUrl = 'https://api.mclo.gs/1/raw/' + id;
console.log(apiUrl);
let log: string;
try {
const f = await fetch(apiUrl);