mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Change format of reporting
This commit is contained in:
@@ -116,9 +116,8 @@ function post(message, items) {
|
|||||||
|
|
||||||
function formatMessageForPosting(msg, items) {
|
function formatMessageForPosting(msg, items) {
|
||||||
let body = `*Warning:* ${msg}`;
|
let body = `*Warning:* ${msg}`;
|
||||||
body += '\n\n```\n';
|
body += '\n\n>>>\n';
|
||||||
body += items.join('\n');
|
body += items.join('\n');
|
||||||
body += '\n```';
|
|
||||||
|
|
||||||
return body;
|
return body;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user