Skip to content

A Clash Of Clans Bot based on a WhatsApp client library for NodeJS that connects through the WhatsApp Web Socket.

License

Notifications You must be signed in to change notification settings

shavy4452/Clash-WhatsApp-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clash WhatsApp Bot
Clash WhatsApp Bot ~ Made with ❤️

A Clash Of Clans Bot based on a WhatsApp client library for NodeJS that connects through the WhatsApp Web Socket Using a library called Baileys. Bailey's is a super light weight library that allows you to use WhatsApp Web's functions in your code without using browser. This bot is made for educational purposes only and is not affiliated with WhatsApp or any other company.

Github Issue's

📝 Installation

  1. Install NodeJS
  2. Install NPM
  3. Install Git
  4. Clone this repository using git clone https://github.com/shavy4452/Clash-WhatsApp-Bot.git && cd Clash-WhatsApp-Bot
  5. Install the dependencies using npm install
  6. Change the coc developer email and password in config.json
  7. Run the bot using npm start
  8. Scan the QR code shown in the console using your WhatsApp
  9. Enjoy!

⚙️ Usage

  1. Send !clan to get the clan information.
  2. Send !player to get the player information.
  3. Send !help to get the list of commands.
  4. Send !badge to get the clan badge.

Note: This is just an example, you can add more commands and features to the bot. You can also use this bot as a base for your own bot.

📝 Configuration

  • config.json - The main configuration file for the bot.
{
    "coc_dev":{
        "email": "", // Your Clash Of Clans Developer Email
        "password": "" // Your Clash Of Clans Developer Password
    },
    "developer": "919xxxxxxxx", // Your WhatsApp Number
    "command_prefix": "!"
}

Do you want to try the ready to use bot? Click Here

⭐️ Credits

⚠️ License

This project is licensed under the MIT License - see the LICENSE file for details

🛂 Contributing

  1. Fork the repository (here is the guide)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
  6. Wait for your PR to be reviewed and merged
  7. Celebrate! 🎉

📞 Contact

⚡️ Donate

  • Send me a message on Discord or Email if you want to donate we accept donations through PayPal and Patreon and all other indian payment methods.

⚠️ Disclaimer

This project is not affiliated with WhatsApp or any of its partners in any way. WhatsApp is a registered trademark of WhatsApp Inc. This project is an independent and unofficial API. Use at your own risk.

🤚 Support

If you need help with this project, you can contact me on Discord or Email. Also, you can join our Discord server for support and star this repository to show your support.

About

A Clash Of Clans Bot based on a WhatsApp client library for NodeJS that connects through the WhatsApp Web Socket.

Topics

Resources

License

Stars

Watchers

Forks