Fix thread info header rendering in logs
parent
012a819242
commit
11629bb6cb
|
@ -253,8 +253,7 @@ async function createNewThreadForUser(user, opts = {}) {
|
||||||
|
|
||||||
infoHeader += "\n────────────────";
|
infoHeader += "\n────────────────";
|
||||||
|
|
||||||
await newThread.postSystemMessage({
|
await newThread.postSystemMessage(infoHeader, {
|
||||||
content: infoHeader,
|
|
||||||
allowedMentions: config.mentionUserInThreadHeader ? { users: [user.id] } : undefined,
|
allowedMentions: config.mentionUserInThreadHeader ? { users: [user.id] } : undefined,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue