Update 'index.js'

This commit is contained in:
array-in-a-matrix 2023-02-03 18:15:47 -05:00
parent 53c5acaee2
commit c235e51fca
1 changed files with 1 additions and 1 deletions

View File

@ -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());