Skip to content

Commit

Permalink
Update ai-chatgpt.js
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteshadowofficial authored Apr 23, 2024
1 parent 94ea54c commit 1f9207f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/ai-chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import fetch from 'node-fetch'
let handler = async (m, { text, usedPrefix, command }) => {
if (!text) throw `Hey is there anything I can help you with??`
let order = { text: wait, mentions: [m.sender], contextInfo: { forwardingScore: 256, isForwarded: true }};
let aii = await fetch(`https://api.lolhuman.xyz/api/openai?apikey=${apilol}
&text=${text}&user=user-unique-en`)
let aii = await fetch(`https://aemt.me/v2/gpt4?text=${text}&user=user-unique-en`)
let oke = await aii.json()
let { key } = await conn.sendMessage(m.chat, order, { quoted: m });
await new Promise(resolve => setTimeout(resolve, 2000));
Expand Down

0 comments on commit 1f9207f

Please sign in to comment.