Giter Club home page Giter Club logo

miki-whatsapp-bot's Introduction

miki-whatsapp-bot Hoshii Miki

Another WhatsApp bot with super clean code design. Written in TypeScript.

Warning: non-english how to create a new command, annotated using handwriting English below

Download and send messages Download and send messages Create new commands Create new commands Create new commands Aaaaand many more Aaaaand many more

How to Contribute

Please fork the repository and make changes as you'd like. Steps to contribute:

  1. Fork this repository
  2. Create your feature branch (git checkout -b feature/newFeature)
  3. Commit your changes (git commit -am 'Add some feature ...')
  4. Push to the branch (git push origin feature/newFeature)
  5. Create a new Pull Request

Requirements (Prerequisites)

  • Node.JS
  • Imagemagick
  • FFMpeg
  • Libwebp (for running webpmux and dwebp)

Cloning

git clone https://github.com/riozee/miki-whatsapp-bot
cd miki-whatsapp-bot

.env Configurations

Before running, make sure to create .env file in the bot folder and paste this configurations.

# the bot number itself (NECESSARY)
BOT_NUMBER="1234567890"
# your number (NECESSARY)
OWNER_NUMBER="1234567890"
# the number people will contact to buy Premium
CUSTOMER_SERVICE_NUMBER="1234567890"
# the number to receive the feedback when a user sent a feedback using /feedback command
# (can be a group) (ends it with @g.us if it's a group)
FEEDBACK_NUMBER="1234567890"
# bot will send a backup copy of the database every minute. This is the number to send to
# (can be a group) (ends it with @g.us if it's a group)
DATABASE_BACKUP_NUMBER="1234567890"
# everytime there is an error in command, bot will send a report to this number
# (can be a group) (ends it with @g.us if it's a group)
ERROR_REPORT_NUMBER="1234567890"
# prefix of the bot
PREFIX="!@#$%^&*"

Run

npm install
npm run build
npm start

Features

No Name Permission Status
1 about all
2 addpremium all-owner
3 echo/say all
4 adminonly group-admin
5 premium all
6 ban all-owner
7 stats all
8 getbackup all-owner
9 ev all-owner
10 feedback all
11 help all
12 language private-admin
13 menu all
14 premium all-owner
15 sleep group-admin
16 sticker/sticker/s all
17 unsticker/unsticker/uns all
18 batchsticker all (premium)
19 batchunsticker all (premium)

Authors

Rioze telegram

License

MIT License

Copyright (c) 2022-2023 Rioze

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

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.