𝗗𝗔𝗥𝗥𝗘𝗟𝗟 𝗠𝗨𝗖𝗛𝗘𝗥𝗜 ⚡ commited on
Commit
41e6605
·
unverified ·
1 Parent(s): ecdcbdc

Delete plugins/ai-subzero.js

Browse files
Files changed (1) hide show
  1. plugins/ai-subzero.js +0 -46
plugins/ai-subzero.js DELETED
@@ -1,46 +0,0 @@
1
- /*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
2
- ⭐PROJECT NAME:
3
- SUBZERO WHATSAPP MD BOT
4
-
5
- ⭐DEVELOPER
6
- MR FRANK
7
-
8
- ⭐ MY TEAM
9
- XERO CODERS
10
-
11
- ⭐ OUR WEBSITE
12
- https://github.com/ZwSyntax/SUBZERO-MD
13
-
14
- © TRY DECRYPTING IF YOU CAN⚠
15
-
16
- ╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
17
-
18
-
19
- const axios = require('axios');
20
- const config = require('../config');
21
- const { cmd, commands } = require('../command');
22
-
23
- cmd({
24
- pattern: "mrfrankai",
25
- desc: "💬 Chat with AI Assistant",
26
- react: "🧠",
27
- category: "ai",
28
- filename: __filename
29
- },
30
- async (conn, mek, m, { from, q, reply }) => {
31
- try {
32
- if (!q) return reply("❗ Please provide a query. Usage: .ai [your message]");
33
-
34
- const response = await axios.get(`https://pikabotzapi.vercel.app/ai/mistral/?apikey=anya-md&message=${encodeURIComponent(q)}`);
35
-
36
- const aiReply = `🤖 * SubZero AI Assistant*:
37
- ${response.data.response}
38
-
39
- *POWERED BY MR FRANK*`;
40
- console.log(aiReply);
41
- return reply(aiReply);
42
- } catch (e) {
43
- console.log(e);
44
- return reply("⚠️ An error occurred while fetching AI response. Please try again later.");
45
- }
46
- });