From dfa62c54bb27f5aea7fd256d90a2a9161d34a3fd Mon Sep 17 00:00:00 2001 From: BeebBeebBoob Date: Thu, 22 Feb 2024 19:25:20 +0300 Subject: [PATCH] bugfix: fax discord (#4483) --- code/modules/paperwork/faxmachine.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/paperwork/faxmachine.dm b/code/modules/paperwork/faxmachine.dm index e9866e19ab4..10280ad2c55 100644 --- a/code/modules/paperwork/faxmachine.dm +++ b/code/modules/paperwork/faxmachine.dm @@ -428,7 +428,7 @@ GLOBAL_LIST_EMPTY(fax_blacklist) SSdiscord.send2discord_complex(DISCORD_WEBHOOK_REQUESTS, payload) /obj/machinery/photocopier/faxmachine/proc/sanitize_paper(obj/item/paper/paper) // html to discord markdown-101 - var/text = paper.show_content(forceshow = 1, view = 0) + var/text = "[paper.header][paper.info][paper.footer]" text = replacetext(text, "
", "\n") text = replacetext(text, "", "__") text = replacetext(text, "", "**")