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] });