Hid silenced content from the logs

This commit is contained in:
Thaum Rystra
2024-10-30 17:53:39 +02:00
parent 2a5a97f04a
commit 84282cef6c
23 changed files with 163 additions and 46 deletions

View File

@@ -74,7 +74,7 @@ export default async function applyCheckTask(
name: checkName,
inline: true,
...dc !== null && { value: `DC **${dc}**` },
...task?.silent && { silenced: task.silent }
silenced: task.silent ?? false,
}, [targetId]);
// Roll the dice
@@ -108,7 +108,7 @@ export default async function applyCheckTask(
name: rollName,
value: `${resultPrefix}\n**${totalValue}**`,
inline: true,
...task?.silent && { silenced: task.silent }
silenced: task.silent ?? false,
}, [targetId]);
// After check triggers