ddbot.js-0374 3.2.6 → 3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/bot/bot.js +1 -0
package/package.json
CHANGED
package/src/bot/bot.js
CHANGED
|
@@ -451,6 +451,7 @@ class BotManager extends EventEmitter {
|
|
|
451
451
|
|
|
452
452
|
// емитим.
|
|
453
453
|
if (client_id !== -1) this.emit(`${botName}:ChatNoSystem`, msgraw, autormsg, text, team, client_id); // все только без системы или сервера
|
|
454
|
+
if (!(client_id == -1 && autormsg == null)) this.emit(`${botName}:ChatNoSystemnonullnames`, msgraw, autormsg, text, team, client_id);
|
|
454
455
|
this.emit(`${botName}:ChatRaw`, msgraw, autormsg, text, team, client_id); // все сообщения
|
|
455
456
|
});
|
|
456
457
|
|