diff --git a/functions/src/Integrations/firebase-discord.ts b/functions/src/Integrations/firebase-discord.ts index 9639adfff..c77c8881e 100644 --- a/functions/src/Integrations/firebase-discord.ts +++ b/functions/src/Integrations/firebase-discord.ts @@ -69,9 +69,7 @@ export const notifyAcceptedQuestion = functions try { const response = await axios.post(DISCORD_WEBHOOK_URL, { - json: { - text: `❓ ${username} has a new question: ${title}\n Help them out and answer here: ${SITE_URL}/questions/${slug}`, - }, + content: `❓ ${username} has a new question: ${title}\nHelp them out and answer here: <${SITE_URL}/questions/${slug}>`, }) handleResponse(response) } catch (error) {