utility.decoration: fix decor preset indent

This commit is contained in:
Cynthia Foxwell 2024-07-04 19:26:39 -06:00
parent 4e6c5b88cd
commit 1957d026b4

View file

@ -1132,7 +1132,7 @@ decoration.callback = async function (msg, line, [user]) {
baseEmbed.fields.push({ baseEmbed.fields.push({
name: `Decor ${decor.indexOf("/a_") > -1 ? "(Animated)" : ""}`, name: `Decor ${decor.indexOf("/a_") > -1 ? "(Animated)" : ""}`,
value: `**${decorRes.alt}**\n${ value: `**${decorRes.alt}**\n${
decorRes.preset ? ` from preset **${decorRes.preset.name}**\n` : "" decorRes.preset ? `\u3000from preset **${decorRes.preset.name}**\n` : ""
}[Image](${decor})`, }[Image](${decor})`,
inline: true, inline: true,
}); });