SYSTEM -> BOT

cshd
Dragory 2020-10-25 04:54:59 +02:00
parent b3f7d094a8
commit b2e473de5a
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 2 additions and 2 deletions

View File

@ -266,9 +266,9 @@ const defaultFormatters = {
} }
} }
} else if (message.message_type === THREAD_MESSAGE_TYPE.SYSTEM) { } else if (message.message_type === THREAD_MESSAGE_TYPE.SYSTEM) {
line += ` [SYSTEM] ${message.body}`; line += ` [BOT] ${message.body}`;
} else if (message.message_type === THREAD_MESSAGE_TYPE.SYSTEM_TO_USER) { } else if (message.message_type === THREAD_MESSAGE_TYPE.SYSTEM_TO_USER) {
line += ` [SYSTEM TO USER] ${message.body}`; line += ` [BOT TO USER] ${message.body}`;
} else if (message.message_type === THREAD_MESSAGE_TYPE.CHAT) { } else if (message.message_type === THREAD_MESSAGE_TYPE.CHAT) {
line += ` [CHAT] [${message.user_name}] ${message.body}`; line += ` [CHAT] [${message.user_name}] ${message.body}`;
} else if (message.message_type === THREAD_MESSAGE_TYPE.COMMAND) { } else if (message.message_type === THREAD_MESSAGE_TYPE.COMMAND) {