Update 'index.js'
This commit is contained in:
parent
53c5acaee2
commit
c235e51fca
2
index.js
2
index.js
|
@ -36,7 +36,7 @@ client.on("room.message", (roomId, event) => {
|
|||
if (!(messageCounters.get(roomId) % config.frequency) || messageArray[0].toLowerCase() === "speak") {
|
||||
console.log("Generating message...");
|
||||
|
||||
const options = { args: ["", ""] };
|
||||
const options = { args: [""] };
|
||||
PythonShell.run(pyFile, options, (err, message) => {
|
||||
if (err) throw err;
|
||||
client.sendText(roomId, message.toString());
|
||||
|
|
Loading…
Reference in a new issue