test
This commit is contained in:
parent
d39a6a025a
commit
c346bc87db
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ export async function parseLog(s: string): Promise<MessageEmbed | null> {
|
||||||
const id = link.replace('https://mclo.gs/', '');
|
const id = link.replace('https://mclo.gs/', '');
|
||||||
if (!id) return null;
|
if (!id) return null;
|
||||||
const apiUrl = 'https://api.mclo.gs/1/raw/' + id;
|
const apiUrl = 'https://api.mclo.gs/1/raw/' + id;
|
||||||
|
console.log(apiUrl);
|
||||||
let log: string;
|
let log: string;
|
||||||
try {
|
try {
|
||||||
const f = await fetch(apiUrl);
|
const f = await fetch(apiUrl);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue