fixed counter bug
This commit is contained in:
parent
ce82270b5b
commit
4fa0091d49
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -20,7 +20,7 @@ client.on("room.message", (roomId, event) => {
|
|||
});
|
||||
|
||||
// ? send message every N messages using the training data
|
||||
if (messageCounter % 7) {
|
||||
if (!(messageCounter % 7)) {
|
||||
client.sendText(roomId, "Hello, World!"); // TODO: exec py function to gen message str
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue