From 46a1e784ade5f1281ac0a688a54799dcec95654d Mon Sep 17 00:00:00 2001 From: William Harrison Date: Sat, 1 Jul 2023 10:55:23 +0800 Subject: [PATCH] fix url --- src/sentry-api/endpoints/post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry-api/endpoints/post.js b/src/sentry-api/endpoints/post.js index a306890..ab94728 100644 --- a/src/sentry-api/endpoints/post.js +++ b/src/sentry-api/endpoints/post.js @@ -138,7 +138,7 @@ module.exports = async (req, res, client) => { const channel = client.channels.cache.get(data.channel); - const attachment = new Discord.AttachmentBuilder("../assets/sentry-glyph-light-400x367.png", { name: "sentry.png" }) + const attachment = new Discord.AttachmentBuilder("src/sentry-api/assets/sentry-glyph-light-400x367.png", { name: "sentry.png" }) channel.send({ embeds: [embed], components: [actions], files: [attachment] });