Update index.js
Browse files
index.js
CHANGED
|
@@ -40,7 +40,7 @@ async function bimg(query) {
|
|
| 40 |
async function bingChat(query) {
|
| 41 |
const { BingChat } = require("bing-chat-cjs-rnz");
|
| 42 |
const api = new BingChat({
|
| 43 |
-
cookie: process.env.
|
| 44 |
})
|
| 45 |
const res = await api.sendMessage(text, { variant: 'Precise' })
|
| 46 |
return res?.text
|
|
|
|
| 40 |
async function bingChat(query) {
|
| 41 |
const { BingChat } = require("bing-chat-cjs-rnz");
|
| 42 |
const api = new BingChat({
|
| 43 |
+
cookie: process.env.BING_IMAGE_COOKIE
|
| 44 |
})
|
| 45 |
const res = await api.sendMessage(text, { variant: 'Precise' })
|
| 46 |
return res?.text
|