This script is 100% free, which uses the api from AlyaChan-APIs
- Server vCPU/RAM 1/1GB (Min)
- NodeJS
- FFMPEG
- Apikey (buy at api.alyachan.dev/pricing)
Creator / Group : Nando / Community
/** enter owner number */
global.owner = ['6281252848955']
/** https://api.alyachan.pro/pricing */
global.APIs = {
alya: 'https://api.alyachan.dev'
}
global.APIKeys = {
'https://api.alyachan.dev': 'yourkey'
}
/** option setting */
global.set = {
wm: `© moon-bot v${require('./package.json').version}`,
footer: 'ꜱɪᴍᴘʟᴇ ᴡʜᴀᴛꜱᴀᴘᴘ ʙᴏᴛ ᴍᴀᴅᴇ ʙʏ ᴍᴏᴏɴ',
packname: 'Sticker By',
author: 'moon-bot'
}
/** enter your bot number to login using the code */
global.pairingNumber = 6283867587556
/** enter your replit link, so it's active 24/7 */
global.replit_url = ''
/** the bigger it gets the harder it is to level up */
global.multiplier = 1000
/** maximum limit to send files */
global.max_upload = 70
/** maximum 2GB ram, do the math yourself */
global.ram_usage = 2100000000
let handler = async(m, {
conn,
usedPrefix,
command,
args,
text,
users,
isOwner,
isPrem
}) => {
try {
// Create your imagination
} catch {
console.log(e)
return conn.reply(m.chat, Func.jsonFormat(e), m)
}
}
handler.help = ['command'] // display in the menu
handler.tags = ['category'] // category
handler.command = /^(command)$/i // command
handler.group = Boolean // for group
handler.limit = Boolean // use limit
handler.game = Boolean // game mode
handler.rpg = Boolean // rpg mode
handler.owner = Boolean // for owner
handler.admin = Boolean // for admin
handler.botAdmin = Boolean // bot must be an admin
handler.premium = Boolean // premium only
handler.private = Boolean // private chat only
let handler = (m) => m
handler.before = async (m, {
conn
}) {
try {
// Create your imagination
} catch (error) {
console.log(error)
}
return !0
}
module.exports = handler
$ npm install
$ npm start
$ npm install pm2 -g
$ npm install
$ pm2 start index.js && pm2 save && pm2 logs
node . --pairing
: For those of you who login using a code, use this command in the terminalnode . --db 'mongodb uri'
: If you want to connect the database to mongodb use this commandnode . --server
: if you want to use replit
ALYACHAN | Nurutomo | Nando | Alya | Neoxr |
APIs Provider | Author / Creator | Decoder | Support System | All Functions |