mirror of
https://github.com/danbulant/Shasha
synced 2026-06-07 16:43:02 +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 {
|
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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue