Skip to content

coderxsa/NEOAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Installation & Setup

Choose your preferred method to deploy Neo Ai.

🤖 Neo Ai - Termux Setup Guide
  1. Open Termux on your Android device TERMUX .
  2. Run this one-line command to update packages.
pkg update -y && pkg upgrade -y && pkg install -y nodejs git && git clone https://github.com/coderxsa/NEOAI.git && cd NEOAI && npm install && node index.js

🧹 To Remove state and Unlink Device

  1. If you want to unlink your WhatsApp session or reset login, run this command:
cd NEOAI && rm -rf sessions
node index.js

[!WARNING] Always delete the sessions file and unlink your device after finishing a session.

/**
 * Command Template by @CoderXSA
 * Prompt: Optimized for ESM make me command with this formate and my given code in axios for requests make sure to keep the esm requirments the same as the templates dont add others.
 */

let handler = async (m, { sock, text, prefix, command, reply }) => {
    // 1. Logic: What the command does
    if (!text) return reply(`❌ Usage: ${prefix + command} <text>\nExample: ${prefix + command} Hello`)
    
    // 2. Action: Sending a message back
    await reply(`✅ You said: ${text}`)
}

// 3. Command Triggers (Regex)
handler.command = /^(test|hello|hi)$/i 

// 4. Menu Metadata
handler.tags = ['misc'] // Category in the menu
handler.help = ['test <text>'] // Usage hint

// 5. Requirements (True/False)
handler.group = false   // Works only in groups? true or false
handler.admin = false   // Only for group admins? true or false
handler.owner = false   // Only for bot owner? true or false
handler.premium = false // Only for premium users? true or false
handler.private = false // Only for private chats? true or false

export default handler

🤝 Support & Credits

Main Developer:
coderxsa
coderxsa


⚠️ Disclaimer & Notice

Terms of Use:

  1. Not For Sale: This bot is free.
  2. Obfuscated Code: If a plugin's code is encrypted/obfuscated, you do not have permission to edit it.
  3. Credits: Do not remove credits if you re-upload or use these files.

WhatsApp Policy Warning:

This bot is not affiliated with WhatsApp Inc. Misusing the bot (spamming, bulk messaging) may result in your WhatsApp account being banned.

  • I am not responsible for any bans your account may receive.
  • Use this bot at your own risk.

About

OPEN ESM BOT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published