replaced includes with safe includes, so that the json syntax is not broken

This commit is contained in:
Sheldan
2020-08-15 19:23:21 +02:00
parent 48bc33860d
commit 8a33ff6099
74 changed files with 320 additions and 319 deletions

View File

@@ -1,6 +1,6 @@
{
"author": {
"name": "${member.effectiveName}",
"name": "${member.effectiveName?js_string}",
"avatar": "${member.user.effectiveAvatarUrl}"
},
"color" : {
@@ -8,7 +8,7 @@
"g": 0,
"b": 255
}
<#assign userMention>${member.effectiveName}</#assign>
,"description" :"<#include "myWarnings_with_decay_embed_description">"
<#assign userMention>${member.effectiveName?js_string}</#assign>
,"description" :"<@safe_include "myWarnings_with_decay_embed_description"/>"
</#if>
}