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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/bot/bot.js +1 -0
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "teeworlds": "^2.5.11"
6
6
  },
7
7
  "name": "ddbot.js-0374",
8
- "version": "3.2.6",
8
+ "version": "3.2.7",
9
9
  "description": "ddbot.js — это Node.js проект для автоматизации и управления ботами.",
10
10
  "main": "./index.js",
11
11
  "scripts": {
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