ilhamdev commited on
Commit
08fd4ee
·
verified ·
1 Parent(s): 00fa158

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
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.BING_COOKIE
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