mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Fix batched logs not being separated by newlines
This commit is contained in:
parent
2128b1a089
commit
f733f081e0
2 changed files with 13 additions and 2 deletions
|
@ -102,6 +102,7 @@ export async function log<TLogType extends keyof ILogTypeData>(
|
|||
channelId,
|
||||
new MessageBuffer({
|
||||
timeout: batchTime,
|
||||
textSeparator: "\n",
|
||||
consume: (part) => {
|
||||
const parse: MessageMentionTypes[] = pluginData.config.get().allow_user_mentions ? ["users"] : [];
|
||||
const promise =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue