Giter VIP home page Giter VIP logo

moon-bot's Introduction

MOON-BOT

This script is 100% free, which uses the api from AlyaChan-APIs

To install this script you need

  • Server vCPU/RAM 1/1GB (Min)
  • NodeJS
  • FFMPEG
  • WhatsApp
  • Apikey (buy at api.alyachan.dev/pricing)

Creator / Group : Nando / Community

Set in config.js

/** 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

Plugins

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

Plugins Event

let handler = (m) => m
handler.before = async (m, {
  conn
}) {
  try {
    // Create your imagination
  } catch (error) {
    console.log(error)
  }
  return !0
}
module.exports = handler

Install and run

$ npm install
$ npm start

Install & Run use PM2

$ npm install pm2 -g
$ npm install
$ pm2 start index.js && pm2 save && pm2 logs

Heroku Buildpack

heroku/nodejs
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
https://github.com/DuckyTeam/heroku-buildpack-imagemagick.git

Argument node . [--options]

  • node . --pairing : For those of you who login using a code, use this command in the terminal
  • node . --db 'mongodb uri' : If you want to connect the database to mongodb use this command
  • node . --server : if you want to use replit

Thanks To

Nurutomo Nando Alya Neoxr
ALYACHAN Nurutomo Nando Alya Neoxr
APIs Provider Author / Creator Decoder Support System All Functions

moon-bot's People

Contributors

rifnd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.