mirror of
https://github.com/danbulant/Shasha
synced 2026-05-24 20:31:47 +00:00
Removed console.log of shaChat.js
This commit is contained in:
parent
60cdea81a7
commit
bed2b9a91c
1 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ async function shaChat(client, index, question) {
|
|||
}
|
||||
try {
|
||||
const page = await page1;
|
||||
console.log("New chat query: "+query);
|
||||
//console.log("New chat query: "+query);
|
||||
await page.waitForSelector("input[id=\"question\"]");
|
||||
await page.type("input[id=\"question\"]", query);
|
||||
await page.keyboard.press("Enter");
|
||||
|
|
@ -80,8 +80,8 @@ let chatIndex = 3;
|
|||
* @returns
|
||||
*/
|
||||
async function chatAnswer(client, message) {
|
||||
console.log(message.content);
|
||||
console.log(chatIndex);
|
||||
//console.log(message.content);
|
||||
//console.log(chatIndex);
|
||||
if (message.content.trim().length === 0) {
|
||||
return
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue