Skip to content

Miko bot is a feature-rich WhatsApp bot powered by whatsapp-web.js, automating tasks and providing utilities for an enhanced messaging experience. Simplify your interactions with Miko's user-friendly commands and customizable settings.

Notifications You must be signed in to change notification settings

Awesome-Tofu/miko-bot

Repository files navigation

MIKO BOT

MIKO BOT is a Node.js-based WhatsApp chatbot powered by Puppeteer and whatsapp-web.js. It allows you to automate interactions with WhatsApp Web, enabling various automated tasks and responses.

Features

  • WhatsApp Automation: MIKO BOT can automate tasks such as sending messages, images, and stickers to WhatsApp contacts or groups.
  • Dynamic Responses: Customize your bot to provide dynamic responses based on user inputs or predefined conditions.
  • Message Handling: Handle incoming messages, process them, and respond accordingly.
  • Sticker Handling: Convert and create sticker with bot.
  • Chatbot AI: Customize AI replies from the bot.
  • More?: Just try example bot and you can explore all features.
  • Example Bot: Miko Bot I wont be running the bot from now on, but you can try the repo

Getting Started

Follow these steps to set up and run the MIKO BOT on your local machine or deploy it to a cloud platform like Heroku.

  1. Clone the Repository:

    git clone https://github.com/awesome-tofu/miko-bot.git
    
  2. Change the Directory:

     cd miko-bot
    
  3. Install Dependencies:

    npm install
    
  4. Set Environment Variables:

    sample: sample.env

    PUPPETEER_SKIP_CHROMIUM_DOWNLOAD (required), if you are running on windows remove it
    PUPPETEER_EXECUTABLE_PATH (required), if you are running on windows remove it
    MONGODB_URI (required) (get it from https://cloud.mongodb.com/)
    DEFAULT_LANGUAGE (optional)
    BOT_NUMBER (required)
    OWNER_NUMBER (required)
    NUMVERIFY_KEY (optional)
    CHATBOT (optional) (set default chatbot true/false)
    INSTALLATION_ID (optional) (get truecaller installation ID from https://replit.com/@E-Venture/truecaller-installation-id?v=1)
    STICKER_NAME = tofu (optional) (sticker name of .sticker command)
    AUTHOR_NAME = miko (optional) (pack/author name of .sticker command)
    
    
  5. Start the script:

    npm start
    
  6. Scanning the QR code:

    Open the link provided by the deployment platform OR if you are running on local platform open http://localhost:3000/

  7. Command Usage:

    Once the bot is running, you can start sending commands and messages to it via WhatsApp.

    Command Description
    .start Command to start the bot.
    .eval Evaluate nodejs script with vim.
    .sticker Send a sticker from replied image.
    .translate <code> Translate text to the default language.
    .report <issue> Report an issue with the bot.
    .support Get support and assistance.
    .help You can see more command lists

Support

Need any help? Feel free to join our support group. We will be happy to help you☺️


whatsapp

Thanks to

  • Whatsapp-web.js for providing awesome package
  • WhatsBot for telegraph, sticker, term and carbon command inspiration
  • ThiruXD ♡︎ for making youtube downloader commands
  • Last but Not Least: You image for using my repo

Things I want you to know

I am still learning nodejs, so my code might look repeating cuz I dont want to touch code if its working, and I am having trouble in saving session on heroku. If you can help, please feel free to contribute.

License

MIT

About

Miko bot is a feature-rich WhatsApp bot powered by whatsapp-web.js, automating tasks and providing utilities for an enhanced messaging experience. Simplify your interactions with Miko's user-friendly commands and customizable settings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages