Stringify the entire thing
This commit is contained in:
parent
25cf0254ec
commit
6751fb93a3
2
index.js
2
index.js
|
@ -145,7 +145,7 @@ async function sendSummary() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const payload = { embeds: [ embed ] };
|
const payload = { embeds: [ embed ] };
|
||||||
console.log("Sending Discord message:", payload);
|
console.log("Sending Discord message:", JSON.stringify(payload, null, 2));
|
||||||
if (hook)
|
if (hook)
|
||||||
await hook.send(payload);
|
await hook.send(payload);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue