Removed console.log of shaChat.js

This commit is contained in:
Neko Life 2021-05-08 16:53:44 +00:00
parent 60cdea81a7
commit bed2b9a91c

View file

@ -41,7 +41,7 @@ async function shaChat(client, index, question) {
} }
try { try {
const page = await page1; const page = await page1;
console.log("New chat query: "+query); //console.log("New chat query: "+query);
await page.waitForSelector("input[id=\"question\"]"); await page.waitForSelector("input[id=\"question\"]");
await page.type("input[id=\"question\"]", query); await page.type("input[id=\"question\"]", query);
await page.keyboard.press("Enter"); await page.keyboard.press("Enter");
@ -80,8 +80,8 @@ let chatIndex = 3;
* @returns * @returns
*/ */
async function chatAnswer(client, message) { async function chatAnswer(client, message) {
console.log(message.content); //console.log(message.content);
console.log(chatIndex); //console.log(chatIndex);
if (message.content.trim().length === 0) { if (message.content.trim().length === 0) {
return return
} else { } else {